MCPcopy Create free account
hub / github.com/TanStack/db / val

Function val

packages/electric-db-collection/tests/sql-compiler.test.ts:6–8  ·  view source on GitHub ↗
(value: T)

Source from the content-addressed store, hash-verified

4
5// Helper to create a value expression
6function val<T>(value: T): IR.BasicExpression<T> {
7 return { type: `val`, value } as IR.BasicExpression<T>
8}
9
10// Helper to create a reference expression
11function ref(...path: Array<string>): IR.BasicExpression {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected