From 0257c33a9b2af17756e3a84aa4d1604d6f334155 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Tue, 16 Jul 2013 09:52:14 -0700 Subject: [PATCH] Added not in --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d7219a3..1271687 100644 --- a/README.md +++ b/README.md @@ -46,8 +46,9 @@ Product.search "2% Milk", where: {in_stock: true}, limit: 10, offset: 50 where: { expires_at: {gt: Time.now}, # lt, gte, lte also available orders_count: 1..10, # equivalent to {gte: 1, lte: 10} - aisle_id: [10, 11], # in - store_id: {not: 2}, + aisle_id: [25, 30], # in + store_id: {not: 2}, # not + aisle_id: {not: [25, 30]} # not in or: [ {in_stock: true}, {backordered: true} -- libgit2 0.21.0