Closed flaviut closed 9 months ago
Thanks for the request. I'm working on it in #40. It won't be available in the Database
class but in the Statement
class.
Implemented in #40
Nice, thank you! This project has been super helpful in letting me work around idiosyncrasies with the AWS lambda environment. Really appreciate it.
It would be nice to have a
.iterate()
method that returns the rows one at a time, without loading the whole result set into memory.For example,
Some example tests: https://github.com/WiseLibs/better-sqlite3/blob/ae23e690b02c00d075d543c66ae7e26c98c46f74/test/23.statement.iterate.js