MCPcopy Create free account
hub / github.com/effect-app/libs / defaultEscape

Function defaultEscape

repos/effect/packages/effect/src/unstable/sql/Statement.ts:1081–1088  ·  view source on GitHub ↗
(c: string)

Source from the content-addressed store, hash-verified

1079 return "?"
1080 },
1081 onIdentifier: transform ?
1082 function(value, withoutTransform) {
1083 return withoutTransform ? escapeSqlite(value) : escapeSqlite(transform(value))
1084 } :
1085 escapeSqlite,
1086 onRecordUpdate() {
1087 return ["", []]
1088 },
1089 onCustom() {
1090 return ["", []]
1091 }

Callers 1

Statement.tsFile · 0.85

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…