On Tuesday, July 16, 2013 4:31:16 PM UTC-7, Adam Gotterer wrote:

> If you had a query like DB[:table.as(:t)].join(:another_table, { 
> t__field: :field }, { table_alias: :at }) that has overlapping field names. 
> How can you select * from just :at?


Add a .select_all(:at) to the method chain.

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 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/groups/opt_out.


Reply via email to