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

gb.mongodb

Since 3.20

This component allows you to access MongoDB databases.

This component is not stable yet.

Class Description
MongoClient This class implements a MongoDB client connection.
MongoCollection This class Implements a MongoDB collection.
MongoResult This class represents a list of documents returned by a MongoDB database.

The MongoDB client internally uses the BSON format for representing MongoDB documents, options, and replies.

This component uses Gambas Collection objects instead, and internally converts between Collection and BSON objects when communicating with MongoDB.

Do not confuse Gambas collections with MongoDB collections!

Roughly speaking, MongoDB collections are database tables, whereas Gambas collections are database rows.