MongoCollection.find

Queries the collection for existing documents.

If no arguments are passed to find(), all documents of the collection will be returned.

Examples

import vibe.db.mongo.mongo;

void test()
{
	auto coll = connectMongoDB("127.0.0.1").getCollection("test");
	// find documents with status == "A"
	coll.find(["status": "A"]);
}

See Also

Meta