MCPcopy Index your code
hub / github.com/tinyplex/tinybase / escapeId

Function escapeId

test/unit/persisters/common/databases.ts:83–83  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

81];
82
83const escapeId = (str: string) => `"${str.replace(/"/g, '""')}"`;
84
85const getPowerSyncDatabase = async (
86 dbFilename: string,

Callers 2

getDatabaseFunction · 0.70
setDatabaseFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…