This method is not meant to be called directly. The preferred way to create an instance of MongoDB is through {@see \Mongo::__get()} or {@see \Mongo::selectDB()}.
public __construct ( MongoClient $conn, string $name ) | ||
$conn | MongoClient | Database connection. |
$name | string | Database name. |