Please wait while we load your page...
 

Announcements

PHP Manual :: MongoDB::selectCollection



MongoDB::resetError || MongoDB::setProfilingLevel || MongoDB || PHP Manual

(PECL mongo >=0.9.0)

MongoDB::selectCollectionGets a collection

Description

public MongoCollection MongoDB::selectCollection ( string $name )

Parameters

name

The collection name.

Return Values

Returns a new collection object.

Errors/Exceptions

Throws Exception if the collection name is invalid.



MongoDB::resetError || MongoDB::setProfilingLevel || MongoDB || PHP Manual
Live Chat Not Available