zoukankan      html  css  js  c++  java
  • Redis 命令参考

    http://redis.readthedocs.org/en/latest/index.html

    THanks

    命令目录(使用 CTRL + F 快速查找):
    Key(键)
    DEL
    DUMP
    EXISTS
    EXPIRE
    EXPIREAT
    KEYS
    MIGRATE
    MOVE
    OBJECT
    PERSIST
    PEXPIRE
    PEXPIREAT
    PTTL
    RANDOMKEY
    RENAME
    RENAMENX
    RESTORE
    SORT
    TTL
    TYPE
    SCAN
    String(字符串)
    APPEND
    BITCOUNT
    BITOP
    DECR
    DECRBY
    GET
    GETBIT
    GETRANGE
    GETSET
    INCR
    INCRBY
    INCRBYFLOAT
    MGET
    MSET
    MSETNX
    PSETEX
    SET
    SETBIT
    SETEX
    SETNX
    SETRANGE
    STRLEN
    Hash(哈希表)
    HDEL
    HEXISTS
    HGET
    HGETALL
    HINCRBY
    HINCRBYFLOAT
    HKEYS
    HLEN
    HMGET
    HMSET
    HSET
    HSETNX
    HVALS
    HSCAN
    List(列表)
    BLPOP
    BRPOP
    BRPOPLPUSH
    LINDEX
    LINSERT
    LLEN
    LPOP
    LPUSH
    LPUSHX
    LRANGE
    LREM
    LSET
    LTRIM
    RPOP
    RPOPLPUSH
    RPUSH
    RPUSHX
    Set(集合)
    SADD
    SCARD
    SDIFF
    SDIFFSTORE
    SINTER
    SINTERSTORE
    SISMEMBER
    SMEMBERS
    SMOVE
    SPOP
    SRANDMEMBER
    SREM
    SUNION
    SUNIONSTORE
    SSCAN
    SortedSet(有序集合)
    ZADD
    ZCARD
    ZCOUNT
    ZINCRBY
    ZRANGE
    ZRANGEBYSCORE
    ZRANK
    ZREM
    ZREMRANGEBYRANK
    ZREMRANGEBYSCORE
    ZREVRANGE
    ZREVRANGEBYSCORE
    ZREVRANK
    ZSCORE
    ZUNIONSTORE
    ZINTERSTORE
    ZSCAN
    Pub/Sub(发布/订阅)
    PSUBSCRIBE
    PUBLISH
    PUBSUB
    PUNSUBSCRIBE
    SUBSCRIBE
    UNSUBSCRIBE
    Transaction(事务)
    DISCARD
    EXEC
    MULTI
    UNWATCH
    WATCH
    Script(脚本)
    EVAL
    EVALSHA
    SCRIPT EXISTS
    SCRIPT FLUSH
    SCRIPT KILL
    SCRIPT LOAD
    Connection(连接)
    AUTH
    ECHO
    PING
    QUIT
    SELECT
    Server(服务器)
    BGREWRITEAOF
    BGSAVE
    CLIENT GETNAME
    CLIENT KILL
    CLIENT LIST
    CLIENT SETNAME
    CONFIG GET
    CONFIG RESETSTAT
    CONFIG REWRITE
    CONFIG SET
    DBSIZE
    DEBUG OBJECT
    DEBUG SEGFAULT
    FLUSHALL
    FLUSHDB
    INFO
    LASTSAVE
    MONITOR
    PSYNC
    SAVE
    SHUTDOWN
    SLAVEOF
    SLOWLOG
    SYNC
    TIME

  • 相关阅读:
    Kvm --01 虚拟化基础概念
    Git--09 创建Maven项目
    Git--08 Jenkins
    Git--07 Gitlab备份与恢复
    Git --06 Git-gui安装
    Git --05 Gitlab使用
    Git--04 Github使用
    socket 释放全过程
    动态规划习题总结
    linux heap堆分配
  • 原文地址:https://www.cnblogs.com/fupeng/p/3735770.html
Copyright © 2011-2022 走看看