정의
MongoDB\Model\DatabaseInfo이 클래스는 데이터베이스에 대한 정보를 모델링합니다. 이 클래스의 인스턴스는
MongoDB\Client::listDatabases()에서 반환되는MongoDB\Model\DatabaseInfoIterator를 순회하여 반환됩니다
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.