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

Function columnNames

__tests__/generated-flag-index.test.ts:151–152  ·  view source on GitHub ↗
(conn: SqliteDatabase)

Source from the content-addressed store, hash-verified

149 }
150
151 const columnNames = (conn: SqliteDatabase): string[] =>
152 (conn.prepare('PRAGMA table_info(files)').all() as Array<{ name: string }>).map((c) => c.name);
153
154 it('adds the column and the partial index without touching existing rows', () => {
155 const conn = makeLegacyDb();

Callers 1

Calls 2

allMethod · 0.65
prepareMethod · 0.65

Tested by

no test coverage detected