MongoDB
PHP Manual

MongoDB::selectCollection

(PECL mongo >=0.9.0)

MongoDB::selectCollectionGets a collection

Descrizione

public MongoCollection MongoDB::selectCollection ( string $name )

Elenco dei parametri

name

The collection name.

Valori restituiti

Returns a new collection object.

Errori/Eccezioni

Throws Exception if the collection name is invalid.


MongoDB
PHP Manual