<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>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                >[info] Hash 常用命令 Redis hash 是一個 string 類型的 field(字段) 和 value(值) 的映射表,hash 特別適合用于存儲對象。 [TOC] #### **設置哈希表值:hset key value** ``` hset hash name wqs # 設置多個 hmset hash name wqs age 24 sex 1 ``` ![](https://img.kancloud.cn/68/a4/68a4270ca2589e9374b18534859e7ef5_300x40.png) ***** #### **獲取哈希表值:hget key** ``` hget hash name # 獲取多個 hmget hash name sex age ``` ![](https://img.kancloud.cn/c2/e4/c2e4f4cb0b4212c5f5e8b524fd15c793_304x68.png) ***** #### **獲取整個哈希表所有數據:hgetall key** ``` hgetall hash ``` ![](https://img.kancloud.cn/ea/60/ea601eae68b629e01742cb36012e8910_243x66.png) ***** #### **是否存在:hexists hash key** ``` hexists hash name ``` ![](https://img.kancloud.cn/f9/73/f973b948e727b9fedd0b6a954aa70dcc_296x89.png) ***** #### **不存在則設置:hsetnx hash key value** 只有在字段 field 不存在時,設置哈希表字段的值。 ``` hsetnx hash score 100 ``` ![](https://img.kancloud.cn/c9/ba/c9ba4f189c7e4a947f7a690261bddc9b_328x234.png) ***** #### **遞增:hincrby hash key value** ``` hincrby hash score 1 ``` ![](https://img.kancloud.cn/0d/01/0d011f3e28dfcd41199b5f782dfc121a_299x59.png) ***** #### **刪除:hdel hash key** ``` hdel hash name ``` ![](https://img.kancloud.cn/d6/74/d67483fc3fd35cd94630e778744f2258_280x183.png) ***** #### **只取key:hkeys hash** ``` hkeys hash ``` ![](https://img.kancloud.cn/c1/f6/c1f6ed46db866483ccd6ba0d93621ae8_219x65.png) ***** #### **只取value:hvals hash** ``` hvals hash ``` ![](https://img.kancloud.cn/52/0a/520a9b1ea23c83d9795c0d8e84076ef7_244x72.png) ***** #### **獲取長度:hlen hash** ``` hlen hash ``` ![](https://img.kancloud.cn/ac/c7/acc770234a512082bef7a944a7b3b5e7_226x65.png) *****
                  <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>

                              哎呀哎呀视频在线观看