(sql: string, params: ReadonlyArray<unknown>)
| 294 | : this.run("execute", sql, params) |
| 295 | } |
| 296 | executeRaw(sql: string, params: ReadonlyArray<unknown>) { |
| 297 | return Effect.tryPromise({ |
| 298 | try: () => this.pglite.query<any>(sql, params as Array<any>), |
| 299 | catch: (cause) => new SqlError({ reason: classifyError(cause, "Failed to execute statement", "executeRaw") }) |
| 300 | }) |
| 301 | } |
| 302 | executeValues(sql: string, params: ReadonlyArray<unknown>) { |
| 303 | return Effect.map( |
| 304 | Effect.tryPromise({ |
nothing calls this directly
no test coverage detected