1
0
Fork 0
mirror of https://github.com/KingDuckZ/dindexer.git synced 2025-07-13 15:54:11 +00:00

New wrapper methods.

This commit is contained in:
King_DuckZ 2016-07-12 12:30:17 +01:00
parent e0670ff433
commit f4c495c5ea
4 changed files with 55 additions and 0 deletions

View file

@ -115,6 +115,11 @@ namespace redis {
return optional_string(m_command.run("SRANDMEMBER", parKey));
}
bool IncRedis::script_flush() {
const auto ret = get<StatusString>(m_command.run("SCRIPT", "FLUSH"));
return ret.is_ok();
}
auto IncRedis::reply_to_string_list (const Reply& parReply) -> opt_string_list {
return optional_string_list(parReply);
}