@@ -458,7 +458,7 @@ class BelongsToMany extends Association {
...
@@ -458,7 +458,7 @@ class BelongsToMany extends Association {
/**
/**
* Check if one or more instance(s) are associated with this. If a list of instances is passed, the function returns true if _all_ instances are associated
* Check if one or more instance(s) are associated with this. If a list of instances is passed, the function returns true if _all_ instances are associated
*
*
* @param {<Model>} sourceInstance source instance to associate new instances with
* @param {<Model>} sourceInstance source instance to check for an association with
* @param {<Model>|<Model>[]|string[]|string|number[]|number} [instances] Can be an array of instances or their primary keys
* @param {<Model>|<Model>[]|string[]|string|number[]|number} [instances] Can be an array of instances or their primary keys
* @param {Object} [options] Options passed to getAssociations
* @param {Object} [options] Options passed to getAssociations
*
*
...
@@ -474,7 +474,9 @@ class BelongsToMany extends Association {
...
@@ -474,7 +474,9 @@ class BelongsToMany extends Association {