MCPcopy
hub / github.com/colbymchenry/codegraph / prepare

Method prepare

src/db/sqlite-adapter.ts:27–27  ·  view source on GitHub ↗
(sql: string)

Source from the content-addressed store, hash-verified

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;

Callers 15

getCurrentVersionFunction · 0.65
recordMigrationFunction · 0.65
getMigrationHistoryFunction · 0.65
initializeMethod · 0.65
getSchemaVersionMethod · 0.65
insertNodeMethod · 0.65
updateNodeMethod · 0.65
deleteNodeMethod · 0.65
deleteNodesByFileMethod · 0.65
getNodeByIdMethod · 0.65
getNodesByIdsMethod · 0.65
getExistingNodeIdsMethod · 0.65

Implementers 1

NodeSqliteAdaptersrc/db/sqlite-adapter.ts

Calls

no outgoing calls

Tested by 7

loadFunction · 0.52
edgeCountFunction · 0.52
countFunction · 0.52
indexAndQueryFunction · 0.52
loadFunction · 0.52
fnFunction · 0.52
kindsOfFunction · 0.52