]>
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",
48 "key [key ...] timeout",
49 "Remove and get the first element in a list, or block until one is available",
53 "key [key ...] timeout",
54 "Remove and get the last element in a list, or block until one is available",
58 "source destination timeout",
59 "Pop a value from a list, push it to another list and return it; or block until one is available",
64 "Get the value of a configuration parameter",
69 "Reset the stats returned by INFO",
74 "Set a configuration parameter to the given value",
79 "Return the number of keys in the selected database",
84 "Get debugging information about a key",
89 "Make the server crash",
94 "Decrement the integer value of a key by one",
99 "Decrement the integer value of a key by the given number",
109 "Discard all commands issued after MULTI",
114 "Return a serialized verison of the value stored at the specified key.",
119 "Echo the given string",
123 "script numkeys key [key ...] arg [arg ...]",
124 "Execute a Lua script server side",
129 "Execute all commands issued after MULTI",
134 "Determine if a key exists",
139 "Set a key's time to live in seconds",
144 "Set the expiration for a key as a UNIX timestamp",
149 "Remove all keys from all databases",
154 "Remove all keys from the current database",
159 "Get the value of a key",
164 "Returns the bit value at offset in the string value stored at key",
169 "Get a substring of the string stored at a key",
174 "Set the string value of a key and return its old value",
178 "key field [field ...]",
179 "Delete one or more hash fields",
184 "Determine if a hash field exists",
189 "Get the value of a hash field",
194 "Get all the fields and values in a hash",
198 "key field increment",
199 "Increment the integer value of a hash field by the given number",
203 "key field increment",
204 "Increment the float value of a hash field by the given amount",
209 "Get all the fields in a hash",
214 "Get the number of fields in a hash",
218 "key field [field ...]",
219 "Get the values of all the given hash fields",
223 "key field value [field value ...]",
224 "Set multiple hash fields to multiple values",
229 "Set the string value of a hash field",
234 "Set the value of a hash field, only if the field does not exist",
239 "Get all the values in a hash",
244 "Increment the integer value of a key by one",
249 "Increment the integer value of a key by the given amount",
254 "Increment the float value of a key by the given amount",
259 "Get information and statistics about the server",
264 "Find all keys matching the given pattern",
269 "Get the UNIX time stamp of the last successful save to disk",
274 "Get an element from a list by its index",
278 "key BEFORE|AFTER pivot value",
279 "Insert an element before or after another element in a list",
284 "Get the length of a list",
289 "Remove and get the first element in a list",
293 "key value [value ...]",
294 "Prepend one or multiple values to a list",
299 "Prepend a value to a list, only if the list exists",
304 "Get a range of elements from a list",
309 "Remove elements from a list",
314 "Set the value of an element in a list by its index",
319 "Trim a list to the specified range",
324 "Get the values of all the given keys",
328 "host port key destination-db timeout",
329 "Atomically transfer a key from a Redis instance to another one.",
334 "Listen for all requests received by the server in real time",
339 "Move a key to another database",
343 "key value [key value ...]",
344 "Set multiple keys to multiple values",
348 "key value [key value ...]",
349 "Set multiple keys to multiple values, only if none of the keys exist",
354 "Mark the start of a transaction block",
358 "subcommand [arguments [arguments ...]]",
359 "Inspect the internals of Redis objects",
364 "Remove the expiration from a key",
369 "Set a key's time to live in milliseconds",
373 "key milliseconds-timestamp",
374 "Set the expiration for a key as a UNIX timestamp specified in milliseconds",
383 "key milliseconds value",
384 "Set the value and expiration in milliseconds of a key",
388 "pattern [pattern ...]",
389 "Listen for messages published to channels matching the given patterns",
394 "Get the time to live for a key in milliseconds",
399 "Post a message to a channel",
403 "[pattern [pattern ...]]",
404 "Stop listening for messages posted to channels matching the given patterns",
409 "Close the connection",
414 "Return a random key from the keyspace",
424 "Rename a key, only if the new key does not exist",
428 "key ttl serialized-value",
429 "Create a key using the provided serialized value, previously obtained using DUMP.",
434 "Remove and get the last element in a list",
438 "source destination",
439 "Remove the last element in a list, append it to another list and return it",
443 "key value [value ...]",
444 "Append one or multiple values to a list",
449 "Append a value to a list, only if the list exists",
453 "key member [member ...]",
454 "Add one or more members to a set",
459 "Synchronously save the dataset to disk",
464 "Get the number of members in a set",
468 "script [script ...]",
469 "Check existence of scripts in the script cache.",
474 "Remove all the scripts from the script cache.",
479 "Kill the script currently in execution.",
484 "Load the specified Lua script into the script cache.",
489 "Subtract multiple sets",
493 "destination key [key ...]",
494 "Subtract multiple sets and store the resulting set in a key",
499 "Change the selected database for the current connection",
504 "Set the string value of a key",
509 "Sets or clears the bit at offset in the string value stored at key",
514 "Set the value and expiration of a key",
519 "Set the value of a key, only if the key does not exist",
524 "Overwrite part of a string at key starting at the specified offset",
529 "Synchronously save the dataset to disk and then shut down the server",
534 "Intersect multiple sets",
538 "destination key [key ...]",
539 "Intersect multiple sets and store the resulting set in a key",
544 "Determine if a given value is a member of a set",
549 "Make the server a slave of another instance, or promote it as master",
553 "subcommand [argument]",
554 "Manages the Redis slow queries log",
559 "Get all the members in a set",
563 "source destination member",
564 "Move a member from one set to another",
568 "key [BY pattern] [LIMIT offset count] [GET pattern [GET pattern ...]] [ASC|DESC] [ALPHA] [STORE destination]",
569 "Sort the elements in a list, set or sorted set",
574 "Remove and return a random member from a set",
579 "Get a random member from a set",
583 "key member [member ...]",
584 "Remove one or more members from a set",
589 "Get the length of the value stored in a key",
593 "channel [channel ...]",
594 "Listen for messages published to the given channels",
603 "destination key [key ...]",
604 "Add multiple sets and store the resulting set in a key",
609 "Internal command used for replication",
614 "Return the current server time",
619 "Get the time to live for a key",
624 "Determine the type stored at key",
628 "[channel [channel ...]]",
629 "Stop listening for messages posted to the given channels",
634 "Forget about all watched keys",
639 "Watch the given keys to determine execution of the MULTI/EXEC block",
643 "key score member [score] [member]",
644 "Add one or more members to a sorted set, or update its score if it already exists",
649 "Get the number of members in a sorted set",
654 "Count the members in a sorted set with scores within the given values",
658 "key increment member",
659 "Increment the score of a member in a sorted set",
663 "destination numkeys key [key ...] [WEIGHTS weight] [AGGREGATE SUM|MIN|MAX]",
664 "Intersect multiple sorted sets and store the resulting sorted set in a new key",
668 "key start stop [WITHSCORES]",
669 "Return a range of members in a sorted set, by index",
673 "key min max [WITHSCORES] [LIMIT offset count]",
674 "Return a range of members in a sorted set, by score",
679 "Determine the index of a member in a sorted set",
683 "key member [member ...]",
684 "Remove one or more members from a sorted set",
689 "Remove all members in a sorted set within the given indexes",
692 { "ZREMRANGEBYSCORE",
694 "Remove all members in a sorted set within the given scores",
698 "key start stop [WITHSCORES]",
699 "Return a range of members in a sorted set, by index, with scores ordered from high to low",
702 { "ZREVRANGEBYSCORE",
703 "key max min [WITHSCORES] [LIMIT offset count]",
704 "Return a range of members in a sorted set, by score, with scores ordered from high to low",
709 "Determine the index of a member in a sorted set, with scores ordered from high to low",
714 "Get the score associated with the given member in a sorted set",
718 "destination numkeys key [key ...] [WEIGHTS weight] [AGGREGATE SUM|MIN|MAX]",
719 "Add multiple sorted sets and store the resulting sorted set in a new key",