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.0) Sets this database's profiling level
(PECL mongo >=1.3.0) Set the read preference for this database
(PECL mongo >=0.9.0) Drops this database public
(PECL mongo >=1.5.0) Get the write concern for this database
(PECL mongo >=1.0.1) Log in to this database
(PECL mongo >=0.9.0) Gets this database's profiling level
(PECL mongo >=0.9.0) Creates a database reference
(PECL mongo >=1.3.0) Gets an array of names for all collections in this database
(PECL mongo >=0.9.0) Gets a collection public
(PECL mongo >=0.9.5) Check if there was an error on the most recent db operation performed
Page 1 of 3