findAll (
callback
,
) {
A convenience method to call find
and then toArray
on the resultant cursor. Optionally project or pass other options
.
DANGER - like toArray, you can run the process out of memory if your query selects tons of
documents. It is highly recommended that you use use the limit
option to control the return
batch.