a dataset has a .columns property that is an array of symbols, but is it
possible to somehow get back the actual column name?
basically, if the dataset is

ds = DB[:foo].select(Sequel.alias(:bar, :something_entirely_different))

then ds.columns would be [:something_entirely_different]

is it possible to get back :bar somehow, i.e. the actual column name before
it was aliased?

I would want to manipulate the dataset before executing the query, by
adding an additional where clause based on bar column

/Simon

-- 
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 https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to