Commit de39f792a7698f6b1fe062ad5bd722485e10850c
1 parent
e585652f
Exists in
master
and in
21 other branches
Move regexp example
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
README.md
... | ... | @@ -92,11 +92,11 @@ Where |
92 | 92 | where: { |
93 | 93 | expires_at: {gt: Time.now}, # lt, gte, lte also available |
94 | 94 | orders_count: 1..10, # equivalent to {gte: 1, lte: 10} |
95 | - category: /frozen .+/, # regexp | |
96 | 95 | aisle_id: [25, 30], # in |
97 | 96 | store_id: {not: 2}, # not |
98 | 97 | aisle_id: {not: [25, 30]}, # not in |
99 | 98 | user_ids: {all: [1, 3]}, # all elements in array |
99 | + category: /frozen .+/, # regexp | |
100 | 100 | or: [ |
101 | 101 | [{in_stock: true}, {backordered: true}] |
102 | 102 | ] | ... | ... |