MongoDB
PHP Manual

MongoDB::selectCollection

(PECL mongo >=0.9.0)

MongoDB::selectCollectionGets a collection

Beschreibung

public MongoCollection MongoDB::selectCollection ( string $name )

Parameter-Liste

name

The collection name.

Rückgabewerte

Returns a new collection object.

Fehler/Exceptions

Throws Exception if the collection name is invalid.


MongoDB
PHP Manual