vibe.db.mongo.mongo

MongoDB and MongoCollection classes and connections.

Implementation_

Note

The MongoDB driver implementation here is missing a number of API functions

known from the JavaScript driver, but these can usually be implemented in terms of MongoDatabase.runCommand or MongoCollection.find. Since the official documentation is lacking in some places, it may be necessary to use a network sniffer to monitor what exactly needs to be sent. MongoDB has a dedicated utility for this called http://docs.mongodb.org/manual/reference/program/mongosniff/ mongosniff.

As of 2014 there is proper documentation on https://github.com/mongodb/specifications.

Functions 3

fnMongoClient connectMongoDB(string host, ushort port)Connects to a MongoDB instance.
fnMongoClient connectMongoDB(string host_or_url)ditto