On Sat, Dec 19, 2020 at 2:44 AM [email protected] <[email protected]>
wrote:

>
> Right but I'm talking about chaining, where you do inner_join and then do
> left_join.
>
> Would this work:
> Studio.dataset.association_join(tracks: Sequel.as(:album,
> :table_alias_name, :join_type => "left")=>proc{|ds| ds.where(:x=>2)})
>

Yes, that should work.  Did you try it?

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/CADGZSSegrNZfDpea0dEat2v-4mHETWnuPyCeAj8xsDE-%2Bq-%2BuA%40mail.gmail.com.

Reply via email to