(sql: string)
| 232 | const db = options.db |
| 233 | |
| 234 | const prepare = (sql: string) => |
| 235 | Effect.try({ |
| 236 | try: () => db.prepare(sql), |
| 237 | catch: (cause) => new SqlError({ reason: classifyError(cause, "Failed to prepare statement", "prepare") }) |
| 238 | }) |
| 239 | |
| 240 | const prepareCache = yield* Cache.make({ |
| 241 | capacity: options.prepareCacheSize ?? 200, |
no test coverage detected