ReverseIndex.targetCount
property · packages/remote/src/maintained/indexes.ts:111
readonly targetCount: numberNumber of distinct target ids currently indexed.
Remote / foldkit-remote/maintained
interface · packages/remote/src/maintained/indexes.ts:109
interface ReverseIndex {
readonly targetCount: number
readonly add: (targetId: string, sourceKey: EntityKey) => void
readonly remove: (targetId: string, sourceKey: EntityKey) => void
readonly pointingAt: (targetId: string) => ReadonlySet<EntityKey>
}ReverseIndex.targetCountproperty · packages/remote/src/maintained/indexes.ts:111
readonly targetCount: numberNumber of distinct target ids currently indexed.
ReverseIndex.addproperty · packages/remote/src/maintained/indexes.ts:113
readonly add: (targetId: string, sourceKey: EntityKey) => voidRecord that sourceKey points at targetId.
ReverseIndex.removeproperty · packages/remote/src/maintained/indexes.ts:115
readonly remove: (targetId: string, sourceKey: EntityKey) => voidRemove the link from sourceKey to targetId.
ReverseIndex.pointingAtproperty · packages/remote/src/maintained/indexes.ts:117
readonly pointingAt: (targetId: string) => ReadonlySet<EntityKey>All source keys currently pointing at targetId (O(1) lookup).