You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a todo in packages/mongo/src/client/command/find.ts:
//todo: implement fetchMore and decrease batchSize
No matter how big the batchSize size is, the mongodb server has a limit of 16 MB for one batch. If your query result is greater than that (as bson), you won't get the full result because deepkit doesn't fetch the next result batch.
There won't be an error which is confusing because the result is not what you expect, while count() gives you the right number.
The text was updated successfully, but these errors were encountered:
There's a todo in
packages/mongo/src/client/command/find.ts
://todo: implement fetchMore and decrease batchSize
No matter how big the batchSize size is, the mongodb server has a limit of 16 MB for one batch. If your query result is greater than that (as bson), you won't get the full result because deepkit doesn't fetch the next result batch.
There won't be an error which is confusing because the result is not what you expect, while count() gives you the right number.
The text was updated successfully, but these errors were encountered: