Skip to content

Access to underlying PDO object? #2

@hultberg

Description

@hultberg

In some projects I have had to integrate other database libraries which requires a PDO object. DBAL library API does not provide any way for developers (without reflection "hacks") to get the underlying PDO object that the DatabaseConnection object is provided. The DatabaseConnectionInterface also does not contain any method to get the underlying database connection library. The intention of the interface is to have an abstraction so that consumers don't need to worry about the underlying implementation. A complication might be the LazyDatabaseConnection class which creates the PDO object on demand. Any thoughts here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions