open method
Opens an existing CosmosDbDatabase
with the specified name
.
Implementation
Future<CosmosDbDatabase> open(String name,
{CosmosDbPermission? permission}) async {
final db = CosmosDbDatabase(server, name);
await db.getInfo(permission: permission);
db.setExists(true);
return db;
}