=======================================MongoDB\\Model\\DatabaseInfo::isEmpty()=======================================.. default-domain:: mongodb.. contents:: On this page :local: :backlinks: none :depth: 1 :class: singlecolDefinition----------.. phpmethod:: MongoDB\\Model\\DatabaseInfo::isEmpty() Return whether the database has any data. .. code-block:: php function isEmpty(): booleanReturn Values-------------A boolean indicating whether the database has any data.See Also--------- :manual:`listDatabases </reference/command/listDatabases>` command reference in the MongoDB manual