|
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: Beschreibung
public MongoCollection MongoClient::selectCollection
( string
$db
, string $collection
)Parameter-Liste
RückgabewerteReturns a new collection object. Fehler/ExceptionsThrows Exception if the database or collection name is invalid. BeispieleBeispiel #1 MongoClient::selectCollection example
<?php |