From 6850afebfe7ac0c260432eaccada2ca111bf0f86 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Tue, 16 Jul 2013 05:05:58 -0700 Subject: [PATCH] Updated readme --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8e37108..6c5a63e 100644 --- a/README.md +++ b/README.md @@ -40,12 +40,12 @@ Product.search "Butter", fields: [:name, :brand] Product.search "2% Milk", where: {in_stock: true}, limit: 10, offset: 50 ``` -More operators +Additional operators ```ruby -Product.search "1% Milk", where: { - orders_count: 1..10, - expires_at: {gt: Time.now}, +where: { + expires_at: {gt: Time.now}, # lt, gte, lte also available + orders_count: 1..10, # equivalent to {gte: 1, lte: 10} store_id: {not: 2} } ``` -- libgit2 0.21.0