doqmentdb icon indicating copy to clipboard operation
doqmentdb copied to clipboard

Support paging for find function in manager.js

Open nomiero opened this issue 9 years ago • 1 comments

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

nomiero avatar Apr 09 '15 17:04 nomiero

Agree. I'll add it to v0.4.0 milestone. Thanks @nomiero

a8m avatar Apr 11 '15 14:04 a8m