정의
MongoDB\Model\IndexInfo이 클래스는 인덱스에 대한 정보를 모델링합니다. 이 클래스의 인스턴스는
MongoDB\Collection::listIndexes()에서 반환되는MongoDB\Model\IndexInfoIterator를 순회하여 반환됩니다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\IndexInfoclass is immutable. Attempting to modify it via the ArrayAccess interface will result in aMongoDB\Exception\BadMethodCallException.