mirror of
https://github.com/hanzo-ds/sqlparser.git
synced 2026-10-30 20:53:50 +00:00
115 lines
2.5 KiB
JSON
115 lines
2.5 KiB
JSON
[
|
|
{
|
|
"SelectPos": 0,
|
|
"StatementEnd": 47,
|
|
"With": {
|
|
"WithPos": 0,
|
|
"EndPos": 9,
|
|
"CTEs": [
|
|
{
|
|
"CTEPos": 5,
|
|
"Expr": {
|
|
"Name": "$abc",
|
|
"QuoteType": 1,
|
|
"NamePos": 5,
|
|
"NameEnd": 9
|
|
},
|
|
"Alias": {
|
|
"SelectPos": 14,
|
|
"StatementEnd": 27,
|
|
"With": null,
|
|
"Top": null,
|
|
"HasDistinct": false,
|
|
"DistinctOn": null,
|
|
"SelectItems": [
|
|
{
|
|
"Expr": {
|
|
"NumPos": 21,
|
|
"NumEnd": 22,
|
|
"Literal": "1",
|
|
"Base": 10
|
|
},
|
|
"Modifiers": [],
|
|
"Alias": {
|
|
"Name": "a",
|
|
"QuoteType": 1,
|
|
"NamePos": 26,
|
|
"NameEnd": 27
|
|
}
|
|
}
|
|
],
|
|
"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
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"Top": null,
|
|
"HasDistinct": false,
|
|
"DistinctOn": null,
|
|
"SelectItems": [
|
|
{
|
|
"Expr": {
|
|
"Name": "*",
|
|
"QuoteType": 0,
|
|
"NamePos": 36,
|
|
"NameEnd": 36
|
|
},
|
|
"Modifiers": [],
|
|
"Alias": null
|
|
}
|
|
],
|
|
"From": {
|
|
"FromPos": 38,
|
|
"Expr": {
|
|
"Table": {
|
|
"TablePos": 43,
|
|
"TableEnd": 47,
|
|
"Alias": null,
|
|
"Expr": {
|
|
"Database": null,
|
|
"Table": {
|
|
"Name": "$abc",
|
|
"QuoteType": 1,
|
|
"NamePos": 43,
|
|
"NameEnd": 47
|
|
}
|
|
},
|
|
"HasFinal": false
|
|
},
|
|
"StatementEnd": 47,
|
|
"SampleRatio": null,
|
|
"HasFinal": false
|
|
}
|
|
},
|
|
"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
|
|
}
|
|
] |