mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-29 12:18:01 +01:00
Add hvals
This commit is contained in:
@@ -224,6 +224,15 @@ Command Command::hstrlen(const std::string& hash, const std::string& field)
|
||||
return cmd;
|
||||
}
|
||||
|
||||
Command Command::hvals(const std::string& hash)
|
||||
{
|
||||
Command cmd("HVALS");
|
||||
|
||||
cmd << hash;
|
||||
|
||||
return cmd;
|
||||
}
|
||||
|
||||
Command Command::incr(const std::string& key, Int64 by)
|
||||
{
|
||||
Command cmd(by == 0 ? "INCR" : "INCRBY");
|
||||
|
||||
Reference in New Issue
Block a user