How many elements can an array contain in the following query?
array
db.collection.find({field: {$in: array}});
The limit for $ in (and any request) is equal to the limit for the document. Currently it is 16 mb. Here are the related Google groups.
Source: https://habr.com/ru/post/910387/More articles:Why the call to DateTime.TryParseExact fails with the input "1212012" using the format string "Mddyyyy" - c #DataSourceUtils.getConnection vs DataSource.getConnection - javais strtol, strtoll, strtod safe for any characters not even terminated by zeros? - cUnity3D C # calculates the correct forward direction after rotation - c #An efficient way to generate sequential numbers in SQL Azure Federations - sequenceUITableView delete / add row calls CoreData: a serious application error if another object was selected in the MasterView for SplitViewController - iosUITableView does not update DataSource after changing NSFetchedResultsController - objective-cWhich is equivalent to [[[save something] autorelease] in ARC? - iosActivity in action: Intent, Android - androidUnobtrusive validation warnings (not errors) - validationAll Articles