downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

MongoCollection::count> <MongoCollection::batchInsert
[edit] Last updated: Fri, 24 May 2013

view this page in

MongoCollection::__construct

(PECL mongo >=0.9.0)

MongoCollection::__constructCreates a new collection

Description

public MongoCollection::__construct ( MongoDB $db , string $name )

Parameters

MongoDB db

Parent database.

name

Name for this collection.

Return Values

Returns a new collection object.

Errors/Exceptions

Throws default exception if the collection name is invalid.



add a note add a note User Contributed Notes MongoCollection::__construct - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites