Dokumentaro de Gambaso
Compilation & Installation
Components
gb
gb.crypt
gb.qt4
Documents
Indekso de Lingvo
Language Overviews
LeguMin
Lexicon
Registro

MongoCollection (gb.mongodb)

This class Implements a MongoDB collection.

This class inherits _MongoCollection.

This class is creatable.

This class acts like a read / write array.

Inherited properties
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.

Methods
GetNextSerial   Return the next serial number associated with the collection, starting from 1.

Inherited methods
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.