(
sql: string,
params: ReadonlyArray<unknown> = []
)
| 217 | } |
| 218 | |
| 219 | runRaw( |
| 220 | sql: string, |
| 221 | params: ReadonlyArray<unknown> = [] |
| 222 | ) { |
| 223 | return Effect.tryPromise({ |
| 224 | try: () => this.sdk.execute({ sql, args: params as Array<any> }), |
| 225 | catch: (cause) => new SqlError({ reason: classifyError(cause, "Failed to execute statement", "execute") }) |
| 226 | }) |
| 227 | } |
| 228 | |
| 229 | execute( |
| 230 | sql: string, |
no test coverage detected