mirror of
https://github.com/hanzo-ds/sqlparser.git
synced 2026-10-30 20:53:50 +00:00
123 lines
2.6 KiB
JSON
123 lines
2.6 KiB
JSON
[
|
|
{
|
|
"SelectPos": 0,
|
|
"StatementEnd": 14,
|
|
"With": null,
|
|
"Top": null,
|
|
"HasDistinct": false,
|
|
"DistinctOn": null,
|
|
"SelectItems": [
|
|
{
|
|
"Expr": {
|
|
"NumPos": 7,
|
|
"NumEnd": 8,
|
|
"Literal": "1",
|
|
"Base": 10
|
|
},
|
|
"Modifiers": [],
|
|
"Alias": {
|
|
"Name": "v1",
|
|
"QuoteType": 1,
|
|
"NamePos": 12,
|
|
"NameEnd": 14
|
|
}
|
|
}
|
|
],
|
|
"From": null,
|
|
"ArrayJoin": null,
|
|
"Window": null,
|
|
"Prewhere": null,
|
|
"Where": null,
|
|
"GroupBy": null,
|
|
"WithTotal": false,
|
|
"Having": null,
|
|
"OrderBy": null,
|
|
"LimitBy": null,
|
|
"Limit": null,
|
|
"Settings": null,
|
|
"Format": null,
|
|
"UnionAll": {
|
|
"SelectPos": 25,
|
|
"StatementEnd": 39,
|
|
"With": null,
|
|
"Top": null,
|
|
"HasDistinct": false,
|
|
"DistinctOn": null,
|
|
"SelectItems": [
|
|
{
|
|
"Expr": {
|
|
"NumPos": 32,
|
|
"NumEnd": 33,
|
|
"Literal": "2",
|
|
"Base": 10
|
|
},
|
|
"Modifiers": [],
|
|
"Alias": {
|
|
"Name": "v2",
|
|
"QuoteType": 1,
|
|
"NamePos": 37,
|
|
"NameEnd": 39
|
|
}
|
|
}
|
|
],
|
|
"From": null,
|
|
"ArrayJoin": null,
|
|
"Window": null,
|
|
"Prewhere": null,
|
|
"Where": null,
|
|
"GroupBy": null,
|
|
"WithTotal": false,
|
|
"Having": null,
|
|
"OrderBy": null,
|
|
"LimitBy": null,
|
|
"Limit": null,
|
|
"Settings": null,
|
|
"Format": null,
|
|
"UnionAll": {
|
|
"SelectPos": 50,
|
|
"StatementEnd": 64,
|
|
"With": null,
|
|
"Top": null,
|
|
"HasDistinct": false,
|
|
"DistinctOn": null,
|
|
"SelectItems": [
|
|
{
|
|
"Expr": {
|
|
"NumPos": 57,
|
|
"NumEnd": 58,
|
|
"Literal": "3",
|
|
"Base": 10
|
|
},
|
|
"Modifiers": [],
|
|
"Alias": {
|
|
"Name": "v3",
|
|
"QuoteType": 1,
|
|
"NamePos": 62,
|
|
"NameEnd": 64
|
|
}
|
|
}
|
|
],
|
|
"From": null,
|
|
"ArrayJoin": null,
|
|
"Window": null,
|
|
"Prewhere": null,
|
|
"Where": null,
|
|
"GroupBy": null,
|
|
"WithTotal": false,
|
|
"Having": null,
|
|
"OrderBy": null,
|
|
"LimitBy": null,
|
|
"Limit": null,
|
|
"Settings": null,
|
|
"Format": null,
|
|
"UnionAll": null,
|
|
"UnionDistinct": null,
|
|
"Except": null
|
|
},
|
|
"UnionDistinct": null,
|
|
"Except": null
|
|
},
|
|
"UnionDistinct": null,
|
|
"Except": null
|
|
}
|
|
] |