Hi Jeremy,

I was looking through the code:

https://github.com/jeremyevans/sequel/blob/master/lib/sequel/plugins/dataset_associations.rb#L94

It seems like any special conditions put on the association are largely 
ignored. For example, if there is a :graph_block which would normally get 
used on association_join, the #associated call does not use any of it, even 
with the :dataset_associations_join block that was added at the bottom.

I would expect associated to honor the conditions in the join. Is there a 
reason why we can't use them? For example, here 
<https://github.com/jeremyevans/sequel/blob/master/lib/sequel/plugins/dataset_associations.rb#L137>
 it 
ignores join conditions that would otherwise be getting used on 
associations_join.

Aryk

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to