Promise
Adds a record to a related collection
Kind: global function
Returns: Promise
- A promise that resolves to a related Backbone.Model
or rejects as a default js error object
Since: v0.0.1
Example
// undefined
addToRelatedCollection() // -> {}
// defined
// {
// beanCollection: fn()
// beanModel: fn()
// createBean: fn()
// }
addToRelatedCollection() // -> returns linked Backbone.Model