Skip to content

Commit 4a23e03

Browse files
committed
Support prepared statement syntax
1 parent 7c22982 commit 4a23e03

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/languages/duckdb/duckdb.formatter.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,10 @@ const tabularOnelineClauses = expandPhrases([
111111
'ABORT',
112112
'USE',
113113
'VACUUM [ANALYZE]',
114+
// prepared statements
115+
'PREPARE',
116+
'EXECUTE',
117+
'DEALLOCATE [PREPARE]',
114118
]);
115119

116120
const reservedSetOperations = expandPhrases([

0 commit comments

Comments
 (0)