MongoCollection (gb.mongodb)

This class Implements a MongoDB collection.

Cette classe hérite _MongoCollection.

Cette classe est instanciable.

Cette classe se comporte comme un tableau en lecture / écriture.

Propriétés héritées
Client   Return the MongoClient object associated with the collection.
Count   Return the number of documents stored in the collection.
Indexes   Return a virtual object for manipulating the collection indexes.
Name   Return the name of the collection.

Méthodes
GetNextSerial   Return the next serial number associated with the collection, starting from 1.

Méthodes héritées
Add   Insert a new document into the collection.
Delete   Remove some documents from the collection, or drop the entire collection.
Exist   Return if a specific document exists, from its identifier.
Find   Return the identifiers of the documents matching a specific query.
Query   Return the documents of the collection matching a specific query.
Remove   Remove a specific document from the collection.
Replace   Replace one document matching the specified query.