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
[edit] Last updated: Fri, 18 Sep 2009

view this page in

MongoDB::__construct

(PECL mongo >=0.9.0)

MongoDB::__constructCreates a new database

Описание

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

Параметри

Mongo conn

Database connection.

name

Database name.

Връщани стойности

Returns the database.

Грешки/Изключения

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.

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