Skip to content

ActiveQuery class should not extend Yiisoft\Db\Query\Query #281

Open

Description

@Tigrov

Yiisoft\Db\Query\Query class can be extended in each supported DBMS.

E.g. we can have Yiisoft\Db\Mssql\Query which extends Yiisoft\Db\Query\Query.

In this case ActiveQuery will not know about the extensions in Yiisoft\Db\Mssql\Query.

Suggestion

Connection of DBMS should return concrete Query instance to use it in ActiveQuery.

Activity

  1. samdark commented on Dec 24, 2023

    @samdark
    Member

    Good idea.

  2. added this to the 1.0.0 milestone on Jan 21, 2025
  3. modified the milestones: 1.0.0, 2.0 on Oct 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions