Docs add docs for additional order option

This commit is contained in:
Joey Baker 2016-10-28 11:20:12 -07:00
parent 1daa68e03e
commit 6a2290f064

View File

@ -158,6 +158,7 @@ Team.findAll({order: ['name']})
```js
// returns the teams ordered by the name column, descending
// GET /teams?order[0]=name&order[0]=DESC
// GET /teams?order=name%20DESC
// results in a Sequelize query:
Team.findAll({order: [['name', 'DESC']]})