Interface: SyncRecordAccessor
Hierarchy​
↳
SyncRecordAccessor
↳↳
RecordTransformBuffer
Implemented by​
Properties​
keyMap​
• Optional
keyMap: RecordKeyMap
Inherited from​
Defined in​
record-cache/src/record-accessor.ts:21
name​
• Optional
name: string
Inherited from​
Defined in​
record-cache/src/record-accessor.ts:20
schema​
• schema: RecordSchema
Inherited from​
Defined in​
record-cache/src/record-accessor.ts:22
Methods​
addInverseRelationshipsSync​
â–¸ addInverseRelationshipsSync(relationships
): void
Parameters​
Name | Type |
---|---|
relationships | RecordRelationshipIdentity [] |
Returns​
void
Defined in​
record-cache/src/record-accessor.ts:57
applyRecordChangesetSync​
â–¸ applyRecordChangesetSync(changeset
): void
Parameters​
Name | Type |
---|---|
changeset | RecordChangeset |
Returns​
void
Defined in​
record-cache/src/record-accessor.ts:63
getInverseRelationshipsSync​
â–¸ getInverseRelationshipsSync(recordIdentityOrIdentities
): RecordRelationshipIdentity
[]
Parameters​
Name | Type |
---|---|
recordIdentityOrIdentities | RecordIdentity | RecordIdentity [] |
Returns​
Defined in​
record-cache/src/record-accessor.ts:46
getRecordSync​
â–¸ getRecordSync(recordIdentity
): undefined
| InitializedRecord
Parameters​
Name | Type |
---|---|
recordIdentity | RecordIdentity |
Returns​
undefined
| InitializedRecord
Defined in​
record-cache/src/record-accessor.ts:34
getRecordsSync​
â–¸ getRecordsSync(typeOrIdentities?
): InitializedRecord
[]
Parameters​
Name | Type |
---|---|
typeOrIdentities? | string | RecordIdentity [] |
Returns​
InitializedRecord
[]
Defined in​
record-cache/src/record-accessor.ts:35
getRelatedRecordSync​
â–¸ getRelatedRecordSync(identity
, relationship
): undefined
| null
| RecordIdentity
Parameters​
Name | Type |
---|---|
identity | RecordIdentity |
relationship | string |
Returns​
undefined
| null
| RecordIdentity
Defined in​
record-cache/src/record-accessor.ts:38
getRelatedRecordsSync​
â–¸ getRelatedRecordsSync(identity
, relationship
): undefined
| RecordIdentity
[]
Parameters​
Name | Type |
---|---|
identity | RecordIdentity |
relationship | string |
Returns​
undefined
| RecordIdentity
[]
Defined in​
record-cache/src/record-accessor.ts:42
removeInverseRelationshipsSync​
â–¸ removeInverseRelationshipsSync(relationships
): void
Parameters​
Name | Type |
---|---|
relationships | RecordRelationshipIdentity [] |
Returns​
void
Defined in​
record-cache/src/record-accessor.ts:60
removeRecordSync​
â–¸ removeRecordSync(recordIdentity
): undefined
| InitializedRecord
Parameters​
Name | Type |
---|---|
recordIdentity | RecordIdentity |
Returns​
undefined
| InitializedRecord
Defined in​
record-cache/src/record-accessor.ts:53
removeRecordsSync​
â–¸ removeRecordsSync(recordIdentities
): InitializedRecord
[]
Parameters​
Name | Type |
---|---|
recordIdentities | RecordIdentity [] |
Returns​
InitializedRecord
[]
Defined in​
record-cache/src/record-accessor.ts:56
setRecordSync​
â–¸ setRecordSync(record
): void
Parameters​
Name | Type |
---|---|
record | InitializedRecord |
Returns​
void
Defined in​
record-cache/src/record-accessor.ts:51
setRecordsSync​
â–¸ setRecordsSync(records
): void
Parameters​
Name | Type |
---|---|
records | InitializedRecord [] |
Returns​
void