정의
MongoDB\Model\DatabaseInfo
이 클래스는 데이터베이스 에 대한 정보를 모델링합니다. 이 클래스의 인스턴스는
MongoDB\Client::listDatabases()
에서 반환되는MongoDB\Model\DatabaseInfoIterator
을 순회하여 반환됩니다
Changed in version 1.4: This class implements PHP's ArrayAccess interface. This provides a mechanism for accessing index fields for which there exists no helper method. isset() may be used to check for the existence of a field before accessing it with []
.
참고
The MongoDB\Model\DatabaseInfo
class is immutable. Attempting to modify it via the ArrayAccess interface will result in a MongoDB\Exception\BadMethodCallException
.