编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 type classes and serialization functionsphp mongodb bson the mongodb bson javascript classphp fdf 函数 gets the flags of a fieldphp iis 函数 gets directory securityphp gmagick gets the image interlace schemephp imagick gets the object compression typephp imagick gets the depth for a particular image channelphp imagick gets the image depthphp 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 reflectionextension gets classesphp reflectionfunctionabstract gets the specified return type of a functionphp reflectiongenerator gets the executing generator objectphp reflectionparameter gets declaring functionphp splfileinfo gets the inode for the file
关注编程学问公众号
编程学问网 湘ICP备20001732号