MongoDB::selectCollection

(PECL mongo >=0.9.0)

MongoDB::selectCollectionGets a collection

Açıklama

public MongoDB::selectCollection ( string $name ) : MongoCollection

Değiştirgeler

name

The collection name.

Dönen Değerler

Returns a new collection object.

Hatalar/İstisnalar

Throws Exception if the collection name is invalid.