mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Add a changelog entry for #14546 [ci skip]
This commit is contained in:
parent
47d9321a1e
commit
5d5beccc8c
1 changed files with 14 additions and 0 deletions
|
@ -1,3 +1,17 @@
|
|||
* Calling `delete_all` on an unloaded `CollectionProxy` no longer
|
||||
generates a SQL statement containing each id of the collection:
|
||||
|
||||
Before:
|
||||
|
||||
DELETE FROM `model` WHERE `model`.`parent_id` = 1
|
||||
AND `model`.`id` IN (1, 2, 3...)
|
||||
|
||||
After:
|
||||
|
||||
DELETE FROM `model` WHERE `model`.`parent_id` = 1
|
||||
|
||||
*Eileen M. Uchitelle*, *Aaron Patterson*
|
||||
|
||||
* Fixed error for aggregate methods (`empty?`, `any?`, `count`) with `select`
|
||||
which created invalid SQL.
|
||||
|
||||
|
|
Loading…
Reference in a new issue