MongoDB::authenticate — 登录到数据库
MongoDB::command — 执行一条 Mongo 指令
MongoDB::__construct — 选择一个数据库
MongoDB::createCollection — 创建一个集合
MongoDB::createDBRef — 创建数据库引用
MongoDB::drop — 丢弃数据库
MongoDB::dropCollection — Drops a collection [deprecated]
MongoDB::execute — 在数据库服务器上运行JavaScript
MongoDB::forceError — Creates a database error
MongoDB::__get — Gets a collection
MongoDB::getCollectionInfo — Returns information about collections in this database
MongoDB::getCollectionNames — Gets an array of names for all collections in this database
MongoDB::getDBRef — Fetches the document pointed to by a database reference
MongoDB::getGridFS — Fetches toolkit for dealing with files stored in this database
MongoDB::getProfilingLevel — Gets this database's profiling level
MongoDB::getReadPreference — Get the read preference for this database
MongoDB::getSlaveOkay — Get slaveOkay setting for this database
MongoDB::getWriteConcern — Get the write concern for this database
MongoDB::lastError — Check if there was an error on the most recent db operation performed
MongoDB::listCollections — Gets an array of MongoCollection objects for all collections in this database
MongoDB::prevError — Checks for the last error thrown during a database operation
MongoDB::repair — Repairs and compacts this database
MongoDB::resetError — Clears any flagged errors on the database
MongoDB::selectCollection — Gets a collection
MongoDB::setProfilingLevel — Sets this database's profiling level
MongoDB::setReadPreference — Set the read preference for this database
MongoDB::setSlaveOkay — Change slaveOkay setting for this database
MongoDB::setWriteConcern — Set the write concern for this database
MongoDB::__toString — The name of this database