MongoDB
PHP Manual

MongoDB::selectCollection

(PECL mongo >=0.9.0)

MongoDB::selectCollectionGets a collection

Açıklama

public MongoCollection MongoDB::selectCollection ( string $name )

Değiştirgeler

name

The collection name.

Dönen Değerler

Returns a new collection object.

Hatalar/İstisnalar

Throws Exception if the collection name is invalid.


MongoDB
PHP Manual