Constructor
new RelatedRecordsArray(record, property, array)
Extends an array to create an enhanced array.
Parameters:
Name | Type | Description |
---|---|---|
record | object | the record with the referenced array |
property | string | the property on the record that references the array |
array | Array | the array to extend |
- Source
Classes
Members
add
Adds a record to the array, and updates references in the store, as well as inverse references
- Source
remove
Removes a record from the array, and updates references in the store, as well as inverse references
- Source
replace
Replaces the internal array of objects with a new one, including inverse relationships
- Source