MongoDB
PHP Manual

MongoDB::selectCollection

(PECL mongo >=0.9.0)

MongoDB::selectCollectionGets a collection

说明

public MongoCollection MongoDB::selectCollection ( string $name )

参数

name

The name of the collection.

返回值

Returns the collection.


MongoDB
PHP Manual