Class: ReplaceRelatedRecordTerm<RT, RI, R>
Type parameters​
Name | Type |
---|---|
RT | string |
RI | RecordIdentity |
R | UninitializedRecord |
Hierarchy​
BaseRecordOperationTerm
<ReplaceRelatedRecordOperation
,RT
,RI
,R
>↳
ReplaceRelatedRecordTerm
Constructors​
constructor​
• new ReplaceRelatedRecordTerm<RT
, RI
, R
>(transformBuilder
, record
, relationship
, relatedRecord
)
Type parameters​
Name | Type |
---|---|
RT | string |
RI | RecordIdentity |
R | UninitializedRecord |
Parameters​
Name | Type |
---|---|
transformBuilder | RecordTransformBuilder <RT , RI , R > |
record | RecordIdentity |
relationship | string |
relatedRecord | null | 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​
Name | Type |
---|---|
options | RequestOptions |
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​
Inherited from​
BaseRecordOperationTerm.toOperation