vibe.d beta banner
get vibe.d
0.8.3

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
fsync Performs a filesystem/disk sync of the database on the server.
getLastError Retrieves the last error code (if any) from the database server.
getLog Returns recent log messages for this database from the database server.
opIndex Accesses the collections of this database.
runCommand Generic 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.