The unique rule from VineJS should be simpler? #4356
brunolipe-a
started this conversation in
Ideas
Replies: 2 comments
-
Yes, it should be. Not sure, if you mentioned it also on Discord, or someone else did. But, I will explore some APIs to make it easier to work with |
Beta Was this translation helpful? Give feedback.
0 replies
-
Moved here. https://github.com/adonisjs/auth/issues/233 |
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
-
I think that always use a query to check if the value is unique in database is to complex for something that we use very often.
Maybe we can have an uniqueRaw that uses the current code, and other that receives only table as required, something like that:
Beta Was this translation helpful? Give feedback.
All reactions