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

search for in the

MongoClient::setReadPreference> <MongoClient::selectCollection
[edit] Last updated: Fri, 24 May 2013

view this page in

MongoClient::selectDB

(PECL mongoclient >=0.9.0)

MongoClient::selectDBGets a database

Description

public MongoDB MongoClient::selectDB ( string $name )

Parameters

name

The database name.

Return Values

Returns a new database object.

Errors/Exceptions

Throws Exception if the database name is invalid.



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

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