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

search for in the

MongoCollection::count> <MongoCollection::batchInsert
[edit] Last updated: Fri, 25 May 2012

view this page in

MongoCollection::__construct

(PECL mongo >=0.9.0)

MongoCollection::__constructCreates a new collection

Descrierea

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

Parametri

MongoDB db

Parent database.

name

Name for this collection.

Valorile întoarse

Returns a new collection object.

Erori/Excepții

Throws default exception if the collection name is invalid.



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

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