Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

mongoose search by name

let ids = ['id1','id2','id3']
let data = await MyModel.find(
  {'_id': { $in: ids}}
);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mongoose #search
ADD COMMENT
Topic
Name
1+2 =