vibe.d beta banner
get vibe.d
0.8.1

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

Struct MongoDatabase

Represents a single database accessible through a given MongoClient.

struct MongoDatabase ;

Constructors

NameDescription
this

Properties

NameTypeDescription
client[get]MongoClientThe client which represents the connection to the database server
name[get]stringThe name of this database

Methods

NameDescription
fsyncPerforms a filesystem/disk sync of the database on the server.
getLastErrorRetrieves the last error code (if any) from the database server.
getLogReturns recent log messages for this database from the database server.
opIndexAccesses the collections of this database.
runCommandGeneric means to run commands on the database.
Authors

Sönke Ludwig

Copyright

© 2012-2014 RejectedSoftware e.K.

License

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