update : 2015.11.03
php.shukuma.com검색:
|
MongoClient::__get(PECL mongo >=1.3.0) MongoClient::__get — Gets a database 설명This is the cleanest way of getting a database. If the database name has any special characters, MongoClient::selectDB() will need to be used; however, this should be sufficient for most cases.
<?php 인수
반환값Returns a new db object. 오류/예외Throws a generic exception if the database name is invalid. |