Commit e585652fa062f43a527b3409214f217ef3392ae3
1 parent
2670185b
Exists in
master
and in
21 other branches
Updated regexp example
Showing
1 changed file
with
1 additions
and
3 deletions
Show diff stats
README.md
... | ... | @@ -92,9 +92,7 @@ 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 | - name: "hello", # name exact match search | |
96 | - name: /hel+o/, # regex search | |
97 | - name: {regexp: "hel+o"}, # alternate regex syntax | |
95 | + category: /frozen .+/, # regexp | |
98 | 96 | aisle_id: [25, 30], # in |
99 | 97 | store_id: {not: 2}, # not |
100 | 98 | aisle_id: {not: [25, 30]}, # not in | ... | ... |