Mysql - document parseTime=true
Bryce Reitano It seems the gorma doesn’t work with timestamps with the mysql backend. At least on my machine, I haven’t dug into it to provide more information in an issue.
[4:42 PM]
Derek Perkins that’s probably a driver issue
[4:43 PM]
user:password@tcp(mysql:3306)/?parseTime=true (edited)
[4:43 PM]
with the go-mysql-driver, you have to specify it in the connection string
[4:44 PM]
Bryce Reitano Ah, that makes sense. Disregard then, I’m not used to working with mysql in any fashion and been spoiled by Postgres. :simple_smile:
[6:52 PM]
Brian Ketelsen Maybe we should document that somewhere
[6:52 PM]
Note to self
Documentation can be found in Mysql driver docs. It is driver-specific.
Please see https://github.com/go-sql-driver/mysql/blob/master/README.md#parameters