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

Method transaction

src/db/sqlite-adapter.ts:52–52  ·  view source on GitHub ↗
(fn: (...args: any[]) => T, options?: TransactionOptions)

Source from the content-addressed store, hash-verified

50 exec(sql: string): void;
51 pragma(str: string, options?: { simple?: boolean }): any;
52 transaction<T>(fn: (...args: any[]) => T, options?: TransactionOptions): (...args: any[]) => T;
53 close(): void;
54 readonly open: boolean;
55 /** Undefined on a runtime without `isTransaction`; callers must then not memoize. */

Callers 15

runMigrationsFunction · 0.65
transactionMethod · 0.65
retargetCallsMethod · 0.65
restoreCallsMethod · 0.65
insertNodesMethod · 0.65
runInTransactionMethod · 0.65
storeFileBundleMethod · 0.65
insertEdgesMethod · 0.65
deleteFileMethod · 0.65

Implementers 1

NodeSqliteAdaptersrc/db/sqlite-adapter.ts

Calls

no outgoing calls

Tested by 1

recordingDbFunction · 0.52