跳转到主要内容

书籍

Valkey 文档

Valkey 键值数据库的说明。

1 章226 页更新于 2 小时前

开始阅读

目录226

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