DatabaseSpecification
public struct DatabaseSpecification : CodableA struct modeling the information returned from the listDatabases command about a single database.
- 
                  
                  The name of the database. DeclarationSwift public let name: String
- 
                  
                  The amount of disk space consumed by this database. DeclarationSwift public let sizeOnDisk: Int
- 
                  
                  Whether or not this database is empty. DeclarationSwift public let empty: Bool
- 
                  
                  For sharded clusters, this field includes a document which maps each shard to the size in bytes of the database on disk on that shard. For non sharded environments, this field is nil. DeclarationSwift public let shards: BSONDocument?
 View on GitHub
            View on GitHub
           Install in Dash
            Install in Dash
           DatabaseSpecification Structure Reference
      DatabaseSpecification Structure Reference