On Thursday, May 28, 2020 at 11:50:49 AM UTC-7, Aryk Grosz wrote: > > Great! it worked for my need! > > I didn't realize that that key was the one used under the hood for normal > joining. I'll keep it mind. I guess I don't really understand the > difference between just "conditions" and "graph_table_conditions". I guess > conditions is more flexible because it's added to the end whereas > graph_table_conditions requires that it be a hash or array of two elements? >
:conditions is used by default for lazy association loading and eager loading via eager. It is also used as the default for :graph_table_conditions in eager_graph if it is a Hash or array of pairs. :graph_table_conditions must be an hash or array of pairs as it is used as an argument for join table and the first value/key is qualified differently than the second value/value. Thanks, Jeremy -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sequel-talk/84590f7d-b314-4726-a800-943211c7758e%40googlegroups.com.
