doqmentdb
doqmentdb copied to clipboard
Support paging for find function in manager.js
The current manager.js find function always call toArray which enumerate all the results and can make fill up the memory or cause throttling, you may need to support using queryIterator.executeNext and support paging based on it to solve this issue. You can look at queryIterator test in documentdb for a sample of executeNext
Agree. I'll add it to v0.4.0 milestone. Thanks @nomiero