How do you establish query criteria?

  • Criteria consists of one or more fields
  • Use the minimum number of fields to identify the document
  •  
  • Syntax:
    db.collection.find({field:value})






>>
 


+ o -