跳转到主要内容

章节Valkey 文档

Commands

226 页更新于 1 天前

开始阅读

本章内容226

  1. 01 acl-cat The command shows the available ACL categories if called without arguments. If a category name is given, th... 1 天前
  2. 02 acl-delrole Delete all the specified ACL roles. A role cannot be deleted while it is assigned to a user: if any of the ... 1 天前
  3. 03 acl-deluser Delete all the specified ACL users and terminate all the connections that are authenticated with such users... 1 天前
  4. 04 acl-digest Return a fingerprint of the ACL rules currently in effect, as a hexadecimal string. The digest depends only... 1 天前
  5. 05 acl-dryrun Simulate the execution of a given command by a given user. This command can be used to test the permissions... 1 天前
  6. 06 acl-genpass ACL users need a solid password in order to authenticate to the server without security risks. Such passwor... 1 天前
  7. 07 acl-getrole The command returns all the rules defined for an existing ACL role, and the users that hold it. The command... 1 天前
  8. 08 acl-getuser The command returns all the rules defined for an existing ACL user. Specifically, it lists the user's ACL f... 1 天前
  9. 09 acl-help The ACL HELP command returns a helpful text describing the different subcommands. 1 天前
  10. 10 acl-list The command shows the currently active ACL rules in the Valkey server. Each line in the returned array defi... 1 天前
  11. 11 acl-load When Valkey is configured to use an ACL file (with the aclfile configuration option), this command will re... 1 天前
  12. 12 acl-log The command shows a list of recent ACL security events: Failures to authenticate their connections with AU... 1 天前
  13. 13 acl-roles The command shows a list of all the names of the currently configured roles in the Valkey ACL system. Examp... 1 天前
  14. 14 acl-save When Valkey is configured to use an ACL file (with the aclfile configuration option), this command will sa... 1 天前
  15. 15 acl-setrole Create an ACL role with the specified rules or modify the rules of an existing role. A role is a named, reu... 1 天前
  16. 16 acl-setuser Create an ACL user with the specified rules or modify the rules of an existing user. Manipulate Valkey ACL ... 1 天前
  17. 17 acl-users The command shows a list of all the usernames of the currently configured users in the Valkey ACL system. R... 1 天前
  18. 18 acl-whoami Return the username the current connection is authenticated with. New connections are authenticated with th... 1 天前
  19. 19 acl This is a container command for Access Control List commands. To see the list of available commands you can... 1 天前
  20. 20 append If key already exists and is a string, this command appends the value at the end of the string. If key d... 1 天前
  21. 21 asking When a cluster client receives an -ASK redirect, the ASKING command is sent to the target node followed b... 1 天前
  22. 22 auth The AUTH command authenticates the current connection using the Valkey ACL system. The standard way to AUT... 1 天前
  23. 23 bf.add Adds a single item to a bloom filter. If the specified bloom filter does not exist, a bloom filter is creat... 1 天前
  24. 24 bf.card Returns the cardinality of a bloom filter which is the number of items that have been successfully added to... 1 天前
  25. 25 bf.exists Determines if an item has been added to the bloom filter previously. A bloom filter has two possible respon... 1 天前
  26. 26 bf.info Returns usage information and properties of a specific bloom filter. Info Fields CAPACITY - The number of u... 1 天前
  27. 27 bf.insert If the bloom filter does not exist under the specified name, a bloom filter is created with the specified p... 1 天前
  28. 28 bf.load Restores a bloom filter from a dump of an existing bloom filter with all of its specific the properties and... 1 天前
  29. 29 bf.madd Adds one or more items to a bloom filter. If the specified bloom filter does not exist, a bloom filter is c... 1 天前
  30. 30 bf.mexists Determines if the provided item/s have been added to a bloom filter previously. A Bloom filter has two poss... 1 天前
  31. 31 bf.reserve Creates an empty bloom filter with the specified capacity and false positive rate. By default, a scaling fi... 1 天前
  32. 32 bgrewriteaof Instruct Valkey to start an Append Only File rewrite process. The rewrite will create a small optimized ver... 1 天前
  33. 33 bgsave Save the DB in background. Normally the OK code is immediately returned. Valkey forks, the parent continues... 1 天前
  34. 34 bitcount Count the number of set bits (population counting) in a string. By default all the bytes contained in the s... 1 天前
  35. 35 bitfield The command treats a string as an array of bits, and is capable of addressing specific integer fields of va... 1 天前
  36. 36 bitfield_ro Read-only variant of the BITFIELD command. It is similar to the original BITFIELD but only accepts GET s... 1 天前
  37. 37 bitop Perform a bitwise operation between multiple keys (containing string values) and store the result in the de... 1 天前
  38. 38 bitpos Return the position of the first bit set to 1 or 0 in a string. The position is returned, thinking of the s... 1 天前
  39. 39 blmove BLMOVE is the blocking variant of LMOVE. When source contains elements, this command behaves exactly like... 1 天前
  40. 40 blmpop BLMPOP is the blocking variant of LMPOP. When any of the lists contains elements, this command behaves exa... 1 天前
  41. 41 blpop BLPOP is a blocking list pop primitive. It is the blocking version of LPOP because it blocks the connectio... 1 天前
  42. 42 brpop BRPOP is a blocking list pop primitive. It is the blocking version of RPOP because it blocks the connectio... 1 天前
  43. 43 brpoplpush BRPOPLPUSH is the blocking variant of RPOPLPUSH. When source contains elements, this command behaves exac... 1 天前
  44. 44 bzmpop BZMPOP is the blocking variant of ZMPOP. When any of the sorted sets contains elements, this command behav... 1 天前
  45. 45 bzpopmax BZPOPMAX is the blocking variant of the sorted set ZPOPMAX primitive. It is the blocking version because i... 1 天前
  46. 46 bzpopmin BZPOPMIN is the blocking variant of the sorted set ZPOPMIN primitive. It is the blocking version because i... 1 天前
  47. 47 client-caching This command controls the tracking of the keys in the next command executed by the connection, when trackin... 1 天前
  48. 48 client-capa Clients can declare their capabilities to Valkey using the CLIENT CAPA command, and Valkey will adjust the... 1 天前
  49. 49 client-getname The CLIENT GETNAME returns the name of the current connection as set by CLIENT SETNAME. Since every new c... 1 天前
  50. 50 client-getredir This command returns the client ID we are redirecting our tracking notifications to. We set a client to red... 1 天前
  51. 51 client-help The CLIENT HELP command returns a helpful text describing the different subcommands. 1 天前
  52. 52 client-id The command just returns the ID of the current connection. Every connection ID has certain guarantees: It i... 1 天前
  53. 53 client-import-source When the client sync data from a Redis-like server to Valkey using some sync tools like RedisShake, Valkey ... 1 天前
  54. 54 client-info The command returns information and statistics about the current client connection in a mostly human readab... 1 天前
  55. 55 client-kill The CLIENT KILL command closes a given client connection. This command support two formats, the old format... 1 天前
  56. 56 client-list The CLIENT LIST command returns information and statistics about the client connections server in a mostly... 1 天前
  57. 57 client-no-evict The CLIENT NO-EVICT command sets the client eviction mode for the current connection. When turned on and c... 1 天前
  58. 58 client-no-touch The CLIENT NO-TOUCH command controls whether commands sent by the client will alter the LRU/LFU of the key... 1 天前
  59. 59 client-pause CLIENT PAUSE is a connections control command able to suspend all the Valkey clients for the specified amou... 1 天前
  60. 60 client-reply Sometimes it can be useful for clients to completely disable replies from the Valkey server. For example wh... 1 天前
  61. 61 client-setinfo The CLIENT SETINFO command assigns various info attributes to the current connection which are displayed i... 1 天前
  62. 62 client-setname The CLIENT SETNAME command assigns a name to the current connection. The assigned name is displayed in the... 1 天前
  63. 63 client-tracking This command enables the tracking feature of the Valkey server, that is used for server assisted client sid... 1 天前
  64. 64 client-trackinginfo The command returns information about the current client connection's use of the server assisted client sid... 1 天前
  65. 65 client-unblock This command can unblock, from a different connection, a client blocked in a blocking operation, such as fo... 1 天前
  66. 66 client-unpause CLIENT UNPAUSE is used to resume command processing for all clients that were paused by CLIENT PAUSE. 1 天前
  67. 67 client This is a container command for client connection commands. To see the list of available commands you can c... 1 天前
  68. 68 cluster-addslots This command is useful in order to modify a node's view of the cluster configuration. Specifically it assig... 1 天前
  69. 69 cluster-addslotsrange The CLUSTER ADDSLOTSRANGE is similar to the CLUSTER ADDSLOTS command in that they both assign hash slots ... 1 天前
  70. 70 cluster-bumpepoch Advances the cluster config epoch. The CLUSTER BUMPEPOCH command triggers an increment to the cluster's co... 1 天前
  71. 71 cluster-cancelslotmigrations CLUSTER CANCELSLOTMIGRATIONS cancels all in progress atomic slot migrations initiated through CLUSTER MIGRA... 1 天前
  72. 72 cluster-count-failure-reports The command returns the number of failure reports for the specified node. Failure reports are the way Valke... 1 天前
  73. 73 cluster-countkeysinslot Returns the number of keys in the specified Valkey Cluster hash slot in the currently selected database. Th... 1 天前
  74. 74 cluster-delslots In Valkey Cluster, each node keeps track of which primary is serving a particular hash slot. The CLUSTER D... 1 天前
  75. 75 cluster-delslotsrange The CLUSTER DELSLOTSRANGE command is similar to the CLUSTER DELSLOTS command in that they both remove has... 1 天前
  76. 76 cluster-failover This command, that can only be sent to a Valkey Cluster replica node, forces the replica to start a manual ... 1 天前
  77. 77 cluster-flushslots Deletes all slots from a node. The CLUSTER FLUSHSLOTS deletes all information about slots from the connect... 1 天前
  78. 78 cluster-forget The command is used in order to remove a node, specified via its node ID, from the set of known nodes of th... 1 天前
  79. 79 cluster-getkeysinslot The command returns an array of key names stored in the contacted node and hashing to the specified hash sl... 1 天前
  80. 80 cluster-getslotmigrations CLUSTER GETSLOTMIGRATIONS returns an array of information about in-progress and recently completed atomic s... 1 天前
  81. 81 cluster-help The CLUSTER HELP command returns a helpful text describing the different subcommands. 1 天前
  82. 82 cluster-info CLUSTER INFO provides INFO style information about Valkey Cluster vital parameters. The following fields a... 1 天前
  83. 83 cluster-keyslot Returns an integer identifying the hash slot the specified key hashes to. This command is mainly useful for... 1 天前
  84. 84 cluster-links Each node in a Valkey Cluster maintains a pair of long-lived TCP link with each peer in the cluster: One fo... 1 天前
  85. 85 cluster-meet CLUSTER MEET is used in order to connect different Valkey nodes with cluster support enabled, into a workin... 1 天前
  86. 86 cluster-migrateslots CLUSTER MIGRATESLOTS initiates an asynchronous migration of the designated slot range(s) to the specified t... 1 天前
  87. 87 cluster-myid Returns the node's id. The CLUSTER MYID command returns the unique, auto-generated identifier that is asso... 1 天前
  88. 88 cluster-myshardid Returns the node's shard id. The CLUSTER MYSHARDID command returns the unique, auto-generated identifier t... 1 天前
  89. 89 cluster-nodes Each node in a Valkey Cluster has its view of the current cluster configuration, given by the set of known ... 1 天前
  90. 90 cluster-replicas The command provides a list of replica nodes replicating from the specified primary node. The list is provi... 1 天前
  91. 91 cluster-replicate The command reconfigures a node as a replica of the specified primary. If the node receiving the command is... 1 天前
  92. 92 cluster-reset Reset a Valkey Cluster node, in a more or less drastic way depending on the reset type, that can be hard or... 1 天前
  93. 93 cluster-saveconfig Forces a node to save the nodes.conf configuration on disk. Before returning, the command calls fsync(2) ... 1 天前
  94. 94 cluster-set-config-epoch This command sets a specific config epoch in a fresh node. It only works when: The nodes table of the node ... 1 天前
  95. 95 cluster-setslot CLUSTER SETSLOT is responsible for changing the state of a hash slot in the receiving node in different way... 1 天前
  96. 96 cluster-shards CLUSTER SHARDS returns details about the shards of the cluster. A shard is defined as a collection of nodes... 1 天前
  97. 97 cluster-slaves A note about the word slave used in this man page and command name: the Valkey project no longer uses the w... 1 天前
  98. 98 cluster-slot-stats Returns an array of slot usage statistics for slots assigned to the current shard. The command is suitable ... 1 天前
  99. 99 cluster-slots CLUSTER SLOTS returns details about which cluster slots map to which Valkey instances. The command is suita... 1 天前
  100. 100 cluster-syncslots Internal command to allow navigation of the atomic slot migration state machine. For more information about... 1 天前
  101. 101 cluster This is a container command for Valkey Cluster commands. To see the list of available commands you can call... 1 天前
  102. 102 clusterscan CLUSTERSCAN iterates over keys across a Valkey Cluster. It walks through every hash slot in the cluster, on... 1 天前
  103. 103 command-count Returns the total number of commands in this Valkey server. Examples 127.0.0.1:6379> COMMAND COUNT (integer... 1 天前
  104. 104 command-docs Return documentary information about commands. By default, the reply includes all of the server's commands.... 1 天前
  105. 105 command-getkeys Returns @array-reply of keys from a full Valkey command. COMMAND GETKEYS is a helper command to let you fin... 1 天前
  106. 106 command-getkeysandflags Returns @array-reply of keys from a full Valkey command and their usage flags. COMMAND GETKEYSANDFLAGS is a... 1 天前
  107. 107 command-help The COMMAND HELP command returns a helpful text describing the different subcommands. 1 天前
  108. 108 command-info Returns @array-reply of details about multiple Valkey commands. Same result format as COMMAND except you c... 1 天前
  109. 109 command-list Return an array of the server's command names. You can use the optional FILTERBY modifier to apply one of t... 1 天前
  110. 110 command Return an array with details about every Valkey command. The COMMAND command is introspective. Its reply d... 1 天前
  111. 111 commandlog-get The COMMANDLOG GET command returns entries from the command log of specified type in chronological order. ... 1 天前
  112. 112 commandlog-help The COMMANDLOG HELP command returns a helpful text describing the different subcommands. 1 天前
  113. 113 commandlog-len The COMMANDLOG LEN command returns the current number of entries in the specified type of command log. A n... 1 天前
  114. 114 commandlog-reset This command resets the specified type of command log, clearing all entries in it. Once deleted the informa... 1 天前
  115. 115 commandlog This is a container command for command log management commands. To see the list of available commands you ... 1 天前
  116. 116 config-get The CONFIG GET command is used to read the configuration parameters of a running Valkey server. The symmet... 1 天前
  117. 117 config-help The CONFIG HELP command returns a helpful text describing the different subcommands. 1 天前
  118. 118 config-resetstat Resets the statistics reported by Valkey using the INFO and LATENCY HISTOGRAM commands. The following is ... 1 天前
  119. 119 config-rewrite The CONFIG REWRITE command rewrites the valkey.conf file the server was started with, applying the minima... 1 天前
  120. 120 config-set The CONFIG SET command is used in order to reconfigure the server at run time without the need to restart ... 1 天前
  121. 121 config This is a container command for runtime configuration commands. To see the list of available commands you c... 1 天前
  122. 122 copy This command copies the value stored at the source key to the destination key. By default, the destinati... 1 天前
  123. 123 dbsize Return the number of keys in the currently-selected database. 1 天前
  124. 124 debug The DEBUG command is an internal command. It is meant to be used for developing and testing Valkey. 1 天前
  125. 125 decr Decrements the number stored at key by one. If the key does not exist, it is set to 0 before performing t... 1 天前
  126. 126 decrby Decrements the number stored at key by decrement. If the key does not exist, it is set to 0 before perfo... 1 天前
  127. 127 del Removes the specified keys. A key is ignored if it does not exist. Examples 127.0.0.1:6379> SET key1 "Hello... 1 天前
  128. 128 delex Delete key based on condition. Options IFEQ comparison-value -- Delete the key only if the comparison valu... 1 天前
  129. 129 delifeq Deletes the key if its value matches the given string. This command is typically used to safely release loc... 1 天前
  130. 130 discard Flushes all previously queued commands in a transaction and restores the connection state to normal. If WA... 1 天前
  131. 131 dump Serialize the value stored at key in a Valkey-specific format and return it to the user. The returned value... 1 天前
  132. 132 echo Returns message. Examples 127.0.0.1:6379> ECHO "Hello World!" "Hello World!" 1 天前
  133. 133 eval Invoke the execution of a server-side Lua script. The first argument is the script's source code. Scripts a... 1 天前
  134. 134 eval_ro This is a read-only variant of the EVAL command that cannot execute commands that modify data. For more in... 1 天前
  135. 135 evalsha Evaluate a script from the server's cache by its SHA1 digest. The server caches scripts by using the SCRIP... 1 天前
  136. 136 evalsha_ro This is a read-only variant of the EVALSHA command that cannot execute commands that modify data. For more... 1 天前
  137. 137 exec Executes all previously queued commands in a transaction and restores the connection state to normal. When ... 1 天前
  138. 138 exists Returns if key exists. The user should be aware that if the same existing key is mentioned in the argument... 1 天前
  139. 139 expire Set a timeout on key. After the timeout has expired, the key will automatically be deleted. A key with an ... 1 天前
  140. 140 expireat EXPIREAT has the same effect and semantic as EXPIRE, but instead of specifying the number of seconds repre... 1 天前
  141. 141 expiretime Returns the absolute Unix timestamp (since January 1, 1970) in seconds at which the given key will expire. ... 1 天前
  142. 142 failover This command will start a coordinated failover between the currently-connected-to primary and one of its re... 1 天前
  143. 143 fcall Invoke a function. Functions are loaded to the server with the FUNCTION LOAD command. The first argument i... 1 天前
  144. 144 fcall_ro This is a read-only variant of the FCALL command that cannot execute commands that modify data. For more i... 1 天前
  145. 145 flushall Delete all the keys of all the existing databases, not just the currently selected one. This command never ... 1 天前
  146. 146 flushdb Delete all the keys of the currently selected DB. This command never fails. By default, FLUSHDB will synch... 1 天前
  147. 147 ft._list Lists the currently defined indexes for the current data base. FT._LIST Response An array of strings. Each ... 1 天前
  148. 148 ft.aggregate The FT.AGGREGATE command extends the query capabilities of the FT.SEARCH command with substantial server-... 1 天前
  149. 149 ft.create The FT.CREATE command creates an empty index and may initiate the backfill process. Each index consists of... 1 天前
  150. 150 ft.cursor Reads more rows from, or deletes, a cursor created by the WITHCURSOR option of FT.AGGREGATE, FT.HYBRID o... 1 天前
  151. 151 ft.dropindex Drop the index created earlier by FT.CREATE command. It is an error if the index doesn't exist. FT.DROPIND... 1 天前
  152. 152 ft.hybrid The FT.HYBRID command runs two searches over one index and combines their results into a single ranked lis... 1 天前
  153. 153 ft.info The FT.INFO command provides information about an index. Variants of the command are available in cluster ... 1 天前
  154. 154 ft.search Performs a search of the specified index. The keys which match the query expression are returned. FT.SEARCH... 1 天前
  155. 155 function-delete Delete a library and all its functions. This command deletes the library called library-name and all functi... 1 天前
  156. 156 function-dump Return the serialized payload of loaded libraries. You can restore the serialized payload later with the F... 1 天前
  157. 157 function-flush Deletes all the libraries. Unless called with the optional mode argument, the lazyfree-lazy-user-flush con... 1 天前
  158. 158 function-help The FUNCTION HELP command returns a helpful text describing the different subcommands. 1 天前
  159. 159 function-kill Kill a function that is currently executing. The FUNCTION KILL command can be used only on functions that ... 1 天前
  160. 160 function-list Return information about the functions and libraries. You can use the optional LIBRARYNAME argument to spe... 1 天前
  161. 161 function-load Load a library to Valkey. The command receives a single mandatory parameter which is the source code that i... 1 天前
  162. 162 function-restore Restore libraries from the serialized payload. You can use the optional policy argument to provide a policy... 1 天前
  163. 163 function-stats Return information about the function that's currently running and information about the available executio... 1 天前
  164. 164 function This is a container command for function commands. To see the list of available commands you can call FUNC... 1 天前
  165. 165 geoadd Adds the specified geospatial items (longitude, latitude, name) to the specified key. Data is stored into t... 1 天前
  166. 166 geodist Return the distance between two members in the geospatial index represented by the sorted set. Given a sort... 1 天前
  167. 167 geohash Return valid Geohash strings representing the position of one or more elements in a sorted set value repres... 1 天前
  168. 168 geopos Return the positions (longitude,latitude) of all the specified members of the geospatial index represented ... 1 天前
  169. 169 georadius Return the members of a sorted set populated with geospatial information using GEOADD, which are within th... 1 天前
  170. 170 georadius_ro Read-only variant of the GEORADIUS command. This command is identical to the GEORADIUS command, except th... 1 天前
  171. 171 georadiusbymember This command is exactly like GEORADIUS with the sole difference that instead of taking, as the center of t... 1 天前
  172. 172 georadiusbymember_ro Read-only variant of the GEORADIUSBYMEMBER command. This command is identical to the GEORADIUSBYMEMBER co... 1 天前
  173. 173 geosearch Return the members of a sorted set populated with geospatial information using GEOADD, which are within th... 1 天前
  174. 174 geosearchstore This command is like GEOSEARCH, but stores the result in destination key. This command replaces the now de... 1 天前
  175. 175 get Get the value of key. If the key does not exist the special value nil is returned. An error is returned i... 1 天前
  176. 176 getbit Returns the bit value at offset in the string value stored at key. When offset is beyond the string length,... 1 天前
  177. 177 getdel Get the value of key and delete the key. This command is similar to GET, except for the fact that it also... 1 天前
  178. 178 getex Get the value of key and optionally set its expiration. GETEX is similar to GET, but is a write command w... 1 天前
  179. 179 getrange Returns the substring of the string value stored at key, determined by the offsets start and end (both a... 1 天前
  180. 180 getset Atomically sets key to value and returns the old value stored at key. Returns an error when key exists ... 1 天前
  181. 181 hdel Removes the specified fields from the hash stored at key. Specified fields that do not exist within this h... 1 天前
  182. 182 hello Switch to a different protocol, optionally authenticating and setting the connection's name, or provide a c... 1 天前
  183. 183 hexists Returns if field is an existing field in the hash stored at key. Examples 127.0.0.1:6379> HSET myhash fie... 1 天前
  184. 184 hexpire The HEXPIRE command allows manipulating the expiration time for existing hash fields. When set, the expira... 1 天前
  185. 185 hexpireat HEXPIREAT has the same effect and semantic as HEXPIRE, but instead of specifying the number of seconds rep... 1 天前
  186. 186 hexpiretime The HEXPIRETIME command returns the absolute Unix timestamp (since January 1, 1970) in seconds at which th... 1 天前
  187. 187 hget Returns the value associated with field in the hash stored at key. Examples 127.0.0.1:6379> HSET myhash f... 1 天前
  188. 188 hgetall Returns all fields and values of the hash stored at key. In the returned value, every field name is follow... 1 天前
  189. 189 hgetdel The HGETDEL command returns the values associated with the specified fields in the hash stored at key an... 1 天前
  190. 190 hgetex The HGETEX command returns the value of one or more fields of a given hash key, and optionally manipulates... 1 天前
  191. 191 hincrby Increments the number stored at field in the hash stored at key by increment. If key does not exist, a n... 1 天前
  192. 192 hincrbyfloat Increment the specified field of a hash stored at key, and representing a floating point number, by the s... 1 天前
  193. 193 hkeys Returns all field names in the hash stored at key. Examples 127.0.0.1:6379> HSET myhash field1 "Hello" (in... 1 天前
  194. 194 hlen Returns the number of fields contained in the hash stored at key. Examples 127.0.0.1:6379> HSET myhash fie... 1 天前
  195. 195 hmget Returns the values associated with the specified fields in the hash stored at key. For every field that d... 1 天前
  196. 196 hmset Sets the specified fields to their respective values in the hash stored at key. This command overwrites any... 1 天前
  197. 197 hpersist The HPERSIST remove the existing expiration on a hash key's field(s), turning the field(s) from volatile (... 1 天前
  198. 198 hpexpire This command works exactly like HEXPIRE but the time to live of the field(s) is specified in milliseconds ... 1 天前
  199. 199 hpexpireat HEXPIREAT has the same effect and semantic as HPEXPIRE, but instead of specifying the number of millisecon... 1 天前
  200. 200 hpexpiretime The HPEXPIRETIME command returns the absolute Unix timestamp (since January 1, 1970) in milliseconds at wh... 1 天前
  201. 201 hpttl Like HTTL this command returns the remaining time to live of hash field(s) that has an associated expirati... 1 天前
  202. 202 hrandfield When called with just the key argument, return a random field from the hash value stored at key. If the p... 1 天前
  203. 203 hscan See SCAN for HSCAN documentation. 1 天前
  204. 204 hset Sets the specified fields to their respective values in the hash stored at key. This command overwrites th... 1 天前
  205. 205 hsetex The HSETEX command allows setting the value of one or more fields of a given hash key, and optionally mani... 1 天前
  206. 206 hsetnx Sets field in the hash stored at key to value, only if field does not yet exist. If key does not exist... 1 天前
  207. 207 hstrlen Returns the string length of the value associated with field in the hash stored at key. If the key or th... 1 天前
  208. 208 httl The HTTL command returns the remaining time to live of hash field(s) with associated expiration time(s). T... 1 天前
  209. 209 hvals Returns all values in the hash stored at key. Examples 127.0.0.1:6379> HSET myhash field1 "Hello" (integer... 1 天前
  210. 210 incr Increments the number stored at key by one. If the key does not exist, it is set to 0 before performing t... 1 天前
  211. 211 incrby Increments the number stored at key by increment. If the key does not exist, it is set to 0 before perfo... 1 天前
  212. 212 incrbyfloat Increment the string representing a floating point number stored at key by the specified increment. By us... 1 天前
  213. 213 info The INFO command returns information and statistics about the server in a format that is simple to parse b... 1 天前
  214. 214 json.arrappend Append one or more values to the array values at the path. Examples Enhanced path syntax: 127.0.0.1:6379> J... 1 天前
  215. 215 json.arrindex Search for the first occurrence of a scalar JSON value in the arrays at the path. Out of range errors are t... 1 天前
  216. 216 json.arrinsert Insert one or more values into the array values at path before the index. Inserting at index 0 prepends to ... 1 天前
  217. 217 json.arrlen Get length of the array at the path. Examples Enhanced path syntax: 127.0.0.1:6379> JSON.SET k1 . '[[], [\"... 1 天前
  218. 218 json.arrpop Remove and return element at the index from the array. Popping an empty array returns null. Examples Enhanc... 1 天前
  219. 219 json.arrtrim Trim arrays at the path so that it becomes subarray [start, end], both inclusive. If the array is empty, do... 1 天前
  220. 220 json.clear Clear the arrays or objects at the path. Examples 127.0.0.1:6379> JSON.SET k1 . '[[], [0], [0,1], [0,1,2], ... 1 天前
  221. 221 json.debug Report information. Supported subcommands are: MEMORY [path] - report memory usage in bytes of a JSON valu... 1 天前
  222. 222 json.del Delete the JSON values at the path in a document key. If the path is the root path, it is equivalent to del... 1 天前
  223. 223 json.forget An alias of JSON.DEL 1 天前
  224. 224 json.get Get the serialized JSON at one or multiple paths. Examples Enhanced path syntax: 127.0.0.1:6379> JSON.SET k... 1 天前
  225. 225 json.mget Get serialized JSON objects from multiple document keys at the specified path. Return null for non-existent... 1 天前
  226. 226 json.mset Set JSON values for multiple keys. The operation is atomic. Either all values are set or none is set. If th... 1 天前