update : 2015.11.03
php.shukuma.com

검색:
 
 
Gets a collection

MongoDB::selectCollection

(PECL mongo >=0.9.0)

MongoDB::selectCollectionGets a collection

설명

public MongoCollection MongoDB::selectCollection ( string $name )

인수

name

The collection name.

반환값

Returns a new collection object.

오류/예외

Throws Exception if the collection name is invalid.