On Dec 9, 8:36 pm, Christer Nilsson <[email protected]>
wrote:
> But your suggestion is less readable.
> I guess you have a reason recommending it?
>
> class Company < Sequel::Model(:'LX.dbo.SYS_COMPANY')
> end

That will not work if you are quoting identifiers.

> class Company < Sequel::Model(DB[:dbo__SYS_COMPANY.qualify(:LX)])
> end

This will work if you are quoting identifiers.

Jeremy

--

You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en.


Reply via email to