in lib/Database.ts [31:41]
async collections() {
const cs = await this._db.collections();
const collections: Collection[] = [];
for (const c of cs) {
const collection = new Collection(c);
collections.push(collection);
}
return collections;
}