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

Function addParam

packages/infra/src/Store/SQL/query.ts:183–186  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

181 let paramIndex = 1
182
183 const addParam = (value: unknown): string => {
184 params.push(dialect.serializeScalar(value))
185 return dialect.placeholder(paramIndex++)
186 }
187
188 const fieldExpr = (path: string, relation?: string): string => {
189 if (path === idKey || path === "id") return "id"

Callers 3

fieldExprFunction · 0.85
statementFunction · 0.85
buildWhereSQLQueryFunction · 0.85

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…