php mongodb 手册,MongoDB - [ php中文手册 ] - 在线原生手册 - php中文网

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值