MongoDB::selectCollection

Gets 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.