<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                Redis的哈希值是字符串字段和字符串值之間的映射,所以他們是表示對象的完美數據類型 在Redis中的哈希值,可存儲超過400十億鍵值對。 ## 例子 ~~~ redis 127.0.0.1:6379> HMSET yiibai name "redis tutorial" description "redis basic commands for caching" likes 20 visitors 23000 OK redis 127.0.0.1:6379> HGETALL yiibai 1) "name" 2) "redis tutorial" 3) "description" 4) "redis basic commands for caching" 5) "likes" 6) "20" 7) "visitors" 8) "23000" ~~~ 在上面的例子中,我們已經設置Redis的詳細教程(name, description, likes, visitors)在哈希名稱為 yiibai ## Redis的哈希命令 如下表所示哈希一些基本的命令: | S.N. | 命令和說明 | |-------|---------| | 1 | [HDEL key field2 [field2]](http://www.yiibai.com/redis/hashes_hdel.html)?刪除一個或多個哈希字段 | | 2 | [HEXISTS key field](http://www.yiibai.com/redis/hashes_hexists.html)?判斷一個哈希字段存在與否 | | 3 | [HGET key field](http://www.yiibai.com/redis/hashes_hget.html)?獲取存儲在指定的鍵散列字段的值 | | 4 | [HGETALL key](http://www.yiibai.com/redis/hashes_hgetall.html)?讓所有的字段和值在指定的鍵存儲在一個哈希 | | 5 | [HINCRBY key field increment](http://www.yiibai.com/redis/hashes_hincrby.html)?由給定數量增加的哈希字段的整數值 | | 6 | [HINCRBYFLOAT key field increment](http://www.yiibai.com/redis/hashes_hincrbyfloat.html)?由給定的遞增量哈希字段的浮點值 | | 7 | [HKEYS key](http://www.yiibai.com/redis/hashes_hkeys.html)?獲取所有在哈希字段 | | 8 | [HLEN key](http://www.yiibai.com/redis/hashes_hlen.html)?獲取哈希字段數 | | 9 | [HMGET key field1 [field2]](http://www.yiibai.com/redis/hashes_hmget.html)?獲得所有給定的哈希字段的值 | | 10 | [HMSET key field1 value1 [field2 value2 ]](http://www.yiibai.com/redis/hashes_hmset.html)?設置多個哈希字段的多個值 | | 11 | [HSET key field value](http://www.yiibai.com/redis/hashes_hset.html)?設置哈希字段的字符串值 | | 12 | [HSETNX key field value](http://www.yiibai.com/redis/hashes_hsetnx.html)?設置哈希字段的值,僅當該字段不存在 | | 13 | [HVALS key](http://www.yiibai.com/redis/hashes_hvals.html)?獲取在哈希中的所有值 | | 14 | [HSCAN key cursor [MATCH pattern] [COUNT count]](http://www.yiibai.com/redis/hashes_hset.html)增量迭代哈希字段及相關值 |
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看