forked from mirror/redis
Add qscan to iterator
This commit is contained in:
parent
2aca83490d
commit
16ab0f2ac3
|
@ -41,9 +41,10 @@ func (it *ScanIterator) Next() bool {
|
|||
}
|
||||
|
||||
// Fetch next page.
|
||||
if it.cmd._args[0] == "scan" {
|
||||
switch it.cmd._args[0] {
|
||||
case "scan", "qscan":
|
||||
it.cmd._args[1] = it.cmd.cursor
|
||||
} else {
|
||||
default:
|
||||
it.cmd._args[2] = it.cmd.cursor
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue