Skip to content

[ORM][Query] a query use whereExists(), if contains multiple params on main query and sub query, may lose ordering when countWith() it. #1247

@asika32764

Description

@asika32764
$query->where('category_id', $categoryId)
    ->whereExists(function ($q) {
        $q->where('target_id', $id)
    });

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