MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / quoteIdent

Function quoteIdent

apps/local/src/db/v1-v2-migration.ts:138–138  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

136}
137
138const quoteIdent = (value: string): string => `"${value.replaceAll('"', '""')}"`;
139
140const tableExists = async (client: Client, table: string): Promise<boolean> =>
141 (await queryFirst(client, "SELECT name FROM sqlite_master WHERE type = 'table' AND name = ?", [

Callers 2

columnNamesFunction · 0.70
optionalColumnFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected