- find
Select documents in collection and get a cursor to the selected documents.
- insert
Insert documents into a collection. If the collection does not exists on the
server, then it will be
- findOne
Get a single document from collection by '_id'.
- remove
Remove documents from a collection.
- update
- save
Update an existing document or insert a document depending on the parameter. If
the document does no
- count
Get the count of documents in collection that would match a criteria.
- createIndex
Forces creation of an ascending index on a field with the default options.
- drop
Drops (deletes) this collection from the database. Use with care.
- findAndModify
Atomically modify and return a single document. By default, the returned
document does not include t
- getName
Get the name of a collection.
- getDB
Returns the database this collection is a member of.