Commit d38daf690e3b93ccea9b242373569c77f374616d
1 parent
cd100a2f
Exists in
master
and in
21 other branches
Better in
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
README.md
... | ... | @@ -46,8 +46,8 @@ Product.search "2% Milk", where: {in_stock: true}, limit: 10, offset: 50 |
46 | 46 | where: { |
47 | 47 | expires_at: {gt: Time.now}, # lt, gte, lte also available |
48 | 48 | orders_count: 1..10, # equivalent to {gte: 1, lte: 10} |
49 | + aisle_id: [10, 11], # in | |
49 | 50 | store_id: {not: 2}, |
50 | - aisle_id: {in: [10, 11]}, | |
51 | 51 | or: [ |
52 | 52 | {in_stock: true}, |
53 | 53 | {backordered: true} | ... | ... |