Support SQL Server in executeRaw
and queryRaw
#3861
Labels
kind/feature
A request for a new feature.
tech/typescript
Issue for tech TypeScript.
topic: prisma-client
topic: raw
$queryRaw(Unsafe) and $executeRaw(Unsafe): https://www.prisma.io/docs/concepts/components/prisma-cli
topic: sql server
Microsoft SQL Server
Milestone
We need to parameterize the queries correctly. Different for MySQL and SQLite using
?
and PostgreSQL using$1
,$2
etc for parameter substitution, SQL Server has the@P1
,@P2
and so on where the number marks the parameter position as we do with PostgreSQL.This should be handled in our client so the raw queries will not panic out immediately.
The text was updated successfully, but these errors were encountered: