MongoDB
PHP Manual

MongoDB::selectCollection

(PECL mongo >=0.9.0)

MongoDB::selectCollectionGets a collection

Description

public MongoCollection MongoDB::selectCollection ( string $name )

Parameters

name

The name of the collection.

Return Values

Returns the collection.


MongoDB
PHP Manual