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

Function getWhereCondition

src/persisters/common/database/common.ts:81–86  ·  view source on GitHub ↗
(
  tableName: string,
  condition: DpcTabularCondition = TRUE,
)

Source from the content-addressed store, hash-verified

79 );
80
81export const getWhereCondition = (
82 tableName: string,
83 condition: DpcTabularCondition = TRUE,
84) =>
85 WHERE +
86 `(${strReplace(condition, TABLE_NAME_PLACEHOLDER, escapeId(tableName))})`;

Callers 2

loadTableFunction · 0.90
saveTableFunction · 0.90

Calls 2

strReplaceFunction · 0.90
escapeIdFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…