|
MongoClient::selectCollectionGets a database collection 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 |