Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/db
/ getKeyFromItem
Method
getKeyFromItem
packages/db/src/collection/index.ts:572–574 ·
view source on GitHub ↗
(item: TOutput)
Source
from the content-addressed store, hash-verified
570
}
571
572
public getKeyFromItem(item: TOutput): TKey {
573
return
this.config.getKey(item)
574
}
575
576
/**
577
* Creates an index on a collection
for
faster queries.
Callers
7
normalizeSyncWriteMessage
Method · 0.80
createLocalOnlySync
Function · 0.80
applyChanges
Method · 0.80
flushIncludesState
Function · 0.80
mutationFn
Function · 0.80
processChangeMessage
Function · 0.80
deserializeMutation
Method · 0.80
Calls
1
getKey
Method · 0.45
Tested by
1
mutationFn
Function · 0.64