Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
public
/
sequelize
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
不要怂,就是干,撸起袖子干!
Commit a6ac276b
authored
May 07, 2018
by
Sushant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs(count): correct signature for attributes and group, fixes #8764
1 parent
4fdb941d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
lib/model.js
lib/model.js
View file @
a6ac276
...
...
@@ -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.distinct] Apply COUNT(DISTINCT(col)) on primary key or on options.col.
* @param {String} [options.col] Column on which COUNT() should be applied
* @param {
Object}
[options.attributes] Used in conjunction with `group`
* @param {
Object}
[options.group] For creating complex counts. Will return multiple rows as needed.
* @param {
Array}
[options.attributes] Used in conjunction with `group`
* @param {
Array}
[options.group] For creating complex counts. Will return multiple rows as needed.
* @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 {Boolean} [options.benchmark=false] Pass query execution time in milliseconds as second argument to logging function (options.logging).
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment