vibe.d beta banner
get vibe.d

Asynchronous I/O that doesn’t get in your way, written in D

Module 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 .

As of 2014 there is proper documentation on


connectMongoDB(host, port) Connects to a MongoDB instance.

Sönke Ludwig


© 2012-2013 Sönke Ludwig


Subject to the terms of the MIT license, as written in the included LICENSE.txt file.