@polyglot-sql/sdk 0.1.12 → 0.1.13
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 +1589 -1589
- package/dist/index.d.cts +28 -0
- package/dist/index.d.ts +28 -0
- package/dist/polyglot_sql_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2210,6 +2210,10 @@ declare type CountFunc = {
|
|
|
2210
2210
|
* Original function name for case preservation (e.g., "count" or "COUNT")
|
|
2211
2211
|
*/
|
|
2212
2212
|
original_name?: string | null;
|
|
2213
|
+
/**
|
|
2214
|
+
* Inferred data type from type annotation
|
|
2215
|
+
*/
|
|
2216
|
+
inferred_type?: DataType | null;
|
|
2213
2217
|
};
|
|
2214
2218
|
|
|
2215
2219
|
/**
|
|
@@ -6821,6 +6825,10 @@ declare type GroupConcatFunc = {
|
|
|
6821
6825
|
order_by: Array<Ordered> | null;
|
|
6822
6826
|
distinct: boolean;
|
|
6823
6827
|
filter: Expression | null;
|
|
6828
|
+
/**
|
|
6829
|
+
* Inferred data type from type annotation
|
|
6830
|
+
*/
|
|
6831
|
+
inferred_type?: DataType | null;
|
|
6824
6832
|
};
|
|
6825
6833
|
|
|
6826
6834
|
/**
|
|
@@ -7000,6 +7008,10 @@ declare type IfFunc = {
|
|
|
7000
7008
|
* Original function name (IF, IFF, IIF) for round-trip preservation
|
|
7001
7009
|
*/
|
|
7002
7010
|
original_name?: string | null;
|
|
7011
|
+
/**
|
|
7012
|
+
* Inferred data type from type annotation
|
|
7013
|
+
*/
|
|
7014
|
+
inferred_type?: DataType | null;
|
|
7003
7015
|
};
|
|
7004
7016
|
|
|
7005
7017
|
export declare function ifNull(expr: ExprInput, fallback: ExprInput): Expr;
|
|
@@ -8760,6 +8772,10 @@ declare type ListAggFunc = {
|
|
|
8760
8772
|
order_by: Array<Ordered> | null;
|
|
8761
8773
|
distinct: boolean;
|
|
8762
8774
|
filter: Expression | null;
|
|
8775
|
+
/**
|
|
8776
|
+
* Inferred data type from type annotation
|
|
8777
|
+
*/
|
|
8778
|
+
inferred_type?: DataType | null;
|
|
8763
8779
|
};
|
|
8764
8780
|
|
|
8765
8781
|
/**
|
|
@@ -9486,6 +9502,10 @@ declare type Nvl2Func = {
|
|
|
9486
9502
|
this: Expression;
|
|
9487
9503
|
true_value: Expression;
|
|
9488
9504
|
false_value: Expression;
|
|
9505
|
+
/**
|
|
9506
|
+
* Inferred data type from type annotation
|
|
9507
|
+
*/
|
|
9508
|
+
inferred_type?: DataType | null;
|
|
9489
9509
|
};
|
|
9490
9510
|
|
|
9491
9511
|
/**
|
|
@@ -12130,6 +12150,10 @@ declare type StringAggFunc = {
|
|
|
12130
12150
|
* BigQuery LIMIT inside STRING_AGG
|
|
12131
12151
|
*/
|
|
12132
12152
|
limit?: Expression | null;
|
|
12153
|
+
/**
|
|
12154
|
+
* Inferred data type from type annotation
|
|
12155
|
+
*/
|
|
12156
|
+
inferred_type?: DataType | null;
|
|
12133
12157
|
};
|
|
12134
12158
|
|
|
12135
12159
|
/**
|
|
@@ -12360,6 +12384,10 @@ declare type SumIfFunc = {
|
|
|
12360
12384
|
this: Expression;
|
|
12361
12385
|
condition: Expression;
|
|
12362
12386
|
filter: Expression | null;
|
|
12387
|
+
/**
|
|
12388
|
+
* Inferred data type from type annotation
|
|
12389
|
+
*/
|
|
12390
|
+
inferred_type?: DataType | null;
|
|
12363
12391
|
};
|
|
12364
12392
|
|
|
12365
12393
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -2210,6 +2210,10 @@ declare type CountFunc = {
|
|
|
2210
2210
|
* Original function name for case preservation (e.g., "count" or "COUNT")
|
|
2211
2211
|
*/
|
|
2212
2212
|
original_name?: string | null;
|
|
2213
|
+
/**
|
|
2214
|
+
* Inferred data type from type annotation
|
|
2215
|
+
*/
|
|
2216
|
+
inferred_type?: DataType | null;
|
|
2213
2217
|
};
|
|
2214
2218
|
|
|
2215
2219
|
/**
|
|
@@ -6821,6 +6825,10 @@ declare type GroupConcatFunc = {
|
|
|
6821
6825
|
order_by: Array<Ordered> | null;
|
|
6822
6826
|
distinct: boolean;
|
|
6823
6827
|
filter: Expression | null;
|
|
6828
|
+
/**
|
|
6829
|
+
* Inferred data type from type annotation
|
|
6830
|
+
*/
|
|
6831
|
+
inferred_type?: DataType | null;
|
|
6824
6832
|
};
|
|
6825
6833
|
|
|
6826
6834
|
/**
|
|
@@ -7000,6 +7008,10 @@ declare type IfFunc = {
|
|
|
7000
7008
|
* Original function name (IF, IFF, IIF) for round-trip preservation
|
|
7001
7009
|
*/
|
|
7002
7010
|
original_name?: string | null;
|
|
7011
|
+
/**
|
|
7012
|
+
* Inferred data type from type annotation
|
|
7013
|
+
*/
|
|
7014
|
+
inferred_type?: DataType | null;
|
|
7003
7015
|
};
|
|
7004
7016
|
|
|
7005
7017
|
export declare function ifNull(expr: ExprInput, fallback: ExprInput): Expr;
|
|
@@ -8760,6 +8772,10 @@ declare type ListAggFunc = {
|
|
|
8760
8772
|
order_by: Array<Ordered> | null;
|
|
8761
8773
|
distinct: boolean;
|
|
8762
8774
|
filter: Expression | null;
|
|
8775
|
+
/**
|
|
8776
|
+
* Inferred data type from type annotation
|
|
8777
|
+
*/
|
|
8778
|
+
inferred_type?: DataType | null;
|
|
8763
8779
|
};
|
|
8764
8780
|
|
|
8765
8781
|
/**
|
|
@@ -9486,6 +9502,10 @@ declare type Nvl2Func = {
|
|
|
9486
9502
|
this: Expression;
|
|
9487
9503
|
true_value: Expression;
|
|
9488
9504
|
false_value: Expression;
|
|
9505
|
+
/**
|
|
9506
|
+
* Inferred data type from type annotation
|
|
9507
|
+
*/
|
|
9508
|
+
inferred_type?: DataType | null;
|
|
9489
9509
|
};
|
|
9490
9510
|
|
|
9491
9511
|
/**
|
|
@@ -12130,6 +12150,10 @@ declare type StringAggFunc = {
|
|
|
12130
12150
|
* BigQuery LIMIT inside STRING_AGG
|
|
12131
12151
|
*/
|
|
12132
12152
|
limit?: Expression | null;
|
|
12153
|
+
/**
|
|
12154
|
+
* Inferred data type from type annotation
|
|
12155
|
+
*/
|
|
12156
|
+
inferred_type?: DataType | null;
|
|
12133
12157
|
};
|
|
12134
12158
|
|
|
12135
12159
|
/**
|
|
@@ -12360,6 +12384,10 @@ declare type SumIfFunc = {
|
|
|
12360
12384
|
this: Expression;
|
|
12361
12385
|
condition: Expression;
|
|
12362
12386
|
filter: Expression | null;
|
|
12387
|
+
/**
|
|
12388
|
+
* Inferred data type from type annotation
|
|
12389
|
+
*/
|
|
12390
|
+
inferred_type?: DataType | null;
|
|
12363
12391
|
};
|
|
12364
12392
|
|
|
12365
12393
|
/**
|
|
Binary file
|