goadesign / goadesign/gorma

Mysql - document parseTime=true

Open
#94 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
141
Forks
35
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.