diff options
author | Andy McCurdy <andy@andymccurdy.com> | 2020-02-24 10:57:56 -0800 |
---|---|---|
committer | Andy McCurdy <andy@andymccurdy.com> | 2020-02-24 10:57:56 -0800 |
commit | fc88507aef921450dd95ada7181f1c316e01ee8b (patch) | |
tree | c04d010139be9449e2c06924b87a9745ecf815f4 | |
parent | b2989759d9c4c73d28251b7976d0823770323e0c (diff) | |
download | redis-py-fc88507aef921450dd95ada7181f1c316e01ee8b.tar.gz |
Add a documentation note about calling `pipe.multi()` prior to write commands
Fixes #1279
-rw-r--r-- | README.rst | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -505,6 +505,9 @@ which is much easier to read: >>> r.transaction(client_side_incr, 'OUR-SEQUENCE-KEY') [True] +Be sure to call `pipe.multi()` in the callable passed to `Redis.transaction` +prior to any write commands. + Publish / Subscribe ^^^^^^^^^^^^^^^^^^^ |