Closed
Description
Q | A |
---|---|
BC Break | no |
Version | 2.10.1 |
If a composite expression is used in different parts of the same query or in different queries, its implicit mutation by the QueryBuilder::(and|or)(Where|Having)()
methods in one place will affect the other places as well.
Before:
$expr->add('u.group_id = 2');
After:
$expr = $expr->with('u.group_id = 2');
Activity