Skip to content

Commit

Permalink
Merge pull request #14 from freshworks/commands_add
Browse files Browse the repository at this point in the history
Adding commands
  • Loading branch information
Sasidharan-Gopal authored Feb 27, 2024
2 parents 8e04976 + b98105d commit 2476957
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ struct SupportedCommands {
"watch", "zadd", "zcard", "zcount", "zincrby", "zlexcount", "zpopmin", "zpopmax", "zrange",
"zrangebylex", "zrangebyscore", "zrank", "zrem", "zremrangebylex", "zremrangebyrank",
"zremrangebyscore", "zrevrange", "zrevrangebylex", "zrevrangebyscore", "zrevrank", "zscan",
"zscore", "rpoplpush");
"zscore", "rpoplpush", "smove", "sunion", "sdiff", "sinter", "sinterstore", "zunionstore",
"zinterstore", "pfmerge", "georadius", "georadiusbymember");
}

/**
Expand Down Expand Up @@ -148,7 +149,9 @@ struct SupportedCommands {
"pexpire", "pexpireat", "pfadd", "psetex", "restore", "rpop", "rpush",
"rpushx", "sadd", "set", "setbit", "setex", "setnx", "setrange", "spop",
"srem", "zadd", "zincrby", "touch", "zpopmin", "zpopmax", "zrem",
"zremrangebylex", "zremrangebyrank", "zremrangebyscore", "unlink", "rpoplpush");
"zremrangebylex", "zremrangebyrank", "zremrangebyscore", "unlink", "rpoplpush",
"smove", "sinterstore", "zunionstore", "zinterstore", "pfmerge",
"georadius", "georadiusbymember");
}

static bool isReadCommand(const std::string& command) {
Expand Down

0 comments on commit 2476957

Please sign in to comment.