From 41d9cb741024a3bec7cdff72dfeeae96923847ea Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Mon, 18 Mar 2024 14:08:00 +1300 Subject: [PATCH] DOC Add changelog note about SQLUpdate supporting JOIN --- en/08_Changelogs/5.3.0.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 en/08_Changelogs/5.3.0.md diff --git a/en/08_Changelogs/5.3.0.md b/en/08_Changelogs/5.3.0.md new file mode 100644 index 000000000..f99e0623c --- /dev/null +++ b/en/08_Changelogs/5.3.0.md @@ -0,0 +1,27 @@ +--- +title: 5.3.0 (unreleased) +--- + +# 5.3.0 (unreleased) + +## Overview + +- [Features and enhancements](#features-and-enhancements) + - [Support for `JOIN` in SQL `UPDATE`](#sql-update-join) +- [Bug fixes](#bug-fixes) + +## Features and enhancements + +### Support for `JOIN` in SQL `UPDATE` {#sql-update-join} + +The [`SQLUpdate`](api:SilverStripe\ORM\Queries\SQLUpdate) class now supports all of the same `JOIN` operations (using the same methods) that [`SQLSelect`](api:SilverStripe\ORM\Queries\SQLSelect) does. + +This is particularly helpful if you need to update columns in one table to match values from another table. + +## Bug fixes + +This release includes a number of bug fixes to improve a broad range of areas. Check the change logs for full details of these fixes split by module. Thank you to the community members that helped contribute these fixes as part of the release! + + + +