不要怂,就是干,撸起袖子干!

Commit 4c848f8a by Mick Hansen

doc(belongs-to-many): correct return type for countAssociations

1 parent a7154366
Showing with 1 additions and 1 deletions
...@@ -279,7 +279,7 @@ var BelongsToMany = function(source, target, options) { ...@@ -279,7 +279,7 @@ var BelongsToMany = function(source, target, options) {
* @param {Object} [options] * @param {Object} [options]
* @param {Object} [options.where] An optional where clause to limit the associated models * @param {Object} [options.where] An optional where clause to limit the associated models
* @param {String|Boolean} [options.scope] Apply a scope on the related model, or remove its default scope by passing false * @param {String|Boolean} [options.scope] Apply a scope on the related model, or remove its default scope by passing false
* @return {Promise<Array<Instance>>} * @return {Promise<Int>}
* @method countAssociations * @method countAssociations
*/ */
count: 'count' + plural count: 'count' + plural
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!