| MongoDB Count() and Remove() function with example
Count() is used to get the count of documents in a collection as per the query executed. And syntax is given below
db.Employee.count()
Remove() is used to remove documents from a collection. We can delete documents by a sepcific condition too. Below is the syntax:
db.Employee.remove({Employeeid:10}) | | |