import vibe.db.mongo.mongo;
void test()
{
auto coll = connectMongoDB("127.0.0.1").getCollection("test");
// find documents with status == "A"
auto x = coll.find(["status": "A"], ["status": true], QueryFlags.none);
foreach (item; x)
{
// only for legacy overload
}
}