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