On Tue, Feb 16, 2021 at 5:16 PM [email protected] <
[email protected]> wrote:
> one_to_many :relateds, class: :Selection, dataset: (lambda do |r|
> r.associated_dataset.where(Sequel.ilike(:path, "#{path}%"))
> end)
>
That seems like a fine way to do 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/CADGZSSfHkg_Rn4oCme%2BoVdZ%2BEzJNJSMS_rKUJF74wd-NybSB%2BQ%40mail.gmail.com.