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) Clears any flagged errors on the database
(PECL mongo >=1.6.0) Returns information about collections in this database
(PECL mongo >=0.9.5) Check if there was an error on the most recent db operation performed
(PECL mongo >=0.9.0) Fetches toolkit for dealing with files stored in this database
(PECL mongo >=0.9.0) Gets an array of MongoCollection objects for all collections in this database
(PECL mongo >=0.9.0) Drops a collection [deprecated]
(PECL mongo >=1.1.0) Get slaveOkay setting for this database
(PECL mongo >=0.9.5) Creates a database error
(PECL mongo >=1.5.0) Set the write concern for this database
(PECL mongo >=0.9.0) Creates a collection
Page 2 of 3