Add more integration tests #31
@ -158,6 +158,7 @@ Team.findAll({order: ['name']})
|
|||||||
```js
|
```js
|
||||||
// returns the teams ordered by the name column, descending
|
// returns the teams ordered by the name column, descending
|
||||||
// GET /teams?order[0]=name&order[0]=DESC
|
// GET /teams?order[0]=name&order[0]=DESC
|
||||||
|
// GET /teams?order=name%20DESC
|
||||||
|
|
||||||
// results in a Sequelize query:
|
// results in a Sequelize query:
|
||||||
Team.findAll({order: [['name', 'DESC']]})
|
Team.findAll({order: [['name', 'DESC']]})
|
||||||
|
Loading…
Reference in New Issue
Block a user