| 279 | } |
| 280 | |
| 281 | export interface SQLiteDriver { |
| 282 | exec: (sql: string) => Promise<void> |
| 283 | query: <T>( |
| 284 | sql: string, |
| 285 | params?: ReadonlyArray<unknown>, |
| 286 | ) => Promise<ReadonlyArray<T>> |
| 287 | run: (sql: string, params?: ReadonlyArray<unknown>) => Promise<void> |
| 288 | transaction: <T>( |
| 289 | fn: (transactionDriver: SQLiteDriver) => Promise<T>, |
| 290 | ) => Promise<T> |
| 291 | transactionWithDriver?: <T>( |
| 292 | fn: (transactionDriver: SQLiteDriver) => Promise<T>, |
| 293 | ) => Promise<T> |
| 294 | } |
| 295 | |
| 296 | export interface PersistedCollectionCoordinator { |
| 297 | getNodeId: () => string |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…