From bcb3bf4ac4bbd02b95262304fda490492a439c60 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com> Date: Wed, 20 Mar 2024 11:50:28 +1300 Subject: [PATCH] DOC Add changelog note about SQLUpdate supporting JOIN (#481) --- 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! + + + +