Skip to main content
Version: 0.17

Class: ReplaceRelatedRecordTerm<RT, RI, R>

Type parameters​

NameType
RTstring
RIRecordIdentity
RUninitializedRecord

Hierarchy​

Constructors​

constructor​

• new ReplaceRelatedRecordTerm<RT, RI, R>(transformBuilder, record, relationship, relatedRecord)

Type parameters​

NameType
RTstring
RIRecordIdentity
RUninitializedRecord

Parameters​

NameType
transformBuilderRecordTransformBuilder<RT, RI, R>
recordRecordIdentity
relationshipstring
relatedRecordnull | RecordIdentity

Overrides​

BaseRecordOperationTerm.constructor

Defined in​

packages/@orbit/records/src/record-operation-term.ts:226

Properties​

$transformBuilder​

• $transformBuilder: RecordTransformBuilder<RT, RI, R>

Inherited from​

BaseRecordOperationTerm.$transformBuilder

Defined in​

packages/@orbit/records/src/record-operation-term.ts:31

Methods​

options​

â–¸ options(options): ReplaceRelatedRecordTerm<RT, RI, R>

Parameters​

NameType
optionsRequestOptions

Returns​

ReplaceRelatedRecordTerm<RT, RI, R>

Inherited from​

BaseRecordOperationTerm.options

Defined in​

packages/@orbit/data/dist/modules/operation-term.d.ts:11


toOperation​

â–¸ toOperation(): ReplaceRelatedRecordOperation

Returns​

ReplaceRelatedRecordOperation

Inherited from​

BaseRecordOperationTerm.toOperation

Defined in​

packages/@orbit/records/src/record-operation-term.ts:41