On Thursday, June 4, 2020 at 9:44:33 AM UTC-7, Aryk Grosz wrote: > > Anyway to get them to work together? > > some_dataset.qualify.select_map(:id) >
This works fine if id is an unambiguous reference. > I don't believe I can qualify stuff after it. > Why not? Dataset#qualify only qualifies existing unqualified identifiers, it does not affect future dataset behavior. > I could always just use Sequel[:table_name][:id[ > This will work: some_dataset.qualify.select_map(Sequel[:table][:id]) But curious if I'm missing something. > Maybe you are looking for something like: some_dataset.select(:id).qualify.map(:id) 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/2a44fac7-1b3f-4046-b2ee-f27abd6a69b8o%40googlegroups.com.
