Replies: 1 comment
-
Here are some references I've collected:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey there! Are there any supported ways to avoid typing a lot of
time as "time: chrono::DateTime<Utc>"
in thequery_as!
macro while using SQLite?I have a biiiiig type with lots of fields:
In my experience, using SQLite with the
query_as!
macro requires exceedingly strict syntax to specify 'how' you want to convert these types:When working with large types, this syntax becomes painfully verbose, almost banishing some projects from using these macros.
I'd love to use the compile-time macros, but from my perspective, they don't seem powerful enough for complex applications. Am I using
sqlx
incorrectly here?Beta Was this translation helpful? Give feedback.
All reactions