Skip to content

Conversation

zihengCat
Copy link
Contributor

Description

Map time.Duration param into MySQL TIME type (fits the time interval definition).

https://dev.mysql.com/doc/refman/8.0/en/time.html

Checklist

  • Code compiles correctly
  • Created tests which fail without the change (if possible)
  • All tests passing
  • Extended the README / documentation, if necessary
  • Added myself / the copyright holder to the AUTHORS file

@zihengCat zihengCat changed the title map time.Duration param into MySQL TIME type Map time.Duration param into MySQL TIME type Jul 15, 2021
@zihengCat zihengCat changed the title Map time.Duration param into MySQL TIME type Map time.Duration param into MySQL TIME type Jul 15, 2021
@zihengCat zihengCat closed this Jul 15, 2021
@zihengCat
Copy link
Contributor Author

time.Duration fall back to int64, type never matches.

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

Successfully merging this pull request may close these issues.

1 participant