Add hexists

This commit is contained in:
fbraem
2015-11-17 21:38:07 +01:00
parent f618d7a5cf
commit 8d08cc3909
4 changed files with 59 additions and 1 deletions

View File

@@ -71,10 +71,13 @@ public:
static Command hdel(const std::string& hash, const std::string& field);
/// Returns an HDEL command
static Command hdel(const std::string& hash, const std::vector<std::string>& fields);
/// Returns an HDEL command
static Command hexists(const std::string& hash, const std::string& field);
/// Returns an HEXISTS command
static Command hget(const std::string& hash, const std::string& field);
/// Returns an HGET command