|
|
|
@ -117,7 +117,7 @@
|
|
|
|
|
"since": "0.4.3",
|
|
|
|
|
"complexity": "O(1)",
|
|
|
|
|
"args": "DBSIZE",
|
|
|
|
|
"desc": "Returns the number of key/value pairs stored in the database",
|
|
|
|
|
"desc": "Number of key/value pairs stored in the database",
|
|
|
|
|
"return": "Number of keys that exist in the database as an unsigned int"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -127,5 +127,13 @@
|
|
|
|
|
"args": "FLUSHDB",
|
|
|
|
|
"desc": "Removes all the key/value pairs stored in the database",
|
|
|
|
|
"return": "(Code: 0) if the operation succeeded"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "USET",
|
|
|
|
|
"since": "0.4.4",
|
|
|
|
|
"complexity": "O(n)",
|
|
|
|
|
"args": "USET <key1> <value1> <key2> <value2> ...",
|
|
|
|
|
"desc": "SET all keys if they don't exist, or UPDATE them if they do exist",
|
|
|
|
|
"return": "Number of keys that were `USET`ed, as an integer"
|
|
|
|
|
}
|
|
|
|
|
]
|