Skip to main content
Version: 0.17

Interface: SyncRecordAccessor

Hierarchy​

Implemented by​

Properties​

keyMap​

• Optional keyMap: RecordKeyMap

Inherited from​

BaseRecordAccessor.keyMap

Defined in​

record-cache/src/record-accessor.ts:21


name​

• Optional name: string

Inherited from​

BaseRecordAccessor.name

Defined in​

record-cache/src/record-accessor.ts:20


schema​

• schema: RecordSchema

Inherited from​

BaseRecordAccessor.schema

Defined in​

record-cache/src/record-accessor.ts:22

Methods​

addInverseRelationshipsSync​

â–¸ addInverseRelationshipsSync(relationships): void

Parameters​

NameType
relationshipsRecordRelationshipIdentity[]

Returns​

void

Defined in​

record-cache/src/record-accessor.ts:57


applyRecordChangesetSync​

â–¸ applyRecordChangesetSync(changeset): void

Parameters​

NameType
changesetRecordChangeset

Returns​

void

Defined in​

record-cache/src/record-accessor.ts:63


getInverseRelationshipsSync​

â–¸ getInverseRelationshipsSync(recordIdentityOrIdentities): RecordRelationshipIdentity[]

Parameters​

NameType
recordIdentityOrIdentitiesRecordIdentity | RecordIdentity[]

Returns​

RecordRelationshipIdentity[]

Defined in​

record-cache/src/record-accessor.ts:46


getRecordSync​

â–¸ getRecordSync(recordIdentity): undefined | InitializedRecord

Parameters​

NameType
recordIdentityRecordIdentity

Returns​

undefined | InitializedRecord

Defined in​

record-cache/src/record-accessor.ts:34


getRecordsSync​

â–¸ getRecordsSync(typeOrIdentities?): InitializedRecord[]

Parameters​

NameType
typeOrIdentities?string | RecordIdentity[]

Returns​

InitializedRecord[]

Defined in​

record-cache/src/record-accessor.ts:35


getRelatedRecordSync​

â–¸ getRelatedRecordSync(identity, relationship): undefined | null | RecordIdentity

Parameters​

NameType
identityRecordIdentity
relationshipstring

Returns​

undefined | null | RecordIdentity

Defined in​

record-cache/src/record-accessor.ts:38


getRelatedRecordsSync​

â–¸ getRelatedRecordsSync(identity, relationship): undefined | RecordIdentity[]

Parameters​

NameType
identityRecordIdentity
relationshipstring

Returns​

undefined | RecordIdentity[]

Defined in​

record-cache/src/record-accessor.ts:42


removeInverseRelationshipsSync​

â–¸ removeInverseRelationshipsSync(relationships): void

Parameters​

NameType
relationshipsRecordRelationshipIdentity[]

Returns​

void

Defined in​

record-cache/src/record-accessor.ts:60


removeRecordSync​

â–¸ removeRecordSync(recordIdentity): undefined | InitializedRecord

Parameters​

NameType
recordIdentityRecordIdentity

Returns​

undefined | InitializedRecord

Defined in​

record-cache/src/record-accessor.ts:53


removeRecordsSync​

â–¸ removeRecordsSync(recordIdentities): InitializedRecord[]

Parameters​

NameType
recordIdentitiesRecordIdentity[]

Returns​

InitializedRecord[]

Defined in​

record-cache/src/record-accessor.ts:56


setRecordSync​

â–¸ setRecordSync(record): void

Parameters​

NameType
recordInitializedRecord

Returns​

void

Defined in​

record-cache/src/record-accessor.ts:51


setRecordsSync​

â–¸ setRecordsSync(records): void

Parameters​

NameType
recordsInitializedRecord[]

Returns​

void

Defined in​

record-cache/src/record-accessor.ts:52