Open tretne opened 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.
io.Reader
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.