(scope: string)
| 526 | "no_op_count, open_stage, next_sweep_at, sweep_lease_until, sweep_lease_owner, pruned_through" |
| 527 | ) |
| 528 | const selectStore = (scope: string) => |
| 529 | Effect.map( |
| 530 | query(sql`SELECT ${storeColumns} FROM ${storesSql} WHERE scope = ${scope}`), |
| 531 | ([row]) => row === undefined ? undefined : toStoreRow(row) |
| 532 | ) |
| 533 | // Row locks held for the rest of the transaction. SQLite transactions take |
| 534 | // the database write lock instead. |
| 535 | const lockHint = sql.onDialectOrElse({ |
no test coverage detected