MongoDB::selectCollection

(PECL mongo >=0.9.0)

MongoDB::selectCollectionGets a collection

Beschreibung

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

Parameter-Liste

name

The collection name.

Rückgabewerte

Returns a new collection object.

Fehler/Exceptions

Throws Exception if the collection name is invalid.