On Friday, July 20, 2018 at 2:53:26 PM UTC-7, Dennis D wrote:
>
> Sequel 5 introduced a new way to qualify columns Sequel[:table][:column], 
> but it looks like it doesn't support schema qualification. 
>
> i.e. Sequel[:dbo1][:table_name][:column_name] whould produce something 
> like #<Sequel::SQL::QualifiedIdentifier 
> @table=>#<Sequel::SQL::QualifiedIdentifier @table=>"dbo1", @column=>:
>  table_name >, @column=>: column_name >
>

That is how it works:

DB.literal Sequel[:dbo1][:table_name][:column_name]
# => "dbo1.table_name.column_name"

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

Reply via email to