From dae928b3bbbcdd3890c61549bdc4c50e1e0d3094 Mon Sep 17 00:00:00 2001
From: Matthias Q <35303817+matthias-Q@users.noreply.github.com>
Date: Thu, 25 May 2023 07:53:14 +0200
Subject: indents(sql): initial support (#4857)

* indents(sql): initial support

* indents(sql): fix queries and lua style
---
 tests/indent/sql/case.sql | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 tests/indent/sql/case.sql

(limited to 'tests/indent/sql/case.sql')

diff --git a/tests/indent/sql/case.sql b/tests/indent/sql/case.sql
new file mode 100644
index 000000000..eee85a3be
--- /dev/null
+++ b/tests/indent/sql/case.sql
@@ -0,0 +1,8 @@
+select
+    case
+        when a = 1 then '1'
+        when a = 2 then '2'
+        when a = 3 then '3'
+        else '0'
+    end as stmt1
+from tab;
-- 
cgit v1.2.3-70-g09d2

