1
+ {
2
+ "query": "DESC TABLE `fo` ORDER BY `fo`.`uuid` ASC;",
3
+ "lexer": {
4
+ "@type": "PhpMyAdmin\\SqlParser\\Lexer",
5
+ "str": "DESC TABLE `fo` ORDER BY `fo`.`uuid` ASC;",
6
+ "len": 41,
7
+ "last": 41,
8
+ "list": {
9
+ "@type": "PhpMyAdmin\\SqlParser\\TokensList",
10
+ "tokens": [
11
+ {
12
+ "@type": "PhpMyAdmin\\SqlParser\\Token",
13
+ "token": "DESC",
14
+ "value": "DESC",
15
+ "keyword": "DESC",
16
+ "type": 1,
17
+ "flags": 3,
18
+ "position": 0
19
+ },
20
+ {
21
+ "@type": "PhpMyAdmin\\SqlParser\\Token",
22
+ "token": " ",
23
+ "value": " ",
24
+ "keyword": null,
25
+ "type": 3,
26
+ "flags": 0,
27
+ "position": 4
28
+ },
29
+ {
30
+ "@type": "PhpMyAdmin\\SqlParser\\Token",
31
+ "token": "TABLE",
32
+ "value": "TABLE",
33
+ "keyword": "TABLE",
34
+ "type": 1,
35
+ "flags": 3,
36
+ "position": 5
37
+ },
38
+ {
39
+ "@type": "PhpMyAdmin\\SqlParser\\Token",
40
+ "token": " ",
41
+ "value": " ",
42
+ "keyword": null,
43
+ "type": 3,
44
+ "flags": 0,
45
+ "position": 10
46
+ },
47
+ {
48
+ "@type": "PhpMyAdmin\\SqlParser\\Token",
49
+ "token": "`fo`",
50
+ "value": "fo",
51
+ "keyword": null,
52
+ "type": 8,
53
+ "flags": 2,
54
+ "position": 11
55
+ },
56
+ {
57
+ "@type": "PhpMyAdmin\\SqlParser\\Token",
58
+ "token": " ",
59
+ "value": " ",
60
+ "keyword": null,
61
+ "type": 3,
62
+ "flags": 0,
63
+ "position": 15
64
+ },
65
+ {
66
+ "@type": "PhpMyAdmin\\SqlParser\\Token",
67
+ "token": "ORDER BY",
68
+ "value": "ORDER BY",
69
+ "keyword": "ORDER BY",
70
+ "type": 1,
71
+ "flags": 7,
72
+ "position": 16
73
+ },
74
+ {
75
+ "@type": "PhpMyAdmin\\SqlParser\\Token",
76
+ "token": " ",
77
+ "value": " ",
78
+ "keyword": null,
79
+ "type": 3,
80
+ "flags": 0,
81
+ "position": 24
82
+ },
83
+ {
84
+ "@type": "PhpMyAdmin\\SqlParser\\Token",
85
+ "token": "`fo`",
86
+ "value": "fo",
87
+ "keyword": null,
88
+ "type": 8,
89
+ "flags": 2,
90
+ "position": 25
91
+ },
92
+ {
93
+ "@type": "PhpMyAdmin\\SqlParser\\Token",
94
+ "token": ".",
95
+ "value": ".",
96
+ "keyword": null,
97
+ "type": 2,
98
+ "flags": 16,
99
+ "position": 29
100
+ },
101
+ {
102
+ "@type": "PhpMyAdmin\\SqlParser\\Token",
103
+ "token": "`uuid`",
104
+ "value": "uuid",
105
+ "keyword": null,
106
+ "type": 8,
107
+ "flags": 2,
108
+ "position": 30
109
+ },
110
+ {
111
+ "@type": "PhpMyAdmin\\SqlParser\\Token",
112
+ "token": " ",
113
+ "value": " ",
114
+ "keyword": null,
115
+ "type": 3,
116
+ "flags": 0,
117
+ "position": 36
118
+ },
119
+ {
120
+ "@type": "PhpMyAdmin\\SqlParser\\Token",
121
+ "token": "ASC",
122
+ "value": "ASC",
123
+ "keyword": "ASC",
124
+ "type": 1,
125
+ "flags": 3,
126
+ "position": 37
127
+ },
128
+ {
129
+ "@type": "PhpMyAdmin\\SqlParser\\Token",
130
+ "token": ";",
131
+ "value": ";",
132
+ "keyword": null,
133
+ "type": 9,
134
+ "flags": 0,
135
+ "position": 40
136
+ },
137
+ {
138
+ "@type": "PhpMyAdmin\\SqlParser\\Token",
139
+ "token": null,
140
+ "value": null,
141
+ "keyword": null,
142
+ "type": 9,
143
+ "flags": 0,
144
+ "position": null
145
+ }
146
+ ],
147
+ "count": 15,
148
+ "idx": 15
149
+ },
150
+ "delimiter": ";",
151
+ "delimiterLen": 1,
152
+ "strict": false,
153
+ "errors": []
154
+ },
155
+ "parser": {
156
+ "@type": "PhpMyAdmin\\SqlParser\\Parser",
157
+ "list": {
158
+ "@type": "@1"
159
+ },
160
+ "statements": [
161
+ {
162
+ "@type": "PhpMyAdmin\\SqlParser\\Statements\\ExplainStatement",
163
+ "bodyParser": null,
164
+ "statementAlias": "DESC",
165
+ "connectionId": null,
166
+ "explainedTable": null,
167
+ "options": {
168
+ "@type": "PhpMyAdmin\\SqlParser\\Components\\OptionsArray",
169
+ "options": []
170
+ },
171
+ "first": 0,
172
+ "last": 2
173
+ }
174
+ ],
175
+ "brackets": 0,
176
+ "strict": false,
177
+ "errors": []
178
+ },
179
+ "errors": {
180
+ "lexer": [],
181
+ "parser": [
182
+ [
183
+ "Unexpected token.",
184
+ {
185
+ "@type": "@4"
186
+ },
187
+ 0
188
+ ],
189
+ [
190
+ "Unexpected beginning of statement.",
191
+ {
192
+ "@type": "@6"
193
+ },
194
+ 0
195
+ ],
196
+ [
197
+ "Unrecognized statement type.",
198
+ {
199
+ "@type": "@8"
200
+ },
201
+ 0
202
+ ]
203
+ ]
204
+ }
205
+ }
0 commit comments