a8m / a8m/doqmentdb

Support paging for find function in manager.js

Open
#29 1 comment 0 reactions 0 assignees View on GitHub
PRs plz!
Dominant language
JavaScript
Stars
51
Forks
18
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.