diff options
Diffstat (limited to 'Plugins/SqlEnterpriseFormatter/formatdelete.cpp')
| -rw-r--r-- | Plugins/SqlEnterpriseFormatter/formatdelete.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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(); } |
