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/formatinsert.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Plugins/SqlEnterpriseFormatter/formatinsert.cpp') diff --git a/Plugins/SqlEnterpriseFormatter/formatinsert.cpp b/Plugins/SqlEnterpriseFormatter/formatinsert.cpp index 709ee1b..c24452d 100644 --- a/Plugins/SqlEnterpriseFormatter/formatinsert.cpp +++ b/Plugins/SqlEnterpriseFormatter/formatinsert.cpp @@ -52,5 +52,10 @@ void FormatInsert::formatInternal() withDecrIndent(); } + if (!insert->returning.isEmpty()) + { + withNewLine().withLinedUpKeyword("RETURNING"); + withStatementList(insert->returning, "returningColumns"); + } withSemicolon(); } -- cgit v1.2.3