@polyglot-sql/sdk 0.5.2 → 0.5.3
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/README.md +54 -12
- package/dist/cdn/polyglot.esm.js +815 -815
- package/dist/index.d.cts +18 -0
- package/dist/index.d.ts +18 -0
- package/dist/polyglot_sql.wasm +0 -0
- package/package.json +1 -1
package/dist/cdn/polyglot.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const FI = new URL("../polyglot_sql.wasm",import.meta.url).href, RI = async (g = {}, A) => {
|
|
2
2
|
let C;
|
|
3
3
|
if (A.startsWith("data:")) {
|
|
4
4
|
const B = A.replace(/^data:.*?base64,/, "");
|
|
@@ -27,7 +27,7 @@ const RI = new URL("../polyglot_sql.wasm",import.meta.url).href, UI = async (g =
|
|
|
27
27
|
class BA {
|
|
28
28
|
__destroy_into_raw() {
|
|
29
29
|
const A = this.__wbg_ptr;
|
|
30
|
-
return this.__wbg_ptr = 0,
|
|
30
|
+
return this.__wbg_ptr = 0, VA.unregister(this), A;
|
|
31
31
|
}
|
|
32
32
|
free() {
|
|
33
33
|
const A = this.__destroy_into_raw();
|
|
@@ -45,7 +45,7 @@ class BA {
|
|
|
45
45
|
*/
|
|
46
46
|
constructor() {
|
|
47
47
|
const A = I.wasmassignmentarray_new();
|
|
48
|
-
return this.__wbg_ptr = A >>> 0,
|
|
48
|
+
return this.__wbg_ptr = A >>> 0, VA.register(this, this.__wbg_ptr, this), this;
|
|
49
49
|
}
|
|
50
50
|
/**
|
|
51
51
|
* Add a column = value assignment.
|
|
@@ -53,7 +53,7 @@ class BA {
|
|
|
53
53
|
* @param {WasmExpr} value
|
|
54
54
|
*/
|
|
55
55
|
push(A, C) {
|
|
56
|
-
const B =
|
|
56
|
+
const B = k(A, I.__wbindgen_export, I.__wbindgen_export2), Q = M;
|
|
57
57
|
H(C, G), I.wasmassignmentarray_push(this.__wbg_ptr, B, Q, C.__wbg_ptr);
|
|
58
58
|
}
|
|
59
59
|
}
|
|
@@ -82,7 +82,7 @@ class u {
|
|
|
82
82
|
I.wasmcasebuilder_build_expr(Q, this.__wbg_ptr);
|
|
83
83
|
var A = i().getInt32(Q + 0, !0), C = i().getInt32(Q + 4, !0), B = i().getInt32(Q + 8, !0);
|
|
84
84
|
if (B)
|
|
85
|
-
throw
|
|
85
|
+
throw L(C);
|
|
86
86
|
return G.__wrap(A);
|
|
87
87
|
} finally {
|
|
88
88
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
@@ -110,12 +110,12 @@ class u {
|
|
|
110
110
|
to_sql(A) {
|
|
111
111
|
let C, B;
|
|
112
112
|
try {
|
|
113
|
-
const y = I.__wbindgen_add_to_stack_pointer(-16), h =
|
|
114
|
-
I.wasmcasebuilder_to_sql(y, this.__wbg_ptr, h,
|
|
115
|
-
var Q = i().getInt32(y + 0, !0), E = i().getInt32(y + 4, !0), D = i().getInt32(y + 8, !0), o = i().getInt32(y + 12, !0),
|
|
113
|
+
const y = I.__wbindgen_add_to_stack_pointer(-16), h = k(A, I.__wbindgen_export, I.__wbindgen_export2), F = M;
|
|
114
|
+
I.wasmcasebuilder_to_sql(y, this.__wbg_ptr, h, F);
|
|
115
|
+
var Q = i().getInt32(y + 0, !0), E = i().getInt32(y + 4, !0), D = i().getInt32(y + 8, !0), o = i().getInt32(y + 12, !0), N = Q, K = E;
|
|
116
116
|
if (o)
|
|
117
|
-
throw
|
|
118
|
-
return C =
|
|
117
|
+
throw N = 0, K = 0, L(D);
|
|
118
|
+
return C = N, B = K, S(N, K);
|
|
119
119
|
} finally {
|
|
120
120
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
121
121
|
}
|
|
@@ -133,7 +133,7 @@ Symbol.dispose && (u.prototype[Symbol.dispose] = u.prototype.free);
|
|
|
133
133
|
class oA {
|
|
134
134
|
__destroy_into_raw() {
|
|
135
135
|
const A = this.__wbg_ptr;
|
|
136
|
-
return this.__wbg_ptr = 0,
|
|
136
|
+
return this.__wbg_ptr = 0, xA.unregister(this), A;
|
|
137
137
|
}
|
|
138
138
|
free() {
|
|
139
139
|
const A = this.__destroy_into_raw();
|
|
@@ -149,8 +149,8 @@ class oA {
|
|
|
149
149
|
I.wasmdeletebuilder_build(Q, this.__wbg_ptr);
|
|
150
150
|
var A = i().getInt32(Q + 0, !0), C = i().getInt32(Q + 4, !0), B = i().getInt32(Q + 8, !0);
|
|
151
151
|
if (B)
|
|
152
|
-
throw
|
|
153
|
-
return
|
|
152
|
+
throw L(C);
|
|
153
|
+
return L(A);
|
|
154
154
|
} finally {
|
|
155
155
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
156
156
|
}
|
|
@@ -160,8 +160,8 @@ class oA {
|
|
|
160
160
|
* @param {string} table_name
|
|
161
161
|
*/
|
|
162
162
|
constructor(A) {
|
|
163
|
-
const C =
|
|
164
|
-
return this.__wbg_ptr = Q >>> 0,
|
|
163
|
+
const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), B = M, Q = I.wasmdeletebuilder_new(C, B);
|
|
164
|
+
return this.__wbg_ptr = Q >>> 0, xA.register(this, this.__wbg_ptr, this), this;
|
|
165
165
|
}
|
|
166
166
|
/**
|
|
167
167
|
* Generate SQL string for the given dialect.
|
|
@@ -171,12 +171,12 @@ class oA {
|
|
|
171
171
|
to_sql(A) {
|
|
172
172
|
let C, B;
|
|
173
173
|
try {
|
|
174
|
-
const y = I.__wbindgen_add_to_stack_pointer(-16), h =
|
|
175
|
-
I.wasmdeletebuilder_to_sql(y, this.__wbg_ptr, h,
|
|
176
|
-
var Q = i().getInt32(y + 0, !0), E = i().getInt32(y + 4, !0), D = i().getInt32(y + 8, !0), o = i().getInt32(y + 12, !0),
|
|
174
|
+
const y = I.__wbindgen_add_to_stack_pointer(-16), h = k(A, I.__wbindgen_export, I.__wbindgen_export2), F = M;
|
|
175
|
+
I.wasmdeletebuilder_to_sql(y, this.__wbg_ptr, h, F);
|
|
176
|
+
var Q = i().getInt32(y + 0, !0), E = i().getInt32(y + 4, !0), D = i().getInt32(y + 8, !0), o = i().getInt32(y + 12, !0), N = Q, K = E;
|
|
177
177
|
if (o)
|
|
178
|
-
throw
|
|
179
|
-
return C =
|
|
178
|
+
throw N = 0, K = 0, L(D);
|
|
179
|
+
return C = N, B = K, S(N, K);
|
|
180
180
|
} finally {
|
|
181
181
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
182
182
|
}
|
|
@@ -220,7 +220,7 @@ class G {
|
|
|
220
220
|
* @returns {WasmExpr}
|
|
221
221
|
*/
|
|
222
222
|
alias(A) {
|
|
223
|
-
const C =
|
|
223
|
+
const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), B = M, Q = I.wasmexpr_alias(this.__wbg_ptr, C, B);
|
|
224
224
|
return G.__wrap(Q);
|
|
225
225
|
}
|
|
226
226
|
/**
|
|
@@ -258,7 +258,7 @@ class G {
|
|
|
258
258
|
* @returns {WasmExpr}
|
|
259
259
|
*/
|
|
260
260
|
cast(A) {
|
|
261
|
-
const C =
|
|
261
|
+
const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), B = M, Q = I.wasmexpr_cast(this.__wbg_ptr, C, B);
|
|
262
262
|
return G.__wrap(Q);
|
|
263
263
|
}
|
|
264
264
|
/**
|
|
@@ -453,8 +453,8 @@ class G {
|
|
|
453
453
|
I.wasmexpr_to_json(Q, this.__wbg_ptr);
|
|
454
454
|
var A = i().getInt32(Q + 0, !0), C = i().getInt32(Q + 4, !0), B = i().getInt32(Q + 8, !0);
|
|
455
455
|
if (B)
|
|
456
|
-
throw
|
|
457
|
-
return
|
|
456
|
+
throw L(C);
|
|
457
|
+
return L(A);
|
|
458
458
|
} finally {
|
|
459
459
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
460
460
|
}
|
|
@@ -467,12 +467,12 @@ class G {
|
|
|
467
467
|
to_sql(A) {
|
|
468
468
|
let C, B;
|
|
469
469
|
try {
|
|
470
|
-
const y = I.__wbindgen_add_to_stack_pointer(-16), h =
|
|
471
|
-
I.wasmexpr_to_sql(y, this.__wbg_ptr, h,
|
|
472
|
-
var Q = i().getInt32(y + 0, !0), E = i().getInt32(y + 4, !0), D = i().getInt32(y + 8, !0), o = i().getInt32(y + 12, !0),
|
|
470
|
+
const y = I.__wbindgen_add_to_stack_pointer(-16), h = k(A, I.__wbindgen_export, I.__wbindgen_export2), F = M;
|
|
471
|
+
I.wasmexpr_to_sql(y, this.__wbg_ptr, h, F);
|
|
472
|
+
var Q = i().getInt32(y + 0, !0), E = i().getInt32(y + 4, !0), D = i().getInt32(y + 8, !0), o = i().getInt32(y + 12, !0), N = Q, K = E;
|
|
473
473
|
if (o)
|
|
474
|
-
throw
|
|
475
|
-
return C =
|
|
474
|
+
throw N = 0, K = 0, L(D);
|
|
475
|
+
return C = N, B = K, S(N, K);
|
|
476
476
|
} finally {
|
|
477
477
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
478
478
|
}
|
|
@@ -524,7 +524,7 @@ class P {
|
|
|
524
524
|
* @param {string} name
|
|
525
525
|
*/
|
|
526
526
|
push_col(A) {
|
|
527
|
-
const C =
|
|
527
|
+
const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), B = M;
|
|
528
528
|
I.wasmexprarray_push_col(this.__wbg_ptr, C, B);
|
|
529
529
|
}
|
|
530
530
|
/**
|
|
@@ -552,7 +552,7 @@ class P {
|
|
|
552
552
|
* @param {string} value
|
|
553
553
|
*/
|
|
554
554
|
push_str(A) {
|
|
555
|
-
const C =
|
|
555
|
+
const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), B = M;
|
|
556
556
|
I.wasmexprarray_push_str(this.__wbg_ptr, C, B);
|
|
557
557
|
}
|
|
558
558
|
}
|
|
@@ -576,8 +576,8 @@ class MA {
|
|
|
576
576
|
I.wasminsertbuilder_build(Q, this.__wbg_ptr);
|
|
577
577
|
var A = i().getInt32(Q + 0, !0), C = i().getInt32(Q + 4, !0), B = i().getInt32(Q + 8, !0);
|
|
578
578
|
if (B)
|
|
579
|
-
throw
|
|
580
|
-
return
|
|
579
|
+
throw L(C);
|
|
580
|
+
return L(A);
|
|
581
581
|
} finally {
|
|
582
582
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
583
583
|
}
|
|
@@ -587,7 +587,7 @@ class MA {
|
|
|
587
587
|
* @param {string[]} cols
|
|
588
588
|
*/
|
|
589
589
|
columns(A) {
|
|
590
|
-
const C =
|
|
590
|
+
const C = UA(A, I.__wbindgen_export), B = M;
|
|
591
591
|
I.wasminsertbuilder_columns(this.__wbg_ptr, C, B);
|
|
592
592
|
}
|
|
593
593
|
/**
|
|
@@ -595,7 +595,7 @@ class MA {
|
|
|
595
595
|
* @param {string} table_name
|
|
596
596
|
*/
|
|
597
597
|
constructor(A) {
|
|
598
|
-
const C =
|
|
598
|
+
const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), B = M, Q = I.wasminsertbuilder_new(C, B);
|
|
599
599
|
return this.__wbg_ptr = Q >>> 0, rA.register(this, this.__wbg_ptr, this), this;
|
|
600
600
|
}
|
|
601
601
|
/**
|
|
@@ -608,7 +608,7 @@ class MA {
|
|
|
608
608
|
H(A, t), I.wasminsertbuilder_query(Q, this.__wbg_ptr, A.__wbg_ptr);
|
|
609
609
|
var C = i().getInt32(Q + 0, !0), B = i().getInt32(Q + 4, !0);
|
|
610
610
|
if (B)
|
|
611
|
-
throw
|
|
611
|
+
throw L(C);
|
|
612
612
|
} finally {
|
|
613
613
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
614
614
|
}
|
|
@@ -621,12 +621,12 @@ class MA {
|
|
|
621
621
|
to_sql(A) {
|
|
622
622
|
let C, B;
|
|
623
623
|
try {
|
|
624
|
-
const y = I.__wbindgen_add_to_stack_pointer(-16), h =
|
|
625
|
-
I.wasminsertbuilder_to_sql(y, this.__wbg_ptr, h,
|
|
626
|
-
var Q = i().getInt32(y + 0, !0), E = i().getInt32(y + 4, !0), D = i().getInt32(y + 8, !0), o = i().getInt32(y + 12, !0),
|
|
624
|
+
const y = I.__wbindgen_add_to_stack_pointer(-16), h = k(A, I.__wbindgen_export, I.__wbindgen_export2), F = M;
|
|
625
|
+
I.wasminsertbuilder_to_sql(y, this.__wbg_ptr, h, F);
|
|
626
|
+
var Q = i().getInt32(y + 0, !0), E = i().getInt32(y + 4, !0), D = i().getInt32(y + 8, !0), o = i().getInt32(y + 12, !0), N = Q, K = E;
|
|
627
627
|
if (o)
|
|
628
|
-
throw
|
|
629
|
-
return C =
|
|
628
|
+
throw N = 0, K = 0, L(D);
|
|
629
|
+
return C = N, B = K, S(N, K);
|
|
630
630
|
} finally {
|
|
631
631
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
632
632
|
}
|
|
@@ -640,7 +640,7 @@ class MA {
|
|
|
640
640
|
}
|
|
641
641
|
}
|
|
642
642
|
Symbol.dispose && (MA.prototype[Symbol.dispose] = MA.prototype.free);
|
|
643
|
-
class
|
|
643
|
+
class kA {
|
|
644
644
|
__destroy_into_raw() {
|
|
645
645
|
const A = this.__wbg_ptr;
|
|
646
646
|
return this.__wbg_ptr = 0, mA.unregister(this), A;
|
|
@@ -659,8 +659,8 @@ class NA {
|
|
|
659
659
|
I.wasmmergebuilder_build(Q, this.__wbg_ptr);
|
|
660
660
|
var A = i().getInt32(Q + 0, !0), C = i().getInt32(Q + 4, !0), B = i().getInt32(Q + 8, !0);
|
|
661
661
|
if (B)
|
|
662
|
-
throw
|
|
663
|
-
return
|
|
662
|
+
throw L(C);
|
|
663
|
+
return L(A);
|
|
664
664
|
} finally {
|
|
665
665
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
666
666
|
}
|
|
@@ -670,7 +670,7 @@ class NA {
|
|
|
670
670
|
* @param {string} target
|
|
671
671
|
*/
|
|
672
672
|
constructor(A) {
|
|
673
|
-
const C =
|
|
673
|
+
const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), B = M, Q = I.wasmmergebuilder_new(C, B);
|
|
674
674
|
return this.__wbg_ptr = Q >>> 0, mA.register(this, this.__wbg_ptr, this), this;
|
|
675
675
|
}
|
|
676
676
|
/**
|
|
@@ -681,12 +681,12 @@ class NA {
|
|
|
681
681
|
to_sql(A) {
|
|
682
682
|
let C, B;
|
|
683
683
|
try {
|
|
684
|
-
const y = I.__wbindgen_add_to_stack_pointer(-16), h =
|
|
685
|
-
I.wasmmergebuilder_to_sql(y, this.__wbg_ptr, h,
|
|
686
|
-
var Q = i().getInt32(y + 0, !0), E = i().getInt32(y + 4, !0), D = i().getInt32(y + 8, !0), o = i().getInt32(y + 12, !0),
|
|
684
|
+
const y = I.__wbindgen_add_to_stack_pointer(-16), h = k(A, I.__wbindgen_export, I.__wbindgen_export2), F = M;
|
|
685
|
+
I.wasmmergebuilder_to_sql(y, this.__wbg_ptr, h, F);
|
|
686
|
+
var Q = i().getInt32(y + 0, !0), E = i().getInt32(y + 4, !0), D = i().getInt32(y + 8, !0), o = i().getInt32(y + 12, !0), N = Q, K = E;
|
|
687
687
|
if (o)
|
|
688
|
-
throw
|
|
689
|
-
return C =
|
|
688
|
+
throw N = 0, K = 0, L(D);
|
|
689
|
+
return C = N, B = K, S(N, K);
|
|
690
690
|
} finally {
|
|
691
691
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
692
692
|
}
|
|
@@ -697,7 +697,7 @@ class NA {
|
|
|
697
697
|
* @param {WasmExpr} on
|
|
698
698
|
*/
|
|
699
699
|
using(A, C) {
|
|
700
|
-
const B =
|
|
700
|
+
const B = k(A, I.__wbindgen_export, I.__wbindgen_export2), Q = M;
|
|
701
701
|
H(C, G), I.wasmmergebuilder_using(this.__wbg_ptr, B, Q, C.__wbg_ptr);
|
|
702
702
|
}
|
|
703
703
|
/**
|
|
@@ -719,11 +719,11 @@ class NA {
|
|
|
719
719
|
* @param {WasmExprArray} values
|
|
720
720
|
*/
|
|
721
721
|
when_not_matched_insert(A, C) {
|
|
722
|
-
const B =
|
|
722
|
+
const B = UA(A, I.__wbindgen_export), Q = M;
|
|
723
723
|
H(C, P), I.wasmmergebuilder_when_not_matched_insert(this.__wbg_ptr, B, Q, C.__wbg_ptr);
|
|
724
724
|
}
|
|
725
725
|
}
|
|
726
|
-
Symbol.dispose && (
|
|
726
|
+
Symbol.dispose && (kA.prototype[Symbol.dispose] = kA.prototype.free);
|
|
727
727
|
class t {
|
|
728
728
|
__destroy_into_raw() {
|
|
729
729
|
const A = this.__wbg_ptr;
|
|
@@ -743,8 +743,8 @@ class t {
|
|
|
743
743
|
I.wasmselectbuilder_build(Q, this.__wbg_ptr);
|
|
744
744
|
var A = i().getInt32(Q + 0, !0), C = i().getInt32(Q + 4, !0), B = i().getInt32(Q + 8, !0);
|
|
745
745
|
if (B)
|
|
746
|
-
throw
|
|
747
|
-
return
|
|
746
|
+
throw L(C);
|
|
747
|
+
return L(A);
|
|
748
748
|
} finally {
|
|
749
749
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
750
750
|
}
|
|
@@ -754,7 +754,7 @@ class t {
|
|
|
754
754
|
* @param {string} table
|
|
755
755
|
*/
|
|
756
756
|
cross_join(A) {
|
|
757
|
-
const C =
|
|
757
|
+
const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), B = M;
|
|
758
758
|
I.wasmselectbuilder_cross_join(this.__wbg_ptr, C, B);
|
|
759
759
|
}
|
|
760
760
|
/**
|
|
@@ -764,12 +764,12 @@ class t {
|
|
|
764
764
|
*/
|
|
765
765
|
ctas(A) {
|
|
766
766
|
try {
|
|
767
|
-
const E = I.__wbindgen_add_to_stack_pointer(-16), D =
|
|
767
|
+
const E = I.__wbindgen_add_to_stack_pointer(-16), D = k(A, I.__wbindgen_export, I.__wbindgen_export2), o = M;
|
|
768
768
|
I.wasmselectbuilder_ctas(E, this.__wbg_ptr, D, o);
|
|
769
769
|
var C = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0), Q = i().getInt32(E + 8, !0);
|
|
770
770
|
if (Q)
|
|
771
|
-
throw
|
|
772
|
-
return
|
|
771
|
+
throw L(B);
|
|
772
|
+
return L(C);
|
|
773
773
|
} finally {
|
|
774
774
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
775
775
|
}
|
|
@@ -783,12 +783,12 @@ class t {
|
|
|
783
783
|
ctas_sql(A, C) {
|
|
784
784
|
let B, Q;
|
|
785
785
|
try {
|
|
786
|
-
const h = I.__wbindgen_add_to_stack_pointer(-16),
|
|
787
|
-
I.wasmselectbuilder_ctas_sql(h, this.__wbg_ptr,
|
|
788
|
-
var E = i().getInt32(h + 0, !0), D = i().getInt32(h + 4, !0), o = i().getInt32(h + 8, !0),
|
|
789
|
-
if (
|
|
790
|
-
throw K = 0, y = 0,
|
|
791
|
-
return B = K, Q = y,
|
|
786
|
+
const h = I.__wbindgen_add_to_stack_pointer(-16), F = k(A, I.__wbindgen_export, I.__wbindgen_export2), q = M, O = k(C, I.__wbindgen_export, I.__wbindgen_export2), e = M;
|
|
787
|
+
I.wasmselectbuilder_ctas_sql(h, this.__wbg_ptr, F, q, O, e);
|
|
788
|
+
var E = i().getInt32(h + 0, !0), D = i().getInt32(h + 4, !0), o = i().getInt32(h + 8, !0), N = i().getInt32(h + 12, !0), K = E, y = D;
|
|
789
|
+
if (N)
|
|
790
|
+
throw K = 0, y = 0, L(o);
|
|
791
|
+
return B = K, Q = y, S(K, y);
|
|
792
792
|
} finally {
|
|
793
793
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, Q, 1);
|
|
794
794
|
}
|
|
@@ -810,8 +810,8 @@ class t {
|
|
|
810
810
|
H(A, t), I.wasmselectbuilder_except_(E, this.__wbg_ptr, A.__wbg_ptr);
|
|
811
811
|
var C = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0), Q = i().getInt32(E + 8, !0);
|
|
812
812
|
if (Q)
|
|
813
|
-
throw
|
|
814
|
-
return
|
|
813
|
+
throw L(B);
|
|
814
|
+
return V.__wrap(C);
|
|
815
815
|
} finally {
|
|
816
816
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
817
817
|
}
|
|
@@ -827,7 +827,7 @@ class t {
|
|
|
827
827
|
* @param {string} table
|
|
828
828
|
*/
|
|
829
829
|
from(A) {
|
|
830
|
-
const C =
|
|
830
|
+
const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), B = M;
|
|
831
831
|
I.wasmselectbuilder_from(this.__wbg_ptr, C, B);
|
|
832
832
|
}
|
|
833
833
|
/**
|
|
@@ -856,7 +856,7 @@ class t {
|
|
|
856
856
|
* @param {string} hint_text
|
|
857
857
|
*/
|
|
858
858
|
hint(A) {
|
|
859
|
-
const C =
|
|
859
|
+
const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), B = M;
|
|
860
860
|
I.wasmselectbuilder_hint(this.__wbg_ptr, C, B);
|
|
861
861
|
}
|
|
862
862
|
/**
|
|
@@ -870,8 +870,8 @@ class t {
|
|
|
870
870
|
H(A, t), I.wasmselectbuilder_intersect(E, this.__wbg_ptr, A.__wbg_ptr);
|
|
871
871
|
var C = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0), Q = i().getInt32(E + 8, !0);
|
|
872
872
|
if (Q)
|
|
873
|
-
throw
|
|
874
|
-
return
|
|
873
|
+
throw L(B);
|
|
874
|
+
return V.__wrap(C);
|
|
875
875
|
} finally {
|
|
876
876
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
877
877
|
}
|
|
@@ -882,7 +882,7 @@ class t {
|
|
|
882
882
|
* @param {WasmExpr} on
|
|
883
883
|
*/
|
|
884
884
|
join(A, C) {
|
|
885
|
-
const B =
|
|
885
|
+
const B = k(A, I.__wbindgen_export, I.__wbindgen_export2), Q = M;
|
|
886
886
|
H(C, G), I.wasmselectbuilder_join(this.__wbg_ptr, B, Q, C.__wbg_ptr);
|
|
887
887
|
}
|
|
888
888
|
/**
|
|
@@ -893,7 +893,7 @@ class t {
|
|
|
893
893
|
*/
|
|
894
894
|
lateral_view(A, C, B) {
|
|
895
895
|
H(A, G);
|
|
896
|
-
const Q =
|
|
896
|
+
const Q = k(C, I.__wbindgen_export, I.__wbindgen_export2), E = M, D = UA(B, I.__wbindgen_export), o = M;
|
|
897
897
|
I.wasmselectbuilder_lateral_view(this.__wbg_ptr, A.__wbg_ptr, Q, E, D, o);
|
|
898
898
|
}
|
|
899
899
|
/**
|
|
@@ -902,7 +902,7 @@ class t {
|
|
|
902
902
|
* @param {WasmExpr} on
|
|
903
903
|
*/
|
|
904
904
|
left_join(A, C) {
|
|
905
|
-
const B =
|
|
905
|
+
const B = k(A, I.__wbindgen_export, I.__wbindgen_export2), Q = M;
|
|
906
906
|
H(C, G), I.wasmselectbuilder_left_join(this.__wbg_ptr, B, Q, C.__wbg_ptr);
|
|
907
907
|
}
|
|
908
908
|
/**
|
|
@@ -946,7 +946,7 @@ class t {
|
|
|
946
946
|
* @param {WasmExpr} on
|
|
947
947
|
*/
|
|
948
948
|
right_join(A, C) {
|
|
949
|
-
const B =
|
|
949
|
+
const B = k(A, I.__wbindgen_export, I.__wbindgen_export2), Q = M;
|
|
950
950
|
H(C, G), I.wasmselectbuilder_right_join(this.__wbg_ptr, B, Q, C.__wbg_ptr);
|
|
951
951
|
}
|
|
952
952
|
/**
|
|
@@ -954,7 +954,7 @@ class t {
|
|
|
954
954
|
* @param {string} name
|
|
955
955
|
*/
|
|
956
956
|
select_col(A) {
|
|
957
|
-
const C =
|
|
957
|
+
const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), B = M;
|
|
958
958
|
I.wasmselectbuilder_select_col(this.__wbg_ptr, C, B);
|
|
959
959
|
}
|
|
960
960
|
/**
|
|
@@ -992,12 +992,12 @@ class t {
|
|
|
992
992
|
to_sql(A) {
|
|
993
993
|
let C, B;
|
|
994
994
|
try {
|
|
995
|
-
const y = I.__wbindgen_add_to_stack_pointer(-16), h =
|
|
996
|
-
I.wasmselectbuilder_to_sql(y, this.__wbg_ptr, h,
|
|
997
|
-
var Q = i().getInt32(y + 0, !0), E = i().getInt32(y + 4, !0), D = i().getInt32(y + 8, !0), o = i().getInt32(y + 12, !0),
|
|
995
|
+
const y = I.__wbindgen_add_to_stack_pointer(-16), h = k(A, I.__wbindgen_export, I.__wbindgen_export2), F = M;
|
|
996
|
+
I.wasmselectbuilder_to_sql(y, this.__wbg_ptr, h, F);
|
|
997
|
+
var Q = i().getInt32(y + 0, !0), E = i().getInt32(y + 4, !0), D = i().getInt32(y + 8, !0), o = i().getInt32(y + 12, !0), N = Q, K = E;
|
|
998
998
|
if (o)
|
|
999
|
-
throw
|
|
1000
|
-
return C =
|
|
999
|
+
throw N = 0, K = 0, L(D);
|
|
1000
|
+
return C = N, B = K, S(N, K);
|
|
1001
1001
|
} finally {
|
|
1002
1002
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1003
1003
|
}
|
|
@@ -1013,8 +1013,8 @@ class t {
|
|
|
1013
1013
|
H(A, t), I.wasmselectbuilder_union(E, this.__wbg_ptr, A.__wbg_ptr);
|
|
1014
1014
|
var C = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0), Q = i().getInt32(E + 8, !0);
|
|
1015
1015
|
if (Q)
|
|
1016
|
-
throw
|
|
1017
|
-
return
|
|
1016
|
+
throw L(B);
|
|
1017
|
+
return V.__wrap(C);
|
|
1018
1018
|
} finally {
|
|
1019
1019
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
1020
1020
|
}
|
|
@@ -1030,8 +1030,8 @@ class t {
|
|
|
1030
1030
|
H(A, t), I.wasmselectbuilder_union_all(E, this.__wbg_ptr, A.__wbg_ptr);
|
|
1031
1031
|
var C = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0), Q = i().getInt32(E + 8, !0);
|
|
1032
1032
|
if (Q)
|
|
1033
|
-
throw
|
|
1034
|
-
return
|
|
1033
|
+
throw L(B);
|
|
1034
|
+
return V.__wrap(C);
|
|
1035
1035
|
} finally {
|
|
1036
1036
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
1037
1037
|
}
|
|
@@ -1048,7 +1048,7 @@ class t {
|
|
|
1048
1048
|
* @param {string} sql
|
|
1049
1049
|
*/
|
|
1050
1050
|
where_sql(A) {
|
|
1051
|
-
const C =
|
|
1051
|
+
const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), B = M;
|
|
1052
1052
|
I.wasmselectbuilder_where_sql(this.__wbg_ptr, C, B);
|
|
1053
1053
|
}
|
|
1054
1054
|
/**
|
|
@@ -1058,21 +1058,21 @@ class t {
|
|
|
1058
1058
|
*/
|
|
1059
1059
|
window(A, C) {
|
|
1060
1060
|
try {
|
|
1061
|
-
const E = I.__wbindgen_add_to_stack_pointer(-16), D =
|
|
1061
|
+
const E = I.__wbindgen_add_to_stack_pointer(-16), D = k(A, I.__wbindgen_export, I.__wbindgen_export2), o = M;
|
|
1062
1062
|
H(C, QA), I.wasmselectbuilder_window(E, this.__wbg_ptr, D, o, C.__wbg_ptr);
|
|
1063
1063
|
var B = i().getInt32(E + 0, !0), Q = i().getInt32(E + 4, !0);
|
|
1064
1064
|
if (Q)
|
|
1065
|
-
throw
|
|
1065
|
+
throw L(B);
|
|
1066
1066
|
} finally {
|
|
1067
1067
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
1068
1068
|
}
|
|
1069
1069
|
}
|
|
1070
1070
|
}
|
|
1071
1071
|
Symbol.dispose && (t.prototype[Symbol.dispose] = t.prototype.free);
|
|
1072
|
-
class
|
|
1072
|
+
class V {
|
|
1073
1073
|
static __wrap(A) {
|
|
1074
1074
|
A = A >>> 0;
|
|
1075
|
-
const C = Object.create(
|
|
1075
|
+
const C = Object.create(V.prototype);
|
|
1076
1076
|
return C.__wbg_ptr = A, bA.register(C, C.__wbg_ptr, C), C;
|
|
1077
1077
|
}
|
|
1078
1078
|
__destroy_into_raw() {
|
|
@@ -1093,8 +1093,8 @@ class W {
|
|
|
1093
1093
|
I.wasmsetopbuilder_build(Q, this.__wbg_ptr);
|
|
1094
1094
|
var A = i().getInt32(Q + 0, !0), C = i().getInt32(Q + 4, !0), B = i().getInt32(Q + 8, !0);
|
|
1095
1095
|
if (B)
|
|
1096
|
-
throw
|
|
1097
|
-
return
|
|
1096
|
+
throw L(C);
|
|
1097
|
+
return L(A);
|
|
1098
1098
|
} finally {
|
|
1099
1099
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
1100
1100
|
}
|
|
@@ -1128,19 +1128,19 @@ class W {
|
|
|
1128
1128
|
to_sql(A) {
|
|
1129
1129
|
let C, B;
|
|
1130
1130
|
try {
|
|
1131
|
-
const y = I.__wbindgen_add_to_stack_pointer(-16), h =
|
|
1132
|
-
I.wasmsetopbuilder_to_sql(y, this.__wbg_ptr, h,
|
|
1133
|
-
var Q = i().getInt32(y + 0, !0), E = i().getInt32(y + 4, !0), D = i().getInt32(y + 8, !0), o = i().getInt32(y + 12, !0),
|
|
1131
|
+
const y = I.__wbindgen_add_to_stack_pointer(-16), h = k(A, I.__wbindgen_export, I.__wbindgen_export2), F = M;
|
|
1132
|
+
I.wasmsetopbuilder_to_sql(y, this.__wbg_ptr, h, F);
|
|
1133
|
+
var Q = i().getInt32(y + 0, !0), E = i().getInt32(y + 4, !0), D = i().getInt32(y + 8, !0), o = i().getInt32(y + 12, !0), N = Q, K = E;
|
|
1134
1134
|
if (o)
|
|
1135
|
-
throw
|
|
1136
|
-
return C =
|
|
1135
|
+
throw N = 0, K = 0, L(D);
|
|
1136
|
+
return C = N, B = K, S(N, K);
|
|
1137
1137
|
} finally {
|
|
1138
1138
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1139
1139
|
}
|
|
1140
1140
|
}
|
|
1141
1141
|
}
|
|
1142
|
-
Symbol.dispose && (
|
|
1143
|
-
class
|
|
1142
|
+
Symbol.dispose && (V.prototype[Symbol.dispose] = V.prototype.free);
|
|
1143
|
+
class NA {
|
|
1144
1144
|
__destroy_into_raw() {
|
|
1145
1145
|
const A = this.__wbg_ptr;
|
|
1146
1146
|
return this.__wbg_ptr = 0, vA.unregister(this), A;
|
|
@@ -1159,8 +1159,8 @@ class kA {
|
|
|
1159
1159
|
I.wasmupdatebuilder_build(Q, this.__wbg_ptr);
|
|
1160
1160
|
var A = i().getInt32(Q + 0, !0), C = i().getInt32(Q + 4, !0), B = i().getInt32(Q + 8, !0);
|
|
1161
1161
|
if (B)
|
|
1162
|
-
throw
|
|
1163
|
-
return
|
|
1162
|
+
throw L(C);
|
|
1163
|
+
return L(A);
|
|
1164
1164
|
} finally {
|
|
1165
1165
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
1166
1166
|
}
|
|
@@ -1170,7 +1170,7 @@ class kA {
|
|
|
1170
1170
|
* @param {string} table
|
|
1171
1171
|
*/
|
|
1172
1172
|
from(A) {
|
|
1173
|
-
const C =
|
|
1173
|
+
const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), B = M;
|
|
1174
1174
|
I.wasmupdatebuilder_from(this.__wbg_ptr, C, B);
|
|
1175
1175
|
}
|
|
1176
1176
|
/**
|
|
@@ -1178,7 +1178,7 @@ class kA {
|
|
|
1178
1178
|
* @param {string} table_name
|
|
1179
1179
|
*/
|
|
1180
1180
|
constructor(A) {
|
|
1181
|
-
const C =
|
|
1181
|
+
const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), B = M, Q = I.wasmupdatebuilder_new(C, B);
|
|
1182
1182
|
return this.__wbg_ptr = Q >>> 0, vA.register(this, this.__wbg_ptr, this), this;
|
|
1183
1183
|
}
|
|
1184
1184
|
/**
|
|
@@ -1187,7 +1187,7 @@ class kA {
|
|
|
1187
1187
|
* @param {WasmExpr} value
|
|
1188
1188
|
*/
|
|
1189
1189
|
set(A, C) {
|
|
1190
|
-
const B =
|
|
1190
|
+
const B = k(A, I.__wbindgen_export, I.__wbindgen_export2), Q = M;
|
|
1191
1191
|
H(C, G), I.wasmupdatebuilder_set(this.__wbg_ptr, B, Q, C.__wbg_ptr);
|
|
1192
1192
|
}
|
|
1193
1193
|
/**
|
|
@@ -1198,12 +1198,12 @@ class kA {
|
|
|
1198
1198
|
to_sql(A) {
|
|
1199
1199
|
let C, B;
|
|
1200
1200
|
try {
|
|
1201
|
-
const y = I.__wbindgen_add_to_stack_pointer(-16), h =
|
|
1202
|
-
I.wasmupdatebuilder_to_sql(y, this.__wbg_ptr, h,
|
|
1203
|
-
var Q = i().getInt32(y + 0, !0), E = i().getInt32(y + 4, !0), D = i().getInt32(y + 8, !0), o = i().getInt32(y + 12, !0),
|
|
1201
|
+
const y = I.__wbindgen_add_to_stack_pointer(-16), h = k(A, I.__wbindgen_export, I.__wbindgen_export2), F = M;
|
|
1202
|
+
I.wasmupdatebuilder_to_sql(y, this.__wbg_ptr, h, F);
|
|
1203
|
+
var Q = i().getInt32(y + 0, !0), E = i().getInt32(y + 4, !0), D = i().getInt32(y + 8, !0), o = i().getInt32(y + 12, !0), N = Q, K = E;
|
|
1204
1204
|
if (o)
|
|
1205
|
-
throw
|
|
1206
|
-
return C =
|
|
1205
|
+
throw N = 0, K = 0, L(D);
|
|
1206
|
+
return C = N, B = K, S(N, K);
|
|
1207
1207
|
} finally {
|
|
1208
1208
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1209
1209
|
}
|
|
@@ -1216,7 +1216,7 @@ class kA {
|
|
|
1216
1216
|
H(A, G), I.wasmupdatebuilder_where_expr(this.__wbg_ptr, A.__wbg_ptr);
|
|
1217
1217
|
}
|
|
1218
1218
|
}
|
|
1219
|
-
Symbol.dispose && (
|
|
1219
|
+
Symbol.dispose && (NA.prototype[Symbol.dispose] = NA.prototype.free);
|
|
1220
1220
|
class QA {
|
|
1221
1221
|
__destroy_into_raw() {
|
|
1222
1222
|
const A = this.__wbg_ptr;
|
|
@@ -1252,40 +1252,40 @@ Symbol.dispose && (QA.prototype[Symbol.dispose] = QA.prototype.free);
|
|
|
1252
1252
|
function sI(g, A) {
|
|
1253
1253
|
let C, B;
|
|
1254
1254
|
try {
|
|
1255
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16), o =
|
|
1256
|
-
I.analyze_query(D, o,
|
|
1255
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), o = k(g, I.__wbindgen_export, I.__wbindgen_export2), N = M, K = k(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
1256
|
+
I.analyze_query(D, o, N, K, y);
|
|
1257
1257
|
var Q = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
|
|
1258
|
-
return C = Q, B = E,
|
|
1258
|
+
return C = Q, B = E, S(Q, E);
|
|
1259
1259
|
} finally {
|
|
1260
1260
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1261
1261
|
}
|
|
1262
1262
|
}
|
|
1263
1263
|
function aI(g, A) {
|
|
1264
|
-
const C =
|
|
1265
|
-
return
|
|
1264
|
+
const C = k(g, I.__wbindgen_export, I.__wbindgen_export2), B = M, Q = I.analyze_query_value(C, B, a(A));
|
|
1265
|
+
return L(Q);
|
|
1266
1266
|
}
|
|
1267
1267
|
function qI(g, A, C) {
|
|
1268
1268
|
let B, Q;
|
|
1269
1269
|
try {
|
|
1270
|
-
const o = I.__wbindgen_add_to_stack_pointer(-16),
|
|
1271
|
-
I.annotate_types(o,
|
|
1270
|
+
const o = I.__wbindgen_add_to_stack_pointer(-16), N = k(g, I.__wbindgen_export, I.__wbindgen_export2), K = M, y = k(A, I.__wbindgen_export, I.__wbindgen_export2), h = M, F = k(C, I.__wbindgen_export, I.__wbindgen_export2), q = M;
|
|
1271
|
+
I.annotate_types(o, N, K, y, h, F, q);
|
|
1272
1272
|
var E = i().getInt32(o + 0, !0), D = i().getInt32(o + 4, !0);
|
|
1273
|
-
return B = E, Q = D,
|
|
1273
|
+
return B = E, Q = D, S(E, D);
|
|
1274
1274
|
} finally {
|
|
1275
1275
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, Q, 1);
|
|
1276
1276
|
}
|
|
1277
1277
|
}
|
|
1278
1278
|
function pI(g, A, C) {
|
|
1279
|
-
const B =
|
|
1280
|
-
return
|
|
1279
|
+
const B = k(g, I.__wbindgen_export, I.__wbindgen_export2), Q = M, E = k(A, I.__wbindgen_export, I.__wbindgen_export2), D = M, o = k(C, I.__wbindgen_export, I.__wbindgen_export2), N = M, K = I.annotate_types_value(B, Q, E, D, o, N);
|
|
1280
|
+
return L(K);
|
|
1281
1281
|
}
|
|
1282
1282
|
function $A(g, A, C) {
|
|
1283
1283
|
let B, Q;
|
|
1284
1284
|
try {
|
|
1285
|
-
const o = I.__wbindgen_add_to_stack_pointer(-16),
|
|
1286
|
-
I.ast_add_where(o,
|
|
1285
|
+
const o = I.__wbindgen_add_to_stack_pointer(-16), N = k(g, I.__wbindgen_export, I.__wbindgen_export2), K = M, y = k(A, I.__wbindgen_export, I.__wbindgen_export2), h = M;
|
|
1286
|
+
I.ast_add_where(o, N, K, y, h, C);
|
|
1287
1287
|
var E = i().getInt32(o + 0, !0), D = i().getInt32(o + 4, !0);
|
|
1288
|
-
return B = E, Q = D,
|
|
1288
|
+
return B = E, Q = D, S(E, D);
|
|
1289
1289
|
} finally {
|
|
1290
1290
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, Q, 1);
|
|
1291
1291
|
}
|
|
@@ -1293,10 +1293,10 @@ function $A(g, A, C) {
|
|
|
1293
1293
|
function Ag(g) {
|
|
1294
1294
|
let A, C;
|
|
1295
1295
|
try {
|
|
1296
|
-
const E = I.__wbindgen_add_to_stack_pointer(-16), D =
|
|
1296
|
+
const E = I.__wbindgen_add_to_stack_pointer(-16), D = k(g, I.__wbindgen_export, I.__wbindgen_export2), o = M;
|
|
1297
1297
|
I.ast_get_aggregate_functions(E, D, o);
|
|
1298
1298
|
var B = i().getInt32(E + 0, !0), Q = i().getInt32(E + 4, !0);
|
|
1299
|
-
return A = B, C = Q,
|
|
1299
|
+
return A = B, C = Q, S(B, Q);
|
|
1300
1300
|
} finally {
|
|
1301
1301
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
|
|
1302
1302
|
}
|
|
@@ -1304,10 +1304,10 @@ function Ag(g) {
|
|
|
1304
1304
|
function gg(g) {
|
|
1305
1305
|
let A, C;
|
|
1306
1306
|
try {
|
|
1307
|
-
const E = I.__wbindgen_add_to_stack_pointer(-16), D =
|
|
1307
|
+
const E = I.__wbindgen_add_to_stack_pointer(-16), D = k(g, I.__wbindgen_export, I.__wbindgen_export2), o = M;
|
|
1308
1308
|
I.ast_get_column_names(E, D, o);
|
|
1309
1309
|
var B = i().getInt32(E + 0, !0), Q = i().getInt32(E + 4, !0);
|
|
1310
|
-
return A = B, C = Q,
|
|
1310
|
+
return A = B, C = Q, S(B, Q);
|
|
1311
1311
|
} finally {
|
|
1312
1312
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
|
|
1313
1313
|
}
|
|
@@ -1315,10 +1315,10 @@ function gg(g) {
|
|
|
1315
1315
|
function Ig(g) {
|
|
1316
1316
|
let A, C;
|
|
1317
1317
|
try {
|
|
1318
|
-
const E = I.__wbindgen_add_to_stack_pointer(-16), D =
|
|
1318
|
+
const E = I.__wbindgen_add_to_stack_pointer(-16), D = k(g, I.__wbindgen_export, I.__wbindgen_export2), o = M;
|
|
1319
1319
|
I.ast_get_functions(E, D, o);
|
|
1320
1320
|
var B = i().getInt32(E + 0, !0), Q = i().getInt32(E + 4, !0);
|
|
1321
|
-
return A = B, C = Q,
|
|
1321
|
+
return A = B, C = Q, S(B, Q);
|
|
1322
1322
|
} finally {
|
|
1323
1323
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
|
|
1324
1324
|
}
|
|
@@ -1326,10 +1326,10 @@ function Ig(g) {
|
|
|
1326
1326
|
function Cg(g) {
|
|
1327
1327
|
let A, C;
|
|
1328
1328
|
try {
|
|
1329
|
-
const E = I.__wbindgen_add_to_stack_pointer(-16), D =
|
|
1329
|
+
const E = I.__wbindgen_add_to_stack_pointer(-16), D = k(g, I.__wbindgen_export, I.__wbindgen_export2), o = M;
|
|
1330
1330
|
I.ast_get_literals(E, D, o);
|
|
1331
1331
|
var B = i().getInt32(E + 0, !0), Q = i().getInt32(E + 4, !0);
|
|
1332
|
-
return A = B, C = Q,
|
|
1332
|
+
return A = B, C = Q, S(B, Q);
|
|
1333
1333
|
} finally {
|
|
1334
1334
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
|
|
1335
1335
|
}
|
|
@@ -1337,10 +1337,10 @@ function Cg(g) {
|
|
|
1337
1337
|
function Bg(g) {
|
|
1338
1338
|
let A, C;
|
|
1339
1339
|
try {
|
|
1340
|
-
const E = I.__wbindgen_add_to_stack_pointer(-16), D =
|
|
1340
|
+
const E = I.__wbindgen_add_to_stack_pointer(-16), D = k(g, I.__wbindgen_export, I.__wbindgen_export2), o = M;
|
|
1341
1341
|
I.ast_get_subqueries(E, D, o);
|
|
1342
1342
|
var B = i().getInt32(E + 0, !0), Q = i().getInt32(E + 4, !0);
|
|
1343
|
-
return A = B, C = Q,
|
|
1343
|
+
return A = B, C = Q, S(B, Q);
|
|
1344
1344
|
} finally {
|
|
1345
1345
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
|
|
1346
1346
|
}
|
|
@@ -1348,10 +1348,10 @@ function Bg(g) {
|
|
|
1348
1348
|
function Qg(g) {
|
|
1349
1349
|
let A, C;
|
|
1350
1350
|
try {
|
|
1351
|
-
const E = I.__wbindgen_add_to_stack_pointer(-16), D =
|
|
1351
|
+
const E = I.__wbindgen_add_to_stack_pointer(-16), D = k(g, I.__wbindgen_export, I.__wbindgen_export2), o = M;
|
|
1352
1352
|
I.ast_get_table_names(E, D, o);
|
|
1353
1353
|
var B = i().getInt32(E + 0, !0), Q = i().getInt32(E + 4, !0);
|
|
1354
|
-
return A = B, C = Q,
|
|
1354
|
+
return A = B, C = Q, S(B, Q);
|
|
1355
1355
|
} finally {
|
|
1356
1356
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
|
|
1357
1357
|
}
|
|
@@ -1359,10 +1359,10 @@ function Qg(g) {
|
|
|
1359
1359
|
function Eg(g) {
|
|
1360
1360
|
let A, C;
|
|
1361
1361
|
try {
|
|
1362
|
-
const E = I.__wbindgen_add_to_stack_pointer(-16), D =
|
|
1362
|
+
const E = I.__wbindgen_add_to_stack_pointer(-16), D = k(g, I.__wbindgen_export, I.__wbindgen_export2), o = M;
|
|
1363
1363
|
I.ast_get_window_functions(E, D, o);
|
|
1364
1364
|
var B = i().getInt32(E + 0, !0), Q = i().getInt32(E + 4, !0);
|
|
1365
|
-
return A = B, C = Q,
|
|
1365
|
+
return A = B, C = Q, S(B, Q);
|
|
1366
1366
|
} finally {
|
|
1367
1367
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
|
|
1368
1368
|
}
|
|
@@ -1370,10 +1370,10 @@ function Eg(g) {
|
|
|
1370
1370
|
function Dg(g) {
|
|
1371
1371
|
let A, C;
|
|
1372
1372
|
try {
|
|
1373
|
-
const E = I.__wbindgen_add_to_stack_pointer(-16), D =
|
|
1373
|
+
const E = I.__wbindgen_add_to_stack_pointer(-16), D = k(g, I.__wbindgen_export, I.__wbindgen_export2), o = M;
|
|
1374
1374
|
I.ast_node_count(E, D, o);
|
|
1375
1375
|
var B = i().getInt32(E + 0, !0), Q = i().getInt32(E + 4, !0);
|
|
1376
|
-
return A = B, C = Q,
|
|
1376
|
+
return A = B, C = Q, S(B, Q);
|
|
1377
1377
|
} finally {
|
|
1378
1378
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
|
|
1379
1379
|
}
|
|
@@ -1381,10 +1381,10 @@ function Dg(g) {
|
|
|
1381
1381
|
function wg(g, A) {
|
|
1382
1382
|
let C, B;
|
|
1383
1383
|
try {
|
|
1384
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16), o =
|
|
1385
|
-
I.ast_qualify_columns(D, o,
|
|
1384
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), o = k(g, I.__wbindgen_export, I.__wbindgen_export2), N = M, K = k(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
1385
|
+
I.ast_qualify_columns(D, o, N, K, y);
|
|
1386
1386
|
var Q = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
|
|
1387
|
-
return C = Q, B = E,
|
|
1387
|
+
return C = Q, B = E, S(Q, E);
|
|
1388
1388
|
} finally {
|
|
1389
1389
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1390
1390
|
}
|
|
@@ -1392,10 +1392,10 @@ function wg(g, A) {
|
|
|
1392
1392
|
function ig(g, A) {
|
|
1393
1393
|
let C, B;
|
|
1394
1394
|
try {
|
|
1395
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16), o =
|
|
1396
|
-
I.ast_qualify_tables(D, o,
|
|
1395
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), o = k(g, I.__wbindgen_export, I.__wbindgen_export2), N = M, K = k(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
1396
|
+
I.ast_qualify_tables(D, o, N, K, y);
|
|
1397
1397
|
var Q = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
|
|
1398
|
-
return C = Q, B = E,
|
|
1398
|
+
return C = Q, B = E, S(Q, E);
|
|
1399
1399
|
} finally {
|
|
1400
1400
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1401
1401
|
}
|
|
@@ -1403,10 +1403,10 @@ function ig(g, A) {
|
|
|
1403
1403
|
function og(g) {
|
|
1404
1404
|
let A, C;
|
|
1405
1405
|
try {
|
|
1406
|
-
const E = I.__wbindgen_add_to_stack_pointer(-16), D =
|
|
1406
|
+
const E = I.__wbindgen_add_to_stack_pointer(-16), D = k(g, I.__wbindgen_export, I.__wbindgen_export2), o = M;
|
|
1407
1407
|
I.ast_remove_where(E, D, o);
|
|
1408
1408
|
var B = i().getInt32(E + 0, !0), Q = i().getInt32(E + 4, !0);
|
|
1409
|
-
return A = B, C = Q,
|
|
1409
|
+
return A = B, C = Q, S(B, Q);
|
|
1410
1410
|
} finally {
|
|
1411
1411
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
|
|
1412
1412
|
}
|
|
@@ -1414,32 +1414,32 @@ function og(g) {
|
|
|
1414
1414
|
function Mg(g, A) {
|
|
1415
1415
|
let C, B;
|
|
1416
1416
|
try {
|
|
1417
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16), o =
|
|
1418
|
-
I.ast_rename_columns(D, o,
|
|
1417
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), o = k(g, I.__wbindgen_export, I.__wbindgen_export2), N = M, K = k(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
1418
|
+
I.ast_rename_columns(D, o, N, K, y);
|
|
1419
1419
|
var Q = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
|
|
1420
|
-
return C = Q, B = E,
|
|
1420
|
+
return C = Q, B = E, S(Q, E);
|
|
1421
1421
|
} finally {
|
|
1422
1422
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1423
1423
|
}
|
|
1424
1424
|
}
|
|
1425
|
-
function
|
|
1425
|
+
function kg(g, A) {
|
|
1426
1426
|
let C, B;
|
|
1427
1427
|
try {
|
|
1428
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16), o =
|
|
1429
|
-
I.ast_rename_tables(D, o,
|
|
1428
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), o = k(g, I.__wbindgen_export, I.__wbindgen_export2), N = M, K = k(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
1429
|
+
I.ast_rename_tables(D, o, N, K, y);
|
|
1430
1430
|
var Q = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
|
|
1431
|
-
return C = Q, B = E,
|
|
1431
|
+
return C = Q, B = E, S(Q, E);
|
|
1432
1432
|
} finally {
|
|
1433
1433
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1434
1434
|
}
|
|
1435
1435
|
}
|
|
1436
|
-
function
|
|
1436
|
+
function Ng(g, A, C) {
|
|
1437
1437
|
let B, Q;
|
|
1438
1438
|
try {
|
|
1439
|
-
const o = I.__wbindgen_add_to_stack_pointer(-16),
|
|
1440
|
-
I.ast_rename_tables_with_options(o,
|
|
1439
|
+
const o = I.__wbindgen_add_to_stack_pointer(-16), N = k(g, I.__wbindgen_export, I.__wbindgen_export2), K = M, y = k(A, I.__wbindgen_export, I.__wbindgen_export2), h = M, F = k(C, I.__wbindgen_export, I.__wbindgen_export2), q = M;
|
|
1440
|
+
I.ast_rename_tables_with_options(o, N, K, y, h, F, q);
|
|
1441
1441
|
var E = i().getInt32(o + 0, !0), D = i().getInt32(o + 4, !0);
|
|
1442
|
-
return B = E, Q = D,
|
|
1442
|
+
return B = E, Q = D, S(E, D);
|
|
1443
1443
|
} finally {
|
|
1444
1444
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, Q, 1);
|
|
1445
1445
|
}
|
|
@@ -1447,10 +1447,10 @@ function kg(g, A, C) {
|
|
|
1447
1447
|
function yg(g, A) {
|
|
1448
1448
|
let C, B;
|
|
1449
1449
|
try {
|
|
1450
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16), o =
|
|
1451
|
-
I.ast_set_distinct(D, o,
|
|
1450
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), o = k(g, I.__wbindgen_export, I.__wbindgen_export2), N = M;
|
|
1451
|
+
I.ast_set_distinct(D, o, N, A);
|
|
1452
1452
|
var Q = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
|
|
1453
|
-
return C = Q, B = E,
|
|
1453
|
+
return C = Q, B = E, S(Q, E);
|
|
1454
1454
|
} finally {
|
|
1455
1455
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1456
1456
|
}
|
|
@@ -1458,10 +1458,10 @@ function yg(g, A) {
|
|
|
1458
1458
|
function Kg(g, A) {
|
|
1459
1459
|
let C, B;
|
|
1460
1460
|
try {
|
|
1461
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16), o =
|
|
1462
|
-
I.ast_set_limit(D, o,
|
|
1461
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), o = k(g, I.__wbindgen_export, I.__wbindgen_export2), N = M;
|
|
1462
|
+
I.ast_set_limit(D, o, N, A);
|
|
1463
1463
|
var Q = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
|
|
1464
|
-
return C = Q, B = E,
|
|
1464
|
+
return C = Q, B = E, S(Q, E);
|
|
1465
1465
|
} finally {
|
|
1466
1466
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1467
1467
|
}
|
|
@@ -1469,10 +1469,10 @@ function Kg(g, A) {
|
|
|
1469
1469
|
function Gg(g, A, C, B, Q, E) {
|
|
1470
1470
|
let D, o;
|
|
1471
1471
|
try {
|
|
1472
|
-
const y = I.__wbindgen_add_to_stack_pointer(-16), h =
|
|
1473
|
-
I.diff_sql(y, h,
|
|
1474
|
-
var
|
|
1475
|
-
return D =
|
|
1472
|
+
const y = I.__wbindgen_add_to_stack_pointer(-16), h = k(g, I.__wbindgen_export, I.__wbindgen_export2), F = M, q = k(A, I.__wbindgen_export, I.__wbindgen_export2), O = M, e = k(C, I.__wbindgen_export, I.__wbindgen_export2), r = M;
|
|
1473
|
+
I.diff_sql(y, h, F, q, O, e, r, B, Q, E);
|
|
1474
|
+
var N = i().getInt32(y + 0, !0), K = i().getInt32(y + 4, !0);
|
|
1475
|
+
return D = N, o = K, S(N, K);
|
|
1476
1476
|
} finally {
|
|
1477
1477
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(D, o, 1);
|
|
1478
1478
|
}
|
|
@@ -1480,40 +1480,40 @@ function Gg(g, A, C, B, Q, E) {
|
|
|
1480
1480
|
function PI(g, A) {
|
|
1481
1481
|
let C, B;
|
|
1482
1482
|
try {
|
|
1483
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16), o =
|
|
1484
|
-
I.format_sql(D, o,
|
|
1483
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), o = k(g, I.__wbindgen_export, I.__wbindgen_export2), N = M, K = k(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
1484
|
+
I.format_sql(D, o, N, K, y);
|
|
1485
1485
|
var Q = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
|
|
1486
|
-
return C = Q, B = E,
|
|
1486
|
+
return C = Q, B = E, S(Q, E);
|
|
1487
1487
|
} finally {
|
|
1488
1488
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1489
1489
|
}
|
|
1490
1490
|
}
|
|
1491
|
-
function
|
|
1492
|
-
const C =
|
|
1493
|
-
return
|
|
1491
|
+
function OI(g, A) {
|
|
1492
|
+
const C = k(g, I.__wbindgen_export, I.__wbindgen_export2), B = M, Q = k(A, I.__wbindgen_export, I.__wbindgen_export2), E = M, D = I.format_sql_value(C, B, Q, E);
|
|
1493
|
+
return L(D);
|
|
1494
1494
|
}
|
|
1495
|
-
function
|
|
1495
|
+
function TI(g, A, C) {
|
|
1496
1496
|
let B, Q;
|
|
1497
1497
|
try {
|
|
1498
|
-
const o = I.__wbindgen_add_to_stack_pointer(-16),
|
|
1499
|
-
I.format_sql_with_options(o,
|
|
1498
|
+
const o = I.__wbindgen_add_to_stack_pointer(-16), N = k(g, I.__wbindgen_export, I.__wbindgen_export2), K = M, y = k(A, I.__wbindgen_export, I.__wbindgen_export2), h = M, F = k(C, I.__wbindgen_export, I.__wbindgen_export2), q = M;
|
|
1499
|
+
I.format_sql_with_options(o, N, K, y, h, F, q);
|
|
1500
1500
|
var E = i().getInt32(o + 0, !0), D = i().getInt32(o + 4, !0);
|
|
1501
|
-
return B = E, Q = D,
|
|
1501
|
+
return B = E, Q = D, S(E, D);
|
|
1502
1502
|
} finally {
|
|
1503
1503
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, Q, 1);
|
|
1504
1504
|
}
|
|
1505
1505
|
}
|
|
1506
1506
|
function jI(g, A, C) {
|
|
1507
|
-
const B =
|
|
1508
|
-
return
|
|
1507
|
+
const B = k(g, I.__wbindgen_export, I.__wbindgen_export2), Q = M, E = k(A, I.__wbindgen_export, I.__wbindgen_export2), D = M, o = I.format_sql_with_options_value(B, Q, E, D, a(C));
|
|
1508
|
+
return L(o);
|
|
1509
1509
|
}
|
|
1510
1510
|
function tI(g, A) {
|
|
1511
1511
|
let C, B;
|
|
1512
1512
|
try {
|
|
1513
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16), o =
|
|
1514
|
-
I.generate(D, o,
|
|
1513
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), o = k(g, I.__wbindgen_export, I.__wbindgen_export2), N = M, K = k(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
1514
|
+
I.generate(D, o, N, K, y);
|
|
1515
1515
|
var Q = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
|
|
1516
|
-
return C = Q, B = E,
|
|
1516
|
+
return C = Q, B = E, S(Q, E);
|
|
1517
1517
|
} finally {
|
|
1518
1518
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1519
1519
|
}
|
|
@@ -1521,44 +1521,44 @@ function tI(g, A) {
|
|
|
1521
1521
|
function fI(g, A) {
|
|
1522
1522
|
let C, B;
|
|
1523
1523
|
try {
|
|
1524
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16), o =
|
|
1525
|
-
I.generate_data_type(D, o,
|
|
1524
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), o = k(g, I.__wbindgen_export, I.__wbindgen_export2), N = M, K = k(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
1525
|
+
I.generate_data_type(D, o, N, K, y);
|
|
1526
1526
|
var Q = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
|
|
1527
|
-
return C = Q, B = E,
|
|
1527
|
+
return C = Q, B = E, S(Q, E);
|
|
1528
1528
|
} finally {
|
|
1529
1529
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1530
1530
|
}
|
|
1531
1531
|
}
|
|
1532
|
-
function
|
|
1533
|
-
const C =
|
|
1534
|
-
return
|
|
1532
|
+
function ZI(g, A) {
|
|
1533
|
+
const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), B = M, Q = I.generate_data_type_value(a(g), C, B);
|
|
1534
|
+
return L(Q);
|
|
1535
1535
|
}
|
|
1536
1536
|
function zI(g, A) {
|
|
1537
|
-
const C =
|
|
1538
|
-
return
|
|
1537
|
+
const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), B = M, Q = I.generate_value(a(g), C, B);
|
|
1538
|
+
return L(Q);
|
|
1539
1539
|
}
|
|
1540
|
-
function
|
|
1540
|
+
function dI() {
|
|
1541
1541
|
let g, A;
|
|
1542
1542
|
try {
|
|
1543
1543
|
const Q = I.__wbindgen_add_to_stack_pointer(-16);
|
|
1544
1544
|
I.get_dialects(Q);
|
|
1545
1545
|
var C = i().getInt32(Q + 0, !0), B = i().getInt32(Q + 4, !0);
|
|
1546
|
-
return g = C, A = B,
|
|
1546
|
+
return g = C, A = B, S(C, B);
|
|
1547
1547
|
} finally {
|
|
1548
1548
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(g, A, 1);
|
|
1549
1549
|
}
|
|
1550
1550
|
}
|
|
1551
1551
|
function eI() {
|
|
1552
1552
|
const g = I.get_dialects_value();
|
|
1553
|
-
return
|
|
1553
|
+
return L(g);
|
|
1554
1554
|
}
|
|
1555
1555
|
function Yg(g, A, C, B) {
|
|
1556
1556
|
let Q, E;
|
|
1557
1557
|
try {
|
|
1558
|
-
const
|
|
1559
|
-
I.lineage_sql(
|
|
1560
|
-
var D = i().getInt32(
|
|
1561
|
-
return Q = D, E = o,
|
|
1558
|
+
const N = I.__wbindgen_add_to_stack_pointer(-16), K = k(g, I.__wbindgen_export, I.__wbindgen_export2), y = M, h = k(A, I.__wbindgen_export, I.__wbindgen_export2), F = M, q = k(C, I.__wbindgen_export, I.__wbindgen_export2), O = M;
|
|
1559
|
+
I.lineage_sql(N, K, y, h, F, q, O, B);
|
|
1560
|
+
var D = i().getInt32(N + 0, !0), o = i().getInt32(N + 4, !0);
|
|
1561
|
+
return Q = D, E = o, S(D, o);
|
|
1562
1562
|
} finally {
|
|
1563
1563
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, E, 1);
|
|
1564
1564
|
}
|
|
@@ -1566,10 +1566,10 @@ function Yg(g, A, C, B) {
|
|
|
1566
1566
|
function Hg(g, A, C, B, Q) {
|
|
1567
1567
|
let E, D;
|
|
1568
1568
|
try {
|
|
1569
|
-
const K = I.__wbindgen_add_to_stack_pointer(-16), y =
|
|
1570
|
-
I.lineage_sql_with_schema(K, y, h,
|
|
1571
|
-
var o = i().getInt32(K + 0, !0),
|
|
1572
|
-
return E = o, D =
|
|
1569
|
+
const K = I.__wbindgen_add_to_stack_pointer(-16), y = k(g, I.__wbindgen_export, I.__wbindgen_export2), h = M, F = k(A, I.__wbindgen_export, I.__wbindgen_export2), q = M, O = k(C, I.__wbindgen_export, I.__wbindgen_export2), e = M, r = k(B, I.__wbindgen_export, I.__wbindgen_export2), UI = M;
|
|
1570
|
+
I.lineage_sql_with_schema(K, y, h, F, q, O, e, r, UI, Q);
|
|
1571
|
+
var o = i().getInt32(K + 0, !0), N = i().getInt32(K + 4, !0);
|
|
1572
|
+
return E = o, D = N, S(o, N);
|
|
1573
1573
|
} finally {
|
|
1574
1574
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(E, D, 1);
|
|
1575
1575
|
}
|
|
@@ -1577,84 +1577,84 @@ function Hg(g, A, C, B, Q) {
|
|
|
1577
1577
|
function hg(g, A) {
|
|
1578
1578
|
let C, B;
|
|
1579
1579
|
try {
|
|
1580
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16), o =
|
|
1581
|
-
I.openlineage_column_lineage(D, o,
|
|
1580
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), o = k(g, I.__wbindgen_export, I.__wbindgen_export2), N = M, K = k(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
1581
|
+
I.openlineage_column_lineage(D, o, N, K, y);
|
|
1582
1582
|
var Q = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
|
|
1583
|
-
return C = Q, B = E,
|
|
1583
|
+
return C = Q, B = E, S(Q, E);
|
|
1584
1584
|
} finally {
|
|
1585
1585
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1586
1586
|
}
|
|
1587
1587
|
}
|
|
1588
|
-
function
|
|
1588
|
+
function Sg(g, A) {
|
|
1589
1589
|
let C, B;
|
|
1590
1590
|
try {
|
|
1591
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16), o =
|
|
1592
|
-
I.openlineage_job_event(D, o,
|
|
1591
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), o = k(g, I.__wbindgen_export, I.__wbindgen_export2), N = M, K = k(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
1592
|
+
I.openlineage_job_event(D, o, N, K, y);
|
|
1593
1593
|
var Q = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
|
|
1594
|
-
return C = Q, B = E,
|
|
1594
|
+
return C = Q, B = E, S(Q, E);
|
|
1595
1595
|
} finally {
|
|
1596
1596
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1597
1597
|
}
|
|
1598
1598
|
}
|
|
1599
|
-
function
|
|
1599
|
+
function cg(g, A) {
|
|
1600
1600
|
let C, B;
|
|
1601
1601
|
try {
|
|
1602
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16), o =
|
|
1603
|
-
I.openlineage_run_event(D, o,
|
|
1602
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), o = k(g, I.__wbindgen_export, I.__wbindgen_export2), N = M, K = k(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
1603
|
+
I.openlineage_run_event(D, o, N, K, y);
|
|
1604
1604
|
var Q = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
|
|
1605
|
-
return C = Q, B = E,
|
|
1605
|
+
return C = Q, B = E, S(Q, E);
|
|
1606
1606
|
} finally {
|
|
1607
1607
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1608
1608
|
}
|
|
1609
1609
|
}
|
|
1610
|
-
function
|
|
1610
|
+
function WI(g, A) {
|
|
1611
1611
|
let C, B;
|
|
1612
1612
|
try {
|
|
1613
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16), o =
|
|
1614
|
-
I.parse(D, o,
|
|
1613
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), o = k(g, I.__wbindgen_export, I.__wbindgen_export2), N = M, K = k(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
1614
|
+
I.parse(D, o, N, K, y);
|
|
1615
1615
|
var Q = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
|
|
1616
|
-
return C = Q, B = E,
|
|
1616
|
+
return C = Q, B = E, S(Q, E);
|
|
1617
1617
|
} finally {
|
|
1618
1618
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1619
1619
|
}
|
|
1620
1620
|
}
|
|
1621
|
-
function
|
|
1621
|
+
function VI(g, A) {
|
|
1622
1622
|
let C, B;
|
|
1623
1623
|
try {
|
|
1624
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16), o =
|
|
1625
|
-
I.parse_data_type(D, o,
|
|
1624
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), o = k(g, I.__wbindgen_export, I.__wbindgen_export2), N = M, K = k(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
1625
|
+
I.parse_data_type(D, o, N, K, y);
|
|
1626
1626
|
var Q = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
|
|
1627
|
-
return C = Q, B = E,
|
|
1627
|
+
return C = Q, B = E, S(Q, E);
|
|
1628
1628
|
} finally {
|
|
1629
1629
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1630
1630
|
}
|
|
1631
1631
|
}
|
|
1632
|
-
function
|
|
1633
|
-
const C =
|
|
1634
|
-
return
|
|
1632
|
+
function xI(g, A) {
|
|
1633
|
+
const C = k(g, I.__wbindgen_export, I.__wbindgen_export2), B = M, Q = k(A, I.__wbindgen_export, I.__wbindgen_export2), E = M, D = I.parse_data_type_value(C, B, Q, E);
|
|
1634
|
+
return L(D);
|
|
1635
1635
|
}
|
|
1636
1636
|
function lI(g, A) {
|
|
1637
|
-
const C =
|
|
1638
|
-
return
|
|
1637
|
+
const C = k(g, I.__wbindgen_export, I.__wbindgen_export2), B = M, Q = k(A, I.__wbindgen_export, I.__wbindgen_export2), E = M, D = I.parse_value(C, B, Q, E);
|
|
1638
|
+
return L(D);
|
|
1639
1639
|
}
|
|
1640
|
-
function
|
|
1640
|
+
function Jg(g, A) {
|
|
1641
1641
|
let C, B;
|
|
1642
1642
|
try {
|
|
1643
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16), o =
|
|
1644
|
-
I.plan(D, o,
|
|
1643
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), o = k(g, I.__wbindgen_export, I.__wbindgen_export2), N = M, K = k(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
1644
|
+
I.plan(D, o, N, K, y);
|
|
1645
1645
|
var Q = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
|
|
1646
|
-
return C = Q, B = E,
|
|
1646
|
+
return C = Q, B = E, S(Q, E);
|
|
1647
1647
|
} finally {
|
|
1648
1648
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1649
1649
|
}
|
|
1650
1650
|
}
|
|
1651
|
-
function
|
|
1651
|
+
function Lg(g, A, C) {
|
|
1652
1652
|
let B, Q;
|
|
1653
1653
|
try {
|
|
1654
|
-
const o = I.__wbindgen_add_to_stack_pointer(-16),
|
|
1655
|
-
I.source_tables(o,
|
|
1654
|
+
const o = I.__wbindgen_add_to_stack_pointer(-16), N = k(g, I.__wbindgen_export, I.__wbindgen_export2), K = M, y = k(A, I.__wbindgen_export, I.__wbindgen_export2), h = M, F = k(C, I.__wbindgen_export, I.__wbindgen_export2), q = M;
|
|
1655
|
+
I.source_tables(o, N, K, y, h, F, q);
|
|
1656
1656
|
var E = i().getInt32(o + 0, !0), D = i().getInt32(o + 4, !0);
|
|
1657
|
-
return B = E, Q = D,
|
|
1657
|
+
return B = E, Q = D, S(E, D);
|
|
1658
1658
|
} finally {
|
|
1659
1659
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, Q, 1);
|
|
1660
1660
|
}
|
|
@@ -1662,55 +1662,55 @@ function Jg(g, A, C) {
|
|
|
1662
1662
|
function nI(g, A) {
|
|
1663
1663
|
let C, B;
|
|
1664
1664
|
try {
|
|
1665
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16), o =
|
|
1666
|
-
I.tokenize(D, o,
|
|
1665
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), o = k(g, I.__wbindgen_export, I.__wbindgen_export2), N = M, K = k(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
1666
|
+
I.tokenize(D, o, N, K, y);
|
|
1667
1667
|
var Q = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
|
|
1668
|
-
return C = Q, B = E,
|
|
1668
|
+
return C = Q, B = E, S(Q, E);
|
|
1669
1669
|
} finally {
|
|
1670
1670
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1671
1671
|
}
|
|
1672
1672
|
}
|
|
1673
1673
|
function rI(g, A) {
|
|
1674
|
-
const C =
|
|
1675
|
-
return
|
|
1674
|
+
const C = k(g, I.__wbindgen_export, I.__wbindgen_export2), B = M, Q = k(A, I.__wbindgen_export, I.__wbindgen_export2), E = M, D = I.tokenize_value(C, B, Q, E);
|
|
1675
|
+
return L(D);
|
|
1676
1676
|
}
|
|
1677
1677
|
function mI(g, A, C) {
|
|
1678
1678
|
let B, Q;
|
|
1679
1679
|
try {
|
|
1680
|
-
const o = I.__wbindgen_add_to_stack_pointer(-16),
|
|
1681
|
-
I.transpile(o,
|
|
1680
|
+
const o = I.__wbindgen_add_to_stack_pointer(-16), N = k(g, I.__wbindgen_export, I.__wbindgen_export2), K = M, y = k(A, I.__wbindgen_export, I.__wbindgen_export2), h = M, F = k(C, I.__wbindgen_export, I.__wbindgen_export2), q = M;
|
|
1681
|
+
I.transpile(o, N, K, y, h, F, q);
|
|
1682
1682
|
var E = i().getInt32(o + 0, !0), D = i().getInt32(o + 4, !0);
|
|
1683
|
-
return B = E, Q = D,
|
|
1683
|
+
return B = E, Q = D, S(E, D);
|
|
1684
1684
|
} finally {
|
|
1685
1685
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, Q, 1);
|
|
1686
1686
|
}
|
|
1687
1687
|
}
|
|
1688
1688
|
function uI(g, A, C) {
|
|
1689
|
-
const B =
|
|
1690
|
-
return
|
|
1689
|
+
const B = k(g, I.__wbindgen_export, I.__wbindgen_export2), Q = M, E = k(A, I.__wbindgen_export, I.__wbindgen_export2), D = M, o = k(C, I.__wbindgen_export, I.__wbindgen_export2), N = M, K = I.transpile_value(B, Q, E, D, o, N);
|
|
1690
|
+
return L(K);
|
|
1691
1691
|
}
|
|
1692
1692
|
function bI(g, A, C, B) {
|
|
1693
1693
|
let Q, E;
|
|
1694
1694
|
try {
|
|
1695
|
-
const
|
|
1696
|
-
I.transpile_with_options(
|
|
1697
|
-
var D = i().getInt32(
|
|
1698
|
-
return Q = D, E = o,
|
|
1695
|
+
const N = I.__wbindgen_add_to_stack_pointer(-16), K = k(g, I.__wbindgen_export, I.__wbindgen_export2), y = M, h = k(A, I.__wbindgen_export, I.__wbindgen_export2), F = M, q = k(C, I.__wbindgen_export, I.__wbindgen_export2), O = M, e = k(B, I.__wbindgen_export, I.__wbindgen_export2), r = M;
|
|
1696
|
+
I.transpile_with_options(N, K, y, h, F, q, O, e, r);
|
|
1697
|
+
var D = i().getInt32(N + 0, !0), o = i().getInt32(N + 4, !0);
|
|
1698
|
+
return Q = D, E = o, S(D, o);
|
|
1699
1699
|
} finally {
|
|
1700
1700
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, E, 1);
|
|
1701
1701
|
}
|
|
1702
1702
|
}
|
|
1703
1703
|
function vI(g, A, C, B) {
|
|
1704
|
-
const Q =
|
|
1705
|
-
return
|
|
1704
|
+
const Q = k(g, I.__wbindgen_export, I.__wbindgen_export2), E = M, D = k(A, I.__wbindgen_export, I.__wbindgen_export2), o = M, N = k(C, I.__wbindgen_export, I.__wbindgen_export2), K = M, y = I.transpile_with_options_value(Q, E, D, o, N, K, a(B));
|
|
1705
|
+
return L(y);
|
|
1706
1706
|
}
|
|
1707
1707
|
function XI(g, A) {
|
|
1708
1708
|
let C, B;
|
|
1709
1709
|
try {
|
|
1710
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16), o =
|
|
1711
|
-
I.validate(D, o,
|
|
1710
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), o = k(g, I.__wbindgen_export, I.__wbindgen_export2), N = M, K = k(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
1711
|
+
I.validate(D, o, N, K, y);
|
|
1712
1712
|
var Q = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
|
|
1713
|
-
return C = Q, B = E,
|
|
1713
|
+
return C = Q, B = E, S(Q, E);
|
|
1714
1714
|
} finally {
|
|
1715
1715
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1716
1716
|
}
|
|
@@ -1718,21 +1718,21 @@ function XI(g, A) {
|
|
|
1718
1718
|
function _I(g, A, C) {
|
|
1719
1719
|
let B, Q;
|
|
1720
1720
|
try {
|
|
1721
|
-
const o = I.__wbindgen_add_to_stack_pointer(-16),
|
|
1722
|
-
I.validate_with_options(o,
|
|
1721
|
+
const o = I.__wbindgen_add_to_stack_pointer(-16), N = k(g, I.__wbindgen_export, I.__wbindgen_export2), K = M, y = k(A, I.__wbindgen_export, I.__wbindgen_export2), h = M, F = k(C, I.__wbindgen_export, I.__wbindgen_export2), q = M;
|
|
1722
|
+
I.validate_with_options(o, N, K, y, h, F, q);
|
|
1723
1723
|
var E = i().getInt32(o + 0, !0), D = i().getInt32(o + 4, !0);
|
|
1724
|
-
return B = E, Q = D,
|
|
1724
|
+
return B = E, Q = D, S(E, D);
|
|
1725
1725
|
} finally {
|
|
1726
1726
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, Q, 1);
|
|
1727
1727
|
}
|
|
1728
1728
|
}
|
|
1729
|
-
function
|
|
1729
|
+
function Ug(g, A, C, B) {
|
|
1730
1730
|
let Q, E;
|
|
1731
1731
|
try {
|
|
1732
|
-
const
|
|
1733
|
-
I.validate_with_schema(
|
|
1734
|
-
var D = i().getInt32(
|
|
1735
|
-
return Q = D, E = o,
|
|
1732
|
+
const N = I.__wbindgen_add_to_stack_pointer(-16), K = k(g, I.__wbindgen_export, I.__wbindgen_export2), y = M, h = k(A, I.__wbindgen_export, I.__wbindgen_export2), F = M, q = k(C, I.__wbindgen_export, I.__wbindgen_export2), O = M, e = k(B, I.__wbindgen_export, I.__wbindgen_export2), r = M;
|
|
1733
|
+
I.validate_with_schema(N, K, y, h, F, q, O, e, r);
|
|
1734
|
+
var D = i().getInt32(N + 0, !0), o = i().getInt32(N + 4, !0);
|
|
1735
|
+
return Q = D, E = o, S(D, o);
|
|
1736
1736
|
} finally {
|
|
1737
1737
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, E, 1);
|
|
1738
1738
|
}
|
|
@@ -1743,17 +1743,17 @@ function $I() {
|
|
|
1743
1743
|
const Q = I.__wbindgen_add_to_stack_pointer(-16);
|
|
1744
1744
|
I.version(Q);
|
|
1745
1745
|
var C = i().getInt32(Q + 0, !0), B = i().getInt32(Q + 4, !0);
|
|
1746
|
-
return g = C, A = B,
|
|
1746
|
+
return g = C, A = B, S(C, B);
|
|
1747
1747
|
} finally {
|
|
1748
1748
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(g, A, 1);
|
|
1749
1749
|
}
|
|
1750
1750
|
}
|
|
1751
|
-
function
|
|
1751
|
+
function Fg(g, A) {
|
|
1752
1752
|
H(g, G);
|
|
1753
|
-
const C =
|
|
1753
|
+
const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), B = M, Q = I.wasm_alias(g.__wbg_ptr, C, B);
|
|
1754
1754
|
return G.__wrap(Q);
|
|
1755
1755
|
}
|
|
1756
|
-
function
|
|
1756
|
+
function Rg(g, A) {
|
|
1757
1757
|
H(g, G), H(A, G);
|
|
1758
1758
|
const C = I.wasm_and(g.__wbg_ptr, A.__wbg_ptr);
|
|
1759
1759
|
return G.__wrap(C);
|
|
@@ -1769,11 +1769,11 @@ function ag(g) {
|
|
|
1769
1769
|
}
|
|
1770
1770
|
function qg(g, A) {
|
|
1771
1771
|
H(g, G);
|
|
1772
|
-
const C =
|
|
1772
|
+
const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), B = M, Q = I.wasm_cast(g.__wbg_ptr, C, B);
|
|
1773
1773
|
return G.__wrap(Q);
|
|
1774
1774
|
}
|
|
1775
|
-
function
|
|
1776
|
-
const A =
|
|
1775
|
+
function LA(g) {
|
|
1776
|
+
const A = k(g, I.__wbindgen_export, I.__wbindgen_export2), C = M, B = I.wasm_col(A, C);
|
|
1777
1777
|
return G.__wrap(B);
|
|
1778
1778
|
}
|
|
1779
1779
|
function pg(g) {
|
|
@@ -1782,13 +1782,13 @@ function pg(g) {
|
|
|
1782
1782
|
return G.__wrap(A);
|
|
1783
1783
|
}
|
|
1784
1784
|
function Pg(g, A) {
|
|
1785
|
-
const C =
|
|
1785
|
+
const C = k(g, I.__wbindgen_export, I.__wbindgen_export2), B = M;
|
|
1786
1786
|
H(A, G);
|
|
1787
1787
|
const Q = I.wasm_extract(C, B, A.__wbg_ptr);
|
|
1788
1788
|
return G.__wrap(Q);
|
|
1789
1789
|
}
|
|
1790
|
-
function
|
|
1791
|
-
const C =
|
|
1790
|
+
function Og(g, A) {
|
|
1791
|
+
const C = k(g, I.__wbindgen_export, I.__wbindgen_export2), B = M;
|
|
1792
1792
|
H(A, P);
|
|
1793
1793
|
const Q = I.wasm_func(C, B, A.__wbg_ptr);
|
|
1794
1794
|
return G.__wrap(Q);
|
|
@@ -1797,7 +1797,7 @@ function yA(g) {
|
|
|
1797
1797
|
const A = I.wasm_lit(a(g));
|
|
1798
1798
|
return G.__wrap(A);
|
|
1799
1799
|
}
|
|
1800
|
-
function
|
|
1800
|
+
function Tg(g) {
|
|
1801
1801
|
H(g, G);
|
|
1802
1802
|
const A = I.wasm_not(g.__wbg_ptr);
|
|
1803
1803
|
return G.__wrap(A);
|
|
@@ -1812,143 +1812,143 @@ function jg(g, A) {
|
|
|
1812
1812
|
return G.__wrap(C);
|
|
1813
1813
|
}
|
|
1814
1814
|
function tg(g) {
|
|
1815
|
-
const A =
|
|
1815
|
+
const A = k(g, I.__wbindgen_export, I.__wbindgen_export2), C = M, B = I.wasm_sql_expr(A, C);
|
|
1816
1816
|
return G.__wrap(B);
|
|
1817
1817
|
}
|
|
1818
1818
|
function fg() {
|
|
1819
1819
|
const g = I.wasm_star();
|
|
1820
1820
|
return G.__wrap(g);
|
|
1821
1821
|
}
|
|
1822
|
-
function
|
|
1822
|
+
function Zg(g, A) {
|
|
1823
1823
|
try {
|
|
1824
1824
|
const E = I.__wbindgen_add_to_stack_pointer(-16);
|
|
1825
1825
|
H(g, t);
|
|
1826
|
-
const D =
|
|
1826
|
+
const D = k(A, I.__wbindgen_export, I.__wbindgen_export2), o = M;
|
|
1827
1827
|
I.wasm_subquery(E, g.__wbg_ptr, D, o);
|
|
1828
1828
|
var C = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0), Q = i().getInt32(E + 8, !0);
|
|
1829
1829
|
if (Q)
|
|
1830
|
-
throw
|
|
1830
|
+
throw L(B);
|
|
1831
1831
|
return G.__wrap(C);
|
|
1832
1832
|
} finally {
|
|
1833
1833
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
1834
1834
|
}
|
|
1835
1835
|
}
|
|
1836
1836
|
function zg(g) {
|
|
1837
|
-
const A =
|
|
1837
|
+
const A = k(g, I.__wbindgen_export, I.__wbindgen_export2), C = M, B = I.wasm_table(A, C);
|
|
1838
1838
|
return G.__wrap(B);
|
|
1839
1839
|
}
|
|
1840
1840
|
function AC(g, A) {
|
|
1841
|
-
const C = Error(
|
|
1841
|
+
const C = Error(S(g, A));
|
|
1842
1842
|
return a(C);
|
|
1843
1843
|
}
|
|
1844
1844
|
function gC(g) {
|
|
1845
|
-
return Number(
|
|
1845
|
+
return Number(J(g));
|
|
1846
1846
|
}
|
|
1847
1847
|
function IC(g, A) {
|
|
1848
|
-
const C = String(
|
|
1848
|
+
const C = String(J(A)), B = k(C, I.__wbindgen_export, I.__wbindgen_export2), Q = M;
|
|
1849
1849
|
i().setInt32(g + 4, Q, !0), i().setInt32(g + 0, B, !0);
|
|
1850
1850
|
}
|
|
1851
1851
|
function CC(g, A) {
|
|
1852
|
-
const C =
|
|
1852
|
+
const C = J(A), B = typeof C == "bigint" ? C : void 0;
|
|
1853
1853
|
i().setBigInt64(g + 8, X(B) ? BigInt(0) : B, !0), i().setInt32(g + 0, !X(B), !0);
|
|
1854
1854
|
}
|
|
1855
1855
|
function BC(g) {
|
|
1856
|
-
const A =
|
|
1856
|
+
const A = J(g), C = typeof A == "boolean" ? A : void 0;
|
|
1857
1857
|
return X(C) ? 16777215 : C ? 1 : 0;
|
|
1858
1858
|
}
|
|
1859
1859
|
function QC(g, A) {
|
|
1860
|
-
const C =
|
|
1860
|
+
const C = cA(J(A)), B = k(C, I.__wbindgen_export, I.__wbindgen_export2), Q = M;
|
|
1861
1861
|
i().setInt32(g + 4, Q, !0), i().setInt32(g + 0, B, !0);
|
|
1862
1862
|
}
|
|
1863
1863
|
function EC(g, A) {
|
|
1864
|
-
return
|
|
1864
|
+
return J(g) in J(A);
|
|
1865
1865
|
}
|
|
1866
1866
|
function DC(g) {
|
|
1867
|
-
return typeof
|
|
1867
|
+
return typeof J(g) == "bigint";
|
|
1868
1868
|
}
|
|
1869
1869
|
function wC(g) {
|
|
1870
|
-
return typeof
|
|
1870
|
+
return typeof J(g) == "function";
|
|
1871
1871
|
}
|
|
1872
1872
|
function iC(g) {
|
|
1873
|
-
return
|
|
1873
|
+
return J(g) === null;
|
|
1874
1874
|
}
|
|
1875
1875
|
function oC(g) {
|
|
1876
|
-
const A =
|
|
1876
|
+
const A = J(g);
|
|
1877
1877
|
return typeof A == "object" && A !== null;
|
|
1878
1878
|
}
|
|
1879
1879
|
function MC(g) {
|
|
1880
|
-
return typeof
|
|
1880
|
+
return typeof J(g) == "string";
|
|
1881
1881
|
}
|
|
1882
|
-
function
|
|
1883
|
-
return
|
|
1882
|
+
function kC(g) {
|
|
1883
|
+
return J(g) === void 0;
|
|
1884
1884
|
}
|
|
1885
|
-
function
|
|
1886
|
-
return
|
|
1885
|
+
function NC(g, A) {
|
|
1886
|
+
return J(g) === J(A);
|
|
1887
1887
|
}
|
|
1888
1888
|
function yC(g, A) {
|
|
1889
|
-
return
|
|
1889
|
+
return J(g) == J(A);
|
|
1890
1890
|
}
|
|
1891
1891
|
function KC(g, A) {
|
|
1892
|
-
const C =
|
|
1892
|
+
const C = J(A), B = typeof C == "number" ? C : void 0;
|
|
1893
1893
|
i().setFloat64(g + 8, X(B) ? 0 : B, !0), i().setInt32(g + 0, !X(B), !0);
|
|
1894
1894
|
}
|
|
1895
1895
|
function GC(g, A) {
|
|
1896
|
-
const C =
|
|
1897
|
-
var Q = X(B) ? 0 :
|
|
1896
|
+
const C = J(A), B = typeof C == "string" ? C : void 0;
|
|
1897
|
+
var Q = X(B) ? 0 : k(B, I.__wbindgen_export, I.__wbindgen_export2), E = M;
|
|
1898
1898
|
i().setInt32(g + 4, E, !0), i().setInt32(g + 0, Q, !0);
|
|
1899
1899
|
}
|
|
1900
1900
|
function YC(g, A) {
|
|
1901
|
-
throw new Error(
|
|
1901
|
+
throw new Error(S(g, A));
|
|
1902
1902
|
}
|
|
1903
1903
|
function HC() {
|
|
1904
1904
|
return GA(function(g, A) {
|
|
1905
|
-
const C =
|
|
1905
|
+
const C = J(g).call(J(A));
|
|
1906
1906
|
return a(C);
|
|
1907
1907
|
}, arguments);
|
|
1908
1908
|
}
|
|
1909
1909
|
function hC(g, A) {
|
|
1910
|
-
const C =
|
|
1910
|
+
const C = J(g).codePointAt(A >>> 0);
|
|
1911
1911
|
return a(C);
|
|
1912
1912
|
}
|
|
1913
|
-
function cC(g) {
|
|
1914
|
-
return F(g).done;
|
|
1915
|
-
}
|
|
1916
1913
|
function SC(g) {
|
|
1917
|
-
|
|
1914
|
+
return J(g).done;
|
|
1915
|
+
}
|
|
1916
|
+
function cC(g) {
|
|
1917
|
+
const A = Object.entries(J(g));
|
|
1918
1918
|
return a(A);
|
|
1919
1919
|
}
|
|
1920
|
-
function
|
|
1920
|
+
function JC(g, A) {
|
|
1921
1921
|
let C, B;
|
|
1922
1922
|
try {
|
|
1923
|
-
C = g, B = A, console.error(
|
|
1923
|
+
C = g, B = A, console.error(S(g, A));
|
|
1924
1924
|
} finally {
|
|
1925
1925
|
I.__wbindgen_export4(C, B, 1);
|
|
1926
1926
|
}
|
|
1927
1927
|
}
|
|
1928
|
-
function
|
|
1928
|
+
function LC() {
|
|
1929
1929
|
return GA(function(g) {
|
|
1930
1930
|
const A = String.fromCodePoint(g >>> 0);
|
|
1931
1931
|
return a(A);
|
|
1932
1932
|
}, arguments);
|
|
1933
1933
|
}
|
|
1934
|
-
function
|
|
1935
|
-
const C =
|
|
1934
|
+
function UC(g, A) {
|
|
1935
|
+
const C = J(g)[A >>> 0];
|
|
1936
1936
|
return a(C);
|
|
1937
1937
|
}
|
|
1938
|
-
function
|
|
1938
|
+
function FC() {
|
|
1939
1939
|
return GA(function(g, A) {
|
|
1940
|
-
const C = Reflect.get(
|
|
1940
|
+
const C = Reflect.get(J(g), J(A));
|
|
1941
1941
|
return a(C);
|
|
1942
1942
|
}, arguments);
|
|
1943
1943
|
}
|
|
1944
|
-
function
|
|
1945
|
-
const C =
|
|
1944
|
+
function RC(g, A) {
|
|
1945
|
+
const C = J(g)[J(A)];
|
|
1946
1946
|
return a(C);
|
|
1947
1947
|
}
|
|
1948
1948
|
function sC(g) {
|
|
1949
1949
|
let A;
|
|
1950
1950
|
try {
|
|
1951
|
-
A =
|
|
1951
|
+
A = J(g) instanceof ArrayBuffer;
|
|
1952
1952
|
} catch {
|
|
1953
1953
|
A = !1;
|
|
1954
1954
|
}
|
|
@@ -1957,7 +1957,7 @@ function sC(g) {
|
|
|
1957
1957
|
function aC(g) {
|
|
1958
1958
|
let A;
|
|
1959
1959
|
try {
|
|
1960
|
-
A =
|
|
1960
|
+
A = J(g) instanceof Map;
|
|
1961
1961
|
} catch {
|
|
1962
1962
|
A = !1;
|
|
1963
1963
|
}
|
|
@@ -1966,35 +1966,35 @@ function aC(g) {
|
|
|
1966
1966
|
function qC(g) {
|
|
1967
1967
|
let A;
|
|
1968
1968
|
try {
|
|
1969
|
-
A =
|
|
1969
|
+
A = J(g) instanceof Uint8Array;
|
|
1970
1970
|
} catch {
|
|
1971
1971
|
A = !1;
|
|
1972
1972
|
}
|
|
1973
1973
|
return A;
|
|
1974
1974
|
}
|
|
1975
1975
|
function pC(g) {
|
|
1976
|
-
return Array.isArray(
|
|
1976
|
+
return Array.isArray(J(g));
|
|
1977
1977
|
}
|
|
1978
1978
|
function PC(g) {
|
|
1979
|
-
return Number.isSafeInteger(
|
|
1979
|
+
return Number.isSafeInteger(J(g));
|
|
1980
1980
|
}
|
|
1981
|
-
function
|
|
1981
|
+
function OC() {
|
|
1982
1982
|
return a(Symbol.iterator);
|
|
1983
1983
|
}
|
|
1984
|
-
function
|
|
1985
|
-
return
|
|
1984
|
+
function TC(g) {
|
|
1985
|
+
return J(g).length;
|
|
1986
1986
|
}
|
|
1987
1987
|
function jC(g) {
|
|
1988
|
-
return
|
|
1988
|
+
return J(g).length;
|
|
1989
1989
|
}
|
|
1990
1990
|
function tC(g) {
|
|
1991
|
-
return
|
|
1991
|
+
return J(g).length;
|
|
1992
1992
|
}
|
|
1993
1993
|
function fC() {
|
|
1994
1994
|
const g = new Object();
|
|
1995
1995
|
return a(g);
|
|
1996
1996
|
}
|
|
1997
|
-
function
|
|
1997
|
+
function ZC() {
|
|
1998
1998
|
const g = new Array();
|
|
1999
1999
|
return a(g);
|
|
2000
2000
|
}
|
|
@@ -2002,42 +2002,42 @@ function zC() {
|
|
|
2002
2002
|
const g = new Error();
|
|
2003
2003
|
return a(g);
|
|
2004
2004
|
}
|
|
2005
|
-
function
|
|
2005
|
+
function dC() {
|
|
2006
2006
|
return a(/* @__PURE__ */ new Map());
|
|
2007
2007
|
}
|
|
2008
2008
|
function eC(g) {
|
|
2009
|
-
const A = new Uint8Array(
|
|
2009
|
+
const A = new Uint8Array(J(g));
|
|
2010
2010
|
return a(A);
|
|
2011
2011
|
}
|
|
2012
|
-
function
|
|
2012
|
+
function WC() {
|
|
2013
2013
|
return GA(function(g) {
|
|
2014
|
-
const A =
|
|
2014
|
+
const A = J(g).next();
|
|
2015
2015
|
return a(A);
|
|
2016
2016
|
}, arguments);
|
|
2017
2017
|
}
|
|
2018
|
-
function
|
|
2019
|
-
const A =
|
|
2018
|
+
function VC(g) {
|
|
2019
|
+
const A = J(g).next;
|
|
2020
2020
|
return a(A);
|
|
2021
2021
|
}
|
|
2022
|
-
function
|
|
2023
|
-
Uint8Array.prototype.set.call(IB(g, A),
|
|
2022
|
+
function xC(g, A, C) {
|
|
2023
|
+
Uint8Array.prototype.set.call(IB(g, A), J(C));
|
|
2024
2024
|
}
|
|
2025
2025
|
function lC(g, A, C) {
|
|
2026
|
-
const B =
|
|
2026
|
+
const B = J(g).set(J(A), J(C));
|
|
2027
2027
|
return a(B);
|
|
2028
2028
|
}
|
|
2029
2029
|
function nC(g, A, C) {
|
|
2030
|
-
|
|
2030
|
+
J(g)[L(A)] = L(C);
|
|
2031
2031
|
}
|
|
2032
2032
|
function rC(g, A, C) {
|
|
2033
|
-
|
|
2033
|
+
J(g)[A >>> 0] = L(C);
|
|
2034
2034
|
}
|
|
2035
2035
|
function mC(g, A) {
|
|
2036
|
-
const C =
|
|
2036
|
+
const C = J(A).stack, B = k(C, I.__wbindgen_export, I.__wbindgen_export2), Q = M;
|
|
2037
2037
|
i().setInt32(g + 4, Q, !0), i().setInt32(g + 0, B, !0);
|
|
2038
2038
|
}
|
|
2039
2039
|
function uC(g) {
|
|
2040
|
-
const A =
|
|
2040
|
+
const A = J(g).value;
|
|
2041
2041
|
return a(A);
|
|
2042
2042
|
}
|
|
2043
2043
|
function bC(g) {
|
|
@@ -2047,7 +2047,7 @@ function vC(g) {
|
|
|
2047
2047
|
return a(g);
|
|
2048
2048
|
}
|
|
2049
2049
|
function XC(g, A) {
|
|
2050
|
-
const C =
|
|
2050
|
+
const C = S(g, A);
|
|
2051
2051
|
return a(C);
|
|
2052
2052
|
}
|
|
2053
2053
|
function _C(g) {
|
|
@@ -2055,17 +2055,17 @@ function _C(g) {
|
|
|
2055
2055
|
return a(A);
|
|
2056
2056
|
}
|
|
2057
2057
|
function $C(g) {
|
|
2058
|
-
const A =
|
|
2058
|
+
const A = J(g);
|
|
2059
2059
|
return a(A);
|
|
2060
2060
|
}
|
|
2061
2061
|
function AB(g) {
|
|
2062
|
-
|
|
2062
|
+
L(g);
|
|
2063
2063
|
}
|
|
2064
|
-
const
|
|
2064
|
+
const VA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
2065
2065
|
}, unregister: () => {
|
|
2066
2066
|
} } : new FinalizationRegistry((g) => I.__wbg_wasmassignmentarray_free(g >>> 0, 1)), hA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
2067
2067
|
}, unregister: () => {
|
|
2068
|
-
} } : new FinalizationRegistry((g) => I.__wbg_wasmcasebuilder_free(g >>> 0, 1)),
|
|
2068
|
+
} } : new FinalizationRegistry((g) => I.__wbg_wasmcasebuilder_free(g >>> 0, 1)), xA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
2069
2069
|
}, unregister: () => {
|
|
2070
2070
|
} } : new FinalizationRegistry((g) => I.__wbg_wasmdeletebuilder_free(g >>> 0, 1)), lA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
2071
2071
|
}, unregister: () => {
|
|
@@ -2085,15 +2085,15 @@ const WA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
|
2085
2085
|
}, unregister: () => {
|
|
2086
2086
|
} } : new FinalizationRegistry((g) => I.__wbg_wasmwindowdefbuilder_free(g >>> 0, 1));
|
|
2087
2087
|
function a(g) {
|
|
2088
|
-
gA ===
|
|
2088
|
+
gA === W.length && W.push(W.length + 1);
|
|
2089
2089
|
const A = gA;
|
|
2090
|
-
return gA =
|
|
2090
|
+
return gA = W[A], W[A] = g, A;
|
|
2091
2091
|
}
|
|
2092
2092
|
function H(g, A) {
|
|
2093
2093
|
if (!(g instanceof A))
|
|
2094
2094
|
throw new Error(`expected instance of ${A.name}`);
|
|
2095
2095
|
}
|
|
2096
|
-
function
|
|
2096
|
+
function cA(g) {
|
|
2097
2097
|
const A = typeof g;
|
|
2098
2098
|
if (A == "number" || A == "boolean" || g == null)
|
|
2099
2099
|
return `${g}`;
|
|
@@ -2110,9 +2110,9 @@ function SA(g) {
|
|
|
2110
2110
|
if (Array.isArray(g)) {
|
|
2111
2111
|
const Q = g.length;
|
|
2112
2112
|
let E = "[";
|
|
2113
|
-
Q > 0 && (E +=
|
|
2113
|
+
Q > 0 && (E += cA(g[0]));
|
|
2114
2114
|
for (let D = 1; D < Q; D++)
|
|
2115
|
-
E += ", " +
|
|
2115
|
+
E += ", " + cA(g[D]);
|
|
2116
2116
|
return E += "]", E;
|
|
2117
2117
|
}
|
|
2118
2118
|
const C = /\[object ([^\]]+)\]/.exec(toString.call(g));
|
|
@@ -2131,7 +2131,7 @@ function SA(g) {
|
|
|
2131
2131
|
${g.stack}` : B;
|
|
2132
2132
|
}
|
|
2133
2133
|
function gB(g) {
|
|
2134
|
-
g < 132 || (
|
|
2134
|
+
g < 132 || (W[g] = gA, gA = g);
|
|
2135
2135
|
}
|
|
2136
2136
|
function IB(g, A) {
|
|
2137
2137
|
return g = g >>> 0, AA().subarray(g / 1, g / 1 + A);
|
|
@@ -2140,15 +2140,15 @@ let v = null;
|
|
|
2140
2140
|
function i() {
|
|
2141
2141
|
return (v === null || v.buffer.detached === !0 || v.buffer.detached === void 0 && v.buffer !== I.memory.buffer) && (v = new DataView(I.memory.buffer)), v;
|
|
2142
2142
|
}
|
|
2143
|
-
function
|
|
2143
|
+
function S(g, A) {
|
|
2144
2144
|
return g = g >>> 0, BB(g, A);
|
|
2145
2145
|
}
|
|
2146
2146
|
let DA = null;
|
|
2147
2147
|
function AA() {
|
|
2148
2148
|
return (DA === null || DA.byteLength === 0) && (DA = new Uint8Array(I.memory.buffer)), DA;
|
|
2149
2149
|
}
|
|
2150
|
-
function
|
|
2151
|
-
return
|
|
2150
|
+
function J(g) {
|
|
2151
|
+
return W[g];
|
|
2152
2152
|
}
|
|
2153
2153
|
function GA(g, A) {
|
|
2154
2154
|
try {
|
|
@@ -2157,22 +2157,22 @@ function GA(g, A) {
|
|
|
2157
2157
|
I.__wbindgen_export3(a(C));
|
|
2158
2158
|
}
|
|
2159
2159
|
}
|
|
2160
|
-
let
|
|
2161
|
-
|
|
2162
|
-
let gA =
|
|
2160
|
+
let W = new Array(128).fill(void 0);
|
|
2161
|
+
W.push(void 0, null, !0, !1);
|
|
2162
|
+
let gA = W.length;
|
|
2163
2163
|
function X(g) {
|
|
2164
2164
|
return g == null;
|
|
2165
2165
|
}
|
|
2166
|
-
function
|
|
2166
|
+
function UA(g, A) {
|
|
2167
2167
|
const C = A(g.length * 4, 4) >>> 0, B = i();
|
|
2168
2168
|
for (let Q = 0; Q < g.length; Q++)
|
|
2169
2169
|
B.setUint32(C + 4 * Q, a(g[Q]), !0);
|
|
2170
2170
|
return M = g.length, C;
|
|
2171
2171
|
}
|
|
2172
|
-
function
|
|
2172
|
+
function k(g, A, C) {
|
|
2173
2173
|
if (C === void 0) {
|
|
2174
|
-
const o = IA.encode(g),
|
|
2175
|
-
return AA().subarray(
|
|
2174
|
+
const o = IA.encode(g), N = A(o.length, 1) >>> 0;
|
|
2175
|
+
return AA().subarray(N, N + o.length).set(o), M = o.length, N;
|
|
2176
2176
|
}
|
|
2177
2177
|
let B = g.length, Q = A(B, 1) >>> 0;
|
|
2178
2178
|
const E = AA();
|
|
@@ -2184,21 +2184,21 @@ function N(g, A, C) {
|
|
|
2184
2184
|
}
|
|
2185
2185
|
if (D !== B) {
|
|
2186
2186
|
D !== 0 && (g = g.slice(D)), Q = C(Q, B, B = D + g.length * 3, 1) >>> 0;
|
|
2187
|
-
const o = AA().subarray(Q + D, Q + B),
|
|
2188
|
-
D +=
|
|
2187
|
+
const o = AA().subarray(Q + D, Q + B), N = IA.encodeInto(g, o);
|
|
2188
|
+
D += N.written, Q = C(Q, B, D, 1) >>> 0;
|
|
2189
2189
|
}
|
|
2190
2190
|
return M = D, Q;
|
|
2191
2191
|
}
|
|
2192
|
-
function
|
|
2193
|
-
const A =
|
|
2192
|
+
function L(g) {
|
|
2193
|
+
const A = J(g);
|
|
2194
2194
|
return gB(g), A;
|
|
2195
2195
|
}
|
|
2196
2196
|
let wA = new TextDecoder("utf-8", { ignoreBOM: !0, fatal: !0 });
|
|
2197
2197
|
wA.decode();
|
|
2198
2198
|
const CB = 2146435072;
|
|
2199
|
-
let
|
|
2199
|
+
let SA = 0;
|
|
2200
2200
|
function BB(g, A) {
|
|
2201
|
-
return
|
|
2201
|
+
return SA += A, SA >= CB && (wA = new TextDecoder("utf-8", { ignoreBOM: !0, fatal: !0 }), wA.decode(), SA = A), wA.decode(AA().subarray(g, g + A));
|
|
2202
2202
|
}
|
|
2203
2203
|
const IA = new TextEncoder();
|
|
2204
2204
|
"encodeInto" in IA || (IA.encodeInto = function(g, A) {
|
|
@@ -2213,45 +2213,45 @@ function QB(g) {
|
|
|
2213
2213
|
I = g;
|
|
2214
2214
|
}
|
|
2215
2215
|
URL = globalThis.URL;
|
|
2216
|
-
const w = await
|
|
2216
|
+
const w = await RI({ "./polyglot_sql_wasm_bg.js": {
|
|
2217
2217
|
__wbindgen_object_drop_ref: AB,
|
|
2218
2218
|
__wbindgen_object_clone_ref: $C,
|
|
2219
2219
|
__wbg_new_8a6f238a6ece86ea: zC,
|
|
2220
2220
|
__wbg_stack_0ed75d68575b0f3c: mC,
|
|
2221
|
-
__wbg_error_7534b8e9a36f1ab4:
|
|
2222
|
-
__wbg_get_with_ref_key_1dc361bd10053bfe:
|
|
2221
|
+
__wbg_error_7534b8e9a36f1ab4: JC,
|
|
2222
|
+
__wbg_get_with_ref_key_1dc361bd10053bfe: RC,
|
|
2223
2223
|
__wbg_set_3f1d0b984ed272ed: nC,
|
|
2224
2224
|
__wbg_String_8f0eb39a4a4c2f66: IC,
|
|
2225
2225
|
__wbg_new_dd2b680c8bf6ae29: eC,
|
|
2226
|
-
__wbg_length_32ed9a279acd054c:
|
|
2227
|
-
__wbg_prototypesetcall_bdcdcc5842e4d77d:
|
|
2228
|
-
__wbg_done_57b39ecd9addfe81:
|
|
2226
|
+
__wbg_length_32ed9a279acd054c: TC,
|
|
2227
|
+
__wbg_prototypesetcall_bdcdcc5842e4d77d: xC,
|
|
2228
|
+
__wbg_done_57b39ecd9addfe81: SC,
|
|
2229
2229
|
__wbg_value_0546255b415e96c1: uC,
|
|
2230
2230
|
__wbg_instanceof_Map_53af74335dec57f4: aC,
|
|
2231
2231
|
__wbg_instanceof_Uint8Array_9b9075935c74707c: qC,
|
|
2232
2232
|
__wbg_instanceof_ArrayBuffer_c367199e2fa2aa04: sC,
|
|
2233
|
-
__wbg_new_dca287b076112a51:
|
|
2233
|
+
__wbg_new_dca287b076112a51: dC,
|
|
2234
2234
|
__wbg_set_1eb0999cf5d27fc8: lC,
|
|
2235
|
-
__wbg_get_9b94d73e6221f75c:
|
|
2236
|
-
__wbg_new_3eb36ae241fe6f44:
|
|
2235
|
+
__wbg_get_9b94d73e6221f75c: UC,
|
|
2236
|
+
__wbg_new_3eb36ae241fe6f44: ZC,
|
|
2237
2237
|
__wbg_set_f43e577aea94465b: rC,
|
|
2238
2238
|
__wbg_length_35a7bace40f36eac: jC,
|
|
2239
2239
|
__wbg_isArray_d314bb98fcf08331: pC,
|
|
2240
2240
|
__wbg_isSafeInteger_bfbc7332a9768d2a: PC,
|
|
2241
2241
|
__wbg_new_361308b2356cecd0: fC,
|
|
2242
|
-
__wbg_entries_58c7934c745daac7:
|
|
2243
|
-
__wbg_iterator_6ff6560ca1568e55:
|
|
2244
|
-
__wbg_get_b3ed3ad4be2bc8ac:
|
|
2242
|
+
__wbg_entries_58c7934c745daac7: cC,
|
|
2243
|
+
__wbg_iterator_6ff6560ca1568e55: OC,
|
|
2244
|
+
__wbg_get_b3ed3ad4be2bc8ac: FC,
|
|
2245
2245
|
__wbg_call_389efe28435a9388: HC,
|
|
2246
|
-
__wbg_next_418f80d8f5303233:
|
|
2247
|
-
__wbg_next_3482f54c49e8af19:
|
|
2246
|
+
__wbg_next_418f80d8f5303233: VC,
|
|
2247
|
+
__wbg_next_3482f54c49e8af19: WC,
|
|
2248
2248
|
__wbg_codePointAt_bf59dbf74d8db275: hC,
|
|
2249
|
-
__wbg_fromCodePoint_22365db7b7d6ac39:
|
|
2249
|
+
__wbg_fromCodePoint_22365db7b7d6ac39: LC,
|
|
2250
2250
|
__wbg_length_68dc7c5cf1b6d349: tC,
|
|
2251
2251
|
__wbg___wbindgen_in_47fa6863be6f2f25: EC,
|
|
2252
2252
|
__wbg___wbindgen_throw_be289d5034ed271b: YC,
|
|
2253
2253
|
__wbg___wbindgen_is_null_ac34f5003991759a: iC,
|
|
2254
|
-
__wbg___wbindgen_jsval_eq_11888390b0186270:
|
|
2254
|
+
__wbg___wbindgen_jsval_eq_11888390b0186270: NC,
|
|
2255
2255
|
__wbg_Number_04624de7d0e8332d: gC,
|
|
2256
2256
|
__wbg_Error_8c4e43fe74559d73: AC,
|
|
2257
2257
|
__wbg___wbindgen_is_bigint_31b12575b56f32fc: DC,
|
|
@@ -2261,7 +2261,7 @@ const w = await UI({ "./polyglot_sql_wasm_bg.js": {
|
|
|
2261
2261
|
__wbg___wbindgen_string_get_72fb696202c56729: GC,
|
|
2262
2262
|
__wbg___wbindgen_boolean_get_bbbb1c18aa2f5e25: BC,
|
|
2263
2263
|
__wbg___wbindgen_is_function_0095a73b8b156f76: wC,
|
|
2264
|
-
__wbg___wbindgen_is_undefined_9e4d92534c42d778:
|
|
2264
|
+
__wbg___wbindgen_is_undefined_9e4d92534c42d778: kC,
|
|
2265
2265
|
__wbg___wbindgen_jsval_loose_eq_9dd77d8cd6671811: yC,
|
|
2266
2266
|
__wbg___wbindgen_bigint_get_as_i64_8fcf4ce7f1ca72a2: CC,
|
|
2267
2267
|
__wbg___wbindgen_debug_string_0bc8482c6e3508ae: QC,
|
|
@@ -2269,15 +2269,15 @@ const w = await UI({ "./polyglot_sql_wasm_bg.js": {
|
|
|
2269
2269
|
__wbindgen_cast_0000000000000002: vC,
|
|
2270
2270
|
__wbindgen_cast_0000000000000003: XC,
|
|
2271
2271
|
__wbindgen_cast_0000000000000004: _C
|
|
2272
|
-
} },
|
|
2272
|
+
} }, FI), EB = w.memory, DB = w.__wbg_wasmassignmentarray_free, wB = w.__wbg_wasmcasebuilder_free, iB = w.__wbg_wasmdeletebuilder_free, oB = w.__wbg_wasmexpr_free, MB = w.__wbg_wasmexprarray_free, kB = w.__wbg_wasminsertbuilder_free, NB = w.__wbg_wasmmergebuilder_free, yB = w.__wbg_wasmselectbuilder_free, KB = w.__wbg_wasmsetopbuilder_free, GB = w.__wbg_wasmupdatebuilder_free, YB = w.__wbg_wasmwindowdefbuilder_free, HB = w.analyze_query, hB = w.analyze_query_value, SB = w.annotate_types, cB = w.annotate_types_value, JB = w.ast_add_where, LB = w.ast_get_aggregate_functions, UB = w.ast_get_column_names, FB = w.ast_get_functions, RB = w.ast_get_literals, sB = w.ast_get_subqueries, aB = w.ast_get_table_names, qB = w.ast_get_window_functions, pB = w.ast_node_count, PB = w.ast_qualify_columns, OB = w.ast_qualify_tables, TB = w.ast_remove_where, jB = w.ast_rename_columns, tB = w.ast_rename_tables, fB = w.ast_rename_tables_with_options, ZB = w.ast_set_distinct, zB = w.ast_set_limit, dB = w.diff_sql, eB = w.format_sql, WB = w.format_sql_value, VB = w.format_sql_with_options, xB = w.format_sql_with_options_value, lB = w.generate, nB = w.generate_data_type, rB = w.generate_data_type_value, mB = w.generate_value, uB = w.get_dialects, bB = w.get_dialects_value, vB = w.lineage_sql, XB = w.lineage_sql_with_schema, _B = w.openlineage_column_lineage, $B = w.openlineage_job_event, AQ = w.openlineage_run_event, gQ = w.parse, IQ = w.parse_data_type, CQ = w.parse_data_type_value, BQ = w.parse_value, QQ = w.plan, EQ = w.source_tables, DQ = w.tokenize, wQ = w.tokenize_value, iQ = w.transpile, oQ = w.transpile_value, MQ = w.transpile_with_options, kQ = w.transpile_with_options_value, NQ = w.validate, yQ = w.validate_with_options, KQ = w.validate_with_schema, GQ = w.version, YQ = w.wasm_alias, HQ = w.wasm_and, hQ = w.wasm_boolean, SQ = w.wasm_case_of, cQ = w.wasm_cast, JQ = w.wasm_col, LQ = w.wasm_count_distinct, UQ = w.wasm_extract, FQ = w.wasm_func, RQ = w.wasm_lit, sQ = w.wasm_not, aQ = w.wasm_null, qQ = w.wasm_or, pQ = w.wasm_sql_expr, PQ = w.wasm_star, OQ = w.wasm_subquery, TQ = w.wasm_table, jQ = w.wasmassignmentarray_len, tQ = w.wasmassignmentarray_new, fQ = w.wasmassignmentarray_push, ZQ = w.wasmcasebuilder_build_expr, zQ = w.wasmcasebuilder_else_, dQ = w.wasmcasebuilder_new, eQ = w.wasmcasebuilder_to_sql, WQ = w.wasmcasebuilder_when, VQ = w.wasmdeletebuilder_build, xQ = w.wasmdeletebuilder_new, lQ = w.wasmdeletebuilder_to_sql, nQ = w.wasmdeletebuilder_where_expr, rQ = w.wasmexpr_add, mQ = w.wasmexpr_alias, uQ = w.wasmexpr_and, bQ = w.wasmexpr_asc, vQ = w.wasmexpr_between, XQ = w.wasmexpr_cast, _Q = w.wasmexpr_desc, $Q = w.wasmexpr_div, AE = w.wasmexpr_eq, gE = w.wasmexpr_gt, IE = w.wasmexpr_gte, CE = w.wasmexpr_ilike, BE = w.wasmexpr_in_list, QE = w.wasmexpr_is_not_null, EE = w.wasmexpr_is_null, DE = w.wasmexpr_like, wE = w.wasmexpr_lt, iE = w.wasmexpr_lte, oE = w.wasmexpr_mul, ME = w.wasmexpr_neq, kE = w.wasmexpr_not, NE = w.wasmexpr_not_in, yE = w.wasmexpr_or, KE = w.wasmexpr_rlike, GE = w.wasmexpr_sub, YE = w.wasmexpr_to_json, HE = w.wasmexpr_to_sql, hE = w.wasmexpr_xor, SE = w.wasmexprarray_len, cE = w.wasmexprarray_push, JE = w.wasmexprarray_push_col, LE = w.wasmexprarray_push_float, UE = w.wasmexprarray_push_int, FE = w.wasmexprarray_push_star, RE = w.wasmexprarray_push_str, sE = w.wasminsertbuilder_build, aE = w.wasminsertbuilder_columns, qE = w.wasminsertbuilder_new, pE = w.wasminsertbuilder_query, PE = w.wasminsertbuilder_to_sql, OE = w.wasminsertbuilder_values, TE = w.wasmmergebuilder_build, jE = w.wasmmergebuilder_new, tE = w.wasmmergebuilder_to_sql, fE = w.wasmmergebuilder_using, ZE = w.wasmmergebuilder_when_matched_delete, zE = w.wasmmergebuilder_when_matched_update, dE = w.wasmmergebuilder_when_not_matched_insert, eE = w.wasmselectbuilder_build, WE = w.wasmselectbuilder_cross_join, VE = w.wasmselectbuilder_ctas, xE = w.wasmselectbuilder_ctas_sql, lE = w.wasmselectbuilder_distinct, nE = w.wasmselectbuilder_except_, rE = w.wasmselectbuilder_for_update, mE = w.wasmselectbuilder_from, uE = w.wasmselectbuilder_from_expr, bE = w.wasmselectbuilder_group_by_cols, vE = w.wasmselectbuilder_having, XE = w.wasmselectbuilder_hint, _E = w.wasmselectbuilder_intersect, $E = w.wasmselectbuilder_join, AD = w.wasmselectbuilder_lateral_view, gD = w.wasmselectbuilder_left_join, ID = w.wasmselectbuilder_limit, CD = w.wasmselectbuilder_new, BD = w.wasmselectbuilder_offset, QD = w.wasmselectbuilder_order_by_exprs, ED = w.wasmselectbuilder_qualify, DD = w.wasmselectbuilder_right_join, wD = w.wasmselectbuilder_select_col, iD = w.wasmselectbuilder_select_expr, oD = w.wasmselectbuilder_select_exprs, MD = w.wasmselectbuilder_select_star, kD = w.wasmselectbuilder_sort_by_exprs, ND = w.wasmselectbuilder_to_sql, yD = w.wasmselectbuilder_union, KD = w.wasmselectbuilder_union_all, GD = w.wasmselectbuilder_where_expr, YD = w.wasmselectbuilder_where_sql, HD = w.wasmselectbuilder_window, hD = w.wasmsetopbuilder_build, SD = w.wasmsetopbuilder_limit, cD = w.wasmsetopbuilder_offset, JD = w.wasmsetopbuilder_order_by_exprs, LD = w.wasmsetopbuilder_to_sql, UD = w.wasmupdatebuilder_build, FD = w.wasmupdatebuilder_from, RD = w.wasmupdatebuilder_new, sD = w.wasmupdatebuilder_set, aD = w.wasmupdatebuilder_to_sql, qD = w.wasmupdatebuilder_where_expr, pD = w.wasmwindowdefbuilder_new, PD = w.wasmwindowdefbuilder_order_by, OD = w.wasmwindowdefbuilder_partition_by, TD = w.wasmexprarray_new, jD = w.__wbindgen_export, tD = w.__wbindgen_export2, fD = w.__wbindgen_export3, ZD = w.__wbindgen_export4, zD = w.__wbindgen_add_to_stack_pointer, dD = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2273
2273
|
__proto__: null,
|
|
2274
2274
|
__wbg_wasmassignmentarray_free: DB,
|
|
2275
2275
|
__wbg_wasmcasebuilder_free: wB,
|
|
2276
2276
|
__wbg_wasmdeletebuilder_free: iB,
|
|
2277
2277
|
__wbg_wasmexpr_free: oB,
|
|
2278
2278
|
__wbg_wasmexprarray_free: MB,
|
|
2279
|
-
__wbg_wasminsertbuilder_free:
|
|
2280
|
-
__wbg_wasmmergebuilder_free:
|
|
2279
|
+
__wbg_wasminsertbuilder_free: kB,
|
|
2280
|
+
__wbg_wasmmergebuilder_free: NB,
|
|
2281
2281
|
__wbg_wasmselectbuilder_free: yB,
|
|
2282
2282
|
__wbg_wasmsetopbuilder_free: KB,
|
|
2283
2283
|
__wbg_wasmupdatebuilder_free: GB,
|
|
@@ -2286,33 +2286,33 @@ const w = await UI({ "./polyglot_sql_wasm_bg.js": {
|
|
|
2286
2286
|
__wbindgen_export: jD,
|
|
2287
2287
|
__wbindgen_export2: tD,
|
|
2288
2288
|
__wbindgen_export3: fD,
|
|
2289
|
-
__wbindgen_export4:
|
|
2289
|
+
__wbindgen_export4: ZD,
|
|
2290
2290
|
analyze_query: HB,
|
|
2291
2291
|
analyze_query_value: hB,
|
|
2292
|
-
annotate_types:
|
|
2293
|
-
annotate_types_value:
|
|
2294
|
-
ast_add_where:
|
|
2295
|
-
ast_get_aggregate_functions:
|
|
2296
|
-
ast_get_column_names:
|
|
2297
|
-
ast_get_functions:
|
|
2298
|
-
ast_get_literals:
|
|
2292
|
+
annotate_types: SB,
|
|
2293
|
+
annotate_types_value: cB,
|
|
2294
|
+
ast_add_where: JB,
|
|
2295
|
+
ast_get_aggregate_functions: LB,
|
|
2296
|
+
ast_get_column_names: UB,
|
|
2297
|
+
ast_get_functions: FB,
|
|
2298
|
+
ast_get_literals: RB,
|
|
2299
2299
|
ast_get_subqueries: sB,
|
|
2300
2300
|
ast_get_table_names: aB,
|
|
2301
2301
|
ast_get_window_functions: qB,
|
|
2302
2302
|
ast_node_count: pB,
|
|
2303
2303
|
ast_qualify_columns: PB,
|
|
2304
|
-
ast_qualify_tables:
|
|
2305
|
-
ast_remove_where:
|
|
2304
|
+
ast_qualify_tables: OB,
|
|
2305
|
+
ast_remove_where: TB,
|
|
2306
2306
|
ast_rename_columns: jB,
|
|
2307
2307
|
ast_rename_tables: tB,
|
|
2308
2308
|
ast_rename_tables_with_options: fB,
|
|
2309
|
-
ast_set_distinct:
|
|
2309
|
+
ast_set_distinct: ZB,
|
|
2310
2310
|
ast_set_limit: zB,
|
|
2311
|
-
diff_sql:
|
|
2311
|
+
diff_sql: dB,
|
|
2312
2312
|
format_sql: eB,
|
|
2313
|
-
format_sql_value:
|
|
2314
|
-
format_sql_with_options:
|
|
2315
|
-
format_sql_with_options_value:
|
|
2313
|
+
format_sql_value: WB,
|
|
2314
|
+
format_sql_with_options: VB,
|
|
2315
|
+
format_sql_with_options_value: xB,
|
|
2316
2316
|
generate: lB,
|
|
2317
2317
|
generate_data_type: nB,
|
|
2318
2318
|
generate_data_type_value: rB,
|
|
@@ -2336,38 +2336,38 @@ const w = await UI({ "./polyglot_sql_wasm_bg.js": {
|
|
|
2336
2336
|
transpile: iQ,
|
|
2337
2337
|
transpile_value: oQ,
|
|
2338
2338
|
transpile_with_options: MQ,
|
|
2339
|
-
transpile_with_options_value:
|
|
2340
|
-
validate:
|
|
2339
|
+
transpile_with_options_value: kQ,
|
|
2340
|
+
validate: NQ,
|
|
2341
2341
|
validate_with_options: yQ,
|
|
2342
2342
|
validate_with_schema: KQ,
|
|
2343
2343
|
version: GQ,
|
|
2344
2344
|
wasm_alias: YQ,
|
|
2345
2345
|
wasm_and: HQ,
|
|
2346
2346
|
wasm_boolean: hQ,
|
|
2347
|
-
wasm_case_of:
|
|
2348
|
-
wasm_cast:
|
|
2349
|
-
wasm_col:
|
|
2350
|
-
wasm_count_distinct:
|
|
2351
|
-
wasm_extract:
|
|
2352
|
-
wasm_func:
|
|
2353
|
-
wasm_lit:
|
|
2347
|
+
wasm_case_of: SQ,
|
|
2348
|
+
wasm_cast: cQ,
|
|
2349
|
+
wasm_col: JQ,
|
|
2350
|
+
wasm_count_distinct: LQ,
|
|
2351
|
+
wasm_extract: UQ,
|
|
2352
|
+
wasm_func: FQ,
|
|
2353
|
+
wasm_lit: RQ,
|
|
2354
2354
|
wasm_not: sQ,
|
|
2355
2355
|
wasm_null: aQ,
|
|
2356
2356
|
wasm_or: qQ,
|
|
2357
2357
|
wasm_sql_expr: pQ,
|
|
2358
2358
|
wasm_star: PQ,
|
|
2359
|
-
wasm_subquery:
|
|
2360
|
-
wasm_table:
|
|
2359
|
+
wasm_subquery: OQ,
|
|
2360
|
+
wasm_table: TQ,
|
|
2361
2361
|
wasmassignmentarray_len: jQ,
|
|
2362
2362
|
wasmassignmentarray_new: tQ,
|
|
2363
2363
|
wasmassignmentarray_push: fQ,
|
|
2364
|
-
wasmcasebuilder_build_expr:
|
|
2364
|
+
wasmcasebuilder_build_expr: ZQ,
|
|
2365
2365
|
wasmcasebuilder_else_: zQ,
|
|
2366
|
-
wasmcasebuilder_new:
|
|
2366
|
+
wasmcasebuilder_new: dQ,
|
|
2367
2367
|
wasmcasebuilder_to_sql: eQ,
|
|
2368
|
-
wasmcasebuilder_when:
|
|
2369
|
-
wasmdeletebuilder_build:
|
|
2370
|
-
wasmdeletebuilder_new:
|
|
2368
|
+
wasmcasebuilder_when: WQ,
|
|
2369
|
+
wasmdeletebuilder_build: VQ,
|
|
2370
|
+
wasmdeletebuilder_new: xQ,
|
|
2371
2371
|
wasmdeletebuilder_to_sql: lQ,
|
|
2372
2372
|
wasmdeletebuilder_where_expr: nQ,
|
|
2373
2373
|
wasmexpr_add: rQ,
|
|
@@ -2390,39 +2390,39 @@ const w = await UI({ "./polyglot_sql_wasm_bg.js": {
|
|
|
2390
2390
|
wasmexpr_lte: iE,
|
|
2391
2391
|
wasmexpr_mul: oE,
|
|
2392
2392
|
wasmexpr_neq: ME,
|
|
2393
|
-
wasmexpr_not:
|
|
2394
|
-
wasmexpr_not_in:
|
|
2393
|
+
wasmexpr_not: kE,
|
|
2394
|
+
wasmexpr_not_in: NE,
|
|
2395
2395
|
wasmexpr_or: yE,
|
|
2396
2396
|
wasmexpr_rlike: KE,
|
|
2397
2397
|
wasmexpr_sub: GE,
|
|
2398
2398
|
wasmexpr_to_json: YE,
|
|
2399
2399
|
wasmexpr_to_sql: HE,
|
|
2400
2400
|
wasmexpr_xor: hE,
|
|
2401
|
-
wasmexprarray_len:
|
|
2402
|
-
wasmexprarray_new:
|
|
2403
|
-
wasmexprarray_push:
|
|
2404
|
-
wasmexprarray_push_col:
|
|
2405
|
-
wasmexprarray_push_float:
|
|
2406
|
-
wasmexprarray_push_int:
|
|
2407
|
-
wasmexprarray_push_star:
|
|
2408
|
-
wasmexprarray_push_str:
|
|
2401
|
+
wasmexprarray_len: SE,
|
|
2402
|
+
wasmexprarray_new: TD,
|
|
2403
|
+
wasmexprarray_push: cE,
|
|
2404
|
+
wasmexprarray_push_col: JE,
|
|
2405
|
+
wasmexprarray_push_float: LE,
|
|
2406
|
+
wasmexprarray_push_int: UE,
|
|
2407
|
+
wasmexprarray_push_star: FE,
|
|
2408
|
+
wasmexprarray_push_str: RE,
|
|
2409
2409
|
wasminsertbuilder_build: sE,
|
|
2410
2410
|
wasminsertbuilder_columns: aE,
|
|
2411
2411
|
wasminsertbuilder_new: qE,
|
|
2412
2412
|
wasminsertbuilder_query: pE,
|
|
2413
2413
|
wasminsertbuilder_to_sql: PE,
|
|
2414
|
-
wasminsertbuilder_values:
|
|
2415
|
-
wasmmergebuilder_build:
|
|
2414
|
+
wasminsertbuilder_values: OE,
|
|
2415
|
+
wasmmergebuilder_build: TE,
|
|
2416
2416
|
wasmmergebuilder_new: jE,
|
|
2417
2417
|
wasmmergebuilder_to_sql: tE,
|
|
2418
2418
|
wasmmergebuilder_using: fE,
|
|
2419
|
-
wasmmergebuilder_when_matched_delete:
|
|
2419
|
+
wasmmergebuilder_when_matched_delete: ZE,
|
|
2420
2420
|
wasmmergebuilder_when_matched_update: zE,
|
|
2421
|
-
wasmmergebuilder_when_not_matched_insert:
|
|
2421
|
+
wasmmergebuilder_when_not_matched_insert: dE,
|
|
2422
2422
|
wasmselectbuilder_build: eE,
|
|
2423
|
-
wasmselectbuilder_cross_join:
|
|
2424
|
-
wasmselectbuilder_ctas:
|
|
2425
|
-
wasmselectbuilder_ctas_sql:
|
|
2423
|
+
wasmselectbuilder_cross_join: WE,
|
|
2424
|
+
wasmselectbuilder_ctas: VE,
|
|
2425
|
+
wasmselectbuilder_ctas_sql: xE,
|
|
2426
2426
|
wasmselectbuilder_distinct: lE,
|
|
2427
2427
|
wasmselectbuilder_except_: nE,
|
|
2428
2428
|
wasmselectbuilder_for_update: rE,
|
|
@@ -2445,30 +2445,30 @@ const w = await UI({ "./polyglot_sql_wasm_bg.js": {
|
|
|
2445
2445
|
wasmselectbuilder_select_expr: iD,
|
|
2446
2446
|
wasmselectbuilder_select_exprs: oD,
|
|
2447
2447
|
wasmselectbuilder_select_star: MD,
|
|
2448
|
-
wasmselectbuilder_sort_by_exprs:
|
|
2449
|
-
wasmselectbuilder_to_sql:
|
|
2448
|
+
wasmselectbuilder_sort_by_exprs: kD,
|
|
2449
|
+
wasmselectbuilder_to_sql: ND,
|
|
2450
2450
|
wasmselectbuilder_union: yD,
|
|
2451
2451
|
wasmselectbuilder_union_all: KD,
|
|
2452
2452
|
wasmselectbuilder_where_expr: GD,
|
|
2453
2453
|
wasmselectbuilder_where_sql: YD,
|
|
2454
2454
|
wasmselectbuilder_window: HD,
|
|
2455
2455
|
wasmsetopbuilder_build: hD,
|
|
2456
|
-
wasmsetopbuilder_limit:
|
|
2457
|
-
wasmsetopbuilder_offset:
|
|
2458
|
-
wasmsetopbuilder_order_by_exprs:
|
|
2459
|
-
wasmsetopbuilder_to_sql:
|
|
2460
|
-
wasmupdatebuilder_build:
|
|
2461
|
-
wasmupdatebuilder_from:
|
|
2462
|
-
wasmupdatebuilder_new:
|
|
2456
|
+
wasmsetopbuilder_limit: SD,
|
|
2457
|
+
wasmsetopbuilder_offset: cD,
|
|
2458
|
+
wasmsetopbuilder_order_by_exprs: JD,
|
|
2459
|
+
wasmsetopbuilder_to_sql: LD,
|
|
2460
|
+
wasmupdatebuilder_build: UD,
|
|
2461
|
+
wasmupdatebuilder_from: FD,
|
|
2462
|
+
wasmupdatebuilder_new: RD,
|
|
2463
2463
|
wasmupdatebuilder_set: sD,
|
|
2464
2464
|
wasmupdatebuilder_to_sql: aD,
|
|
2465
2465
|
wasmupdatebuilder_where_expr: qD,
|
|
2466
2466
|
wasmwindowdefbuilder_new: pD,
|
|
2467
2467
|
wasmwindowdefbuilder_order_by: PD,
|
|
2468
|
-
wasmwindowdefbuilder_partition_by:
|
|
2468
|
+
wasmwindowdefbuilder_partition_by: OD
|
|
2469
2469
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2470
|
-
QB(
|
|
2471
|
-
const
|
|
2470
|
+
QB(dD);
|
|
2471
|
+
const dg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2472
2472
|
__proto__: null,
|
|
2473
2473
|
WasmAssignmentArray: BA,
|
|
2474
2474
|
WasmCaseBuilder: u,
|
|
@@ -2476,10 +2476,10 @@ const Zg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2476
2476
|
WasmExpr: G,
|
|
2477
2477
|
WasmExprArray: P,
|
|
2478
2478
|
WasmInsertBuilder: MA,
|
|
2479
|
-
WasmMergeBuilder:
|
|
2479
|
+
WasmMergeBuilder: kA,
|
|
2480
2480
|
WasmSelectBuilder: t,
|
|
2481
|
-
WasmSetOpBuilder:
|
|
2482
|
-
WasmUpdateBuilder:
|
|
2481
|
+
WasmSetOpBuilder: V,
|
|
2482
|
+
WasmUpdateBuilder: NA,
|
|
2483
2483
|
WasmWindowDefBuilder: QA,
|
|
2484
2484
|
analyze_query: sI,
|
|
2485
2485
|
analyze_query_value: aI,
|
|
@@ -2498,32 +2498,32 @@ const Zg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2498
2498
|
ast_qualify_tables: ig,
|
|
2499
2499
|
ast_remove_where: og,
|
|
2500
2500
|
ast_rename_columns: Mg,
|
|
2501
|
-
ast_rename_tables:
|
|
2502
|
-
ast_rename_tables_with_options:
|
|
2501
|
+
ast_rename_tables: kg,
|
|
2502
|
+
ast_rename_tables_with_options: Ng,
|
|
2503
2503
|
ast_set_distinct: yg,
|
|
2504
2504
|
ast_set_limit: Kg,
|
|
2505
2505
|
diff_sql: Gg,
|
|
2506
2506
|
format_sql: PI,
|
|
2507
|
-
format_sql_value:
|
|
2508
|
-
format_sql_with_options:
|
|
2507
|
+
format_sql_value: OI,
|
|
2508
|
+
format_sql_with_options: TI,
|
|
2509
2509
|
format_sql_with_options_value: jI,
|
|
2510
2510
|
generate: tI,
|
|
2511
2511
|
generate_data_type: fI,
|
|
2512
|
-
generate_data_type_value:
|
|
2512
|
+
generate_data_type_value: ZI,
|
|
2513
2513
|
generate_value: zI,
|
|
2514
|
-
get_dialects:
|
|
2514
|
+
get_dialects: dI,
|
|
2515
2515
|
get_dialects_value: eI,
|
|
2516
2516
|
lineage_sql: Yg,
|
|
2517
2517
|
lineage_sql_with_schema: Hg,
|
|
2518
2518
|
openlineage_column_lineage: hg,
|
|
2519
|
-
openlineage_job_event:
|
|
2520
|
-
openlineage_run_event:
|
|
2521
|
-
parse:
|
|
2522
|
-
parse_data_type:
|
|
2523
|
-
parse_data_type_value:
|
|
2519
|
+
openlineage_job_event: Sg,
|
|
2520
|
+
openlineage_run_event: cg,
|
|
2521
|
+
parse: WI,
|
|
2522
|
+
parse_data_type: VI,
|
|
2523
|
+
parse_data_type_value: xI,
|
|
2524
2524
|
parse_value: lI,
|
|
2525
|
-
plan:
|
|
2526
|
-
source_tables:
|
|
2525
|
+
plan: Jg,
|
|
2526
|
+
source_tables: Lg,
|
|
2527
2527
|
tokenize: nI,
|
|
2528
2528
|
tokenize_value: rI,
|
|
2529
2529
|
transpile: mI,
|
|
@@ -2532,34 +2532,34 @@ const Zg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2532
2532
|
transpile_with_options_value: vI,
|
|
2533
2533
|
validate: XI,
|
|
2534
2534
|
validate_with_options: _I,
|
|
2535
|
-
validate_with_schema:
|
|
2535
|
+
validate_with_schema: Ug,
|
|
2536
2536
|
version: $I,
|
|
2537
|
-
wasm_alias:
|
|
2538
|
-
wasm_and:
|
|
2537
|
+
wasm_alias: Fg,
|
|
2538
|
+
wasm_and: Rg,
|
|
2539
2539
|
wasm_boolean: sg,
|
|
2540
2540
|
wasm_case_of: ag,
|
|
2541
2541
|
wasm_cast: qg,
|
|
2542
|
-
wasm_col:
|
|
2542
|
+
wasm_col: LA,
|
|
2543
2543
|
wasm_count_distinct: pg,
|
|
2544
2544
|
wasm_extract: Pg,
|
|
2545
|
-
wasm_func:
|
|
2545
|
+
wasm_func: Og,
|
|
2546
2546
|
wasm_lit: yA,
|
|
2547
|
-
wasm_not:
|
|
2547
|
+
wasm_not: Tg,
|
|
2548
2548
|
wasm_null: KA,
|
|
2549
2549
|
wasm_or: jg,
|
|
2550
2550
|
wasm_sql_expr: tg,
|
|
2551
2551
|
wasm_star: fg,
|
|
2552
|
-
wasm_subquery:
|
|
2552
|
+
wasm_subquery: Zg,
|
|
2553
2553
|
wasm_table: zg
|
|
2554
2554
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2555
2555
|
function p(g) {
|
|
2556
2556
|
return Object.keys(g)[0];
|
|
2557
2557
|
}
|
|
2558
|
-
function
|
|
2558
|
+
function T(g) {
|
|
2559
2559
|
const A = Object.keys(g)[0];
|
|
2560
2560
|
return g[A];
|
|
2561
2561
|
}
|
|
2562
|
-
function
|
|
2562
|
+
function x(g) {
|
|
2563
2563
|
if (typeof g != "object" || g === null || Array.isArray(g))
|
|
2564
2564
|
return !1;
|
|
2565
2565
|
const A = Object.keys(g);
|
|
@@ -2571,7 +2571,7 @@ function z(g, A) {
|
|
|
2571
2571
|
return { [g]: A };
|
|
2572
2572
|
}
|
|
2573
2573
|
function eg(g) {
|
|
2574
|
-
const A =
|
|
2574
|
+
const A = T(g);
|
|
2575
2575
|
if (A && typeof A == "object" && "inferred_type" in A) {
|
|
2576
2576
|
const C = A.inferred_type;
|
|
2577
2577
|
if (C != null)
|
|
@@ -2581,7 +2581,7 @@ function eg(g) {
|
|
|
2581
2581
|
function Y(g) {
|
|
2582
2582
|
return (A) => g in A;
|
|
2583
2583
|
}
|
|
2584
|
-
const
|
|
2584
|
+
const Wg = Y("select"), eD = Y("insert"), WD = Y("update"), VD = Y("delete"), xD = Y("union"), lD = Y("intersect"), nD = Y("except"), rD = Y("subquery"), mD = Y("identifier"), Vg = Y("column"), uD = Y("table"), bD = Y("star"), xg = Y("literal"), vD = Y("boolean"), XD = Y("null"), _D = Y("and"), $D = Y("or"), Aw = Y("not"), gw = Y("eq"), Iw = Y("neq"), Cw = Y("lt"), Bw = Y("lte"), Qw = Y("gt"), Ew = Y("gte"), Dw = Y("like"), ww = Y("i_like"), iw = Y("add"), ow = Y("sub"), Mw = Y("mul"), kw = Y("div"), Nw = Y("mod"), yw = Y("concat"), Kw = Y("in"), Gw = Y("between"), Yw = Y("is_null"), Hw = Y("exists"), lg = Y("function"), hw = Y("aggregate_function"), Sw = Y("window_function"), cw = Y("count"), Jw = Y("sum"), Lw = Y("avg"), Uw = Y("min"), Fw = Y("max"), Rw = Y("coalesce"), sw = Y("null_if"), aw = Y("cast"), qw = Y("try_cast"), pw = Y("safe_cast"), Pw = Y("case"), Ow = Y("from"), Tw = Y("join"), jw = Y("where"), tw = Y("group_by"), fw = Y("having"), Zw = Y("order_by"), zw = Y("limit"), dw = Y("offset"), ew = Y("with"), Ww = Y("cte"), Vw = Y("alias"), xw = Y("paren"), lw = Y("ordered"), nw = Y("create_table"), rw = Y("drop_table"), mw = Y("alter_table"), uw = Y("create_index"), bw = Y("drop_index"), vw = Y("create_view"), Xw = Y("drop_view");
|
|
2585
2585
|
function _w(g) {
|
|
2586
2586
|
const A = p(g);
|
|
2587
2587
|
return A === "select" || A === "insert" || A === "update" || A === "delete";
|
|
@@ -2606,7 +2606,7 @@ function Ci(g) {
|
|
|
2606
2606
|
const A = p(g);
|
|
2607
2607
|
return A === "create_table" || A === "drop_table" || A === "alter_table" || A === "create_index" || A === "drop_index" || A === "create_view" || A === "drop_view" || A === "create_schema" || A === "drop_schema" || A === "create_database" || A === "drop_database" || A === "create_function" || A === "drop_function" || A === "create_procedure" || A === "drop_procedure" || A === "create_sequence" || A === "drop_sequence" || A === "alter_sequence" || A === "create_trigger" || A === "drop_trigger" || A === "create_type" || A === "drop_type";
|
|
2608
2608
|
}
|
|
2609
|
-
function
|
|
2609
|
+
function d(g) {
|
|
2610
2610
|
return JSON.stringify(g);
|
|
2611
2611
|
}
|
|
2612
2612
|
function l(g) {
|
|
@@ -2616,17 +2616,17 @@ function l(g) {
|
|
|
2616
2616
|
function ng(g, A, C) {
|
|
2617
2617
|
if (g == null) return g;
|
|
2618
2618
|
if (Array.isArray(g))
|
|
2619
|
-
return g.length > 0 &&
|
|
2619
|
+
return g.length > 0 && x(g[0]) ? g.map(
|
|
2620
2620
|
(B, Q) => iA(B, A, C, null, Q)
|
|
2621
|
-
) : g.length > 0 && Array.isArray(g[0]) ? g.map((B) => Array.isArray(B) ? B.map((Q, E) =>
|
|
2622
|
-
if (
|
|
2621
|
+
) : g.length > 0 && Array.isArray(g[0]) ? g.map((B) => Array.isArray(B) ? B.map((Q, E) => x(Q) ? iA(Q, A, C, null, E) : Q) : B) : g;
|
|
2622
|
+
if (x(g))
|
|
2623
2623
|
return iA(g, A, C, null, null);
|
|
2624
2624
|
if (typeof g == "object") {
|
|
2625
2625
|
const Q = { ...g };
|
|
2626
2626
|
let E = !1;
|
|
2627
2627
|
for (const [D, o] of Object.entries(Q)) {
|
|
2628
|
-
const
|
|
2629
|
-
|
|
2628
|
+
const N = ng(o, A, C);
|
|
2629
|
+
N !== o && (Q[D] = N, E = !0);
|
|
2630
2630
|
}
|
|
2631
2631
|
return E ? Q : g;
|
|
2632
2632
|
}
|
|
@@ -2647,17 +2647,17 @@ function iA(g, A, C, B, Q) {
|
|
|
2647
2647
|
return E;
|
|
2648
2648
|
h !== void 0 && (E = h);
|
|
2649
2649
|
}
|
|
2650
|
-
const
|
|
2650
|
+
const N = p(E), K = T(E);
|
|
2651
2651
|
let y;
|
|
2652
2652
|
if (K == null)
|
|
2653
|
-
y = z(
|
|
2653
|
+
y = z(N, K);
|
|
2654
2654
|
else {
|
|
2655
2655
|
const h = { ...K };
|
|
2656
|
-
for (const [
|
|
2657
|
-
const
|
|
2658
|
-
|
|
2656
|
+
for (const [F, q] of Object.entries(h)) {
|
|
2657
|
+
const O = ng(q, A, E);
|
|
2658
|
+
O !== q && (h[F] = O);
|
|
2659
2659
|
}
|
|
2660
|
-
y = z(
|
|
2660
|
+
y = z(N, h);
|
|
2661
2661
|
}
|
|
2662
2662
|
if (A.leave) {
|
|
2663
2663
|
const h = A.leave(y, C, B, Q);
|
|
@@ -2686,40 +2686,40 @@ function Bi(g, A, C) {
|
|
|
2686
2686
|
}
|
|
2687
2687
|
function mg(g, A) {
|
|
2688
2688
|
return l(
|
|
2689
|
-
Mg(
|
|
2689
|
+
Mg(d(g), JSON.stringify(A))
|
|
2690
2690
|
) ?? g;
|
|
2691
2691
|
}
|
|
2692
2692
|
function Qi(g, A, C) {
|
|
2693
2693
|
return l(
|
|
2694
|
-
C ?
|
|
2695
|
-
|
|
2694
|
+
C ? Ng(
|
|
2695
|
+
d(g),
|
|
2696
2696
|
JSON.stringify(A),
|
|
2697
2697
|
JSON.stringify(C)
|
|
2698
|
-
) :
|
|
2698
|
+
) : kg(d(g), JSON.stringify(A))
|
|
2699
2699
|
) ?? g;
|
|
2700
2700
|
}
|
|
2701
2701
|
function Ei(g, A) {
|
|
2702
2702
|
return l(
|
|
2703
|
-
wg(
|
|
2703
|
+
wg(d(g), A)
|
|
2704
2704
|
) ?? g;
|
|
2705
2705
|
}
|
|
2706
2706
|
function Di(g, A = {}) {
|
|
2707
2707
|
return l(
|
|
2708
|
-
ig(
|
|
2708
|
+
ig(d(g), JSON.stringify(A))
|
|
2709
2709
|
) ?? g;
|
|
2710
2710
|
}
|
|
2711
2711
|
function wi(g, A, C = "and") {
|
|
2712
2712
|
return l(
|
|
2713
|
-
$A(
|
|
2713
|
+
$A(d(g), d(A), C === "or")
|
|
2714
2714
|
) ?? g;
|
|
2715
2715
|
}
|
|
2716
2716
|
function ii(g) {
|
|
2717
|
-
return l(og(
|
|
2717
|
+
return l(og(d(g))) ?? g;
|
|
2718
2718
|
}
|
|
2719
2719
|
function oi(g, ...A) {
|
|
2720
2720
|
if (p(g) !== "select")
|
|
2721
2721
|
return g;
|
|
2722
|
-
const C =
|
|
2722
|
+
const C = T(g);
|
|
2723
2723
|
return z("select", {
|
|
2724
2724
|
...C,
|
|
2725
2725
|
expressions: [...C.expressions, ...A]
|
|
@@ -2728,27 +2728,27 @@ function oi(g, ...A) {
|
|
|
2728
2728
|
function Mi(g, A) {
|
|
2729
2729
|
if (p(g) !== "select")
|
|
2730
2730
|
return g;
|
|
2731
|
-
const C =
|
|
2731
|
+
const C = T(g);
|
|
2732
2732
|
return z("select", {
|
|
2733
2733
|
...C,
|
|
2734
2734
|
expressions: C.expressions.filter((B) => !A(B))
|
|
2735
2735
|
});
|
|
2736
2736
|
}
|
|
2737
|
-
function
|
|
2737
|
+
function ki(g, A) {
|
|
2738
2738
|
if (typeof A == "number")
|
|
2739
|
-
return l(Kg(
|
|
2739
|
+
return l(Kg(d(g), A)) ?? g;
|
|
2740
2740
|
if (p(g) !== "select")
|
|
2741
2741
|
return g;
|
|
2742
|
-
const C =
|
|
2742
|
+
const C = T(g);
|
|
2743
2743
|
return z("select", {
|
|
2744
2744
|
...C,
|
|
2745
2745
|
limit: { this: A }
|
|
2746
2746
|
});
|
|
2747
2747
|
}
|
|
2748
|
-
function
|
|
2748
|
+
function Ni(g, A) {
|
|
2749
2749
|
if (p(g) !== "select")
|
|
2750
2750
|
return g;
|
|
2751
|
-
const C =
|
|
2751
|
+
const C = T(g), B = typeof A == "number" ? z("literal", { literal_type: "number", value: String(A) }) : A;
|
|
2752
2752
|
return z("select", {
|
|
2753
2753
|
...C,
|
|
2754
2754
|
offset: { this: B }
|
|
@@ -2757,7 +2757,7 @@ function ki(g, A) {
|
|
|
2757
2757
|
function yi(g) {
|
|
2758
2758
|
if (p(g) !== "select")
|
|
2759
2759
|
return g;
|
|
2760
|
-
const A =
|
|
2760
|
+
const A = T(g);
|
|
2761
2761
|
return z("select", {
|
|
2762
2762
|
...A,
|
|
2763
2763
|
limit: null,
|
|
@@ -2765,7 +2765,7 @@ function yi(g) {
|
|
|
2765
2765
|
});
|
|
2766
2766
|
}
|
|
2767
2767
|
function Ki(g, A = !0) {
|
|
2768
|
-
return l(yg(
|
|
2768
|
+
return l(yg(d(g), A)) ?? g;
|
|
2769
2769
|
}
|
|
2770
2770
|
function Gi(g) {
|
|
2771
2771
|
return YA(g, {});
|
|
@@ -2773,22 +2773,22 @@ function Gi(g) {
|
|
|
2773
2773
|
function ug(g, A, C) {
|
|
2774
2774
|
if (g == null) return g;
|
|
2775
2775
|
if (Array.isArray(g))
|
|
2776
|
-
return g.length > 0 &&
|
|
2777
|
-
if (
|
|
2778
|
-
return
|
|
2776
|
+
return g.length > 0 && x(g[0]) ? g.filter((B) => !A(B, C)).map((B) => JA(B, A)) : g;
|
|
2777
|
+
if (x(g))
|
|
2778
|
+
return JA(g, A);
|
|
2779
2779
|
if (typeof g == "object") {
|
|
2780
2780
|
const Q = { ...g };
|
|
2781
2781
|
let E = !1;
|
|
2782
2782
|
for (const [D, o] of Object.entries(Q)) {
|
|
2783
|
-
const
|
|
2784
|
-
|
|
2783
|
+
const N = ug(o, A, C);
|
|
2784
|
+
N !== o && (Q[D] = N, E = !0);
|
|
2785
2785
|
}
|
|
2786
2786
|
return E ? Q : g;
|
|
2787
2787
|
}
|
|
2788
2788
|
return g;
|
|
2789
2789
|
}
|
|
2790
|
-
function
|
|
2791
|
-
const C = p(g), Q = { ...
|
|
2790
|
+
function JA(g, A) {
|
|
2791
|
+
const C = p(g), Q = { ...T(g) };
|
|
2792
2792
|
for (const [E, D] of Object.entries(Q)) {
|
|
2793
2793
|
const o = ug(D, A, g);
|
|
2794
2794
|
o !== D && (Q[E] = o);
|
|
@@ -2801,15 +2801,15 @@ function n(g) {
|
|
|
2801
2801
|
function bg(g, A, C) {
|
|
2802
2802
|
if (g != null) {
|
|
2803
2803
|
if (Array.isArray(g)) {
|
|
2804
|
-
if (g.length > 0 &&
|
|
2804
|
+
if (g.length > 0 && x(g[0]))
|
|
2805
2805
|
C.push({ key: A, value: g });
|
|
2806
2806
|
else if (g.length > 0 && Array.isArray(g[0])) {
|
|
2807
2807
|
for (const B of g)
|
|
2808
2808
|
if (Array.isArray(B))
|
|
2809
2809
|
for (const Q of B)
|
|
2810
|
-
|
|
2810
|
+
x(Q) && C.push({ key: A, value: Q });
|
|
2811
2811
|
}
|
|
2812
|
-
} else if (
|
|
2812
|
+
} else if (x(g))
|
|
2813
2813
|
C.push({ key: A, value: g });
|
|
2814
2814
|
else if (typeof g == "object")
|
|
2815
2815
|
for (const [, B] of Object.entries(
|
|
@@ -2819,26 +2819,26 @@ function bg(g, A, C) {
|
|
|
2819
2819
|
}
|
|
2820
2820
|
}
|
|
2821
2821
|
function vg(g) {
|
|
2822
|
-
const A = [], C =
|
|
2822
|
+
const A = [], C = T(g);
|
|
2823
2823
|
if (!C || typeof C != "object") return A;
|
|
2824
2824
|
for (const [B, Q] of Object.entries(C))
|
|
2825
2825
|
bg(Q, B, A);
|
|
2826
2826
|
return A;
|
|
2827
2827
|
}
|
|
2828
|
-
function
|
|
2828
|
+
function Z(g, A, C = null, B = null, Q = null) {
|
|
2829
2829
|
A.enter && A.enter(g, C, B, Q);
|
|
2830
2830
|
const E = p(g), D = A[E];
|
|
2831
2831
|
D && D(g, C, B, Q);
|
|
2832
2832
|
const o = vg(g);
|
|
2833
|
-
for (const
|
|
2834
|
-
Array.isArray(
|
|
2835
|
-
|
|
2836
|
-
}) :
|
|
2833
|
+
for (const N of o)
|
|
2834
|
+
Array.isArray(N.value) ? N.value.forEach((K, y) => {
|
|
2835
|
+
Z(K, A, g, N.key, y);
|
|
2836
|
+
}) : Z(N.value, A, g, N.key, null);
|
|
2837
2837
|
A.leave && A.leave(g, C, B, Q);
|
|
2838
2838
|
}
|
|
2839
2839
|
function HA(g, A) {
|
|
2840
2840
|
const C = [];
|
|
2841
|
-
return
|
|
2841
|
+
return Z(g, {
|
|
2842
2842
|
enter: (B, Q) => {
|
|
2843
2843
|
A(B, Q) && C.push(B);
|
|
2844
2844
|
}
|
|
@@ -2849,7 +2849,7 @@ function EA(g, A) {
|
|
|
2849
2849
|
}
|
|
2850
2850
|
function Xg(g, A) {
|
|
2851
2851
|
let C, B = !1;
|
|
2852
|
-
return
|
|
2852
|
+
return Z(g, {
|
|
2853
2853
|
enter: (Q, E) => {
|
|
2854
2854
|
!B && A(Q, E) && (C = Q, B = !0);
|
|
2855
2855
|
}
|
|
@@ -2860,7 +2860,7 @@ function Yi(g, A) {
|
|
|
2860
2860
|
}
|
|
2861
2861
|
function Hi(g, A) {
|
|
2862
2862
|
let C = !0;
|
|
2863
|
-
return
|
|
2863
|
+
return Z(g, {
|
|
2864
2864
|
enter: (B, Q) => {
|
|
2865
2865
|
A(B, Q) || (C = !1);
|
|
2866
2866
|
}
|
|
@@ -2872,13 +2872,13 @@ function hi(g, A) {
|
|
|
2872
2872
|
function _g(g) {
|
|
2873
2873
|
return EA(g, "column");
|
|
2874
2874
|
}
|
|
2875
|
-
function
|
|
2875
|
+
function Si(g) {
|
|
2876
2876
|
return EA(g, "table");
|
|
2877
2877
|
}
|
|
2878
|
-
function
|
|
2878
|
+
function ci(g) {
|
|
2879
2879
|
return EA(g, "identifier");
|
|
2880
2880
|
}
|
|
2881
|
-
function
|
|
2881
|
+
function Ji(g) {
|
|
2882
2882
|
const A = JSON.parse(Ig(n(g)));
|
|
2883
2883
|
return A.success ? JSON.parse(A.ast) : [];
|
|
2884
2884
|
}
|
|
@@ -2894,22 +2894,22 @@ function AI(g) {
|
|
|
2894
2894
|
const A = JSON.parse(Bg(n(g)));
|
|
2895
2895
|
return A.success ? JSON.parse(A.ast) : [];
|
|
2896
2896
|
}
|
|
2897
|
-
function
|
|
2897
|
+
function Li(g) {
|
|
2898
2898
|
const A = JSON.parse(Cg(n(g)));
|
|
2899
2899
|
return A.success ? JSON.parse(A.ast) : [];
|
|
2900
2900
|
}
|
|
2901
|
-
function
|
|
2901
|
+
function Ui(g) {
|
|
2902
2902
|
const A = JSON.parse(gg(n(g)));
|
|
2903
2903
|
return A.success ? A.result : [];
|
|
2904
2904
|
}
|
|
2905
|
-
function
|
|
2905
|
+
function Fi(g) {
|
|
2906
2906
|
const A = JSON.parse(Qg(n(g)));
|
|
2907
2907
|
return A.success ? A.result : [];
|
|
2908
2908
|
}
|
|
2909
2909
|
function gI(g) {
|
|
2910
2910
|
return CA(g).length > 0;
|
|
2911
2911
|
}
|
|
2912
|
-
function
|
|
2912
|
+
function Ri(g) {
|
|
2913
2913
|
return $g(g).length > 0;
|
|
2914
2914
|
}
|
|
2915
2915
|
function si(g) {
|
|
@@ -2917,7 +2917,7 @@ function si(g) {
|
|
|
2917
2917
|
}
|
|
2918
2918
|
function ai(g) {
|
|
2919
2919
|
let A = 0, C = 0;
|
|
2920
|
-
return
|
|
2920
|
+
return Z(g, {
|
|
2921
2921
|
enter: () => {
|
|
2922
2922
|
C++, A = Math.max(A, C);
|
|
2923
2923
|
},
|
|
@@ -2932,7 +2932,7 @@ function qi(g) {
|
|
|
2932
2932
|
}
|
|
2933
2933
|
function pi(g, A) {
|
|
2934
2934
|
let C = null;
|
|
2935
|
-
return
|
|
2935
|
+
return Z(g, {
|
|
2936
2936
|
enter: (B, Q) => {
|
|
2937
2937
|
B === A && (C = Q);
|
|
2938
2938
|
}
|
|
@@ -2941,7 +2941,7 @@ function pi(g, A) {
|
|
|
2941
2941
|
function Pi(g, A, C) {
|
|
2942
2942
|
const B = [];
|
|
2943
2943
|
let Q = null;
|
|
2944
|
-
return
|
|
2944
|
+
return Z(g, {
|
|
2945
2945
|
enter: (E) => {
|
|
2946
2946
|
if (Q === null) {
|
|
2947
2947
|
if (E === A)
|
|
@@ -2960,9 +2960,9 @@ function Pi(g, A, C) {
|
|
|
2960
2960
|
}
|
|
2961
2961
|
}), Q;
|
|
2962
2962
|
}
|
|
2963
|
-
function
|
|
2963
|
+
function Oi(g, A) {
|
|
2964
2964
|
let C = 0, B = 0;
|
|
2965
|
-
return
|
|
2965
|
+
return Z(g, {
|
|
2966
2966
|
enter: (Q) => {
|
|
2967
2967
|
B++, Q === A && (C = B);
|
|
2968
2968
|
},
|
|
@@ -2971,7 +2971,7 @@ function Ti(g, A) {
|
|
|
2971
2971
|
}
|
|
2972
2972
|
}), C;
|
|
2973
2973
|
}
|
|
2974
|
-
const
|
|
2974
|
+
const Ti = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2975
2975
|
__proto__: null,
|
|
2976
2976
|
addSelectColumns: oi,
|
|
2977
2977
|
addWhere: wi,
|
|
@@ -2984,55 +2984,55 @@ const Oi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2984
2984
|
findFirst: Xg,
|
|
2985
2985
|
getAggregateFunctions: CA,
|
|
2986
2986
|
getChildren: vg,
|
|
2987
|
-
getColumnNames:
|
|
2987
|
+
getColumnNames: Ui,
|
|
2988
2988
|
getColumns: _g,
|
|
2989
2989
|
getDepth: ai,
|
|
2990
|
-
getExprData:
|
|
2990
|
+
getExprData: T,
|
|
2991
2991
|
getExprType: p,
|
|
2992
|
-
getFunctions:
|
|
2993
|
-
getIdentifiers:
|
|
2992
|
+
getFunctions: Ji,
|
|
2993
|
+
getIdentifiers: ci,
|
|
2994
2994
|
getInferredType: eg,
|
|
2995
|
-
getLiterals:
|
|
2996
|
-
getNodeDepth:
|
|
2995
|
+
getLiterals: Li,
|
|
2996
|
+
getNodeDepth: Oi,
|
|
2997
2997
|
getParent: pi,
|
|
2998
2998
|
getSubqueries: AI,
|
|
2999
|
-
getTableNames:
|
|
3000
|
-
getTables:
|
|
2999
|
+
getTableNames: Fi,
|
|
3000
|
+
getTables: Si,
|
|
3001
3001
|
getWindowFunctions: $g,
|
|
3002
3002
|
hasAggregates: gI,
|
|
3003
3003
|
hasSubqueries: si,
|
|
3004
|
-
hasWindowFunctions:
|
|
3004
|
+
hasWindowFunctions: Ri,
|
|
3005
3005
|
isAdd: iw,
|
|
3006
3006
|
isAggregateFunction: hw,
|
|
3007
|
-
isAlias:
|
|
3007
|
+
isAlias: Vw,
|
|
3008
3008
|
isAlterTable: mw,
|
|
3009
3009
|
isAnd: _D,
|
|
3010
3010
|
isArithmetic: gi,
|
|
3011
|
-
isAvg:
|
|
3011
|
+
isAvg: Lw,
|
|
3012
3012
|
isBetween: Gw,
|
|
3013
3013
|
isBoolean: vD,
|
|
3014
3014
|
isCase: Pw,
|
|
3015
3015
|
isCast: aw,
|
|
3016
|
-
isCoalesce:
|
|
3017
|
-
isColumn:
|
|
3016
|
+
isCoalesce: Rw,
|
|
3017
|
+
isColumn: Vg,
|
|
3018
3018
|
isComparison: Ai,
|
|
3019
3019
|
isConcat: yw,
|
|
3020
|
-
isCount:
|
|
3020
|
+
isCount: cw,
|
|
3021
3021
|
isCreateIndex: uw,
|
|
3022
3022
|
isCreateTable: nw,
|
|
3023
3023
|
isCreateView: vw,
|
|
3024
|
-
isCte:
|
|
3024
|
+
isCte: Ww,
|
|
3025
3025
|
isDDL: Ci,
|
|
3026
|
-
isDelete:
|
|
3027
|
-
isDiv:
|
|
3026
|
+
isDelete: VD,
|
|
3027
|
+
isDiv: kw,
|
|
3028
3028
|
isDropIndex: bw,
|
|
3029
3029
|
isDropTable: rw,
|
|
3030
3030
|
isDropView: Xw,
|
|
3031
3031
|
isEq: gw,
|
|
3032
3032
|
isExcept: nD,
|
|
3033
3033
|
isExists: Hw,
|
|
3034
|
-
isExpressionValue:
|
|
3035
|
-
isFrom:
|
|
3034
|
+
isExpressionValue: x,
|
|
3035
|
+
isFrom: Ow,
|
|
3036
3036
|
isFunction: lg,
|
|
3037
3037
|
isGroupBy: tw,
|
|
3038
3038
|
isGt: Qw,
|
|
@@ -3044,46 +3044,46 @@ const Oi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3044
3044
|
isInsert: eD,
|
|
3045
3045
|
isIntersect: lD,
|
|
3046
3046
|
isIsNull: Yw,
|
|
3047
|
-
isJoin:
|
|
3047
|
+
isJoin: Tw,
|
|
3048
3048
|
isLike: Dw,
|
|
3049
3049
|
isLimit: zw,
|
|
3050
|
-
isLiteral:
|
|
3050
|
+
isLiteral: xg,
|
|
3051
3051
|
isLogical: Ii,
|
|
3052
3052
|
isLt: Cw,
|
|
3053
3053
|
isLte: Bw,
|
|
3054
|
-
isMax:
|
|
3055
|
-
isMin:
|
|
3056
|
-
isMod:
|
|
3054
|
+
isMax: Fw,
|
|
3055
|
+
isMin: Uw,
|
|
3056
|
+
isMod: Nw,
|
|
3057
3057
|
isMul: Mw,
|
|
3058
3058
|
isNeq: Iw,
|
|
3059
3059
|
isNot: Aw,
|
|
3060
3060
|
isNullIf: sw,
|
|
3061
3061
|
isNullLiteral: XD,
|
|
3062
|
-
isOffset:
|
|
3062
|
+
isOffset: dw,
|
|
3063
3063
|
isOr: $D,
|
|
3064
|
-
isOrderBy:
|
|
3064
|
+
isOrderBy: Zw,
|
|
3065
3065
|
isOrdered: lw,
|
|
3066
|
-
isParen:
|
|
3066
|
+
isParen: xw,
|
|
3067
3067
|
isQuery: _w,
|
|
3068
3068
|
isSafeCast: pw,
|
|
3069
|
-
isSelect:
|
|
3069
|
+
isSelect: Wg,
|
|
3070
3070
|
isSetOperation: $w,
|
|
3071
3071
|
isStar: bD,
|
|
3072
3072
|
isSub: ow,
|
|
3073
3073
|
isSubquery: rD,
|
|
3074
|
-
isSum:
|
|
3074
|
+
isSum: Jw,
|
|
3075
3075
|
isTable: uD,
|
|
3076
3076
|
isTryCast: qw,
|
|
3077
|
-
isUnion:
|
|
3078
|
-
isUpdate:
|
|
3077
|
+
isUnion: xD,
|
|
3078
|
+
isUpdate: WD,
|
|
3079
3079
|
isWhere: jw,
|
|
3080
|
-
isWindowFunction:
|
|
3080
|
+
isWindowFunction: Sw,
|
|
3081
3081
|
isWith: ew,
|
|
3082
3082
|
makeExpr: z,
|
|
3083
3083
|
nodeCount: qi,
|
|
3084
3084
|
qualifyColumns: Ei,
|
|
3085
3085
|
qualifyTables: Di,
|
|
3086
|
-
remove:
|
|
3086
|
+
remove: JA,
|
|
3087
3087
|
removeLimitOffset: yi,
|
|
3088
3088
|
removeSelectColumns: Mi,
|
|
3089
3089
|
removeWhere: ii,
|
|
@@ -3092,22 +3092,22 @@ const Oi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3092
3092
|
replaceByType: Bi,
|
|
3093
3093
|
replaceNodes: rg,
|
|
3094
3094
|
setDistinct: Ki,
|
|
3095
|
-
setLimit:
|
|
3096
|
-
setOffset:
|
|
3095
|
+
setLimit: ki,
|
|
3096
|
+
setOffset: Ni,
|
|
3097
3097
|
some: Yi,
|
|
3098
3098
|
transform: YA,
|
|
3099
|
-
walk:
|
|
3099
|
+
walk: Z
|
|
3100
3100
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
3101
|
-
function
|
|
3102
|
-
return g instanceof
|
|
3101
|
+
function U(g) {
|
|
3102
|
+
return g instanceof c ? g._w : typeof g == "string" ? LA(g) : typeof g == "number" || typeof g == "boolean" || g === null ? yA(g) : KA();
|
|
3103
3103
|
}
|
|
3104
3104
|
function f(g) {
|
|
3105
3105
|
const A = new P();
|
|
3106
3106
|
for (const C of g)
|
|
3107
|
-
C instanceof
|
|
3107
|
+
C instanceof c ? A.push(C._w) : typeof C == "string" ? A.push_col(C) : typeof C == "number" ? Number.isInteger(C) ? A.push_int(C) : A.push_float(C) : typeof C == "boolean" || C === null ? A.push(yA(C)) : A.push(KA());
|
|
3108
3108
|
return A;
|
|
3109
3109
|
}
|
|
3110
|
-
class
|
|
3110
|
+
class c {
|
|
3111
3111
|
/** @internal WASM handle — do not use directly */
|
|
3112
3112
|
_w;
|
|
3113
3113
|
/** @internal */
|
|
@@ -3116,90 +3116,90 @@ class S {
|
|
|
3116
3116
|
}
|
|
3117
3117
|
// -- Comparison --
|
|
3118
3118
|
eq(A) {
|
|
3119
|
-
return new
|
|
3119
|
+
return new c(this._w.eq(U(A)));
|
|
3120
3120
|
}
|
|
3121
3121
|
neq(A) {
|
|
3122
|
-
return new
|
|
3122
|
+
return new c(this._w.neq(U(A)));
|
|
3123
3123
|
}
|
|
3124
3124
|
lt(A) {
|
|
3125
|
-
return new
|
|
3125
|
+
return new c(this._w.lt(U(A)));
|
|
3126
3126
|
}
|
|
3127
3127
|
lte(A) {
|
|
3128
|
-
return new
|
|
3128
|
+
return new c(this._w.lte(U(A)));
|
|
3129
3129
|
}
|
|
3130
3130
|
gt(A) {
|
|
3131
|
-
return new
|
|
3131
|
+
return new c(this._w.gt(U(A)));
|
|
3132
3132
|
}
|
|
3133
3133
|
gte(A) {
|
|
3134
|
-
return new
|
|
3134
|
+
return new c(this._w.gte(U(A)));
|
|
3135
3135
|
}
|
|
3136
3136
|
// -- Logical --
|
|
3137
3137
|
and(A) {
|
|
3138
|
-
return new
|
|
3138
|
+
return new c(this._w.and(U(A)));
|
|
3139
3139
|
}
|
|
3140
3140
|
or(A) {
|
|
3141
|
-
return new
|
|
3141
|
+
return new c(this._w.or(U(A)));
|
|
3142
3142
|
}
|
|
3143
3143
|
not() {
|
|
3144
|
-
return new
|
|
3144
|
+
return new c(this._w.not());
|
|
3145
3145
|
}
|
|
3146
3146
|
xor(A) {
|
|
3147
|
-
return new
|
|
3147
|
+
return new c(this._w.xor(U(A)));
|
|
3148
3148
|
}
|
|
3149
3149
|
// -- Arithmetic --
|
|
3150
3150
|
add(A) {
|
|
3151
|
-
return new
|
|
3151
|
+
return new c(this._w.add(U(A)));
|
|
3152
3152
|
}
|
|
3153
3153
|
sub(A) {
|
|
3154
|
-
return new
|
|
3154
|
+
return new c(this._w.sub(U(A)));
|
|
3155
3155
|
}
|
|
3156
3156
|
mul(A) {
|
|
3157
|
-
return new
|
|
3157
|
+
return new c(this._w.mul(U(A)));
|
|
3158
3158
|
}
|
|
3159
3159
|
div(A) {
|
|
3160
|
-
return new
|
|
3160
|
+
return new c(this._w.div(U(A)));
|
|
3161
3161
|
}
|
|
3162
3162
|
// -- Pattern matching --
|
|
3163
3163
|
like(A) {
|
|
3164
|
-
return new
|
|
3164
|
+
return new c(this._w.like(U(A)));
|
|
3165
3165
|
}
|
|
3166
3166
|
ilike(A) {
|
|
3167
|
-
return new
|
|
3167
|
+
return new c(this._w.ilike(U(A)));
|
|
3168
3168
|
}
|
|
3169
3169
|
rlike(A) {
|
|
3170
|
-
return new
|
|
3170
|
+
return new c(this._w.rlike(U(A)));
|
|
3171
3171
|
}
|
|
3172
3172
|
// -- Predicates --
|
|
3173
3173
|
isNull() {
|
|
3174
|
-
return new
|
|
3174
|
+
return new c(this._w.is_null());
|
|
3175
3175
|
}
|
|
3176
3176
|
isNotNull() {
|
|
3177
|
-
return new
|
|
3177
|
+
return new c(this._w.is_not_null());
|
|
3178
3178
|
}
|
|
3179
3179
|
between(A, C) {
|
|
3180
|
-
return new
|
|
3180
|
+
return new c(this._w.between(U(A), U(C)));
|
|
3181
3181
|
}
|
|
3182
3182
|
inList(...A) {
|
|
3183
|
-
return new
|
|
3183
|
+
return new c(this._w.in_list(f(A)));
|
|
3184
3184
|
}
|
|
3185
3185
|
notIn(...A) {
|
|
3186
|
-
return new
|
|
3186
|
+
return new c(this._w.not_in(f(A)));
|
|
3187
3187
|
}
|
|
3188
3188
|
// -- Transform --
|
|
3189
3189
|
alias(A) {
|
|
3190
|
-
return new
|
|
3190
|
+
return new c(this._w.alias(A));
|
|
3191
3191
|
}
|
|
3192
3192
|
as(A) {
|
|
3193
3193
|
return this.alias(A);
|
|
3194
3194
|
}
|
|
3195
3195
|
cast(A) {
|
|
3196
|
-
return new
|
|
3196
|
+
return new c(this._w.cast(A));
|
|
3197
3197
|
}
|
|
3198
3198
|
asc() {
|
|
3199
|
-
return new
|
|
3199
|
+
return new c(this._w.asc());
|
|
3200
3200
|
}
|
|
3201
3201
|
desc() {
|
|
3202
|
-
return new
|
|
3202
|
+
return new c(this._w.desc());
|
|
3203
3203
|
}
|
|
3204
3204
|
// -- Output --
|
|
3205
3205
|
/** Generate SQL string. Defaults to generic dialect. */
|
|
@@ -3235,67 +3235,67 @@ class ji {
|
|
|
3235
3235
|
}
|
|
3236
3236
|
}
|
|
3237
3237
|
function ti(g) {
|
|
3238
|
-
return new
|
|
3238
|
+
return new c(LA(g));
|
|
3239
3239
|
}
|
|
3240
3240
|
function fi(g) {
|
|
3241
|
-
return new
|
|
3241
|
+
return new c(yA(g));
|
|
3242
3242
|
}
|
|
3243
3243
|
function II() {
|
|
3244
|
-
return new
|
|
3244
|
+
return new c(fg());
|
|
3245
3245
|
}
|
|
3246
|
-
function
|
|
3247
|
-
return new
|
|
3246
|
+
function Zi() {
|
|
3247
|
+
return new c(KA());
|
|
3248
3248
|
}
|
|
3249
|
-
function
|
|
3250
|
-
return new
|
|
3249
|
+
function FA(g) {
|
|
3250
|
+
return new c(sg(g));
|
|
3251
3251
|
}
|
|
3252
3252
|
function zi(g) {
|
|
3253
|
-
return new
|
|
3253
|
+
return new c(zg(g));
|
|
3254
3254
|
}
|
|
3255
3255
|
function CI(g) {
|
|
3256
|
-
return new
|
|
3256
|
+
return new c(tg(g));
|
|
3257
3257
|
}
|
|
3258
|
-
function
|
|
3258
|
+
function di(g) {
|
|
3259
3259
|
return CI(g);
|
|
3260
3260
|
}
|
|
3261
3261
|
function s(g, ...A) {
|
|
3262
|
-
return new
|
|
3262
|
+
return new c(Og(g, f(A)));
|
|
3263
3263
|
}
|
|
3264
3264
|
function ei(g) {
|
|
3265
|
-
return new
|
|
3266
|
-
}
|
|
3267
|
-
function xi(g, A) {
|
|
3268
|
-
return new S(qg(L(g), A));
|
|
3265
|
+
return new c(Tg(U(g)));
|
|
3269
3266
|
}
|
|
3270
3267
|
function Wi(g, A) {
|
|
3271
|
-
return new
|
|
3268
|
+
return new c(qg(U(g), A));
|
|
3272
3269
|
}
|
|
3273
3270
|
function Vi(g, A) {
|
|
3274
|
-
return new
|
|
3271
|
+
return new c(Fg(U(g), A));
|
|
3272
|
+
}
|
|
3273
|
+
function xi(g, A) {
|
|
3274
|
+
return new c(Zg(g._w, A));
|
|
3275
3275
|
}
|
|
3276
3276
|
function li(...g) {
|
|
3277
|
-
if (g.length === 0) return
|
|
3277
|
+
if (g.length === 0) return FA(!0);
|
|
3278
3278
|
if (g.length === 1)
|
|
3279
|
-
return g[0] instanceof
|
|
3280
|
-
let A =
|
|
3279
|
+
return g[0] instanceof c ? g[0] : new c(U(g[0]));
|
|
3280
|
+
let A = U(g[0]);
|
|
3281
3281
|
for (let C = 1; C < g.length; C++)
|
|
3282
|
-
A =
|
|
3283
|
-
return new
|
|
3282
|
+
A = Rg(A, U(g[C]));
|
|
3283
|
+
return new c(A);
|
|
3284
3284
|
}
|
|
3285
3285
|
function ni(...g) {
|
|
3286
|
-
if (g.length === 0) return
|
|
3286
|
+
if (g.length === 0) return FA(!1);
|
|
3287
3287
|
if (g.length === 1)
|
|
3288
|
-
return g[0] instanceof
|
|
3289
|
-
let A =
|
|
3288
|
+
return g[0] instanceof c ? g[0] : new c(U(g[0]));
|
|
3289
|
+
let A = U(g[0]);
|
|
3290
3290
|
for (let C = 1; C < g.length; C++)
|
|
3291
|
-
A = jg(A,
|
|
3292
|
-
return new
|
|
3291
|
+
A = jg(A, U(g[C]));
|
|
3292
|
+
return new c(A);
|
|
3293
3293
|
}
|
|
3294
3294
|
function ri(g) {
|
|
3295
3295
|
return g !== void 0 ? s("COUNT", g) : s("COUNT", II());
|
|
3296
3296
|
}
|
|
3297
3297
|
function mi(g) {
|
|
3298
|
-
return new
|
|
3298
|
+
return new c(pg(U(g)));
|
|
3299
3299
|
}
|
|
3300
3300
|
function ui(g) {
|
|
3301
3301
|
return s("SUM", g);
|
|
@@ -3351,10 +3351,10 @@ function oo(g, A) {
|
|
|
3351
3351
|
function Mo(g, A) {
|
|
3352
3352
|
return s("IFNULL", g, A);
|
|
3353
3353
|
}
|
|
3354
|
-
function
|
|
3354
|
+
function ko(g) {
|
|
3355
3355
|
return s("ABS", g);
|
|
3356
3356
|
}
|
|
3357
|
-
function
|
|
3357
|
+
function No(g, A) {
|
|
3358
3358
|
return A !== void 0 ? s("ROUND", g, A) : s("ROUND", g);
|
|
3359
3359
|
}
|
|
3360
3360
|
function yo(g) {
|
|
@@ -3375,26 +3375,26 @@ function Ho(g) {
|
|
|
3375
3375
|
function ho(g) {
|
|
3376
3376
|
return s("EXP", g);
|
|
3377
3377
|
}
|
|
3378
|
-
function
|
|
3378
|
+
function So(g) {
|
|
3379
3379
|
return s("SIGN", g);
|
|
3380
3380
|
}
|
|
3381
|
-
function
|
|
3381
|
+
function co(...g) {
|
|
3382
3382
|
return s("GREATEST", ...g);
|
|
3383
3383
|
}
|
|
3384
|
-
function
|
|
3384
|
+
function Jo(...g) {
|
|
3385
3385
|
return s("LEAST", ...g);
|
|
3386
3386
|
}
|
|
3387
|
-
function
|
|
3387
|
+
function Lo() {
|
|
3388
3388
|
return s("CURRENT_DATE");
|
|
3389
3389
|
}
|
|
3390
|
-
function
|
|
3390
|
+
function Uo() {
|
|
3391
3391
|
return s("CURRENT_TIME");
|
|
3392
3392
|
}
|
|
3393
|
-
function
|
|
3393
|
+
function Fo() {
|
|
3394
3394
|
return s("CURRENT_TIMESTAMP");
|
|
3395
3395
|
}
|
|
3396
|
-
function
|
|
3397
|
-
return new
|
|
3396
|
+
function Ro(g, A) {
|
|
3397
|
+
return new c(Pg(g, U(A)));
|
|
3398
3398
|
}
|
|
3399
3399
|
function so() {
|
|
3400
3400
|
return s("ROW_NUMBER");
|
|
@@ -3414,7 +3414,7 @@ class BI {
|
|
|
3414
3414
|
/** Add columns to the SELECT list. Accepts Expr, strings (→ col), or '*'. */
|
|
3415
3415
|
select(...A) {
|
|
3416
3416
|
for (const C of A)
|
|
3417
|
-
C === "*" ? this._w.select_star() : C instanceof
|
|
3417
|
+
C === "*" ? this._w.select_star() : C instanceof c ? this._w.select_expr(C._w) : typeof C == "string" ? this._w.select_col(C) : this._w.select_expr(U(C));
|
|
3418
3418
|
return this;
|
|
3419
3419
|
}
|
|
3420
3420
|
/** Set the FROM clause. */
|
|
@@ -3423,15 +3423,15 @@ class BI {
|
|
|
3423
3423
|
}
|
|
3424
3424
|
/** Add an INNER JOIN. */
|
|
3425
3425
|
join(A, C) {
|
|
3426
|
-
return this._w.join(A,
|
|
3426
|
+
return this._w.join(A, U(C)), this;
|
|
3427
3427
|
}
|
|
3428
3428
|
/** Add a LEFT JOIN. */
|
|
3429
3429
|
leftJoin(A, C) {
|
|
3430
|
-
return this._w.left_join(A,
|
|
3430
|
+
return this._w.left_join(A, U(C)), this;
|
|
3431
3431
|
}
|
|
3432
3432
|
/** Add a RIGHT JOIN. */
|
|
3433
3433
|
rightJoin(A, C) {
|
|
3434
|
-
return this._w.right_join(A,
|
|
3434
|
+
return this._w.right_join(A, U(C)), this;
|
|
3435
3435
|
}
|
|
3436
3436
|
/** Add a CROSS JOIN. */
|
|
3437
3437
|
crossJoin(A) {
|
|
@@ -3439,7 +3439,7 @@ class BI {
|
|
|
3439
3439
|
}
|
|
3440
3440
|
/** Set the WHERE clause. Accepts an Expr or a raw SQL string. */
|
|
3441
3441
|
where(A) {
|
|
3442
|
-
return typeof A == "string" ? this._w.where_sql(A) : A instanceof
|
|
3442
|
+
return typeof A == "string" ? this._w.where_sql(A) : A instanceof c ? this._w.where_expr(A._w) : this._w.where_expr(U(A)), this;
|
|
3443
3443
|
}
|
|
3444
3444
|
/** Set the GROUP BY clause. */
|
|
3445
3445
|
groupBy(...A) {
|
|
@@ -3447,7 +3447,7 @@ class BI {
|
|
|
3447
3447
|
}
|
|
3448
3448
|
/** Set the HAVING clause. */
|
|
3449
3449
|
having(A) {
|
|
3450
|
-
return this._w.having(
|
|
3450
|
+
return this._w.having(U(A)), this;
|
|
3451
3451
|
}
|
|
3452
3452
|
/** Set the ORDER BY clause. */
|
|
3453
3453
|
orderBy(...A) {
|
|
@@ -3467,7 +3467,7 @@ class BI {
|
|
|
3467
3467
|
}
|
|
3468
3468
|
/** Set the QUALIFY clause (Snowflake/BigQuery/DuckDB). */
|
|
3469
3469
|
qualify(A) {
|
|
3470
|
-
return this._w.qualify(
|
|
3470
|
+
return this._w.qualify(U(A)), this;
|
|
3471
3471
|
}
|
|
3472
3472
|
/** Set the SORT BY clause (Hive/Spark — sorts within each partition). */
|
|
3473
3473
|
sortBy(...A) {
|
|
@@ -3577,15 +3577,15 @@ class DI {
|
|
|
3577
3577
|
/** @internal */
|
|
3578
3578
|
_w;
|
|
3579
3579
|
constructor(A) {
|
|
3580
|
-
this._w = new
|
|
3580
|
+
this._w = new NA(A);
|
|
3581
3581
|
}
|
|
3582
3582
|
/** Add a SET column = value assignment. */
|
|
3583
3583
|
set(A, C) {
|
|
3584
|
-
return this._w.set(A,
|
|
3584
|
+
return this._w.set(A, U(C)), this;
|
|
3585
3585
|
}
|
|
3586
3586
|
/** Set the WHERE clause. */
|
|
3587
3587
|
where(A) {
|
|
3588
|
-
return this._w.where_expr(
|
|
3588
|
+
return this._w.where_expr(U(A)), this;
|
|
3589
3589
|
}
|
|
3590
3590
|
/** Set the FROM clause (PostgreSQL/Snowflake UPDATE ... FROM). */
|
|
3591
3591
|
from(A) {
|
|
@@ -3604,7 +3604,7 @@ class DI {
|
|
|
3604
3604
|
this._w.free();
|
|
3605
3605
|
}
|
|
3606
3606
|
}
|
|
3607
|
-
function
|
|
3607
|
+
function Oo(g) {
|
|
3608
3608
|
return new DI(g);
|
|
3609
3609
|
}
|
|
3610
3610
|
class wI {
|
|
@@ -3615,7 +3615,7 @@ class wI {
|
|
|
3615
3615
|
}
|
|
3616
3616
|
/** Set the WHERE clause. */
|
|
3617
3617
|
where(A) {
|
|
3618
|
-
return this._w.where_expr(
|
|
3618
|
+
return this._w.where_expr(U(A)), this;
|
|
3619
3619
|
}
|
|
3620
3620
|
/** Generate SQL string. Defaults to generic dialect. */
|
|
3621
3621
|
toSql(A = "generic") {
|
|
@@ -3633,24 +3633,24 @@ class wI {
|
|
|
3633
3633
|
function iI(g) {
|
|
3634
3634
|
return new wI(g);
|
|
3635
3635
|
}
|
|
3636
|
-
function
|
|
3636
|
+
function To(g) {
|
|
3637
3637
|
return iI(g);
|
|
3638
3638
|
}
|
|
3639
3639
|
class oI {
|
|
3640
3640
|
/** @internal */
|
|
3641
3641
|
_w;
|
|
3642
3642
|
constructor(A) {
|
|
3643
|
-
this._w = new
|
|
3643
|
+
this._w = new kA(A);
|
|
3644
3644
|
}
|
|
3645
3645
|
/** Set the source table and ON condition. */
|
|
3646
3646
|
using(A, C) {
|
|
3647
|
-
return this._w.using(A,
|
|
3647
|
+
return this._w.using(A, U(C)), this;
|
|
3648
3648
|
}
|
|
3649
3649
|
/** Add a WHEN MATCHED THEN UPDATE SET clause. */
|
|
3650
3650
|
whenMatchedUpdate(A) {
|
|
3651
3651
|
const C = new BA();
|
|
3652
3652
|
for (const [B, Q] of Object.entries(A))
|
|
3653
|
-
C.push(B,
|
|
3653
|
+
C.push(B, U(Q));
|
|
3654
3654
|
return this._w.when_matched_update(C), this;
|
|
3655
3655
|
}
|
|
3656
3656
|
/** Add a WHEN MATCHED THEN DELETE clause. */
|
|
@@ -3677,7 +3677,7 @@ class oI {
|
|
|
3677
3677
|
function jo(g) {
|
|
3678
3678
|
return new oI(g);
|
|
3679
3679
|
}
|
|
3680
|
-
class
|
|
3680
|
+
class RA {
|
|
3681
3681
|
/** @internal */
|
|
3682
3682
|
_w;
|
|
3683
3683
|
/** @internal */
|
|
@@ -3686,15 +3686,15 @@ class UA {
|
|
|
3686
3686
|
}
|
|
3687
3687
|
/** Add a WHEN condition THEN result branch. */
|
|
3688
3688
|
when(A, C) {
|
|
3689
|
-
return this._w.when(
|
|
3689
|
+
return this._w.when(U(A), U(C)), this;
|
|
3690
3690
|
}
|
|
3691
3691
|
/** Set the ELSE result. */
|
|
3692
3692
|
else_(A) {
|
|
3693
|
-
return this._w.else_(
|
|
3693
|
+
return this._w.else_(U(A)), this;
|
|
3694
3694
|
}
|
|
3695
3695
|
/** Build the CASE expression as an Expr. */
|
|
3696
3696
|
build() {
|
|
3697
|
-
return new
|
|
3697
|
+
return new c(this._w.build_expr());
|
|
3698
3698
|
}
|
|
3699
3699
|
/** Generate SQL string. Defaults to generic dialect. */
|
|
3700
3700
|
toSql(A = "generic") {
|
|
@@ -3702,10 +3702,10 @@ class UA {
|
|
|
3702
3702
|
}
|
|
3703
3703
|
}
|
|
3704
3704
|
function to() {
|
|
3705
|
-
return new
|
|
3705
|
+
return new RA(new u());
|
|
3706
3706
|
}
|
|
3707
3707
|
function fo(g) {
|
|
3708
|
-
return new
|
|
3708
|
+
return new RA(ag(U(g)));
|
|
3709
3709
|
}
|
|
3710
3710
|
class $ {
|
|
3711
3711
|
/** @internal */
|
|
@@ -3739,26 +3739,26 @@ class $ {
|
|
|
3739
3739
|
this._w.free();
|
|
3740
3740
|
}
|
|
3741
3741
|
}
|
|
3742
|
-
function
|
|
3742
|
+
function Zo(g, A) {
|
|
3743
3743
|
return g.union(A);
|
|
3744
3744
|
}
|
|
3745
|
-
function
|
|
3745
|
+
function zo(g, A) {
|
|
3746
3746
|
return g.unionAll(A);
|
|
3747
3747
|
}
|
|
3748
3748
|
function eo(g, A) {
|
|
3749
3749
|
return g.intersect(A);
|
|
3750
3750
|
}
|
|
3751
|
-
function
|
|
3751
|
+
function Wo(g, A) {
|
|
3752
3752
|
return g.except(A);
|
|
3753
3753
|
}
|
|
3754
3754
|
function MI(g, A, C = "generic", B = {}) {
|
|
3755
3755
|
const { deltaOnly: Q = !1, f: E = 0.6, t: D = 0.6 } = B, o = Gg(g, A, C, Q, E, D);
|
|
3756
3756
|
return JSON.parse(o);
|
|
3757
3757
|
}
|
|
3758
|
-
function
|
|
3758
|
+
function kI(g) {
|
|
3759
3759
|
return g.some((A) => A.type !== "keep");
|
|
3760
3760
|
}
|
|
3761
|
-
function
|
|
3761
|
+
function NI(g) {
|
|
3762
3762
|
return g.filter((A) => A.type !== "keep");
|
|
3763
3763
|
}
|
|
3764
3764
|
function yI(g, A, C = "generic", B = !1) {
|
|
@@ -3776,7 +3776,7 @@ function KI(g, A, C, B = "generic", Q = !1) {
|
|
|
3776
3776
|
return JSON.parse(E);
|
|
3777
3777
|
}
|
|
3778
3778
|
function GI(g, A, C = "generic") {
|
|
3779
|
-
const B =
|
|
3779
|
+
const B = Lg(A, g, C);
|
|
3780
3780
|
return JSON.parse(B);
|
|
3781
3781
|
}
|
|
3782
3782
|
function sA(g) {
|
|
@@ -3794,31 +3794,31 @@ function YI(g, A) {
|
|
|
3794
3794
|
return JSON.parse(C);
|
|
3795
3795
|
}
|
|
3796
3796
|
function HI(g, A) {
|
|
3797
|
-
const C =
|
|
3797
|
+
const C = Sg(
|
|
3798
3798
|
g,
|
|
3799
3799
|
JSON.stringify(sA(A))
|
|
3800
3800
|
);
|
|
3801
3801
|
return JSON.parse(C);
|
|
3802
3802
|
}
|
|
3803
3803
|
function hI(g, A) {
|
|
3804
|
-
const C =
|
|
3804
|
+
const C = cg(
|
|
3805
3805
|
g,
|
|
3806
3806
|
JSON.stringify(sA(A))
|
|
3807
3807
|
);
|
|
3808
3808
|
return JSON.parse(C);
|
|
3809
3809
|
}
|
|
3810
|
-
function
|
|
3811
|
-
const C =
|
|
3810
|
+
function SI(g, A = "generic") {
|
|
3811
|
+
const C = Jg(g, A);
|
|
3812
3812
|
return JSON.parse(C);
|
|
3813
3813
|
}
|
|
3814
|
-
function
|
|
3814
|
+
function Vo(g, A) {
|
|
3815
3815
|
const C = [];
|
|
3816
|
-
return p(g) === "select" && C.push(...
|
|
3816
|
+
return p(g) === "select" && C.push(...xo(g)), C;
|
|
3817
3817
|
}
|
|
3818
|
-
function
|
|
3818
|
+
function xo(g, A) {
|
|
3819
3819
|
const C = [], B = EA(g, "star");
|
|
3820
3820
|
if (B.length > 0) {
|
|
3821
|
-
const D =
|
|
3821
|
+
const D = T(B[0])?.span;
|
|
3822
3822
|
C.push({
|
|
3823
3823
|
message: "SELECT * is discouraged; specify columns explicitly for better performance and maintainability",
|
|
3824
3824
|
severity: "warning",
|
|
@@ -3829,17 +3829,17 @@ function Vo(g, A) {
|
|
|
3829
3829
|
end: D?.end
|
|
3830
3830
|
});
|
|
3831
3831
|
}
|
|
3832
|
-
const Q =
|
|
3832
|
+
const Q = T(g);
|
|
3833
3833
|
if (gI(g) && !Q.group_by) {
|
|
3834
3834
|
const E = CA(g), D = Q.expressions || [];
|
|
3835
|
-
if (D.some((
|
|
3836
|
-
const K = p(
|
|
3837
|
-
return K === "column" || K === "identifier" ? CA(
|
|
3835
|
+
if (D.some((N) => {
|
|
3836
|
+
const K = p(N);
|
|
3837
|
+
return K === "column" || K === "identifier" ? CA(N).length === 0 : !1;
|
|
3838
3838
|
}) && E.length > 0) {
|
|
3839
|
-
const
|
|
3839
|
+
const N = D.find((y) => {
|
|
3840
3840
|
const h = p(y);
|
|
3841
3841
|
return h === "column" || h === "identifier" ? CA(y).length === 0 : !1;
|
|
3842
|
-
}), K =
|
|
3842
|
+
}), K = N ? T(N)?.span : void 0;
|
|
3843
3843
|
C.push({
|
|
3844
3844
|
message: "Mixing aggregate functions with non-aggregated columns without GROUP BY may cause errors in strict SQL mode",
|
|
3845
3845
|
severity: "warning",
|
|
@@ -3856,7 +3856,7 @@ function Vo(g, A) {
|
|
|
3856
3856
|
severity: "warning",
|
|
3857
3857
|
code: "W003"
|
|
3858
3858
|
}), Q.limit && !Q.order_by) {
|
|
3859
|
-
const E = Q.limit, D = E ?
|
|
3859
|
+
const E = Q.limit, D = E ? T(E)?.span : void 0;
|
|
3860
3860
|
C.push({
|
|
3861
3861
|
message: "LIMIT without ORDER BY produces non-deterministic results",
|
|
3862
3862
|
severity: "warning",
|
|
@@ -3892,7 +3892,7 @@ function no(g, A, C = "generic", B = {}) {
|
|
|
3892
3892
|
strict: Q,
|
|
3893
3893
|
semantic: B.semantic ?? !1,
|
|
3894
3894
|
strict_syntax: B.strictSyntax ?? !1
|
|
3895
|
-
}, D =
|
|
3895
|
+
}, D = Ug(
|
|
3896
3896
|
g,
|
|
3897
3897
|
JSON.stringify(A),
|
|
3898
3898
|
C,
|
|
@@ -3903,7 +3903,7 @@ function no(g, A, C = "generic", B = {}) {
|
|
|
3903
3903
|
const ro = {
|
|
3904
3904
|
Error: "error",
|
|
3905
3905
|
Warning: "warning"
|
|
3906
|
-
}, _ =
|
|
3906
|
+
}, _ = dg;
|
|
3907
3907
|
function _A(g) {
|
|
3908
3908
|
return typeof g == "string" ? JSON.parse(g) : g;
|
|
3909
3909
|
}
|
|
@@ -3924,7 +3924,7 @@ function mo(g, A = "generic", C = {}) {
|
|
|
3924
3924
|
return Q;
|
|
3925
3925
|
const D = typeof E.ast == "string" ? JSON.parse(E.ast) : E.ast, o = [...Q.errors];
|
|
3926
3926
|
for (const K of D) {
|
|
3927
|
-
const y =
|
|
3927
|
+
const y = Vo(K);
|
|
3928
3928
|
o.push(...y);
|
|
3929
3929
|
}
|
|
3930
3930
|
return {
|
|
@@ -3933,7 +3933,7 @@ function mo(g, A = "generic", C = {}) {
|
|
|
3933
3933
|
};
|
|
3934
3934
|
}
|
|
3935
3935
|
var aA = /* @__PURE__ */ ((g) => (g.Generic = "generic", g.PostgreSQL = "postgresql", g.MySQL = "mysql", g.BigQuery = "bigquery", g.Snowflake = "snowflake", g.DuckDB = "duckdb", g.SQLite = "sqlite", g.Hive = "hive", g.Spark = "spark", g.Trino = "trino", g.Presto = "presto", g.Redshift = "redshift", g.TSQL = "tsql", g.Oracle = "oracle", g.ClickHouse = "clickhouse", g.Databricks = "databricks", g.Athena = "athena", g.Teradata = "teradata", g.Doris = "doris", g.StarRocks = "starrocks", g.Materialize = "materialize", g.RisingWave = "risingwave", g.SingleStore = "singlestore", g.CockroachDB = "cockroachdb", g.TiDB = "tidb", g.Druid = "druid", g.Solr = "solr", g.Tableau = "tableau", g.Dune = "dune", g.Fabric = "fabric", g.Drill = "drill", g.Dremio = "dremio", g.Exasol = "exasol", g.DataFusion = "datafusion", g))(aA || {});
|
|
3936
|
-
const
|
|
3936
|
+
const R = dg;
|
|
3937
3937
|
function b(g) {
|
|
3938
3938
|
return g instanceof Error && g.message ? g.message : typeof g == "string" ? g : String(g);
|
|
3939
3939
|
}
|
|
@@ -3983,64 +3983,64 @@ function Xo(g, A) {
|
|
|
3983
3983
|
error: `WASM ${g} failed: ${b(A)}`
|
|
3984
3984
|
};
|
|
3985
3985
|
}
|
|
3986
|
-
function
|
|
3986
|
+
function cI(g = {}) {
|
|
3987
3987
|
return typeof g == "string" ? { dialect: g } : {
|
|
3988
3988
|
dialect: "generic",
|
|
3989
3989
|
...g
|
|
3990
3990
|
};
|
|
3991
3991
|
}
|
|
3992
|
-
async function
|
|
3992
|
+
async function JI() {
|
|
3993
3993
|
return Promise.resolve();
|
|
3994
3994
|
}
|
|
3995
|
-
function
|
|
3995
|
+
function LI() {
|
|
3996
3996
|
return !0;
|
|
3997
3997
|
}
|
|
3998
3998
|
function pA(g, A, C, B) {
|
|
3999
3999
|
try {
|
|
4000
|
-
return B && Object.keys(B).length > 0 ? typeof
|
|
4001
|
-
|
|
4002
|
-
) : typeof
|
|
4003
|
-
|
|
4000
|
+
return B && Object.keys(B).length > 0 ? typeof R.transpile_with_options_value == "function" ? j(
|
|
4001
|
+
R.transpile_with_options_value(g, A, C, B)
|
|
4002
|
+
) : typeof R.transpile_with_options == "function" ? JSON.parse(
|
|
4003
|
+
R.transpile_with_options(g, A, C, JSON.stringify(B))
|
|
4004
4004
|
) : {
|
|
4005
4005
|
success: !1,
|
|
4006
4006
|
sql: void 0,
|
|
4007
4007
|
error: "WASM transpile options are not available in this build"
|
|
4008
|
-
} : typeof
|
|
4009
|
-
|
|
4010
|
-
) : JSON.parse(
|
|
4008
|
+
} : typeof R.transpile_value == "function" ? j(
|
|
4009
|
+
R.transpile_value(g, A, C)
|
|
4010
|
+
) : JSON.parse(R.transpile(g, A, C));
|
|
4011
4011
|
} catch (Q) {
|
|
4012
4012
|
return qA("transpile", Q);
|
|
4013
4013
|
}
|
|
4014
4014
|
}
|
|
4015
4015
|
function PA(g, A = "generic") {
|
|
4016
4016
|
try {
|
|
4017
|
-
if (typeof
|
|
4018
|
-
return j(
|
|
4019
|
-
const C = JSON.parse(
|
|
4017
|
+
if (typeof R.parse_value == "function")
|
|
4018
|
+
return j(R.parse_value(g, A));
|
|
4019
|
+
const C = JSON.parse(R.parse(g, A));
|
|
4020
4020
|
return C.success && typeof C.ast == "string" && (C.ast = JSON.parse(C.ast)), C;
|
|
4021
4021
|
} catch (C) {
|
|
4022
4022
|
return uo("parse", C);
|
|
4023
4023
|
}
|
|
4024
4024
|
}
|
|
4025
|
-
function
|
|
4025
|
+
function OA(g, A = "generic") {
|
|
4026
4026
|
try {
|
|
4027
|
-
if (typeof
|
|
4027
|
+
if (typeof R.parse_data_type_value == "function")
|
|
4028
4028
|
return j(
|
|
4029
|
-
|
|
4029
|
+
R.parse_data_type_value(g, A)
|
|
4030
4030
|
);
|
|
4031
4031
|
const C = JSON.parse(
|
|
4032
|
-
|
|
4032
|
+
R.parse_data_type(g, A)
|
|
4033
4033
|
);
|
|
4034
4034
|
return C.success && typeof C.dataType == "string" && (C.dataType = JSON.parse(C.dataType)), C;
|
|
4035
4035
|
} catch (C) {
|
|
4036
4036
|
return bo("parseDataType", C);
|
|
4037
4037
|
}
|
|
4038
4038
|
}
|
|
4039
|
-
function
|
|
4039
|
+
function TA(g, A = "generic") {
|
|
4040
4040
|
try {
|
|
4041
|
-
return typeof
|
|
4042
|
-
|
|
4043
|
-
) : JSON.parse(
|
|
4041
|
+
return typeof R.tokenize_value == "function" ? j(
|
|
4042
|
+
R.tokenize_value(g, A)
|
|
4043
|
+
) : JSON.parse(R.tokenize(g, A));
|
|
4044
4044
|
} catch (C) {
|
|
4045
4045
|
return {
|
|
4046
4046
|
success: !1,
|
|
@@ -4051,59 +4051,59 @@ function OA(g, A = "generic") {
|
|
|
4051
4051
|
}
|
|
4052
4052
|
function jA(g, A = "generic") {
|
|
4053
4053
|
try {
|
|
4054
|
-
if (typeof
|
|
4054
|
+
if (typeof R.generate_value == "function" && Array.isArray(g))
|
|
4055
4055
|
return j(
|
|
4056
|
-
|
|
4056
|
+
R.generate_value(g, A)
|
|
4057
4057
|
);
|
|
4058
4058
|
const C = JSON.stringify(g);
|
|
4059
|
-
return JSON.parse(
|
|
4059
|
+
return JSON.parse(R.generate(C, A));
|
|
4060
4060
|
} catch (C) {
|
|
4061
4061
|
return qA("generate", C);
|
|
4062
4062
|
}
|
|
4063
4063
|
}
|
|
4064
4064
|
function tA(g, A = "generic") {
|
|
4065
4065
|
try {
|
|
4066
|
-
if (typeof
|
|
4066
|
+
if (typeof R.generate_data_type_value == "function")
|
|
4067
4067
|
return j(
|
|
4068
|
-
|
|
4068
|
+
R.generate_data_type_value(g, A)
|
|
4069
4069
|
);
|
|
4070
4070
|
const C = JSON.stringify(g);
|
|
4071
4071
|
return JSON.parse(
|
|
4072
|
-
|
|
4072
|
+
R.generate_data_type(C, A)
|
|
4073
4073
|
);
|
|
4074
4074
|
} catch (C) {
|
|
4075
4075
|
return vo("generateDataType", C);
|
|
4076
4076
|
}
|
|
4077
4077
|
}
|
|
4078
4078
|
function fA(g, A = "generic") {
|
|
4079
|
-
return
|
|
4079
|
+
return ZA(g, A, {});
|
|
4080
4080
|
}
|
|
4081
|
-
function
|
|
4081
|
+
function ZA(g, A = "generic", C = {}) {
|
|
4082
4082
|
try {
|
|
4083
|
-
return typeof
|
|
4084
|
-
|
|
4085
|
-
) : typeof
|
|
4086
|
-
|
|
4087
|
-
) : typeof
|
|
4088
|
-
|
|
4089
|
-
) : JSON.parse(
|
|
4083
|
+
return typeof R.format_sql_with_options_value == "function" ? j(
|
|
4084
|
+
R.format_sql_with_options_value(g, A, C)
|
|
4085
|
+
) : typeof R.format_sql_with_options == "function" ? JSON.parse(
|
|
4086
|
+
R.format_sql_with_options(g, A, JSON.stringify(C))
|
|
4087
|
+
) : typeof R.format_sql_value == "function" ? j(
|
|
4088
|
+
R.format_sql_value(g, A)
|
|
4089
|
+
) : JSON.parse(R.format_sql(g, A));
|
|
4090
4090
|
} catch (B) {
|
|
4091
4091
|
return qA("format", B);
|
|
4092
4092
|
}
|
|
4093
4093
|
}
|
|
4094
4094
|
function zA() {
|
|
4095
|
-
return typeof
|
|
4095
|
+
return typeof R.get_dialects_value == "function" ? j(R.get_dialects_value()) : JSON.parse(R.get_dialects());
|
|
4096
4096
|
}
|
|
4097
|
-
function
|
|
4098
|
-
return
|
|
4097
|
+
function dA() {
|
|
4098
|
+
return R.version();
|
|
4099
4099
|
}
|
|
4100
4100
|
function eA(g, A = {}) {
|
|
4101
4101
|
try {
|
|
4102
|
-
const C =
|
|
4103
|
-
return typeof
|
|
4104
|
-
|
|
4105
|
-
) : typeof
|
|
4106
|
-
|
|
4102
|
+
const C = cI(A);
|
|
4103
|
+
return typeof R.analyze_query_value == "function" ? j(
|
|
4104
|
+
R.analyze_query_value(g, C)
|
|
4105
|
+
) : typeof R.analyze_query == "function" ? JSON.parse(
|
|
4106
|
+
R.analyze_query(g, JSON.stringify(C))
|
|
4107
4107
|
) : {
|
|
4108
4108
|
success: !1,
|
|
4109
4109
|
error: "analyze_query not available in this WASM build"
|
|
@@ -4112,13 +4112,13 @@ function eA(g, A = {}) {
|
|
|
4112
4112
|
return Xo("analyzeQuery", C);
|
|
4113
4113
|
}
|
|
4114
4114
|
}
|
|
4115
|
-
function
|
|
4115
|
+
function WA(g, A = "generic", C) {
|
|
4116
4116
|
try {
|
|
4117
4117
|
const B = C ? JSON.stringify(C) : "";
|
|
4118
|
-
return typeof
|
|
4119
|
-
|
|
4120
|
-
) : typeof
|
|
4121
|
-
|
|
4118
|
+
return typeof R.annotate_types_value == "function" ? j(
|
|
4119
|
+
R.annotate_types_value(g, A, B)
|
|
4120
|
+
) : typeof R.annotate_types == "function" ? JSON.parse(
|
|
4121
|
+
R.annotate_types(g, A, B)
|
|
4122
4122
|
) : {
|
|
4123
4123
|
success: !1,
|
|
4124
4124
|
error: "annotate_types not available in this WASM build"
|
|
@@ -4161,13 +4161,13 @@ class m {
|
|
|
4161
4161
|
* Parse a standalone SQL data type.
|
|
4162
4162
|
*/
|
|
4163
4163
|
parseDataType(A, C = "generic") {
|
|
4164
|
-
return
|
|
4164
|
+
return OA(A, C);
|
|
4165
4165
|
}
|
|
4166
4166
|
/**
|
|
4167
4167
|
* Tokenize SQL into a token stream.
|
|
4168
4168
|
*/
|
|
4169
4169
|
tokenize(A, C = "generic") {
|
|
4170
|
-
return
|
|
4170
|
+
return TA(A, C);
|
|
4171
4171
|
}
|
|
4172
4172
|
/**
|
|
4173
4173
|
* Generate SQL from an AST.
|
|
@@ -4191,7 +4191,7 @@ class m {
|
|
|
4191
4191
|
* Format SQL with explicit guard limits.
|
|
4192
4192
|
*/
|
|
4193
4193
|
formatWithOptions(A, C = "generic", B = {}) {
|
|
4194
|
-
return
|
|
4194
|
+
return ZA(A, C, B);
|
|
4195
4195
|
}
|
|
4196
4196
|
/**
|
|
4197
4197
|
* Get supported dialects in this build.
|
|
@@ -4204,32 +4204,32 @@ class m {
|
|
|
4204
4204
|
* Get library version.
|
|
4205
4205
|
*/
|
|
4206
4206
|
getVersion() {
|
|
4207
|
-
return
|
|
4207
|
+
return dA();
|
|
4208
4208
|
}
|
|
4209
4209
|
/**
|
|
4210
4210
|
* Parse SQL and annotate the AST with inferred type information.
|
|
4211
4211
|
*/
|
|
4212
4212
|
annotateTypes(A, C = "generic", B) {
|
|
4213
|
-
return
|
|
4213
|
+
return WA(A, C, B);
|
|
4214
4214
|
}
|
|
4215
4215
|
analyzeQuery(A, C = {}) {
|
|
4216
|
-
return eA(A,
|
|
4216
|
+
return eA(A, cI(C));
|
|
4217
4217
|
}
|
|
4218
4218
|
}
|
|
4219
4219
|
const _o = {
|
|
4220
|
-
init:
|
|
4221
|
-
isInitialized:
|
|
4220
|
+
init: JI,
|
|
4221
|
+
isInitialized: LI,
|
|
4222
4222
|
transpile: pA,
|
|
4223
4223
|
parse: PA,
|
|
4224
|
-
parseDataType:
|
|
4225
|
-
tokenize:
|
|
4224
|
+
parseDataType: OA,
|
|
4225
|
+
tokenize: TA,
|
|
4226
4226
|
generate: jA,
|
|
4227
4227
|
generateDataType: tA,
|
|
4228
4228
|
format: fA,
|
|
4229
|
-
annotateTypes:
|
|
4229
|
+
annotateTypes: WA,
|
|
4230
4230
|
analyzeQuery: eA,
|
|
4231
4231
|
getDialects: zA,
|
|
4232
|
-
getVersion:
|
|
4232
|
+
getVersion: dA,
|
|
4233
4233
|
lineage: yI,
|
|
4234
4234
|
lineageWithSchema: KI,
|
|
4235
4235
|
getSourceTables: GI,
|
|
@@ -4237,17 +4237,17 @@ const _o = {
|
|
|
4237
4237
|
openLineageJobEvent: HI,
|
|
4238
4238
|
openLineageRunEvent: hI,
|
|
4239
4239
|
diff: MI,
|
|
4240
|
-
hasChanges:
|
|
4241
|
-
changesOnly:
|
|
4242
|
-
plan:
|
|
4240
|
+
hasChanges: kI,
|
|
4241
|
+
changesOnly: NI,
|
|
4242
|
+
plan: SI,
|
|
4243
4243
|
Dialect: aA,
|
|
4244
4244
|
Polyglot: m
|
|
4245
4245
|
}, $o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4246
4246
|
__proto__: null,
|
|
4247
|
-
CaseBuilder:
|
|
4247
|
+
CaseBuilder: RA,
|
|
4248
4248
|
DeleteBuilder: wI,
|
|
4249
4249
|
Dialect: aA,
|
|
4250
|
-
Expr:
|
|
4250
|
+
Expr: c,
|
|
4251
4251
|
InsertBuilder: QI,
|
|
4252
4252
|
MergeBuilder: oI,
|
|
4253
4253
|
Polyglot: m,
|
|
@@ -4256,40 +4256,40 @@ const _o = {
|
|
|
4256
4256
|
UpdateBuilder: DI,
|
|
4257
4257
|
ValidationSeverity: ro,
|
|
4258
4258
|
WindowDefBuilder: ji,
|
|
4259
|
-
abs:
|
|
4260
|
-
alias:
|
|
4259
|
+
abs: ko,
|
|
4260
|
+
alias: Vi,
|
|
4261
4261
|
analyzeQuery: eA,
|
|
4262
4262
|
and: li,
|
|
4263
|
-
annotateTypes:
|
|
4264
|
-
ast:
|
|
4263
|
+
annotateTypes: WA,
|
|
4264
|
+
ast: Ti,
|
|
4265
4265
|
avg: bi,
|
|
4266
|
-
boolean:
|
|
4266
|
+
boolean: FA,
|
|
4267
4267
|
caseOf: fo,
|
|
4268
4268
|
caseWhen: to,
|
|
4269
|
-
cast:
|
|
4269
|
+
cast: Wi,
|
|
4270
4270
|
ceil: Ko,
|
|
4271
|
-
changesOnly:
|
|
4271
|
+
changesOnly: NI,
|
|
4272
4272
|
coalesce: io,
|
|
4273
4273
|
col: ti,
|
|
4274
4274
|
concatWs: wo,
|
|
4275
|
-
condition:
|
|
4275
|
+
condition: di,
|
|
4276
4276
|
count: ri,
|
|
4277
4277
|
countDistinct: mi,
|
|
4278
|
-
currentDate:
|
|
4279
|
-
currentTime:
|
|
4280
|
-
currentTimestamp:
|
|
4278
|
+
currentDate: Lo,
|
|
4279
|
+
currentTime: Uo,
|
|
4280
|
+
currentTimestamp: Fo,
|
|
4281
4281
|
default: _o,
|
|
4282
|
-
del:
|
|
4282
|
+
del: To,
|
|
4283
4283
|
deleteFrom: iI,
|
|
4284
4284
|
denseRank: qo,
|
|
4285
4285
|
diff: MI,
|
|
4286
|
-
except:
|
|
4286
|
+
except: Wo,
|
|
4287
4287
|
exp: ho,
|
|
4288
|
-
extract:
|
|
4288
|
+
extract: Ro,
|
|
4289
4289
|
findAll: HA,
|
|
4290
4290
|
floor: yo,
|
|
4291
4291
|
format: fA,
|
|
4292
|
-
formatWithOptions:
|
|
4292
|
+
formatWithOptions: ZA,
|
|
4293
4293
|
func: s,
|
|
4294
4294
|
generate: jA,
|
|
4295
4295
|
generateDataType: tA,
|
|
@@ -4297,21 +4297,21 @@ const _o = {
|
|
|
4297
4297
|
getDialects: zA,
|
|
4298
4298
|
getInferredType: eg,
|
|
4299
4299
|
getSourceTables: GI,
|
|
4300
|
-
getVersion:
|
|
4301
|
-
greatest:
|
|
4302
|
-
hasChanges:
|
|
4300
|
+
getVersion: dA,
|
|
4301
|
+
greatest: co,
|
|
4302
|
+
hasChanges: kI,
|
|
4303
4303
|
ifNull: Mo,
|
|
4304
|
-
init:
|
|
4304
|
+
init: JI,
|
|
4305
4305
|
initcap: Qo,
|
|
4306
4306
|
insert: Po,
|
|
4307
4307
|
insertInto: EI,
|
|
4308
4308
|
intersect: eo,
|
|
4309
|
-
isColumn:
|
|
4309
|
+
isColumn: Vg,
|
|
4310
4310
|
isFunction: lg,
|
|
4311
|
-
isInitialized:
|
|
4312
|
-
isLiteral:
|
|
4313
|
-
isSelect:
|
|
4314
|
-
least:
|
|
4311
|
+
isInitialized: LI,
|
|
4312
|
+
isLiteral: xg,
|
|
4313
|
+
isSelect: Wg,
|
|
4314
|
+
least: Jo,
|
|
4315
4315
|
length: Ao,
|
|
4316
4316
|
lineage: yI,
|
|
4317
4317
|
lineageWithSchema: KI,
|
|
@@ -4329,43 +4329,43 @@ const _o = {
|
|
|
4329
4329
|
openLineageRunEvent: hI,
|
|
4330
4330
|
or: ni,
|
|
4331
4331
|
parse: PA,
|
|
4332
|
-
parseDataType:
|
|
4333
|
-
plan:
|
|
4332
|
+
parseDataType: OA,
|
|
4333
|
+
plan: SI,
|
|
4334
4334
|
power: Go,
|
|
4335
4335
|
rank: ao,
|
|
4336
4336
|
renameColumns: mg,
|
|
4337
4337
|
replace: Do,
|
|
4338
4338
|
reverse: Bo,
|
|
4339
|
-
round:
|
|
4339
|
+
round: No,
|
|
4340
4340
|
rowNumber: so,
|
|
4341
4341
|
rtrim: Co,
|
|
4342
4342
|
select: po,
|
|
4343
|
-
sign:
|
|
4343
|
+
sign: So,
|
|
4344
4344
|
sqlExpr: CI,
|
|
4345
|
-
sqlNull:
|
|
4345
|
+
sqlNull: Zi,
|
|
4346
4346
|
sqrt: Yo,
|
|
4347
4347
|
star: II,
|
|
4348
|
-
subquery:
|
|
4348
|
+
subquery: xi,
|
|
4349
4349
|
substring: Eo,
|
|
4350
4350
|
sum: ui,
|
|
4351
4351
|
table: zi,
|
|
4352
|
-
tokenize:
|
|
4352
|
+
tokenize: TA,
|
|
4353
4353
|
transform: YA,
|
|
4354
4354
|
transpile: pA,
|
|
4355
4355
|
trim: go,
|
|
4356
|
-
union:
|
|
4357
|
-
unionAll:
|
|
4358
|
-
update:
|
|
4356
|
+
union: Zo,
|
|
4357
|
+
unionAll: zo,
|
|
4358
|
+
update: Oo,
|
|
4359
4359
|
upper: _i,
|
|
4360
4360
|
validate: mo,
|
|
4361
4361
|
validateWithSchema: no,
|
|
4362
|
-
walk:
|
|
4362
|
+
walk: Z
|
|
4363
4363
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4364
4364
|
export {
|
|
4365
|
-
|
|
4365
|
+
RA as CaseBuilder,
|
|
4366
4366
|
wI as DeleteBuilder,
|
|
4367
4367
|
aA as Dialect,
|
|
4368
|
-
|
|
4368
|
+
c as Expr,
|
|
4369
4369
|
QI as InsertBuilder,
|
|
4370
4370
|
oI as MergeBuilder,
|
|
4371
4371
|
m as Polyglot,
|
|
@@ -4373,56 +4373,56 @@ export {
|
|
|
4373
4373
|
$ as SetOpBuilder,
|
|
4374
4374
|
DI as UpdateBuilder,
|
|
4375
4375
|
ro as ValidationSeverity,
|
|
4376
|
-
|
|
4377
|
-
|
|
4376
|
+
ko as abs,
|
|
4377
|
+
Vi as alias,
|
|
4378
4378
|
li as and,
|
|
4379
|
-
|
|
4380
|
-
|
|
4379
|
+
WA as annotateTypes,
|
|
4380
|
+
Ti as ast,
|
|
4381
4381
|
bi as avg,
|
|
4382
|
-
|
|
4382
|
+
FA as boolean,
|
|
4383
4383
|
fo as caseOf,
|
|
4384
4384
|
to as caseWhen,
|
|
4385
|
-
|
|
4385
|
+
Wi as cast,
|
|
4386
4386
|
Ko as ceil,
|
|
4387
4387
|
io as coalesce,
|
|
4388
4388
|
ti as col,
|
|
4389
4389
|
wo as concatWs,
|
|
4390
|
-
|
|
4390
|
+
di as condition,
|
|
4391
4391
|
ri as count,
|
|
4392
4392
|
mi as countDistinct,
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
|
|
4393
|
+
Lo as currentDate,
|
|
4394
|
+
Uo as currentTime,
|
|
4395
|
+
Fo as currentTimestamp,
|
|
4396
4396
|
$o as default,
|
|
4397
|
-
|
|
4397
|
+
To as del,
|
|
4398
4398
|
iI as deleteFrom,
|
|
4399
4399
|
qo as denseRank,
|
|
4400
|
-
|
|
4400
|
+
Wo as except,
|
|
4401
4401
|
ho as exp,
|
|
4402
|
-
|
|
4402
|
+
Ro as extract,
|
|
4403
4403
|
HA as findAll,
|
|
4404
4404
|
yo as floor,
|
|
4405
4405
|
fA as format,
|
|
4406
|
-
|
|
4406
|
+
ZA as formatWithOptions,
|
|
4407
4407
|
s as func,
|
|
4408
4408
|
jA as generate,
|
|
4409
4409
|
_g as getColumns,
|
|
4410
4410
|
zA as getDialects,
|
|
4411
4411
|
eg as getInferredType,
|
|
4412
|
-
|
|
4413
|
-
|
|
4412
|
+
dA as getVersion,
|
|
4413
|
+
co as greatest,
|
|
4414
4414
|
Mo as ifNull,
|
|
4415
|
-
|
|
4415
|
+
JI as init,
|
|
4416
4416
|
Qo as initcap,
|
|
4417
4417
|
Po as insert,
|
|
4418
4418
|
EI as insertInto,
|
|
4419
4419
|
eo as intersect,
|
|
4420
|
-
|
|
4420
|
+
Vg as isColumn,
|
|
4421
4421
|
lg as isFunction,
|
|
4422
|
-
|
|
4423
|
-
|
|
4424
|
-
|
|
4425
|
-
|
|
4422
|
+
LI as isInitialized,
|
|
4423
|
+
xg as isLiteral,
|
|
4424
|
+
Wg as isSelect,
|
|
4425
|
+
Jo as least,
|
|
4426
4426
|
Ao as length,
|
|
4427
4427
|
fi as lit,
|
|
4428
4428
|
Ho as ln,
|
|
@@ -4440,13 +4440,13 @@ export {
|
|
|
4440
4440
|
mg as renameColumns,
|
|
4441
4441
|
Do as replace,
|
|
4442
4442
|
Bo as reverse,
|
|
4443
|
-
|
|
4443
|
+
No as round,
|
|
4444
4444
|
so as rowNumber,
|
|
4445
4445
|
Co as rtrim,
|
|
4446
4446
|
po as select,
|
|
4447
|
-
|
|
4447
|
+
So as sign,
|
|
4448
4448
|
CI as sqlExpr,
|
|
4449
|
-
|
|
4449
|
+
Zi as sqlNull,
|
|
4450
4450
|
Yo as sqrt,
|
|
4451
4451
|
II as star,
|
|
4452
4452
|
Eo as substring,
|
|
@@ -4455,11 +4455,11 @@ export {
|
|
|
4455
4455
|
YA as transform,
|
|
4456
4456
|
pA as transpile,
|
|
4457
4457
|
go as trim,
|
|
4458
|
-
|
|
4459
|
-
|
|
4460
|
-
|
|
4458
|
+
Zo as union,
|
|
4459
|
+
zo as unionAll,
|
|
4460
|
+
Oo as update,
|
|
4461
4461
|
_i as upper,
|
|
4462
4462
|
mo as validate,
|
|
4463
4463
|
no as validateWithSchema,
|
|
4464
|
-
|
|
4464
|
+
Z as walk
|
|
4465
4465
|
};
|