On Tuesday, July 29, 2014 2:59:01 AM UTC-7, Jens wrote:
>
> Hi,
>
> I have a column (named "location") with spatial data which always should
> queried with the MySQL "AsText" function. How can I arrange this with a
> model?
>
Set a specific selection in the model's dataset:
class Foo < Sequel::Model(DB[:foo].select(:column1,
:column2){AsText(:column3)}); end
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/d/optout.