Open
Description
Hello everyone,
The Illuminate\Database\Connection
class which Jenssegers\Mongodb\Connection
extends from implements a method to fetch the connection name that is getDatabaseName
.
An alternative way to get the connection name from the Connection class is using:
$connection->getMongoDB()->getDatabaseName()
.
However, libraries that rely on getDatabaseName
to fetch the connection name will get a null
value.
Is there any reason why this method is not implemented?