Permalink
Browse files

add tagged key information in readme

  • Loading branch information...
1 parent 93202d9 commit 40e0233d15e5f894b9c26aa1dc8e5fb23b29870b @salimane committed Sep 11, 2012
Showing with 13 additions and 1 deletion.
  1. +12 −0 README.md
  2. 0 pypi-build.sh
  3. +1 −1 rediscluster/__init__.py
View
@@ -53,6 +53,18 @@ From source:
'bar'
+##Tagged keys
+
+In order to specify your own hash key (so that related keys can all land on a given node),
+you pass a list where you’d normally pass a scalar. The first element of the list is the key to use for the hash
+and the second is the real key that should be fetched/modify:
+
+ >>> r.get(["userinfo", "foo"])
+
+In that case “userinfo” is the hash key but “foo” is still the name of the key that is fetched from the redis node
+that “userinfo” hashes to.
+
+
## Information
* Code: `git clone git://github.com/salimane/rediscluster-py.git`
View
0 pypi-build.sh 100644 → 100755
No changes.
@@ -11,7 +11,7 @@
)
from redis.client import parse_info
-__version__ = '0.2.0'
+__version__ = '0.2.1'
VERSION = tuple(map(int, __version__.split('.')))
__all__ = [

0 comments on commit 40e0233

Please sign in to comment.