qlik-oss / mongocursorpagination

MIT License
5 stars 9 forks source link

Support streaming of the documents fetched by the cursor #33

Open tretne opened 2 years ago

tretne commented 2 years ago

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.