vibe.d beta banner
get vibe.d
0.10.1

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 https://github.com/mongodb/specifications.

Functions

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

Sönke Ludwig

Copyright

© 2012-2013 Sönke Ludwig

License

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