vibe.d beta banner
get vibe.d
0.7.30

Function MongoClient.getDatabases

Return a handle to all databases of the server.

Prototype

auto getDatabases()();

Returns

An input range of MongoDatabase objects.

Examples

auto names = client.getDatabaseNames();
writeln("Current databases are: ", names);
Authors

Sönke Ludwig

Copyright

© 2012 RejectedSoftware e.K.

License

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