|
Mongo::__get(PECL mongo >=1.0.2) Mongo::__get — Gets a database ОписаниеThis is the cleanest way of getting a database. If the database name has any special characters, Mongo::selectDB() will need to be used. However, in most cases, this should be sufficient.
<?php Список параметров
Возвращаемые значенияReturns a new db object. ОшибкиThrows a generic exception if the database name is invalid. |
|