8000 Merge pull request #850 from ProgerXP/ProgerXP-hdel · jrtkcoder/phpredis@1343d9b · GitHub
[go: up one dir, main page]

Skip to content

Commit 1343d9b

Browse files
Merge pull request phpredis#850 from ProgerXP/ProgerXP-hdel
hDel() returns LONG and is variadic
2 parents ff09912 + 39aad72 commit 1343d9b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.markdown

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1421,10 +1421,12 @@ $redis->hLen('h'); /* returns 2 */
14211421
_**Description**_: Removes a value from the hash stored at key. If the hash table doesn't exist, or the key doesn't exist, `FALSE` is returned.
14221422
##### *Parameters*
14231423
*key*
1424-
*hashKey*
1424+
*hashKey1*
1425+
*hashKey2*
1426+
...
14251427

14261428
##### *Return value*
1427-
*BOOL* `TRUE` in case of success, `FALSE` in case of failure
1429+
*LONG* the number of deleted keys, 0 if the key doesn't exist, `FALSE` if the key isn't a hash.
14281430

14291431

14301432
### hKeys

0 commit comments

Comments
 (0)
0