File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 22
33All notable changes to this project will be documented in this file. This project adhere to the [ Semantic Versioning] ( http://semver.org/ ) standard.
44
5+ ## [ 3.1.2] 2025-10-02
6+
7+ * Fix - Fix the ` update_many ` method to properly check if the transaction was successful.
8+
9+ [ 3.1.2 ] : https://github.com/stellarwp/schema/releases/tag/3.1.2
10+
511## [ 3.1.1] 2025-10-01
612
713* Tweak - Fix the ` get_all_by ` method to accept an order by clause.
Original file line number Diff line number Diff line change @@ -392,7 +392,7 @@ public static function update_many( array $entries ): bool {
392392 $ results [] = $ database ::query ( $ query );
393393 }
394394
395- $ all_good = count ( array_filter ( $ results ) ) === count ( $ results );
395+ $ all_good = count ( array_filter ( $ results, static fn ( $ result ) => $ result !== false ) ) === count ( $ results );
396396
397397 if ( ! $ all_good ) {
398398 $ database ::rollBack ();
You can’t perform that action at this time.
0 commit comments