Unique identifier of the database.
Whether the database is the system database.
Name of the database.
File system path of the database.
Optional
replication(Cluster only.) Default replication factor for new collections in this database.
Optional
sharding?: "" | "flexible" | "single"(Cluster only.) The sharding method to use for new collections in the database.
Optional
write(Cluster only.) Default write concern for new collections created in this database.
Generated using TypeDoc
Object describing a database.
See get.