]>
git.saurik.com Git - redis.git/blob - src/help.h
1 /* Automatically generated by generate-command-help.rb, do not edit. */
6 static char *commandGroups
[] = {
28 "Append a value to a key",
33 "Authenticate to the server",
38 "Asynchronously rewrite the append-only file",
43 "Asynchronously save the dataset to disk",
47 "key [key ...] timeout",
48 "Remove and get the first element in a list, or block until one is available",
52 "key [key ...] timeout",
53 "Remove and get the last element in a list, or block until one is available",
57 "source destination timeout",
58 "Pop a value from a list, push it to another list and return it; or block until one is available",
63 "Get the value of a configuration parameter",
68 "Reset the stats returned by INFO",
73 "Set a configuration parameter to the given value",
78 "Return the number of keys in the selected database",
83 "Get debugging information about a key",
88 "Make the server crash",
93 "Decrement the integer value of a key by one",
98 "Decrement the integer value of a key by the given number",
108 "Discard all commands issued after MULTI",
113 "Echo the given string",
118 "Execute all commands issued after MULTI",
123 "Determine if a key exists",
128 "Set a key's time to live in seconds",
133 "Set the expiration for a key as a UNIX timestamp",
138 "Remove all keys from all databases",
143 "Remove all keys from the current database",
148 "Get the value of a key",
153 "Returns the bit value at offset in the string value stored at key",
158 "Set the string value of a key and return its old value",
163 "Delete a hash field",
168 "Determine if a hash field exists",
173 "Get the value of a hash field",
178 "Get all the fields and values in a hash",
182 "key field increment",
183 "Increment the integer value of a hash field by the given number",
188 "Get all the fields in a hash",
193 "Get the number of fields in a hash",
197 "key field [field ...]",
198 "Get the values of all the given hash fields",
202 "key field value [field value ...]",
203 "Set multiple hash fields to multiple values",
208 "Set the string value of a hash field",
213 "Set the value of a hash field, only if the field does not exist",
218 "Get all the values in a hash",
223 "Increment the integer value of a key by one",
228 "Increment the integer value of a key by the given number",
233 "Get information and statistics about the server",
238 "Find all keys matching the given pattern",
243 "Get the UNIX time stamp of the last successful save to disk",
248 "Get an element from a list by its index",
252 "key BEFORE|AFTER pivot value",
253 "Insert an element before or after another element in a list",
258 "Get the length of a list",
263 "Remove and get the first element in a list",
268 "Prepend a value to a list",
273 "Prepend a value to a list, only if the list exists",
278 "Get a range of elements from a list",
283 "Remove elements from a list",
288 "Set the value of an element in a list by its index",
293 "Trim a list to the specified range",
298 "Get the values of all the given keys",
303 "Listen for all requests received by the server in real time",
308 "Move a key to another database",
312 "key value [key value ...]",
313 "Set multiple keys to multiple values",
317 "key value [key value ...]",
318 "Set multiple keys to multiple values, only if none of the keys exist",
323 "Mark the start of a transaction block",
328 "Remove the expiration from a key",
338 "Listen for messages published to channels matching the given patterns",
343 "Post a message to a channel",
347 "[pattern [pattern ...]]",
348 "Stop listening for messages posted to channels matching the given patterns",
353 "Close the connection",
358 "Return a random key from the keyspace",
368 "Rename a key, only if the new key does not exist",
373 "Remove and get the last element in a list",
377 "source destination",
378 "Remove the last element in a list, append it to another list and return it",
383 "Append a value to a list",
388 "Append a value to a list, only if the list exists",
393 "Add a member to a set",
398 "Synchronously save the dataset to disk",
403 "Get the number of members in a set",
408 "Subtract multiple sets",
412 "destination key [key ...]",
413 "Subtract multiple sets and store the resulting set in a key",
418 "Change the selected database for the current connection",
423 "Set the string value of a key",
428 "Sets or clears the bit at offset in the string value stored at key",
433 "Set the value and expiration of a key",
438 "Set the value of a key, only if the key does not exist",
443 "Overwrite part of a string at key starting at the specified offset",
448 "Synchronously save the dataset to disk and then shut down the server",
453 "Intersect multiple sets",
457 "destination key [key ...]",
458 "Intersect multiple sets and store the resulting set in a key",
463 "Determine if a given value is a member of a set",
468 "Make the server a slave of another instance, or promote it as master",
473 "Get all the members in a set",
477 "source destination member",
478 "Move a member from one set to another",
482 "key [BY pattern] [LIMIT offset count] [GET pattern [GET pattern ...]] [ASC|DESC] [ALPHA] [STORE destination]",
483 "Sort the elements in a list, set or sorted set",
488 "Remove and return a random member from a set",
493 "Get a random member from a set",
498 "Remove a member from a set",
503 "Get the length of the value stored in a key",
508 "Listen for messages published to the given channels",
513 "Get a substring of the string stored at a key",
522 "destination key [key ...]",
523 "Add multiple sets and store the resulting set in a key",
528 "Internal command used for replication",
533 "Get the time to live for a key",
538 "Determine the type stored at key",
542 "[channel [channel ...]]",
543 "Stop listening for messages posted to the given channels",
548 "Forget about all watched keys",
553 "Watch the given keys to determine execution of the MULTI/EXEC block",
558 "Add a member to a sorted set, or update its score if it already exists",
563 "Get the number of members in a sorted set",
568 "Count the members in a sorted set with scores within the given values",
572 "key increment member",
573 "Increment the score of a member in a sorted set",
577 "destination numkeys key [key ...] [WEIGHTS weight] [AGGREGATE SUM|MIN|MAX]",
578 "Intersect multiple sorted sets and store the resulting sorted set in a new key",
582 "key start stop [WITHSCORES]",
583 "Return a range of members in a sorted set, by index",
587 "key min max [WITHSCORES] [LIMIT offset count]",
588 "Return a range of members in a sorted set, by score",
593 "Determine the index of a member in a sorted set",
598 "Remove a member from a sorted set",
603 "Remove all members in a sorted set within the given indexes",
606 { "ZREMRANGEBYSCORE",
608 "Remove all members in a sorted set within the given scores",
612 "key start stop [WITHSCORES]",
613 "Return a range of members in a sorted set, by index, with scores ordered from high to low",
616 { "ZREVRANGEBYSCORE",
617 "key max min [WITHSCORES] [LIMIT offset count]",
618 "Return a range of members in a sorted set, by score, with scores ordered from high to low",
623 "Determine the index of a member in a sorted set, with scores ordered from high to low",
628 "Get the score associated with the given member in a sorted set",
632 "destination numkeys key [key ...] [WEIGHTS weight] [AGGREGATE SUM|MIN|MAX]",
633 "Add multiple sorted sets and store the resulting sorted set in a new key",