You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello
I have started to use
sqlx
and I've encountered an issue withUuid
type. I am usingpostgresql
as a databaseI am building the insert query dynamically , the query is correct syntactically, but I am getting the following error when I am trying to run it
this is my code that I use to build the query
I am thinking one solution would be to cast the user_id value to
uuid
, but I don't know how to do that usingsqlx
Can you please give me some guidance on how to solve this issue?
Beta Was this translation helpful? Give feedback.
All reactions