Skip to content

Investigate whether CrateStatement should inherit from Doctrine\DBAL\Statement #150

@coderabbitai

Description

@coderabbitai

Context

During the Doctrine DBAL 3 upgrade in PR #122, the statement wrapping now involves three layers:

  1. Doctrine\DBAL\Statement (outer)
  2. Crate\DBAL\Driver\PDOCrate\CrateStatement (middle)
  3. Crate\PDO\PDOStatement (inner)

Investigation Request

Investigate whether CrateStatement should inherit from Doctrine\DBAL\Statement instead of the current composition-based approach to potentially simplify the wrapping architecture.

References

The issue documents the current three-layer statement wrapping architecture and requests investigation into whether inheritance could simplify this design.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions