@polyglot-sql/sdk 0.3.5 → 0.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/polyglot.esm.js +677 -677
- package/dist/index.d.cts +21 -0
- package/dist/index.d.ts +21 -0
- package/dist/polyglot_sql_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -146,6 +146,14 @@ declare type Alias = {
|
|
|
146
146
|
* Optional column aliases for table-valued functions: AS t(col1, col2) or AS (col1, col2)
|
|
147
147
|
*/
|
|
148
148
|
column_aliases: Array<Identifier>;
|
|
149
|
+
/**
|
|
150
|
+
* Whether AS keyword was explicitly used for the alias.
|
|
151
|
+
*/
|
|
152
|
+
alias_explicit_as: boolean;
|
|
153
|
+
/**
|
|
154
|
+
* Original alias keyword spelling, e.g. `AS` vs `as`.
|
|
155
|
+
*/
|
|
156
|
+
alias_keyword?: string | null;
|
|
149
157
|
/**
|
|
150
158
|
* Comments that appeared between the expression and AS keyword
|
|
151
159
|
*/
|
|
@@ -2802,6 +2810,10 @@ declare type CreateView = {
|
|
|
2802
2810
|
* Redshift: AUTO REFRESH YES|NO for materialized views
|
|
2803
2811
|
*/
|
|
2804
2812
|
auto_refresh?: boolean | null;
|
|
2813
|
+
/**
|
|
2814
|
+
* ClickHouse: POPULATE / EMPTY before AS in materialized views
|
|
2815
|
+
*/
|
|
2816
|
+
clickhouse_population?: string | null;
|
|
2805
2817
|
/**
|
|
2806
2818
|
* ClickHouse: ON CLUSTER clause
|
|
2807
2819
|
*/
|
|
@@ -8368,6 +8380,7 @@ declare type JSONCast = {
|
|
|
8368
8380
|
declare type JSONColumnDef = {
|
|
8369
8381
|
this: Expression | null;
|
|
8370
8382
|
kind: string | null;
|
|
8383
|
+
format_json: boolean;
|
|
8371
8384
|
path: Expression | null;
|
|
8372
8385
|
nested_schema: Expression | null;
|
|
8373
8386
|
ordinality: Expression | null;
|
|
@@ -12519,6 +12532,14 @@ declare type Subquery = {
|
|
|
12519
12532
|
* Optional column aliases: AS t(c1, c2)
|
|
12520
12533
|
*/
|
|
12521
12534
|
column_aliases: Array<Identifier>;
|
|
12535
|
+
/**
|
|
12536
|
+
* Whether AS keyword was explicitly used for the alias.
|
|
12537
|
+
*/
|
|
12538
|
+
alias_explicit_as: boolean;
|
|
12539
|
+
/**
|
|
12540
|
+
* Original alias keyword spelling, e.g. `AS` vs `as`.
|
|
12541
|
+
*/
|
|
12542
|
+
alias_keyword?: string | null;
|
|
12522
12543
|
/**
|
|
12523
12544
|
* ORDER BY clause (for parenthesized queries)
|
|
12524
12545
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -146,6 +146,14 @@ declare type Alias = {
|
|
|
146
146
|
* Optional column aliases for table-valued functions: AS t(col1, col2) or AS (col1, col2)
|
|
147
147
|
*/
|
|
148
148
|
column_aliases: Array<Identifier>;
|
|
149
|
+
/**
|
|
150
|
+
* Whether AS keyword was explicitly used for the alias.
|
|
151
|
+
*/
|
|
152
|
+
alias_explicit_as: boolean;
|
|
153
|
+
/**
|
|
154
|
+
* Original alias keyword spelling, e.g. `AS` vs `as`.
|
|
155
|
+
*/
|
|
156
|
+
alias_keyword?: string | null;
|
|
149
157
|
/**
|
|
150
158
|
* Comments that appeared between the expression and AS keyword
|
|
151
159
|
*/
|
|
@@ -2802,6 +2810,10 @@ declare type CreateView = {
|
|
|
2802
2810
|
* Redshift: AUTO REFRESH YES|NO for materialized views
|
|
2803
2811
|
*/
|
|
2804
2812
|
auto_refresh?: boolean | null;
|
|
2813
|
+
/**
|
|
2814
|
+
* ClickHouse: POPULATE / EMPTY before AS in materialized views
|
|
2815
|
+
*/
|
|
2816
|
+
clickhouse_population?: string | null;
|
|
2805
2817
|
/**
|
|
2806
2818
|
* ClickHouse: ON CLUSTER clause
|
|
2807
2819
|
*/
|
|
@@ -8368,6 +8380,7 @@ declare type JSONCast = {
|
|
|
8368
8380
|
declare type JSONColumnDef = {
|
|
8369
8381
|
this: Expression | null;
|
|
8370
8382
|
kind: string | null;
|
|
8383
|
+
format_json: boolean;
|
|
8371
8384
|
path: Expression | null;
|
|
8372
8385
|
nested_schema: Expression | null;
|
|
8373
8386
|
ordinality: Expression | null;
|
|
@@ -12519,6 +12532,14 @@ declare type Subquery = {
|
|
|
12519
12532
|
* Optional column aliases: AS t(c1, c2)
|
|
12520
12533
|
*/
|
|
12521
12534
|
column_aliases: Array<Identifier>;
|
|
12535
|
+
/**
|
|
12536
|
+
* Whether AS keyword was explicitly used for the alias.
|
|
12537
|
+
*/
|
|
12538
|
+
alias_explicit_as: boolean;
|
|
12539
|
+
/**
|
|
12540
|
+
* Original alias keyword spelling, e.g. `AS` vs `as`.
|
|
12541
|
+
*/
|
|
12542
|
+
alias_keyword?: string | null;
|
|
12522
12543
|
/**
|
|
12523
12544
|
* ORDER BY clause (for parenthesized queries)
|
|
12524
12545
|
*/
|
|
Binary file
|