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

Function getFnSelectState

packages/db/src/query/live/collection-config-builder.ts:2198–2210  ·  view source on GitHub ↗
(target: Record<string, any>)

Source from the content-addressed store, hash-verified

2196}
2197
2198function getFnSelectState(target: Record<string, any>):
2199 | {
2200 sourceRow: Record<string, any>
2201 fnSelect: (row: Record<string, any>) => any
2202 }
2203 | undefined {
2204 return (target as Record<PropertyKey, any>)[FN_SELECT_STATE] as
2205 | {
2206 sourceRow: Record<string, any>
2207 fnSelect: (row: Record<string, any>) => any
2208 }
2209 | undefined
2210}
2211
2212function refreshFnSelectResult(
2213 target: Record<string, any>,

Callers 2

setIncludedValueFunction · 0.85
cloneForIncludesUpdateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected