Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

find items from array of ids mongoose

const records = await Model.find().where('_id').in(ids).exec();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #find #items #array #ids #mongoose
ADD COMMENT
Topic
Name
9+1 =