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:
parent
e0670ff433
commit
f4c495c5ea
4 changed files with 55 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue