This class can find, insert, delete, update MongoDB collections.
It connects to a given MongoDB server and performs several operations with document of a collection with a given name. Currently it can:
- Insert a new document with given values
- Delete documents that match a condition
- Update documents that matches a condition with new values
- Find documents that match a condition and return the value of a given field
- Count documents that match a condition
- Get the maximum value of a given document field
- Get all the values of documents that match a condition and return the values of given fields |