Trying to use the SQLX forced nullability and non nullability syntax. #2305
Unanswered
hyperliskdev
asked this question in
Q&A
Replies: 1 comment
-
According to the macro documentation, I should be able to do |
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
Uh oh!
There was an error while loading. Please reload this page.
-
In a project I am working on i want to use UUIDs for the id of the data. The
parent
member of the Location struct is looking fori32
from sqlx. I want to use theOption<Uuid>
but i get an error about mismatched types.I took a look at the referenced documentation here
How can use the
Option<uuid>
on theLocation
? Do i need to implement something on the type or create a custom parent type?Beta Was this translation helpful? Give feedback.
All reactions