MongoDB::selectCollection

(PECL mongo >=0.9.0)

MongoDB::selectCollectionGets 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.