[V5] Lucid Update with UUID Primary Key not working #3559
CodeRogers
started this conversation in
General
Replies: 2 comments 1 reply
-
This error does not happen when I use a querybuilder like Knex provided by Database.knexQuery to perform the update passing the id as uuid of the table row await Database.knexQuery().from('questao').update(questao).where('id_questao', id) |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hey @RogVenancio! 👋🏻 Could you please share the code of your validator and log what is the content of |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Hello there,
I'm using UUID as Primary Key in the table, and when I try to update, I receive an error. I tried use an auto increment Primary Key, and it worked, but it's not what I need tho.
Model:
Controller:
Error:
Any feedback is appreciated!
Beta Was this translation helpful? Give feedback.
All reactions