(
sql: string,
params: ReadonlyArray<unknown> = []
)
| 229 | } |
| 230 | |
| 231 | runRaw( |
| 232 | sql: string, |
| 233 | params: ReadonlyArray<unknown> = [] |
| 234 | ) { |
| 235 | return Effect.tryPromise({ |
| 236 | try: () => this.sdk.execute({ sql, args: params as Array<any> }), |
| 237 | catch: (cause) => new SqlError({ reason: classifyError(cause, "Failed to execute statement", "execute") }) |
| 238 | }) |
| 239 | } |
| 240 | |
| 241 | execute( |
| 242 | sql: string, |
no test coverage detected