Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support streaming of the documents fetched by the cursor #33

Open
tretne opened this issue May 17, 2022 · 0 comments
Open

Support streaming of the documents fetched by the cursor #33

tretne opened this issue May 17, 2022 · 0 comments

Comments

@tretne
Copy link

tretne commented May 17, 2022

Currently all documents in a page are fetched from mongo with cursor.All() would it be possible to create a variant that returns a kind of io.Reader so the documents can be streamed to a HTTP response and thus reduce the memory footprint a bit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant