X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/32c3a426a6f0b4f99e46dfb805dbca522bce7f8a..a54d9805ee1c46d574aab8e349fd778d3a4bc67b:/doc/HsetnxCommand.html diff --git a/doc/HsetnxCommand.html b/doc/HsetnxCommand.html new file mode 100644 index 00000000..c72a6a93 --- /dev/null +++ b/doc/HsetnxCommand.html @@ -0,0 +1,41 @@ + + + + + + + +
+ + + +
+
+ +HsetnxCommand: Contents
  HSETNX _key_ _field_ _value_ (Redis >
    Return value +
+ +

HsetnxCommand

+ +
+ +
+ +
+ +

HSETNX _key_ _field_ _value_ (Redis >

1.3.10)= +Time complexity: O(1)
Set the specified hash field to the specified value, if field does not exist yet.
+
If key does not exist, a new key holding a hash is created.
+
If the field already exists, this operation has no effect and returns 0.Otherwise, the field is set to value and the operation returns 1.
+

Return value

Integer reply +
+ +
+
+ + +