Feature request: Use iter.Seq to iterate over ScanIterator
Opened this issue · 1 comments
khasanovbi commented
Support for native iterators has been added in go 1.23.
I suggest to add new Vals method that return keys iterator directly instead of receiving keys through Next, Val methods pair.
ndyakov commented
Hello @khasanovbi, I did respond in the PR. I am not against this, but let's not deprecate the current approach. Also, updating the go version results in failing tests. If you have the time to review and fix whatever is broken, we will gladly accept the version update. We were planning to do this with the next major version, but if we can figure out what is broken, I don't see why we can't update sooner.