What is a MongoDB Query?

Home Forums Python Course Forum Python DB (MySQL) What is a MongoDB Query?


Viewing 0 reply threads
  • Author
    • H2k Infosys

      MongoDB query is used to specify the selection filter using query operators while retrieving the data from the collection by db.find() method. We can easily filter the documents using the query object. To apply the filter on the collection, we can pass the query specifying the condition for the required documents as a parameter to this method, which is an optional parameter for db.find() method


Viewing 0 reply threads
  • You must be logged in to reply to this topic.