Last 5.3 release ever available: PHP 5.3.29 - 5.3 now EOL

MongoDB::selectCollection

(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.

add a note add a note

User Contributed Notes

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