-
What is the difference between
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There is no difference. Calling
No, this is completely fine! Not all joins have to reference the original table, doing it like this should work. However, there is an optimization opportunity if you don't need all tables in the end. If you only care about some tables in the result (for instance, if you only need |
Beta Was this translation helpful? Give feedback.
There is no difference. Calling
join
multiple times will add the joins as well.No, this is completely fine! Not all joins have to reference the original table, doing it like this should work. However, there is an optimization opportunity if you don't need all tables in the end. If you only care about some tables in the result (for instance, if you only need
sons
andmathers
and joinedfathers
for the sole purpose of doing the second join), you can setincludeColumns: false
on the join to disable including it in the results. Bug again, this is just a matter of optimization - your existing wa…