Skip to content

Missing getDatabaseName method in Connection class #1647

Open
@edulelis

Description

@edulelis

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs investigationNeed investigation about bugs described in issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions