I would like to make a query of all the files that have as id_folder 'CJJ3' or 'NQPM', however in the query I can only put a parameter, is there any way to do this? The code I have is the following
File.find({id_folder: 'CJJ3'}, '_id, name').exec(function(err, files){
if(err){
console.log("Error");
}else{
res.json(files);
}
})