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

Function col

packages/core/fumadb/src/query/condition-builder.ts:95–100  ·  view source on GitHub ↗
(name: keyof Columns)

Source from the content-addressed store, hash-verified

93 columns: Columns
94): ConditionBuilder<Columns> {
95 function col(name: keyof Columns) {
96 const out = columns[name];
97 if (!out) throw new Error(`[FumaDB] Invalid column name ${String(name)}`);
98
99 return out;
100 }
101
102 const builder: ConditionBuilder<Columns> = (
103 ...args: [string, Operator, unknown] | [string]

Callers 1

builderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected