The "mysql" adapter. Sequel.connect(:adapter => 'mysql', ...
Michael On Wed, Mar 30, 2011 at 2:58 PM, Jeremy Evans <[email protected]> wrote: > On Mar 30, 11:11 am, Michael Lang <[email protected]> wrote: >> In this query: http://pastie.org/1736072 >> >> The date_of_service column comes back as a string even though the >> underlying My SQL data type is DATE column. >> >> ruby: ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin9] >> mysql: Server version: 5.0.77 Source distribution >> sequel: 3.21.0 >> >> Any ideas? I think the use of a case statement is the culprit, but not sure. > > Which adapter are you using? It's unlikely the case statement is the > culprit (unless that changes the database type MySQL uses), it's > probably due to the adapter typecasting (which differs depending on > your adapter). > > 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. > > -- http://codeconnoisseur.org -- 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.
