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

Commit b2f8ebe7 by Asutosh Palai Committed by Sushant

docs(model-usage): order expression format (#10061)

1 parent 4886b866
Showing with 1 additions and 1 deletions
...@@ -275,7 +275,7 @@ Project.findAll({ offset: 10, limit: 2 }) ...@@ -275,7 +275,7 @@ Project.findAll({ offset: 10, limit: 2 })
The syntax for grouping and ordering are equal, so below it is only explained with a single example for group, and the rest for order. Everything you see below can also be done for group The syntax for grouping and ordering are equal, so below it is only explained with a single example for group, and the rest for order. Everything you see below can also be done for group
```js ```js
Project.findAll({order: 'title DESC'}) Project.findAll({order: [['title', 'DESC']]})
// yields ORDER BY title DESC // yields ORDER BY title DESC
Project.findAll({group: 'name'}) Project.findAll({group: 'name'})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!