We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88901a9 commit c532fbcCopy full SHA for c532fbc
crates/parser/tests/data/statements/valid/0037.sql
@@ -0,0 +1,7 @@
1
+BEGIN;
2
+
3
+SELECT 1;
4
5
+ROLLBACK;
6
7
+COMMIT;
crates/parser/tests/snapshots/statements/valid/0037.snap
@@ -0,0 +1,19 @@
+---
+source: crates/parser/tests/statement_parser_test.rs
+description: "BEGIN;\n\nSELECT 1;\n\nROLLBACK;\n\nCOMMIT;"
+Stmt@0..37
+ BeginP@0..5 "BEGIN"
+ Ascii59@5..6 ";"
8
+ Newline@6..8 "\n\n"
9
+ Select@8..14 "SELECT"
10
+ Whitespace@14..15 " "
11
+ Iconst@15..16 "1"
12
+ Ascii59@16..17 ";"
13
+ Newline@17..19 "\n\n"
14
+ Rollback@19..27 "ROLLBACK"
15
+ Ascii59@27..28 ";"
16
+ Newline@28..30 "\n\n"
17
+ Commit@30..36 "COMMIT"
18
+ Ascii59@36..37 ";"
19
0 commit comments