Constructor
new EmbedsMany(definition, modelInstance) → {EmbedsMany}
EmbedsMany subclass
Parameters:
Name | Type | Description |
---|---|---|
definition |
RelationDefinition | Object | |
modelInstance |
Object |
- Source:
Returns:
- Type
- EmbedsMany
Methods
add(acInst)
Add the target model instance to the 'embedsMany' relation
Parameters:
Name | Type | Description |
---|---|---|
acInst |
Object | ID | The actual instance or id value |
- Source:
remove({Object|ID))
Remove the target model instance from the 'embedsMany' relation
Parameters:
Name | Type | Description |
---|---|---|
{Object|ID) |
acInst The actual instance or id value |
- Source: