- Reference >
- Enumeration Classes >
- MongoDB\Model\DatabaseInfo::getSizeOnDisk()
MongoDB\Model\DatabaseInfo::getSizeOnDisk()
On this page
Definition
-
MongoDB\Model\DatabaseInfo::getSizeOnDisk
Return the total size of the database file on disk in bytes.
Return Values
The total size of the database file on disk in bytes.
Examples
The output would then resemble:
See Also
- listDatabases command reference in the MongoDB manual