编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « MongoDB::resetError
  • MongoDB::setProfilingLevel »
  • PHP Manual
  • MongoDB
  • Gets a collection

MongoDB::selectCollection

(PECL mongo >=0.9.0)

MongoDB::selectCollection — Gets a collection

说明

public MongoDB::selectCollection ( string $name ) : MongoCollection

参数

name

The collection name.

返回值

Returns a new collection object.

错误/异常

Throws Exception if the collection name is invalid.

相关文章
php mongodb bson the mongodb bson int64 classphp dbase 函数 gets a record from a database as an associative arrayphp imap 函数 gets the last imap error that occurred during this page requestphp imap 函数 gets and sort messagesphp gmagick gets the index of the current active imagephp imagick gets the colorspacephp imagick gets the image delayphp imagick gets the image iterationsphp mongocollection gets a collectionphp mongodb drops a collection deprecated php mongodb gets a collectionphp mongodb gets an array of names for all collections in this databasephp mongodb gets this database s profiling levelphp mongodb gets an array of mongocollection objects for all collections in this databasephp mongodb gets a collectionphp mongodb bson 函数php reflectiongenerator gets the file name of the currently executing generatorphp reflectionparameter gets declaring classphp simplexmlelement gets the name of the xml elementphp splfileinfo gets the file group
关注编程学问公众号
编程学问网 湘ICP备20001732号