Redis命令参考手册(总目录)

2020年7月30日16:10:47 评论 29
广告也精彩

Redis命令提供了非常丰富的命令,包括的命令组有KeysStringsHashesListsSorted SetsSetsPub/SubScriptServerTransactionsGeoClusterStreamConnectionHyperLogLog等一共15个redis命令组,约两百多个redis命令,通过以下表格可以快速查找命令。

命令组 命令
Keys(键) DEL;    DUMP;    EXISTS;   EXPIRE;   EXPIREAT;
KEYS;   MIGRATE;   MOVE;   OBJECT;
PERSIST;   PEXPIRE;   PEXPIREAT;   PTTL;
RANDOMKEY;   RENAME;   RENAMENX;   RESTORE;
SCAN;   SORT;   TOUCH;   TTL;
TYPE;   UNLINK;   WAIT
Strings (字符串) APPEND;   BITCOUNT;   BITOP;   DECR;   DECRBY;
GET;   GETBIT;   GETRANGE;   GETSET;
INCR;   INCRBY;   INCRBYFLOAT;
MGET;   MSET;   MSETNX;   PSETEX;
SET;   SETBIT;   SETEX;   SETNX;   SETRANGE;   STRLEN
Hashes(哈希表) HDEL;   HEXISTS;   HGET;   HGETALL;
HINCRBY;   HINCRBYFLOAT;   HKEYS;   HLEN;
HMGET;   HMSET;
HSET;   HSETNX;   HVALS;   HSCAN;
Lists(列表) BLPOP;   BRPOP;   BRPOPLPUSH;
LINDEX;   LINSERT;   LLEN;
LPOP;   LPUSH;   LPUSHX;   LRANGE;   LREM;   LSET;   LTRIM;
RPOP;   RPOPLPUSH;   RPUSH;   RPUSHX
Sets(集合) SADD;   SCARD;   SDIFF;   SDIFFSTORE;
SINTER;   SINTERSTORE;   SISMEMBER;   SMEMBERS;
SMOVE;   SPOP;   SRANDMEMBER;   SREM;
SUNION;   SUNIONSTORE;   SSCAN
SortedSets(有序集合) 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;
Transactions(事务) DISCARD;   EXEC;   MULTI;
UNWATCH;   WATCH
Script(脚本) EVAL;   EVALSHA;
SCRIPT EXISTS;   SCRIPT FLUSH;
SCRIPT KILL;   SCRIPT LOAD
Connection(连接) AUTH; ECHO;   PING;   QUIT;   SELECT
Geo(地理位置) GEOADD;   GEOHASH;   GEOPOS;
GEODIST;   GEORADIUS;   GEORADIUSBYMEMBER;
Streams XACK;   XADD;   XCLAIM;   XDEL;   XGROUP;
XINFO;   XLEN;   XPENDING;   XRANGE;
XREAD;   XREADGROUP;   XREVRANGE;   XTRIM;
HyperLogLog PFADD;   PFCOUNT;   PFMERGE;
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;
Cluster(集群) CLUSTER ADDSLOTS;   CLUSTER COUNT-FAILURE-REPORTS;
CLUSTER COUNTKEYSINSLOT;   CLUSTER DELSLOTS;
CLUSTER FAILOVER;   CLUSTER FORGET;
CLUSTER GETKEYSINSLOT;   CLUSTER INFO;   CLUSTER KEYSLOT;
CLUSTER MEET;   CLUSTER NODES;   CLUSTER REPLICAS;
CLUSTER REPLICATE;   CLUSTER RESET;   CLUSTER SAVECONFIG;
CLUSTER SET-CONFIG-EPOCH;   CLUSTER SETSLOT;
CLUSTER SLAVES;   CLUSTER SLOTS;
READONLY;   READWRITE;
广告也精彩
素课网
  • 本文由 发表于 2020年7月30日16:10:47
  • 转载请注明:http://suketech.com/8754.html
广告也精彩
匿名

发表评论

匿名网友 填写信息

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: