| 
 | MongoClient::selectCollectionGets a database collection This extension that defines this method is deprecated. Instead, the MongoDB extension should be used. There is no equivalent for this method in the new extension, but there is an alternative in the PHP library: Description
   public MongoCollection MongoClient::selectCollection
    ( string  $db, string$collection)Parameters
 
 Return ValuesReturns a new collection object. Errors/ExceptionsThrows Exception if the database or collection name is invalid. ExamplesExample #1 MongoClient::selectCollection example 
<?php |