Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/db
/ ref
Function
ref
packages/electric-db-collection/tests/sql-compiler.test.ts:11–13 ·
view source on GitHub ↗
(...path: Array<string>)
Source
from the content-addressed store, hash-verified
9
10
// Helper to create a reference expression
11
function
ref(...path: Array<string>): IR.BasicExpression {
12
return
{
type
: `ref`, path } as IR.BasicExpression
13
}
14
15
// Helper to create a function expression
16
Callers
1
sql-compiler.test.ts
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected