Is there a more idiomatic way of writing this in Sequel?
Sequel.function(:array_agg, Sequel.lit('v.value order by
v.position')).as(:value)
I'm particularly interested in replacing the Sequel.lit(...) part with
something like:
Sequel.order_by(:v__value, :v__position)
Not exactly this syntax, but you get the idea.
--
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 http://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.