AI エージェント向け: ドキュメントインデックスは https://www.mongodb.com/ja-jp/docs/llms.txt で利用できます。すべてのページの markdown バージョンは、いずれかの URL パスに .md を追加することで利用できます。
Docs Menu

MongoDB\Model\IndexInfo クラス

MongoDB\Model\IndexInfo

このクラスは、インデックスに関する情報をモデル化します。 このクラスのインスタンスは、 によって返されるMongoDB\Model\IndexInfoIterator MongoDB\Collection::listIndexes()をトラバースすることで返されます。

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

このページを評価