File tree Expand file tree Collapse file tree 2 files changed +51
-0
lines changed
snapshots/statements/valid Expand file tree Collapse file tree 2 files changed +51
-0
lines changed Original file line number Diff line number Diff line change 1+ TRUNCATE users CONTINUE IDENTITY RESTRICT
Original file line number Diff line number Diff line change 1+ -- -
2+ source : crates / parser / tests / statement_parser_test .rs
3+ assertion_line : 62
4+ description : TRUNCATE users CONTINUE IDENTITY RESTRICT ;
5+ -- -
6+ Parse {
7+ cst : SourceFile @0..42
8+ TruncateStmt @0..42
9+ Truncate @0..8 " TRUNCATE"
10+ Whitespace @8..9 " "
11+ RangeVar @9..14
12+ Ident @9..14 " users"
13+ Whitespace @14..15 " "
14+ ContinueP @15..23 " CONTINUE"
15+ Whitespace @23..24 " "
16+ IdentityP @24..32 " IDENTITY"
17+ Whitespace @32..33 " "
18+ Restrict @33..41 " RESTRICT"
19+ Ascii59 @41..42 " ;"
20+ ,
21+ errors : [],
22+ stmts : [
23+ RawStmt {
24+ stmt: TruncateStmt (
25+ TruncateStmt {
26+ relations: [
27+ Node {
28+ node: Some (
29+ RangeVar (
30+ RangeVar {
31+ catalogname: " " ,
32+ schemaname: " " ,
33+ relname: " users" ,
34+ inh: true ,
35+ relpersistence: " p" ,
36+ alias: None ,
37+ location: 9 ,
38+ },
39+ ),
40+ ),
41+ },
42+ ],
43+ restart_seqs: false ,
44+ behavior: DropRestrict ,
45+ },
46+ ),
47+ range: 0..41 ,
48+ },
49+ ],
50+ }
You can’t perform that action at this time.
0 commit comments