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

MongoDB\Collection クラス

MongoDB\Collection

CRUD 操作やインデックス管理など、コレクションとドキュメントに対する一般的な操作のメソッドを提供します。

You can construct collections directly using the extension's MongoDB\Driver\Manager class or select a collection from the library's MongoDB\Client or MongoDB\Database classes. A collection may also be cloned from an existing MongoDB\Collection object by using the withOptions() method.

MongoDB\Collection supports the readConcern, readPreference, typeMap, and writeConcern options. If you omit an option, the collection inherits the value from the Manager constructor argument or the Client or Database object used to select the collection.

Operations within the MongoDB\Collection class inherit the collection's options.

このページを評価

項目一覧