mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-25 02:06:04 +02:00
Add hstrlen (note: only available in Redis 3.2)
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user