MCPcopy Create free account
hub / github.com/AlexErrant/Pentive / constructor

Method constructor

app/src/sqlite/dialect.ts:15–21  ·  view source on GitHub ↗
(config: CRDialectConfig)

Source from the content-addressed store, hash-verified

13 database: () => Promise<CRDatabase>
14
15 constructor(config: CRDialectConfig) {
16 super(config as unknown as SqliteDialectConfig)
17 this.database = async () =>
18 typeof config.database === 'function'
19 ? await config.database()
20 : config.database
21 }
22
23 createDriver() {
24 const load = this.database

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected