Thanks!

On Tuesday, 3 June 2014 16:41:31 UTC+2, Jeremy Evans wrote:
>
> On Tuesday, June 3, 2014 2:17:29 AM UTC-7, Stéphane D'Alu wrote:
>>
>> Oops, forgot this information:
>>  - connector: mysql2
>>  - database : mariadb 5.5.35
>>
>> I don't know for the "oracle" mysql, but mariadb support up to the 
>> microseconds in the timestamp
>>
>> https://mariadb.com/kb/en/microseconds-in-mariadb/
>>
>
> On MySQL versions that support fractional seconds you need to use the 
> :fractional_seconds Database option to enable fractional timestamps.  Even 
> then, Sequel only currently turns on the support if you are also using 
> 5.6.5+.
>
> To force Sequel to use fractional seconds for your database, do:
>
>   def DB.supports_timestamp_usecs?
>     true
>   end
>
> where DB is your Sequel::Database object.
>
> 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.

Reply via email to