mirror of
https://github.com/KingDuckZ/dindexer.git
synced 2025-07-13 15:54:11 +00:00
New IncRedisBatch class.
Wraps Batch similarly to how IncRedis wraps Command.
This commit is contained in:
parent
e02b0a16f5
commit
e0670ff433
6 changed files with 129 additions and 4 deletions
|
@ -77,6 +77,10 @@ namespace redis {
|
|||
m_command.wait_for_disconnect();
|
||||
}
|
||||
|
||||
IncRedisBatch IncRedis::make_batch() {
|
||||
return m_command.make_batch();
|
||||
}
|
||||
|
||||
auto IncRedis::scan (boost::string_ref parPattern) -> scan_range {
|
||||
return scan_range(scan_iterator(&m_command, false, parPattern), scan_iterator(&m_command, true));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue