MCPcopy Create free account
hub / github.com/CommE2E/comm / createSQLiteQueryExecutor

Function createSQLiteQueryExecutor

web/shared-worker/db-module.js:26–33  ·  view source on GitHub ↗
(
  dbModule: EmscriptenModule,
  filePath: string,
  skipMigration: boolean = false,
)

Source from the content-addressed store, hash-verified

24}
25
26function createSQLiteQueryExecutor(
27 dbModule: EmscriptenModule,
28 filePath: string,
29 skipMigration: boolean = false,
30): SQLiteQueryExecutorWrapper {
31 const rawExecutor = new dbModule.SQLiteQueryExecutor(filePath, skipMigration);
32 return new SQLiteQueryExecutorWrapper(rawExecutor, dbModule);
33}
34
35export { getDatabaseModule, createSQLiteQueryExecutor };

Calls

no outgoing calls

Tested by

no test coverage detected