GlobalStats
public struct GlobalStats : Codable
A structure representing global statistics for the database.
GlobalStats
provides an overview of the database’s state, including
the total number of collections, documents, and the total size in bytes.
- Properties:
- totalCollections: The total number of collections in the database.
- totalDocuments: The total number of documents across all collections.
- totalSizeInBytes: The total size of the database in bytes.
-
Undocumented
Declaration
Swift
public let totalCollections: Int
-
Undocumented
Declaration
Swift
public let totalDocuments: Int
-
Undocumented
Declaration
Swift
public let totalSizeInBytes: UInt64