Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mysql - document parseTime=true #94

Open
bketelsen opened this issue Apr 28, 2016 · 1 comment
Open

Mysql - document parseTime=true #94

bketelsen opened this issue Apr 28, 2016 · 1 comment

Comments

@bketelsen
Copy link
Member

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

@k3a
Copy link

k3a commented Dec 15, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants