MongoDB::selectCollection

(PECL mongo >=0.9.0)

MongoDB::selectCollectionGets a collection

Descrierea

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

Parametri

name

The collection name.

Valorile întoarse

Returns a new collection object.

Erori/Excepții

Throws Exception if the collection name is invalid.