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

Function val

packages/powersync-db-collection/tests/sqlite-compiler.test.ts:5–5  ·  view source on GitHub ↗
(value: T)

Source from the content-addressed store, hash-verified

3import { compileSQLite } from '../src/sqlite-compiler'
4
5const val = <T>(value: T) => new IR.Value(value)
6// Helper to create expression nodes
7const ref = (path: Array<string>) => new IR.PropRef(path)
8const func = <T = unknown>(name: string, args: Array<IR.BasicExpression>) =>

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected