提交 fc88507a 编写于 作者: A Andy McCurdy

Add a documentation note about calling `pipe.multi()` prior to write commands

Fixes #1279
上级 b2989759
......@@ -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
^^^^^^^^^^^^^^^^^^^
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册