Comparison Operators In MongoDB
MongoDB uses various comparison query operators to compare the values of the documents. The following table contains the comparison query operators: Matching values using $nin operator: In this example, we are retrieving only those employee’s documents whose name is not Daisy or Amruta. //Example db.q_employee.find({name: