README.markdown in ohm-1.0.0.alpha1 vs README.markdown in ohm-1.0.0.alpha2
- old
+ new
@@ -454,9 +454,12 @@
User.find(:country => "Argentina", :status => "activated")
# Find all users from Argentina, except those with a suspended account.
User.find(:country => "Argentina").except(:status => "suspended")
+ # Find all users both from Argentina and Uruguay
+ User.find(:country => "Argentina").union(:country => "Uruguay")
+
Note that calling these methods results in new sets being created
on the fly. This is important so that you can perform further operations
before reading the items to the client.
For more information, see [SINTERSTORE](http://redis.io/commands/sinterstore) and [SDIFFSTORE](http://redis.io/commands/sdiffstore).