Class: ReplaceRelatedRecordsTerm<RT, RI, R>
Type parameters​
Name | Type |
---|---|
RT | string |
RI | RecordIdentity |
R | UninitializedRecord |
Hierarchy​
BaseRecordOperationTerm
<ReplaceRelatedRecordsOperation
,RT
,RI
,R
>↳
ReplaceRelatedRecordsTerm
Constructors​
constructor​
• new ReplaceRelatedRecordsTerm<RT
, RI
, R
>(transformBuilder
, record
, relationship
, relatedRecords
)
Type parameters​
Name | Type |
---|---|
RT | string |
RI | RecordIdentity |
R | UninitializedRecord |
Parameters​
Name | Type |
---|---|
transformBuilder | RecordTransformBuilder <RT , RI , R > |
record | RecordIdentity |
relationship | string |
relatedRecords | RecordIdentity [] |
Overrides​
BaseRecordOperationTerm.constructor
Defined in​
packages/@orbit/records/src/record-operation-term.ts:206
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
): ReplaceRelatedRecordsTerm
<RT
, RI
, R
>
Parameters​
Name | Type |
---|---|
options | RequestOptions |
Returns​
ReplaceRelatedRecordsTerm
<RT
, RI
, R
>
Inherited from​
BaseRecordOperationTerm.options
Defined in​
packages/@orbit/data/dist/modules/operation-term.d.ts:11
toOperation​
â–¸ toOperation(): ReplaceRelatedRecordsOperation
Returns​
ReplaceRelatedRecordsOperation
Inherited from​
BaseRecordOperationTerm.toOperation