Mongo::selectDB
(PECL mongo >=0.9.0)
Mongo::selectDB — Gets a database
Description
Parameters
- name
-
The database name.
Return Values
Returns a new db object.
Errors/Exceptions
Throws InvalidArgumentException if the database name is invalid.