AI 에이전트의 경우: 문서 인덱스는 https://www.mongodb.com/ko-kr/docs/llms.txt에서 사용할 수 있으며, 모든 페이지의 마크다운 버전은 어떤 URL 경로에 .md를 추가하여 사용할 수 있습니다.
Docs Menu

MongoDB\Model\CollectionInfo 클래스

MongoDB\Model\CollectionInfo

이 클래스는 collection에 대한 정보를 모델링합니다. 이 클래스의 인스턴스는MongoDB\Database::listCollections() 에서 반환되는 MongoDB\Model\CollectionInfoIterator 를 순회하여 반환됩니다

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\CollectionInfo class is immutable. Attempting to modify it via the ArrayAccess interface will result in a MongoDB\Exception\BadMethodCallException.

이 페이지 평가하기