How can I instruct sqlx about this custom type I'm using for OffsetDateTime? #2260
Unanswered
frederikhors
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a custom time type because time's authors doesn't want to add a Default value yet:
If I use this simple sqlx code:
it errors with:
How can I fix this?
Should I instruct sqlx to handle my custom
OffsetDateTime
? How?Beta Was this translation helpful? Give feedback.
All reactions