Mongo::selectCollection
Mongo::__toString
Mongo
PHP Manual

# Mongo::selectDB

(PECL mongo >=0.9.0)

Mongo::selectDB — Gets 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::selectCollection
Mongo::__toString
Mongo
PHP Manual