Para agentes de IA: hay un índice de documentación disponible en https://www.mongodb.com/es/docs/llms.txt — versiones en markdown de todas las páginas están disponibles agregando .md a cualquier ruta URL.
Docs Menu

Clase MongoDB\colección

MongoDB\Collection

Proporciona métodos para operaciones comunes en colecciones y documentos, incluidas operaciones CRUD y la gestión de índices.

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.

Califique esta página

En esta página