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

Commit 0cdf8d9d by Luc Verdier

Update querying.md

1 parent 76ade8e0
Showing with 2 additions and 2 deletions
......@@ -7,7 +7,7 @@ Whether you are querying with findAll/find or doing bulk updates/destroys you ca
It's also possible to generate complex AND/OR conditions by nesting sets of `$or` and `$and`.
### Basics
```
```js
Post.findAll({
where: {
authorId: 2
......@@ -48,7 +48,7 @@ Post.update({
$gt: 6, // id > 6
$gte: 6, // id >= 6
$lt: 10, // id < 10
$lte: 10, // id
$lte: 10, // id <= 10
$ne: 20, // id != 20
$between: [6, 10], // BETWEEN 6 AND 10
$notBetween: [11, 15], // NOT BETWEEN 11 AND 15
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!