Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/db
/ singleUserPredicate
Function
singleUserPredicate
packages/db/tests/query/composables.test.ts:388–389 ·
view source on GitHub ↗
({ user }: { user: Ref<User> })
Source
from the content-addressed store, hash-verified
386
// Different namespace structures should work correctly
387
388
const
singleUserPredicate = ({ user }: { user: Ref<User> }) =>
389
gt(user.age, 20)
390
391
const
joinedUserPostPredicate = ({
392
u,
Callers
nothing calls this directly
Calls
1
gt
Function · 0.70
Tested by
no test coverage detected