From 3565aad630864ecdbe53fdaa501ea708555b3c7c Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Sun, 30 Apr 2023 18:30:36 -0400 Subject: New upstream version 3.4.4+dfsg. --- Plugins/SqlEnterpriseFormatter/formatupdate.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Plugins/SqlEnterpriseFormatter/formatupdate.cpp') diff --git a/Plugins/SqlEnterpriseFormatter/formatupdate.cpp b/Plugins/SqlEnterpriseFormatter/formatupdate.cpp index 0adeb17..cb802d8 100644 --- a/Plugins/SqlEnterpriseFormatter/formatupdate.cpp +++ b/Plugins/SqlEnterpriseFormatter/formatupdate.cpp @@ -55,5 +55,10 @@ void FormatUpdate::formatInternal() if (upd->where) withNewLine().withLinedUpKeyword("WHERE").withStatement(upd->where); + if (!upd->returning.isEmpty()) + { + withNewLine().withLinedUpKeyword("RETURNING"); + withStatementList(upd->returning, "returningColumns"); + } withSemicolon(); } -- cgit v1.2.3