Skip to content

Missing HEAVY clause detection to ValueExpression aggregation #697

@hrach

Description

@hrach

Found one more, hopefully not a big deal. Just like the first one, AND and OR produce identical query, only correct for AND.

$this->model->books->findBy([
	ICollection::OR,
	['title' => 'Book 1'],
	[ICollection::AND, new NoneAggregator, 'tags->id' => 3],
]);
$this->model->books->findBy([
	ICollection::AND,
	['title' => 'Book 1'],
	[ICollection::AND, new NoneAggregator, 'tags->id' => 3],
]);

Originally posted by @stepapo in #690

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions