MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / SqliteDatabase

Interface SqliteDatabase

src/db/sqlite-adapter.ts:26–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26export interface SqliteDatabase {
27 prepare(sql: string): SqliteStatement;
28 exec(sql: string): void;
29 pragma(str: string, options?: { simple?: boolean }): any;
30 transaction<T>(fn: (...args: any[]) => T): (...args: any[]) => T;
31 close(): void;
32 readonly open: boolean;
33}
34
35/**
36 * The active SQLite backend. Only one now (`node:sqlite`); kept as a named type

Callers 40

migrations.tsFile · 0.65
getCurrentVersionFunction · 0.65
recordMigrationFunction · 0.65
getMigrationHistoryFunction · 0.65
initializeMethod · 0.65
healBulkNodeLoadMethod · 0.65
getSchemaVersionMethod · 0.65
checkpointWalMethod · 0.65
extractComponentTagsMethod · 0.65
extractCodeBlocksMethod · 0.65
findMapperRootMethod · 0.65
extractMapperMethod · 0.65

Implementers 1

NodeSqliteAdaptersrc/db/sqlite-adapter.ts

Calls

no outgoing calls

Tested by

no test coverage detected