Commit bbc2217f0d4d3bafc9975bf596fdf0e0fce9f5d5

Authored by Andrew Kane
1 parent b503b14f

Added _and and _not to docs [skip ci]

Showing 1 changed file with 3 additions and 1 deletions   Show diff stats
README.md
... ... @@ -106,7 +106,9 @@ where: {
106 106 aisle_id: {not: [25, 30]}, # not in
107 107 user_ids: {all: [1, 3]}, # all elements in array
108 108 category: /frozen .+/, # regexp
109   - _or: [{in_stock: true}, {backordered: true}]
  109 + _or: [{in_stock: true}, {backordered: true}],
  110 + _and: [{in_stock: true}, {backordered: true}],
  111 + _not: {store_id: 1} # negate a condition
110 112 }
111 113 ```
112 114  
... ...