Add hstrlen (note: only available in Redis 3.2)

This commit is contained in:
fbraem
2015-11-18 22:17:13 +01:00
parent fd5579cb8c
commit 2d10de0c30
4 changed files with 74 additions and 0 deletions

View File

@@ -108,6 +108,9 @@ public:
static Command hset(const std::string& hash, const std::string& field, Int64 value, bool create = true);
/// Returns an HSET or HSETNX (when create is false) command
static Command hstrlen(const std::string& hash, const std::string& field);
/// Returns an HSTRLEN command
static Command incr(const std::string& key, Int64 by = 0);
/// Returns an INCR or INCRBY command. Calls INCR when by is omitted or zero.