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

Function parse

packages/trailbase-db-collection/src/trailbase.ts:132–133  ·  view source on GitHub ↗
(record: TRecord)

Source from the content-addressed store, hash-verified

130 const getKey = config.getKey
131
132 const parse = (record: TRecord) =>
133 convert<TRecord, TItem>(config.parse, record)
134 const serialUpd = (item: Partial<TItem>) =>
135 convertPartial<TItem, TRecord>(config.serialize, item)
136 const serialIns = (item: TItem) =>

Callers 2

loadFunction · 0.85
listenFunction · 0.85

Calls 1

convertFunction · 0.85

Tested by

no test coverage detected