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

Commit a6ac276b by Sushant

docs(count): correct signature for attributes and group, fixes #8764

1 parent 4fdb941d
Showing with 2 additions and 2 deletions
...@@ -1930,8 +1930,8 @@ class Model { ...@@ -1930,8 +1930,8 @@ class Model {
* @param {Boolean} [options.paranoid=true] Set `true` to count only non-deleted records. Can be used on models with `paranoid` enabled * @param {Boolean} [options.paranoid=true] Set `true` to count only non-deleted records. Can be used on models with `paranoid` enabled
* @param {Boolean} [options.distinct] Apply COUNT(DISTINCT(col)) on primary key or on options.col. * @param {Boolean} [options.distinct] Apply COUNT(DISTINCT(col)) on primary key or on options.col.
* @param {String} [options.col] Column on which COUNT() should be applied * @param {String} [options.col] Column on which COUNT() should be applied
* @param {Object} [options.attributes] Used in conjunction with `group` * @param {Array} [options.attributes] Used in conjunction with `group`
* @param {Object} [options.group] For creating complex counts. Will return multiple rows as needed. * @param {Array} [options.group] For creating complex counts. Will return multiple rows as needed.
* @param {Transaction} [options.transaction] Transaction to run query under * @param {Transaction} [options.transaction] Transaction to run query under
* @param {Function} [options.logging=false] A function that gets executed while running the query to log the sql. * @param {Function} [options.logging=false] A function that gets executed while running the query to log the sql.
* @param {Boolean} [options.benchmark=false] Pass query execution time in milliseconds as second argument to logging function (options.logging). * @param {Boolean} [options.benchmark=false] Pass query execution time in milliseconds as second argument to logging function (options.logging).
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!