(query: string, ...values: any[])
| 493 | } |
| 494 | |
| 495 | $queryRawUnsafe<T = unknown>(query: string, ...values: any[]) { |
| 496 | return createZenStackPromise(async () => { |
| 497 | const compiledQuery = this.createRawCompiledQuery(query, values); |
| 498 | const result = await this.kysely.executeQuery(compiledQuery); |
| 499 | return result.rows as T; |
| 500 | }); |
| 501 | } |
| 502 | |
| 503 | private createRawCompiledQuery(query: string, values: any[]) { |
| 504 | const q = CompiledQuery.raw(query, values); |
nothing calls this directly
no test coverage detected