Join us Sept 17 at .local NYC! Use code WEB50 to save 50% on tickets. Learn more >
MongoDB Event
Docs Menu
Docs Home
/ / /
PHP 라이브러리 매뉴얼
/ /

MongoDB\Model\DatabaseInfo 클래스

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.

돌아가기

isView()