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\Database

MongoDB\Database

Proporciona métodos para operaciones comunes en una base de datos, como ejecutar comandos de bases de datos y gestionar colecciones.

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

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

Operations within the MongoDB\Database class inherit the Database's options.

Califique esta página

En esta página