MCPcopy Create free account
hub / github.com/TanStack/db / hasExistingDatabase

Function hasExistingDatabase

packages/node-db-sqlite-persistence/src/node-driver.ts:50–54  ·  view source on GitHub ↗
(
  options: BetterSqlite3DriverOptions,
)

Source from the content-addressed store, hash-verified

48}
49
50function hasExistingDatabase(
51 options: BetterSqlite3DriverOptions,
52): options is BetterSqlite3ExistingDatabaseOptions {
53 return `database` in options
54}
55
56export class BetterSqlite3SQLiteDriver implements SQLiteDriver {
57 private readonly database: BetterSqlite3Database

Callers 1

constructorMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected