Mongo
PHP Manual

Mongo::selectDB

(PECL mongo >=0.9.0)

Mongo::selectDBGets a database

설명

public MongoDB Mongo::selectDB ( string $dbname )

인수

dbname

The database name.

반환값

Returns a new db object.

오류/예외

Throws InvalidArgumentException if the database name is invalid.


Mongo
PHP Manual