* Unsafe counterpart of `$queryRaw` that is susceptible to SQL injections * @see https://github.com/prisma/prisma/issues/7142 * * @param query * @param values * @returns
(query: string, ...values: RawValue[])
| 709 | * @returns |
| 710 | */ |
| 711 | $queryRawUnsafe(query: string, ...values: RawValue[]) { |
| 712 | return this._createPrismaPromise((transaction) => { |
| 713 | return this.$queryRawInternal(transaction, '$queryRawUnsafe', [query, ...values]) |
| 714 | }) |
| 715 | } |
| 716 | |
| 717 | /** |
| 718 | * Execute a batch of requests in a transaction |