paul-rouse / mysql-simple

A mid-level client library for the MySQL database, intended to be fast and easy to use.
Other
91 stars 35 forks source link

Allow UTCTime params to express microseconds. #40

Closed whittle closed 6 years ago

whittle commented 6 years ago

Change the formatting string when serializing UTCTime params from "'%F %T'" to "'%F %T%Q'". Notably, per the formatTime docs, for UTCTime values with a whole number of seconds the "%Q" code will produce the empty string.

paul-rouse commented 6 years ago

Thanks!