vibe.d beta banner
get vibe.d

Class MongoClient

Represents a connection to a MongoDB server.

Note that this class uses a ConnectionPool internally to create and reuse network conections to the server as necessary. It should be reused for all fibers in a thread for optimum performance in high concurrency scenarios.

Inherits from

  • Object (base class)


Name Description
getCollection Accesses a collection using an absolute path.
getDatabase Returns an object representing the specified database.
getDatabases Return a handle to all databases of the server.

Sönke Ludwig


© 2012 RejectedSoftware e.K.


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