Skip to content

Commit 9124d8c

Browse files
author
Nicolas Favre-Felix
committed
Fixed doc for setnx.
1 parent b76474c commit 9124d8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ $redis->set('key', 'value')
9191

9292
## setnx
9393
##### Description
94-
Set the string value in argument as value of the key if the target key already exists.
94+
Set the string value in argument as value of the key if the key doesn't already exist in the database.
9595

9696
##### Parameters
9797
*key*

0 commit comments

Comments
 (0)