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

search for in the

MongoDB::createCollection> <MongoDB::command
Last updated: Fri, 20 Nov 2009

view this page in

MongoDB::__construct

(PECL mongo >=0.9.0)

MongoDB::__constructCreates a new database

Description

MongoDB::__construct ( Mongo $conn , string $name )

Parameters

Mongo conn

Database connection.

name

Database name.

Return Values

Returns the database.

Errors/Exceptions

Throws InvalidArgumentException if the database name is invalid.



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

MongoDB::createCollection> <MongoDB::command
Last updated: Fri, 20 Nov 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites