(sql: string, params: ReadonlyArray<unknown>)
| 316 | : this.run("execute", sql, params) |
| 317 | } |
| 318 | executeRaw(sql: string, params: ReadonlyArray<unknown>) { |
| 319 | return Effect.tryPromise({ |
| 320 | try: () => this.pglite.query<any>(sql, params as Array<any>), |
| 321 | catch: (cause) => new SqlError({ reason: classifyError(cause, "Failed to execute statement", "executeRaw") }) |
| 322 | }) |
| 323 | } |
| 324 | executeValues(sql: string, params: ReadonlyArray<unknown>) { |
| 325 | return Effect.map( |
| 326 | Effect.tryPromise({ |
nothing calls this directly
no test coverage detected