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.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top