Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

find one with specofoc id mongoose

  YOUR_MODEL_NAME.findOne({_id: reqParameterID}, function(err, result) {
    if (err) {
      console.log(err);
    } else {
      // Do Something 
    }
  });
 
PREVIOUS NEXT
Tagged: #find #specofoc #id #mongoose
ADD COMMENT
Topic
Name
1+2 =