Does Drizzle guard against SQL injections? #446
Answered
by
dankochetov
Nick-Mazuk
asked this question in
Q&A
-
Choosing between Drizzle and Prisma. Prisma guards against SQL injections. Does Drizzle do something similar? https://www.prisma.io/docs/concepts/components/prisma-client/raw-database-access#sql-injection |
Beta Was this translation helpful? Give feedback.
Answered by
dankochetov
Apr 15, 2023
Replies: 1 comment 1 reply
-
Of course! We escape all your parameters as driver placeholders. You can enable the query logging and see the exact queries that get executed, including the parameters. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Nick-Mazuk
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Of course! We escape all your parameters as driver placeholders. You can enable the query logging and see the exact queries that get executed, including the parameters.