gorma icon indicating copy to clipboard operation
gorma copied to clipboard

Mysql - document parseTime=true

Open bketelsen opened this issue 10 years ago • 1 comments

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

bketelsen avatar Apr 28 '16 00:04 bketelsen

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

k3a avatar Dec 15 '17 20:12 k3a