Answers for "how do i find documents with array of id's in mongodb"

1

how do i find documents with array of id's in mongodb

db.collection.find( { _id : { $in : [1,2,3,4] } } );
Posted by: Guest on July-29-2021

Code answers related to "how do i find documents with array of id's in mongodb"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language