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

Function getKey

packages/powersync-db-collection/src/powersync.ts:668–668  ·  view source on GitHub ↗
(record: OutputType)

Source from the content-addressed store, hash-verified

666 }
667
668 const getKey = (record: OutputType) => asPowerSyncRecord(record).id
669
670 const outputConfig: EnhancedPowerSyncCollectionConfig<
671 TTable,

Callers

nothing calls this directly

Calls 1

asPowerSyncRecordFunction · 0.90

Tested by

no test coverage detected