PHP Manual
Function Reference
Database Extensions
Vendor Specific Database Extensions
Mongo
Core Classes
MongoDB
MongoDB::authenticate
MongoDB::command
MongoDB::__construct
MongoDB::createCollection
MongoDB::createDBRef
MongoDB::drop
MongoDB::dropCollection
MongoDB::execute
MongoDB::forceError
MongoDB::__get
MongoDB::getCollectionNames
MongoDB::getDBRef
MongoDB::getGridFS
MongoDB::getProfilingLevel
MongoDB::getReadPreference
MongoDB::getSlaveOkay
MongoDB::lastError
MongoDB::listCollections
MongoDB::prevError
MongoDB::repair
MongoDB::resetError
MongoDB::selectCollection
MongoDB::setProfilingLevel
MongoDB::setReadPreference
MongoDB::setSlaveOkay
MongoDB::__toString
MongoDB::setSlaveOkay
MongoCollection
MongoDB
PHP Manual
MongoDB::__toString
The name of this database
Description
public
string
MongoDB::__toString
(
void
)
Parameters
This function has no parameters.
Return Values
Returns this database's name.