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

search for in the

Mongo::__toString> <Mongo::selectCollection
Last updated: Fri, 20 Nov 2009

view this page in

Mongo::selectDB

(PECL mongo >=0.9.0)

Mongo::selectDBGets a database

Description

public MongoDB Mongo::selectDB ( string $dbname )

Parameters

dbname

The database name.

Return Values

Returns a new db object.

Errors/Exceptions

Throws InvalidArgumentException if the database name is invalid.



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

Mongo::__toString> <Mongo::selectCollection
Last updated: Fri, 20 Nov 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites