I've noticed the library promotes the usage of
dataset.association_join(association: proc{|ds| ds.where(user_id: 1)})
>From what I understand, there is no way, to "on the fly" add the "user_id:
1" as a condition, am I right?
Doing as a subquery creates a temp table in memory which from what I've
read loses it's ability to use indexes.
Any reason why there isn't a way to stick on addition conditions on
association_join so it gets put on the join table?
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 view this discussion on the web visit
https://groups.google.com/d/msgid/sequel-talk/1e239893-9294-4fbd-a653-d08f64746d60o%40googlegroups.com.