]>
git.saurik.com Git - redis.git/blob - src/help.h
1 /* Automatically generated by utils/generate-command-help.rb, do not edit. */
6 static char *commandGroups
[] = {
29 "Append a value to a key",
34 "Authenticate to the server",
39 "Asynchronously rewrite the append-only file",
44 "Asynchronously save the dataset to disk",
49 "Count set bits in a string",
53 "operation destkey key [key ...]",
54 "Perform bitwise operations between strings",
58 "key [key ...] timeout",
59 "Remove and get the first element in a list, or block until one is available",
63 "key [key ...] timeout",
64 "Remove and get the last element in a list, or block until one is available",
68 "source destination timeout",
69 "Pop a value from a list, push it to another list and return it; or block until one is available",
74 "Kill the connection of a client",
79 "Get the list of client connections",
84 "Get the value of a configuration parameter",
89 "Reset the stats returned by INFO",
94 "Set a configuration parameter to the given value",
99 "Return the number of keys in the selected database",
104 "Get debugging information about a key",
109 "Make the server crash",
114 "Decrement the integer value of a key by one",
119 "Decrement the integer value of a key by the given number",
129 "Discard all commands issued after MULTI",
134 "Return a serialized version of the value stored at the specified key.",
139 "Echo the given string",
143 "script numkeys key [key ...] arg [arg ...]",
144 "Execute a Lua script server side",
148 "sha1 numkeys key [key ...] arg [arg ...]",
149 "Execute a Lua script server side",
154 "Execute all commands issued after MULTI",
159 "Determine if a key exists",
164 "Set a key's time to live in seconds",
169 "Set the expiration for a key as a UNIX timestamp",
174 "Remove all keys from all databases",
179 "Remove all keys from the current database",
184 "Get the value of a key",
189 "Returns the bit value at offset in the string value stored at key",
194 "Get a substring of the string stored at a key",
199 "Set the string value of a key and return its old value",
203 "key field [field ...]",
204 "Delete one or more hash fields",
209 "Determine if a hash field exists",
214 "Get the value of a hash field",
219 "Get all the fields and values in a hash",
223 "key field increment",
224 "Increment the integer value of a hash field by the given number",
228 "key field increment",
229 "Increment the float value of a hash field by the given amount",
234 "Get all the fields in a hash",
239 "Get the number of fields in a hash",
243 "key field [field ...]",
244 "Get the values of all the given hash fields",
248 "key field value [field value ...]",
249 "Set multiple hash fields to multiple values",
254 "Set the string value of a hash field",
259 "Set the value of a hash field, only if the field does not exist",
264 "Get all the values in a hash",
269 "Increment the integer value of a key by one",
274 "Increment the integer value of a key by the given amount",
279 "Increment the float value of a key by the given amount",
284 "Get information and statistics about the server",
289 "Find all keys matching the given pattern",
294 "Get the UNIX time stamp of the last successful save to disk",
299 "Get an element from a list by its index",
303 "key BEFORE|AFTER pivot value",
304 "Insert an element before or after another element in a list",
309 "Get the length of a list",
314 "Remove and get the first element in a list",
318 "key value [value ...]",
319 "Prepend one or multiple values to a list",
324 "Prepend a value to a list, only if the list exists",
329 "Get a range of elements from a list",
334 "Remove elements from a list",
339 "Set the value of an element in a list by its index",
344 "Trim a list to the specified range",
349 "Get the values of all the given keys",
353 "host port key destination-db timeout",
354 "Atomically transfer a key from a Redis instance to another one.",
359 "Listen for all requests received by the server in real time",
364 "Move a key to another database",
368 "key value [key value ...]",
369 "Set multiple keys to multiple values",
373 "key value [key value ...]",
374 "Set multiple keys to multiple values, only if none of the keys exist",
379 "Mark the start of a transaction block",
383 "subcommand [arguments [arguments ...]]",
384 "Inspect the internals of Redis objects",
389 "Remove the expiration from a key",
394 "Set a key's time to live in milliseconds",
398 "key milliseconds-timestamp",
399 "Set the expiration for a key as a UNIX timestamp specified in milliseconds",
408 "key milliseconds value",
409 "Set the value and expiration in milliseconds of a key",
413 "pattern [pattern ...]",
414 "Listen for messages published to channels matching the given patterns",
419 "Get the time to live for a key in milliseconds",
424 "Post a message to a channel",
428 "[pattern [pattern ...]]",
429 "Stop listening for messages posted to channels matching the given patterns",
434 "Close the connection",
439 "Return a random key from the keyspace",
449 "Rename a key, only if the new key does not exist",
453 "key ttl serialized-value",
454 "Create a key using the provided serialized value, previously obtained using DUMP.",
459 "Remove and get the last element in a list",
463 "source destination",
464 "Remove the last element in a list, append it to another list and return it",
468 "key value [value ...]",
469 "Append one or multiple values to a list",
474 "Append a value to a list, only if the list exists",
478 "key member [member ...]",
479 "Add one or more members to a set",
484 "Synchronously save the dataset to disk",
489 "Get the number of members in a set",
493 "script [script ...]",
494 "Check existence of scripts in the script cache.",
499 "Remove all the scripts from the script cache.",
504 "Kill the script currently in execution.",
509 "Load the specified Lua script into the script cache.",
514 "Subtract multiple sets",
518 "destination key [key ...]",
519 "Subtract multiple sets and store the resulting set in a key",
524 "Change the selected database for the current connection",
529 "Set the string value of a key",
534 "Sets or clears the bit at offset in the string value stored at key",
539 "Set the value and expiration of a key",
544 "Set the value of a key, only if the key does not exist",
549 "Overwrite part of a string at key starting at the specified offset",
554 "Synchronously save the dataset to disk and then shut down the server",
559 "Intersect multiple sets",
563 "destination key [key ...]",
564 "Intersect multiple sets and store the resulting set in a key",
569 "Determine if a given value is a member of a set",
574 "Make the server a slave of another instance, or promote it as master",
578 "subcommand [argument]",
579 "Manages the Redis slow queries log",
584 "Get all the members in a set",
588 "source destination member",
589 "Move a member from one set to another",
593 "key [BY pattern] [LIMIT offset count] [GET pattern [GET pattern ...]] [ASC|DESC] [ALPHA] [STORE destination]",
594 "Sort the elements in a list, set or sorted set",
599 "Remove and return a random member from a set",
604 "Get one or multiple random members from a set",
608 "key member [member ...]",
609 "Remove one or more members from a set",
614 "Get the length of the value stored in a key",
618 "channel [channel ...]",
619 "Listen for messages published to the given channels",
628 "destination key [key ...]",
629 "Add multiple sets and store the resulting set in a key",
634 "Internal command used for replication",
639 "Return the current server time",
644 "Get the time to live for a key",
649 "Determine the type stored at key",
653 "[channel [channel ...]]",
654 "Stop listening for messages posted to the given channels",
659 "Forget about all watched keys",
664 "Watch the given keys to determine execution of the MULTI/EXEC block",
668 "key score member [score] [member]",
669 "Add one or more members to a sorted set, or update its score if it already exists",
674 "Get the number of members in a sorted set",
679 "Count the members in a sorted set with scores within the given values",
683 "key increment member",
684 "Increment the score of a member in a sorted set",
688 "destination numkeys key [key ...] [WEIGHTS weight] [AGGREGATE SUM|MIN|MAX]",
689 "Intersect multiple sorted sets and store the resulting sorted set in a new key",
693 "key start stop [WITHSCORES]",
694 "Return a range of members in a sorted set, by index",
698 "key min max [WITHSCORES] [LIMIT offset count]",
699 "Return a range of members in a sorted set, by score",
704 "Determine the index of a member in a sorted set",
708 "key member [member ...]",
709 "Remove one or more members from a sorted set",
714 "Remove all members in a sorted set within the given indexes",
717 { "ZREMRANGEBYSCORE",
719 "Remove all members in a sorted set within the given scores",
723 "key start stop [WITHSCORES]",
724 "Return a range of members in a sorted set, by index, with scores ordered from high to low",
727 { "ZREVRANGEBYSCORE",
728 "key max min [WITHSCORES] [LIMIT offset count]",
729 "Return a range of members in a sorted set, by score, with scores ordered from high to low",
734 "Determine the index of a member in a sorted set, with scores ordered from high to low",
739 "Get the score associated with the given member in a sorted set",
743 "destination numkeys key [key ...] [WEIGHTS weight] [AGGREGATE SUM|MIN|MAX]",
744 "Add multiple sorted sets and store the resulting sorted set in a new key",