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/formatdelete.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Plugins/SqlEnterpriseFormatter/formatdelete.cpp') diff --git a/Plugins/SqlEnterpriseFormatter/formatdelete.cpp b/Plugins/SqlEnterpriseFormatter/formatdelete.cpp index fc154e2..09cf06f 100644 --- a/Plugins/SqlEnterpriseFormatter/formatdelete.cpp +++ b/Plugins/SqlEnterpriseFormatter/formatdelete.cpp @@ -30,5 +30,11 @@ void FormatDelete::formatInternal() if (del->where) withNewLine().withLinedUpKeyword("WHERE").withStatement(del->where); + if (!del->returning.isEmpty()) + { + withNewLine().withLinedUpKeyword("RETURNING"); + withStatementList(del->returning, "returningColumns"); + } + withSemicolon(); } -- cgit v1.2.3