On Thursday, March 16, 2017 at 2:37:45 PM UTC-7, John Mettraux wrote:
>
> Hello Jeremy, 
>
> thanks for Sequel, it's a model gem. 
>
> Will it be possible to turn on symbol splitting for particular datasets? 
>

Not currently.  There are situations where Sequel needs to split symbols 
when there is no appropriate dataset instance to use.
 

>
> And, given 
>
> ``` 
>   :color 
>   :cars__color 
>   :color___colour 
>   :cars__color___colour 
>   Sequel.expr{cars__color} 
> ``` 
>
> what qualified/aliased identifiers would be the most direct "translation"?


Well, all the ways I posted earlier are just different ways of creating the 
same Sequel::SQL::QualifiedIdentifier and Sequel::SQL::AliasedExpression 
instances.  With default Sequel, the most direct translation:

:color
Sequel[:cars][:color]
Sequel[:color].as(:colour)
Sequel[:cars][:color].as(:colour)
Sequel.expr{cars[:color]}

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