-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(client): allow prisma.empty to $executeRaw & $queryRaw #13656
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good overall, just a couple of comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The same problem applies to $queryRaw
, I believe.
Co-authored-by: pierre <pierreantoine.urvoy@gmail.com>
Co-authored-by: Alexey Orlenko <alex@aqrln.net>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's fix https://github.com/prisma/prisma/pull/13656/files#r902878957 and merge 🚀
Co-authored-by: pierre <pierreantoine.urvoy@gmail.com>
Co-authored-by: pierre <pierreantoine.urvoy@gmail.com>
Co-authored-by: Joël Galeran <Jolg42@users.noreply.github.com>
Co-authored-by: Joël Galeran <Jolg42@users.noreply.github.com>
Closes: #11233
Having issues passing an empty sql stmt to the db and so return null when its empty.