Instances of this class are used to interact with a database. To get a database:
<?php $m = new MongoClient(); // connect $db = $m->selectDB("example"); ?>
(PECL mongo >=0.9.5) Checks for the last error thrown during a database operation
(PECL mongo >=0.9.0) Repairs and compacts this database
(PECL mongo >=0.9.2) Execute a database command
(PECL mongo >=1.1.0) Change slaveOkay setting for this database
(PECL mongo >=0.9.0) Creates a collection
(PECL mongo >=1.0.2) Gets a collection public
(PECL mongo >=0.9.3) Runs JavaScript code on the database server [deprecated]
(PECL mongo >=0.9.0) The name of this database
(PECL mongo >=0.9.0) Creates a new database
Page 3 of 3