From e2db038fccc48674a4b3956f3a9de5197b235505 Mon Sep 17 00:00:00 2001 From: chronolaw Date: Sat, 30 May 2020 11:31:47 +0800 Subject: [PATCH] doc: fix the desc of hmset (#179) --- README.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.markdown b/README.markdown index 1e87bfb..d57b180 100644 --- a/README.markdown +++ b/README.markdown @@ -352,9 +352,9 @@ If the redis object is not in the Redis pipelining mode, then this method is a n hmset ----- -`syntax: red:hmset(myhash, field1, value1, field2, value2, ...)` +`syntax: res, err = red:hmset(myhash, field1, value1, field2, value2, ...)` -`syntax: red:hmset(myhash, { field1 = value1, field2 = value2, ... })` +`syntax: res, err = red:hmset(myhash, { field1 = value1, field2 = value2, ... })` Special wrapper for the Redis "hmset" command.