@polyglot-sql/sdk 0.5.1 → 0.5.2
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 +14 -6
- package/dist/cdn/polyglot.esm.js +1234 -1234
- package/dist/index.cjs +13 -10
- package/dist/index.d.cts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +13 -10
- package/dist/index.node.js +13 -10
- package/dist/manual.js +13 -10
- 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 RI = new URL("../polyglot_sql.wasm",import.meta.url).href, UI = 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 LI = new URL("../polyglot_sql.wasm",import.meta.url).href, JI = 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, WA.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, WA.register(this, this.__wbg_ptr, this), this;
|
|
49
49
|
}
|
|
50
50
|
/**
|
|
51
51
|
* Add a column = value assignment.
|
|
@@ -58,10 +58,10 @@ class BA {
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
Symbol.dispose && (BA.prototype[Symbol.dispose] = BA.prototype.free);
|
|
61
|
-
class
|
|
61
|
+
class u {
|
|
62
62
|
static __wrap(A) {
|
|
63
63
|
A = A >>> 0;
|
|
64
|
-
const C = Object.create(
|
|
64
|
+
const C = Object.create(u.prototype);
|
|
65
65
|
return C.__wbg_ptr = A, hA.register(C, C.__wbg_ptr, C), C;
|
|
66
66
|
}
|
|
67
67
|
__destroy_into_raw() {
|
|
@@ -82,7 +82,7 @@ class v {
|
|
|
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 J(C);
|
|
86
86
|
return G.__wrap(A);
|
|
87
87
|
} finally {
|
|
88
88
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
@@ -110,12 +110,12 @@ class v {
|
|
|
110
110
|
to_sql(A) {
|
|
111
111
|
let C, B;
|
|
112
112
|
try {
|
|
113
|
-
const y = I.__wbindgen_add_to_stack_pointer(-16), h = N(A, I.__wbindgen_export, I.__wbindgen_export2),
|
|
114
|
-
I.wasmcasebuilder_to_sql(y, this.__wbg_ptr, h,
|
|
113
|
+
const y = I.__wbindgen_add_to_stack_pointer(-16), h = N(A, I.__wbindgen_export, I.__wbindgen_export2), R = M;
|
|
114
|
+
I.wasmcasebuilder_to_sql(y, this.__wbg_ptr, h, R);
|
|
115
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), k = Q, K = E;
|
|
116
116
|
if (o)
|
|
117
|
-
throw k = 0, K = 0,
|
|
118
|
-
return C = k, B = K,
|
|
117
|
+
throw k = 0, K = 0, J(D);
|
|
118
|
+
return C = k, B = K, c(k, K);
|
|
119
119
|
} finally {
|
|
120
120
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
121
121
|
}
|
|
@@ -129,7 +129,7 @@ class v {
|
|
|
129
129
|
H(A, G), H(C, G), I.wasmcasebuilder_when(this.__wbg_ptr, A.__wbg_ptr, C.__wbg_ptr);
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
|
-
Symbol.dispose && (
|
|
132
|
+
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;
|
|
@@ -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 J(C);
|
|
153
|
+
return J(A);
|
|
154
154
|
} finally {
|
|
155
155
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
156
156
|
}
|
|
@@ -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 = N(A, I.__wbindgen_export, I.__wbindgen_export2),
|
|
175
|
-
I.wasmdeletebuilder_to_sql(y, this.__wbg_ptr, h,
|
|
174
|
+
const y = I.__wbindgen_add_to_stack_pointer(-16), h = N(A, I.__wbindgen_export, I.__wbindgen_export2), R = M;
|
|
175
|
+
I.wasmdeletebuilder_to_sql(y, this.__wbg_ptr, h, R);
|
|
176
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), k = Q, K = E;
|
|
177
177
|
if (o)
|
|
178
|
-
throw k = 0, K = 0,
|
|
179
|
-
return C = k, B = K,
|
|
178
|
+
throw k = 0, K = 0, J(D);
|
|
179
|
+
return C = k, B = K, c(k, K);
|
|
180
180
|
} finally {
|
|
181
181
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
182
182
|
}
|
|
@@ -325,7 +325,7 @@ class G {
|
|
|
325
325
|
* @returns {WasmExpr}
|
|
326
326
|
*/
|
|
327
327
|
in_list(A) {
|
|
328
|
-
H(A,
|
|
328
|
+
H(A, P);
|
|
329
329
|
const C = I.wasmexpr_in_list(this.__wbg_ptr, A.__wbg_ptr);
|
|
330
330
|
return G.__wrap(C);
|
|
331
331
|
}
|
|
@@ -409,7 +409,7 @@ class G {
|
|
|
409
409
|
* @returns {WasmExpr}
|
|
410
410
|
*/
|
|
411
411
|
not_in(A) {
|
|
412
|
-
H(A,
|
|
412
|
+
H(A, P);
|
|
413
413
|
const C = I.wasmexpr_not_in(this.__wbg_ptr, A.__wbg_ptr);
|
|
414
414
|
return G.__wrap(C);
|
|
415
415
|
}
|
|
@@ -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 J(C);
|
|
457
|
+
return J(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 = N(A, I.__wbindgen_export, I.__wbindgen_export2),
|
|
471
|
-
I.wasmexpr_to_sql(y, this.__wbg_ptr, h,
|
|
470
|
+
const y = I.__wbindgen_add_to_stack_pointer(-16), h = N(A, I.__wbindgen_export, I.__wbindgen_export2), R = M;
|
|
471
|
+
I.wasmexpr_to_sql(y, this.__wbg_ptr, h, R);
|
|
472
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), k = Q, K = E;
|
|
473
473
|
if (o)
|
|
474
|
-
throw k = 0, K = 0,
|
|
475
|
-
return C = k, B = K,
|
|
474
|
+
throw k = 0, K = 0, J(D);
|
|
475
|
+
return C = k, B = K, c(k, K);
|
|
476
476
|
} finally {
|
|
477
477
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
478
478
|
}
|
|
@@ -489,7 +489,7 @@ class G {
|
|
|
489
489
|
}
|
|
490
490
|
}
|
|
491
491
|
Symbol.dispose && (G.prototype[Symbol.dispose] = G.prototype.free);
|
|
492
|
-
class
|
|
492
|
+
class P {
|
|
493
493
|
__destroy_into_raw() {
|
|
494
494
|
const A = this.__wbg_ptr;
|
|
495
495
|
return this.__wbg_ptr = 0, nA.unregister(this), A;
|
|
@@ -556,7 +556,7 @@ class O {
|
|
|
556
556
|
I.wasmexprarray_push_str(this.__wbg_ptr, C, B);
|
|
557
557
|
}
|
|
558
558
|
}
|
|
559
|
-
Symbol.dispose && (
|
|
559
|
+
Symbol.dispose && (P.prototype[Symbol.dispose] = P.prototype.free);
|
|
560
560
|
class MA {
|
|
561
561
|
__destroy_into_raw() {
|
|
562
562
|
const A = this.__wbg_ptr;
|
|
@@ -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 J(C);
|
|
580
|
+
return J(A);
|
|
581
581
|
} finally {
|
|
582
582
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
583
583
|
}
|
|
@@ -605,10 +605,10 @@ class MA {
|
|
|
605
605
|
query(A) {
|
|
606
606
|
try {
|
|
607
607
|
const Q = I.__wbindgen_add_to_stack_pointer(-16);
|
|
608
|
-
H(A,
|
|
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 J(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 = N(A, I.__wbindgen_export, I.__wbindgen_export2),
|
|
625
|
-
I.wasminsertbuilder_to_sql(y, this.__wbg_ptr, h,
|
|
624
|
+
const y = I.__wbindgen_add_to_stack_pointer(-16), h = N(A, I.__wbindgen_export, I.__wbindgen_export2), R = M;
|
|
625
|
+
I.wasminsertbuilder_to_sql(y, this.__wbg_ptr, h, R);
|
|
626
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), k = Q, K = E;
|
|
627
627
|
if (o)
|
|
628
|
-
throw k = 0, K = 0,
|
|
629
|
-
return C = k, B = K,
|
|
628
|
+
throw k = 0, K = 0, J(D);
|
|
629
|
+
return C = k, B = K, c(k, K);
|
|
630
630
|
} finally {
|
|
631
631
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
632
632
|
}
|
|
@@ -636,7 +636,7 @@ class MA {
|
|
|
636
636
|
* @param {WasmExprArray} vals
|
|
637
637
|
*/
|
|
638
638
|
values(A) {
|
|
639
|
-
H(A,
|
|
639
|
+
H(A, P), I.wasminsertbuilder_values(this.__wbg_ptr, A.__wbg_ptr);
|
|
640
640
|
}
|
|
641
641
|
}
|
|
642
642
|
Symbol.dispose && (MA.prototype[Symbol.dispose] = MA.prototype.free);
|
|
@@ -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 J(C);
|
|
663
|
+
return J(A);
|
|
664
664
|
} finally {
|
|
665
665
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
666
666
|
}
|
|
@@ -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 = N(A, I.__wbindgen_export, I.__wbindgen_export2),
|
|
685
|
-
I.wasmmergebuilder_to_sql(y, this.__wbg_ptr, h,
|
|
684
|
+
const y = I.__wbindgen_add_to_stack_pointer(-16), h = N(A, I.__wbindgen_export, I.__wbindgen_export2), R = M;
|
|
685
|
+
I.wasmmergebuilder_to_sql(y, this.__wbg_ptr, h, R);
|
|
686
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), k = Q, K = E;
|
|
687
687
|
if (o)
|
|
688
|
-
throw k = 0, K = 0,
|
|
689
|
-
return C = k, B = K,
|
|
688
|
+
throw k = 0, K = 0, J(D);
|
|
689
|
+
return C = k, B = K, c(k, K);
|
|
690
690
|
} finally {
|
|
691
691
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
692
692
|
}
|
|
@@ -720,14 +720,14 @@ class NA {
|
|
|
720
720
|
*/
|
|
721
721
|
when_not_matched_insert(A, C) {
|
|
722
722
|
const B = LA(A, I.__wbindgen_export), Q = M;
|
|
723
|
-
H(C,
|
|
723
|
+
H(C, P), I.wasmmergebuilder_when_not_matched_insert(this.__wbg_ptr, B, Q, C.__wbg_ptr);
|
|
724
724
|
}
|
|
725
725
|
}
|
|
726
726
|
Symbol.dispose && (NA.prototype[Symbol.dispose] = NA.prototype.free);
|
|
727
|
-
class
|
|
727
|
+
class t {
|
|
728
728
|
__destroy_into_raw() {
|
|
729
729
|
const A = this.__wbg_ptr;
|
|
730
|
-
return this.__wbg_ptr = 0,
|
|
730
|
+
return this.__wbg_ptr = 0, uA.unregister(this), A;
|
|
731
731
|
}
|
|
732
732
|
free() {
|
|
733
733
|
const A = this.__destroy_into_raw();
|
|
@@ -743,8 +743,8 @@ class j {
|
|
|
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 J(C);
|
|
747
|
+
return J(A);
|
|
748
748
|
} finally {
|
|
749
749
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
750
750
|
}
|
|
@@ -768,8 +768,8 @@ class j {
|
|
|
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 J(B);
|
|
772
|
+
return J(C);
|
|
773
773
|
} finally {
|
|
774
774
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
775
775
|
}
|
|
@@ -783,12 +783,12 @@ class j {
|
|
|
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,
|
|
786
|
+
const h = I.__wbindgen_add_to_stack_pointer(-16), R = N(A, I.__wbindgen_export, I.__wbindgen_export2), q = M, T = N(C, I.__wbindgen_export, I.__wbindgen_export2), e = M;
|
|
787
|
+
I.wasmselectbuilder_ctas_sql(h, this.__wbg_ptr, R, q, T, e);
|
|
788
788
|
var E = i().getInt32(h + 0, !0), D = i().getInt32(h + 4, !0), o = i().getInt32(h + 8, !0), k = i().getInt32(h + 12, !0), K = E, y = D;
|
|
789
789
|
if (k)
|
|
790
|
-
throw K = 0, y = 0,
|
|
791
|
-
return B = K, Q = y,
|
|
790
|
+
throw K = 0, y = 0, J(o);
|
|
791
|
+
return B = K, Q = y, c(K, y);
|
|
792
792
|
} finally {
|
|
793
793
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, Q, 1);
|
|
794
794
|
}
|
|
@@ -807,11 +807,11 @@ class j {
|
|
|
807
807
|
except_(A) {
|
|
808
808
|
try {
|
|
809
809
|
const E = I.__wbindgen_add_to_stack_pointer(-16);
|
|
810
|
-
H(A,
|
|
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 J(B);
|
|
814
|
+
return W.__wrap(C);
|
|
815
815
|
} finally {
|
|
816
816
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
817
817
|
}
|
|
@@ -842,7 +842,7 @@ class j {
|
|
|
842
842
|
* @param {WasmExprArray} cols
|
|
843
843
|
*/
|
|
844
844
|
group_by_cols(A) {
|
|
845
|
-
H(A,
|
|
845
|
+
H(A, P), I.wasmselectbuilder_group_by_cols(this.__wbg_ptr, A.__wbg_ptr);
|
|
846
846
|
}
|
|
847
847
|
/**
|
|
848
848
|
* Set the HAVING clause.
|
|
@@ -867,11 +867,11 @@ class j {
|
|
|
867
867
|
intersect(A) {
|
|
868
868
|
try {
|
|
869
869
|
const E = I.__wbindgen_add_to_stack_pointer(-16);
|
|
870
|
-
H(A,
|
|
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 J(B);
|
|
874
|
+
return W.__wrap(C);
|
|
875
875
|
} finally {
|
|
876
876
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
877
877
|
}
|
|
@@ -917,7 +917,7 @@ class j {
|
|
|
917
917
|
*/
|
|
918
918
|
constructor() {
|
|
919
919
|
const A = I.wasmselectbuilder_new();
|
|
920
|
-
return this.__wbg_ptr = A >>> 0,
|
|
920
|
+
return this.__wbg_ptr = A >>> 0, uA.register(this, this.__wbg_ptr, this), this;
|
|
921
921
|
}
|
|
922
922
|
/**
|
|
923
923
|
* Set the OFFSET clause.
|
|
@@ -931,7 +931,7 @@ class j {
|
|
|
931
931
|
* @param {WasmExprArray} exprs
|
|
932
932
|
*/
|
|
933
933
|
order_by_exprs(A) {
|
|
934
|
-
H(A,
|
|
934
|
+
H(A, P), I.wasmselectbuilder_order_by_exprs(this.__wbg_ptr, A.__wbg_ptr);
|
|
935
935
|
}
|
|
936
936
|
/**
|
|
937
937
|
* Set the QUALIFY clause.
|
|
@@ -969,7 +969,7 @@ class j {
|
|
|
969
969
|
* @param {WasmExprArray} exprs
|
|
970
970
|
*/
|
|
971
971
|
select_exprs(A) {
|
|
972
|
-
H(A,
|
|
972
|
+
H(A, P), I.wasmselectbuilder_select_exprs(this.__wbg_ptr, A.__wbg_ptr);
|
|
973
973
|
}
|
|
974
974
|
/**
|
|
975
975
|
* Add a star (*) to the SELECT list.
|
|
@@ -982,7 +982,7 @@ class j {
|
|
|
982
982
|
* @param {WasmExprArray} exprs
|
|
983
983
|
*/
|
|
984
984
|
sort_by_exprs(A) {
|
|
985
|
-
H(A,
|
|
985
|
+
H(A, P), I.wasmselectbuilder_sort_by_exprs(this.__wbg_ptr, A.__wbg_ptr);
|
|
986
986
|
}
|
|
987
987
|
/**
|
|
988
988
|
* Generate SQL string for the given dialect.
|
|
@@ -992,12 +992,12 @@ class j {
|
|
|
992
992
|
to_sql(A) {
|
|
993
993
|
let C, B;
|
|
994
994
|
try {
|
|
995
|
-
const y = I.__wbindgen_add_to_stack_pointer(-16), h = N(A, I.__wbindgen_export, I.__wbindgen_export2),
|
|
996
|
-
I.wasmselectbuilder_to_sql(y, this.__wbg_ptr, h,
|
|
995
|
+
const y = I.__wbindgen_add_to_stack_pointer(-16), h = N(A, I.__wbindgen_export, I.__wbindgen_export2), R = M;
|
|
996
|
+
I.wasmselectbuilder_to_sql(y, this.__wbg_ptr, h, R);
|
|
997
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), k = Q, K = E;
|
|
998
998
|
if (o)
|
|
999
|
-
throw k = 0, K = 0,
|
|
1000
|
-
return C = k, B = K,
|
|
999
|
+
throw k = 0, K = 0, J(D);
|
|
1000
|
+
return C = k, B = K, c(k, K);
|
|
1001
1001
|
} finally {
|
|
1002
1002
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1003
1003
|
}
|
|
@@ -1010,11 +1010,11 @@ class j {
|
|
|
1010
1010
|
union(A) {
|
|
1011
1011
|
try {
|
|
1012
1012
|
const E = I.__wbindgen_add_to_stack_pointer(-16);
|
|
1013
|
-
H(A,
|
|
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 J(B);
|
|
1017
|
+
return W.__wrap(C);
|
|
1018
1018
|
} finally {
|
|
1019
1019
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
1020
1020
|
}
|
|
@@ -1027,11 +1027,11 @@ class j {
|
|
|
1027
1027
|
union_all(A) {
|
|
1028
1028
|
try {
|
|
1029
1029
|
const E = I.__wbindgen_add_to_stack_pointer(-16);
|
|
1030
|
-
H(A,
|
|
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 J(B);
|
|
1034
|
+
return W.__wrap(C);
|
|
1035
1035
|
} finally {
|
|
1036
1036
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
1037
1037
|
}
|
|
@@ -1062,22 +1062,22 @@ class j {
|
|
|
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 J(B);
|
|
1066
1066
|
} finally {
|
|
1067
1067
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
1068
1068
|
}
|
|
1069
1069
|
}
|
|
1070
1070
|
}
|
|
1071
|
-
Symbol.dispose && (
|
|
1072
|
-
class
|
|
1071
|
+
Symbol.dispose && (t.prototype[Symbol.dispose] = t.prototype.free);
|
|
1072
|
+
class W {
|
|
1073
1073
|
static __wrap(A) {
|
|
1074
1074
|
A = A >>> 0;
|
|
1075
|
-
const C = Object.create(
|
|
1076
|
-
return C.__wbg_ptr = A,
|
|
1075
|
+
const C = Object.create(W.prototype);
|
|
1076
|
+
return C.__wbg_ptr = A, bA.register(C, C.__wbg_ptr, C), C;
|
|
1077
1077
|
}
|
|
1078
1078
|
__destroy_into_raw() {
|
|
1079
1079
|
const A = this.__wbg_ptr;
|
|
1080
|
-
return this.__wbg_ptr = 0,
|
|
1080
|
+
return this.__wbg_ptr = 0, bA.unregister(this), A;
|
|
1081
1081
|
}
|
|
1082
1082
|
free() {
|
|
1083
1083
|
const A = this.__destroy_into_raw();
|
|
@@ -1093,8 +1093,8 @@ class x {
|
|
|
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 J(C);
|
|
1097
|
+
return J(A);
|
|
1098
1098
|
} finally {
|
|
1099
1099
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
1100
1100
|
}
|
|
@@ -1118,7 +1118,7 @@ class x {
|
|
|
1118
1118
|
* @param {WasmExprArray} exprs
|
|
1119
1119
|
*/
|
|
1120
1120
|
order_by_exprs(A) {
|
|
1121
|
-
H(A,
|
|
1121
|
+
H(A, P), I.wasmsetopbuilder_order_by_exprs(this.__wbg_ptr, A.__wbg_ptr);
|
|
1122
1122
|
}
|
|
1123
1123
|
/**
|
|
1124
1124
|
* Generate SQL string for the given dialect.
|
|
@@ -1128,22 +1128,22 @@ class x {
|
|
|
1128
1128
|
to_sql(A) {
|
|
1129
1129
|
let C, B;
|
|
1130
1130
|
try {
|
|
1131
|
-
const y = I.__wbindgen_add_to_stack_pointer(-16), h = N(A, I.__wbindgen_export, I.__wbindgen_export2),
|
|
1132
|
-
I.wasmsetopbuilder_to_sql(y, this.__wbg_ptr, h,
|
|
1131
|
+
const y = I.__wbindgen_add_to_stack_pointer(-16), h = N(A, I.__wbindgen_export, I.__wbindgen_export2), R = M;
|
|
1132
|
+
I.wasmsetopbuilder_to_sql(y, this.__wbg_ptr, h, R);
|
|
1133
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), k = Q, K = E;
|
|
1134
1134
|
if (o)
|
|
1135
|
-
throw k = 0, K = 0,
|
|
1136
|
-
return C = k, B = K,
|
|
1135
|
+
throw k = 0, K = 0, J(D);
|
|
1136
|
+
return C = k, B = K, c(k, 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 && (
|
|
1142
|
+
Symbol.dispose && (W.prototype[Symbol.dispose] = W.prototype.free);
|
|
1143
1143
|
class kA {
|
|
1144
1144
|
__destroy_into_raw() {
|
|
1145
1145
|
const A = this.__wbg_ptr;
|
|
1146
|
-
return this.__wbg_ptr = 0,
|
|
1146
|
+
return this.__wbg_ptr = 0, vA.unregister(this), A;
|
|
1147
1147
|
}
|
|
1148
1148
|
free() {
|
|
1149
1149
|
const A = this.__destroy_into_raw();
|
|
@@ -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 J(C);
|
|
1163
|
+
return J(A);
|
|
1164
1164
|
} finally {
|
|
1165
1165
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
1166
1166
|
}
|
|
@@ -1179,7 +1179,7 @@ class kA {
|
|
|
1179
1179
|
*/
|
|
1180
1180
|
constructor(A) {
|
|
1181
1181
|
const C = N(A, I.__wbindgen_export, I.__wbindgen_export2), B = M, Q = I.wasmupdatebuilder_new(C, B);
|
|
1182
|
-
return this.__wbg_ptr = Q >>> 0,
|
|
1182
|
+
return this.__wbg_ptr = Q >>> 0, vA.register(this, this.__wbg_ptr, this), this;
|
|
1183
1183
|
}
|
|
1184
1184
|
/**
|
|
1185
1185
|
* Add a SET column = value assignment.
|
|
@@ -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 = N(A, I.__wbindgen_export, I.__wbindgen_export2),
|
|
1202
|
-
I.wasmupdatebuilder_to_sql(y, this.__wbg_ptr, h,
|
|
1201
|
+
const y = I.__wbindgen_add_to_stack_pointer(-16), h = N(A, I.__wbindgen_export, I.__wbindgen_export2), R = M;
|
|
1202
|
+
I.wasmupdatebuilder_to_sql(y, this.__wbg_ptr, h, R);
|
|
1203
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), k = Q, K = E;
|
|
1204
1204
|
if (o)
|
|
1205
|
-
throw k = 0, K = 0,
|
|
1206
|
-
return C = k, B = K,
|
|
1205
|
+
throw k = 0, K = 0, J(D);
|
|
1206
|
+
return C = k, B = K, c(k, K);
|
|
1207
1207
|
} finally {
|
|
1208
1208
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1209
1209
|
}
|
|
@@ -1238,46 +1238,46 @@ class QA {
|
|
|
1238
1238
|
* @param {WasmExprArray} exprs
|
|
1239
1239
|
*/
|
|
1240
1240
|
order_by(A) {
|
|
1241
|
-
H(A,
|
|
1241
|
+
H(A, P), I.wasmwindowdefbuilder_order_by(this.__wbg_ptr, A.__wbg_ptr);
|
|
1242
1242
|
}
|
|
1243
1243
|
/**
|
|
1244
1244
|
* Set the PARTITION BY expressions.
|
|
1245
1245
|
* @param {WasmExprArray} exprs
|
|
1246
1246
|
*/
|
|
1247
1247
|
partition_by(A) {
|
|
1248
|
-
H(A,
|
|
1248
|
+
H(A, P), I.wasmwindowdefbuilder_partition_by(this.__wbg_ptr, A.__wbg_ptr);
|
|
1249
1249
|
}
|
|
1250
1250
|
}
|
|
1251
1251
|
Symbol.dispose && (QA.prototype[Symbol.dispose] = QA.prototype.free);
|
|
1252
|
-
function
|
|
1252
|
+
function sI(g, A) {
|
|
1253
1253
|
let C, B;
|
|
1254
1254
|
try {
|
|
1255
1255
|
const D = I.__wbindgen_add_to_stack_pointer(-16), o = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = M, K = N(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
1256
1256
|
I.analyze_query(D, o, k, 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, c(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 = N(g, I.__wbindgen_export, I.__wbindgen_export2), B = M, Q = I.analyze_query_value(C, B,
|
|
1265
|
-
return
|
|
1264
|
+
const C = N(g, I.__wbindgen_export, I.__wbindgen_export2), B = M, Q = I.analyze_query_value(C, B, a(A));
|
|
1265
|
+
return J(Q);
|
|
1266
1266
|
}
|
|
1267
|
-
function
|
|
1267
|
+
function qI(g, A, C) {
|
|
1268
1268
|
let B, Q;
|
|
1269
1269
|
try {
|
|
1270
|
-
const o = I.__wbindgen_add_to_stack_pointer(-16), k = N(g, I.__wbindgen_export, I.__wbindgen_export2), K = M, y = N(A, I.__wbindgen_export, I.__wbindgen_export2), h = M,
|
|
1271
|
-
I.annotate_types(o, k, K, y, h,
|
|
1270
|
+
const o = I.__wbindgen_add_to_stack_pointer(-16), k = N(g, I.__wbindgen_export, I.__wbindgen_export2), K = M, y = N(A, I.__wbindgen_export, I.__wbindgen_export2), h = M, R = N(C, I.__wbindgen_export, I.__wbindgen_export2), q = M;
|
|
1271
|
+
I.annotate_types(o, k, K, y, h, R, 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, c(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
|
-
function
|
|
1278
|
+
function pI(g, A, C) {
|
|
1279
1279
|
const B = N(g, I.__wbindgen_export, I.__wbindgen_export2), Q = M, E = N(A, I.__wbindgen_export, I.__wbindgen_export2), D = M, o = N(C, I.__wbindgen_export, I.__wbindgen_export2), k = M, K = I.annotate_types_value(B, Q, E, D, o, k);
|
|
1280
|
-
return
|
|
1280
|
+
return J(K);
|
|
1281
1281
|
}
|
|
1282
1282
|
function $A(g, A, C) {
|
|
1283
1283
|
let B, Q;
|
|
@@ -1285,7 +1285,7 @@ function $A(g, A, C) {
|
|
|
1285
1285
|
const o = I.__wbindgen_add_to_stack_pointer(-16), k = N(g, I.__wbindgen_export, I.__wbindgen_export2), K = M, y = N(A, I.__wbindgen_export, I.__wbindgen_export2), h = M;
|
|
1286
1286
|
I.ast_add_where(o, k, 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, c(E, D);
|
|
1289
1289
|
} finally {
|
|
1290
1290
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, Q, 1);
|
|
1291
1291
|
}
|
|
@@ -1296,7 +1296,7 @@ function Ag(g) {
|
|
|
1296
1296
|
const E = I.__wbindgen_add_to_stack_pointer(-16), D = N(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, c(B, Q);
|
|
1300
1300
|
} finally {
|
|
1301
1301
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
|
|
1302
1302
|
}
|
|
@@ -1307,7 +1307,7 @@ function gg(g) {
|
|
|
1307
1307
|
const E = I.__wbindgen_add_to_stack_pointer(-16), D = N(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, c(B, Q);
|
|
1311
1311
|
} finally {
|
|
1312
1312
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
|
|
1313
1313
|
}
|
|
@@ -1318,7 +1318,7 @@ function Ig(g) {
|
|
|
1318
1318
|
const E = I.__wbindgen_add_to_stack_pointer(-16), D = N(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, c(B, Q);
|
|
1322
1322
|
} finally {
|
|
1323
1323
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
|
|
1324
1324
|
}
|
|
@@ -1329,7 +1329,7 @@ function Cg(g) {
|
|
|
1329
1329
|
const E = I.__wbindgen_add_to_stack_pointer(-16), D = N(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, c(B, Q);
|
|
1333
1333
|
} finally {
|
|
1334
1334
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
|
|
1335
1335
|
}
|
|
@@ -1340,7 +1340,7 @@ function Bg(g) {
|
|
|
1340
1340
|
const E = I.__wbindgen_add_to_stack_pointer(-16), D = N(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, c(B, Q);
|
|
1344
1344
|
} finally {
|
|
1345
1345
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
|
|
1346
1346
|
}
|
|
@@ -1351,7 +1351,7 @@ function Qg(g) {
|
|
|
1351
1351
|
const E = I.__wbindgen_add_to_stack_pointer(-16), D = N(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, c(B, Q);
|
|
1355
1355
|
} finally {
|
|
1356
1356
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
|
|
1357
1357
|
}
|
|
@@ -1362,7 +1362,7 @@ function Eg(g) {
|
|
|
1362
1362
|
const E = I.__wbindgen_add_to_stack_pointer(-16), D = N(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, c(B, Q);
|
|
1366
1366
|
} finally {
|
|
1367
1367
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
|
|
1368
1368
|
}
|
|
@@ -1373,7 +1373,7 @@ function Dg(g) {
|
|
|
1373
1373
|
const E = I.__wbindgen_add_to_stack_pointer(-16), D = N(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, c(B, Q);
|
|
1377
1377
|
} finally {
|
|
1378
1378
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
|
|
1379
1379
|
}
|
|
@@ -1384,7 +1384,7 @@ function wg(g, A) {
|
|
|
1384
1384
|
const D = I.__wbindgen_add_to_stack_pointer(-16), o = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = M, K = N(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
1385
1385
|
I.ast_qualify_columns(D, o, k, 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, c(Q, E);
|
|
1388
1388
|
} finally {
|
|
1389
1389
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1390
1390
|
}
|
|
@@ -1395,7 +1395,7 @@ function ig(g, A) {
|
|
|
1395
1395
|
const D = I.__wbindgen_add_to_stack_pointer(-16), o = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = M, K = N(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
1396
1396
|
I.ast_qualify_tables(D, o, k, 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, c(Q, E);
|
|
1399
1399
|
} finally {
|
|
1400
1400
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1401
1401
|
}
|
|
@@ -1406,7 +1406,7 @@ function og(g) {
|
|
|
1406
1406
|
const E = I.__wbindgen_add_to_stack_pointer(-16), D = N(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, c(B, Q);
|
|
1410
1410
|
} finally {
|
|
1411
1411
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
|
|
1412
1412
|
}
|
|
@@ -1417,7 +1417,7 @@ function Mg(g, A) {
|
|
|
1417
1417
|
const D = I.__wbindgen_add_to_stack_pointer(-16), o = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = M, K = N(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
1418
1418
|
I.ast_rename_columns(D, o, k, 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, c(Q, E);
|
|
1421
1421
|
} finally {
|
|
1422
1422
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1423
1423
|
}
|
|
@@ -1428,7 +1428,7 @@ function Ng(g, A) {
|
|
|
1428
1428
|
const D = I.__wbindgen_add_to_stack_pointer(-16), o = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = M, K = N(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
1429
1429
|
I.ast_rename_tables(D, o, k, 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, c(Q, E);
|
|
1432
1432
|
} finally {
|
|
1433
1433
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1434
1434
|
}
|
|
@@ -1436,10 +1436,10 @@ function Ng(g, A) {
|
|
|
1436
1436
|
function kg(g, A, C) {
|
|
1437
1437
|
let B, Q;
|
|
1438
1438
|
try {
|
|
1439
|
-
const o = I.__wbindgen_add_to_stack_pointer(-16), k = N(g, I.__wbindgen_export, I.__wbindgen_export2), K = M, y = N(A, I.__wbindgen_export, I.__wbindgen_export2), h = M,
|
|
1440
|
-
I.ast_rename_tables_with_options(o, k, K, y, h,
|
|
1439
|
+
const o = I.__wbindgen_add_to_stack_pointer(-16), k = N(g, I.__wbindgen_export, I.__wbindgen_export2), K = M, y = N(A, I.__wbindgen_export, I.__wbindgen_export2), h = M, R = N(C, I.__wbindgen_export, I.__wbindgen_export2), q = M;
|
|
1440
|
+
I.ast_rename_tables_with_options(o, k, K, y, h, R, 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, c(E, D);
|
|
1443
1443
|
} finally {
|
|
1444
1444
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, Q, 1);
|
|
1445
1445
|
}
|
|
@@ -1450,7 +1450,7 @@ function yg(g, A) {
|
|
|
1450
1450
|
const D = I.__wbindgen_add_to_stack_pointer(-16), o = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = M;
|
|
1451
1451
|
I.ast_set_distinct(D, o, k, 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, c(Q, E);
|
|
1454
1454
|
} finally {
|
|
1455
1455
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1456
1456
|
}
|
|
@@ -1461,7 +1461,7 @@ function Kg(g, A) {
|
|
|
1461
1461
|
const D = I.__wbindgen_add_to_stack_pointer(-16), o = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = M;
|
|
1462
1462
|
I.ast_set_limit(D, o, k, 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, c(Q, E);
|
|
1465
1465
|
} finally {
|
|
1466
1466
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1467
1467
|
}
|
|
@@ -1469,43 +1469,43 @@ 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 = N(g, I.__wbindgen_export, I.__wbindgen_export2),
|
|
1473
|
-
I.diff_sql(y, h,
|
|
1472
|
+
const y = I.__wbindgen_add_to_stack_pointer(-16), h = N(g, I.__wbindgen_export, I.__wbindgen_export2), R = M, q = N(A, I.__wbindgen_export, I.__wbindgen_export2), T = M, e = N(C, I.__wbindgen_export, I.__wbindgen_export2), r = M;
|
|
1473
|
+
I.diff_sql(y, h, R, q, T, e, r, B, Q, E);
|
|
1474
1474
|
var k = i().getInt32(y + 0, !0), K = i().getInt32(y + 4, !0);
|
|
1475
|
-
return D = k, o = K,
|
|
1475
|
+
return D = k, o = K, c(k, K);
|
|
1476
1476
|
} finally {
|
|
1477
1477
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(D, o, 1);
|
|
1478
1478
|
}
|
|
1479
1479
|
}
|
|
1480
|
-
function
|
|
1480
|
+
function PI(g, A) {
|
|
1481
1481
|
let C, B;
|
|
1482
1482
|
try {
|
|
1483
1483
|
const D = I.__wbindgen_add_to_stack_pointer(-16), o = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = M, K = N(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
1484
1484
|
I.format_sql(D, o, k, 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, c(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
|
|
1491
|
+
function TI(g, A) {
|
|
1492
1492
|
const C = N(g, I.__wbindgen_export, I.__wbindgen_export2), B = M, Q = N(A, I.__wbindgen_export, I.__wbindgen_export2), E = M, D = I.format_sql_value(C, B, Q, E);
|
|
1493
|
-
return
|
|
1493
|
+
return J(D);
|
|
1494
1494
|
}
|
|
1495
|
-
function
|
|
1495
|
+
function OI(g, A, C) {
|
|
1496
1496
|
let B, Q;
|
|
1497
1497
|
try {
|
|
1498
|
-
const o = I.__wbindgen_add_to_stack_pointer(-16), k = N(g, I.__wbindgen_export, I.__wbindgen_export2), K = M, y = N(A, I.__wbindgen_export, I.__wbindgen_export2), h = M,
|
|
1499
|
-
I.format_sql_with_options(o, k, K, y, h,
|
|
1498
|
+
const o = I.__wbindgen_add_to_stack_pointer(-16), k = N(g, I.__wbindgen_export, I.__wbindgen_export2), K = M, y = N(A, I.__wbindgen_export, I.__wbindgen_export2), h = M, R = N(C, I.__wbindgen_export, I.__wbindgen_export2), q = M;
|
|
1499
|
+
I.format_sql_with_options(o, k, K, y, h, R, 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, c(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
|
-
function
|
|
1507
|
-
const B = N(g, I.__wbindgen_export, I.__wbindgen_export2), Q = M, E = N(A, I.__wbindgen_export, I.__wbindgen_export2), D = M, o = I.format_sql_with_options_value(B, Q, E, D,
|
|
1508
|
-
return
|
|
1506
|
+
function jI(g, A, C) {
|
|
1507
|
+
const B = N(g, I.__wbindgen_export, I.__wbindgen_export2), Q = M, E = N(A, I.__wbindgen_export, I.__wbindgen_export2), D = M, o = I.format_sql_with_options_value(B, Q, E, D, a(C));
|
|
1508
|
+
return J(o);
|
|
1509
1509
|
}
|
|
1510
1510
|
function tI(g, A) {
|
|
1511
1511
|
let C, B;
|
|
@@ -1513,52 +1513,52 @@ function tI(g, A) {
|
|
|
1513
1513
|
const D = I.__wbindgen_add_to_stack_pointer(-16), o = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = M, K = N(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
1514
1514
|
I.generate(D, o, k, 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, c(Q, E);
|
|
1517
1517
|
} finally {
|
|
1518
1518
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1519
1519
|
}
|
|
1520
1520
|
}
|
|
1521
|
-
function
|
|
1521
|
+
function fI(g, A) {
|
|
1522
1522
|
let C, B;
|
|
1523
1523
|
try {
|
|
1524
1524
|
const D = I.__wbindgen_add_to_stack_pointer(-16), o = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = M, K = N(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
1525
1525
|
I.generate_data_type(D, o, k, 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, c(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 = N(A, I.__wbindgen_export, I.__wbindgen_export2), B = M, Q = I.generate_data_type_value(
|
|
1534
|
-
return
|
|
1532
|
+
function dI(g, A) {
|
|
1533
|
+
const C = N(A, I.__wbindgen_export, I.__wbindgen_export2), B = M, Q = I.generate_data_type_value(a(g), C, B);
|
|
1534
|
+
return J(Q);
|
|
1535
1535
|
}
|
|
1536
|
-
function
|
|
1537
|
-
const C = N(A, I.__wbindgen_export, I.__wbindgen_export2), B = M, Q = I.generate_value(
|
|
1538
|
-
return
|
|
1536
|
+
function zI(g, A) {
|
|
1537
|
+
const C = N(A, I.__wbindgen_export, I.__wbindgen_export2), B = M, Q = I.generate_value(a(g), C, B);
|
|
1538
|
+
return J(Q);
|
|
1539
1539
|
}
|
|
1540
|
-
function
|
|
1540
|
+
function ZI() {
|
|
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, c(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
|
-
function
|
|
1551
|
+
function eI() {
|
|
1552
1552
|
const g = I.get_dialects_value();
|
|
1553
|
-
return
|
|
1553
|
+
return J(g);
|
|
1554
1554
|
}
|
|
1555
1555
|
function Yg(g, A, C, B) {
|
|
1556
1556
|
let Q, E;
|
|
1557
1557
|
try {
|
|
1558
|
-
const k = I.__wbindgen_add_to_stack_pointer(-16), K = N(g, I.__wbindgen_export, I.__wbindgen_export2), y = M, h = N(A, I.__wbindgen_export, I.__wbindgen_export2),
|
|
1559
|
-
I.lineage_sql(k, K, y, h,
|
|
1558
|
+
const k = I.__wbindgen_add_to_stack_pointer(-16), K = N(g, I.__wbindgen_export, I.__wbindgen_export2), y = M, h = N(A, I.__wbindgen_export, I.__wbindgen_export2), R = M, q = N(C, I.__wbindgen_export, I.__wbindgen_export2), T = M;
|
|
1559
|
+
I.lineage_sql(k, K, y, h, R, q, T, B);
|
|
1560
1560
|
var D = i().getInt32(k + 0, !0), o = i().getInt32(k + 4, !0);
|
|
1561
|
-
return Q = D, E = o,
|
|
1561
|
+
return Q = D, E = o, c(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 = N(g, I.__wbindgen_export, I.__wbindgen_export2), h = M,
|
|
1570
|
-
I.lineage_sql_with_schema(K, y, h,
|
|
1569
|
+
const K = I.__wbindgen_add_to_stack_pointer(-16), y = N(g, I.__wbindgen_export, I.__wbindgen_export2), h = M, R = N(A, I.__wbindgen_export, I.__wbindgen_export2), q = M, T = N(C, I.__wbindgen_export, I.__wbindgen_export2), e = M, r = N(B, I.__wbindgen_export, I.__wbindgen_export2), LI = M;
|
|
1570
|
+
I.lineage_sql_with_schema(K, y, h, R, q, T, e, r, LI, Q);
|
|
1571
1571
|
var o = i().getInt32(K + 0, !0), k = i().getInt32(K + 4, !0);
|
|
1572
|
-
return E = o, D = k,
|
|
1572
|
+
return E = o, D = k, c(o, k);
|
|
1573
1573
|
} finally {
|
|
1574
1574
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(E, D, 1);
|
|
1575
1575
|
}
|
|
@@ -1580,40 +1580,40 @@ function hg(g, A) {
|
|
|
1580
1580
|
const D = I.__wbindgen_add_to_stack_pointer(-16), o = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = M, K = N(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
1581
1581
|
I.openlineage_column_lineage(D, o, k, 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, c(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 cg(g, A) {
|
|
1589
1589
|
let C, B;
|
|
1590
1590
|
try {
|
|
1591
1591
|
const D = I.__wbindgen_add_to_stack_pointer(-16), o = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = M, K = N(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
1592
1592
|
I.openlineage_job_event(D, o, k, 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, c(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 Sg(g, A) {
|
|
1600
1600
|
let C, B;
|
|
1601
1601
|
try {
|
|
1602
1602
|
const D = I.__wbindgen_add_to_stack_pointer(-16), o = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = M, K = N(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
1603
1603
|
I.openlineage_run_event(D, o, k, 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, c(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 xI(g, A) {
|
|
1611
1611
|
let C, B;
|
|
1612
1612
|
try {
|
|
1613
1613
|
const D = I.__wbindgen_add_to_stack_pointer(-16), o = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = M, K = N(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
1614
1614
|
I.parse(D, o, k, 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, c(Q, E);
|
|
1617
1617
|
} finally {
|
|
1618
1618
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1619
1619
|
}
|
|
@@ -1624,104 +1624,104 @@ function WI(g, A) {
|
|
|
1624
1624
|
const D = I.__wbindgen_add_to_stack_pointer(-16), o = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = M, K = N(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
1625
1625
|
I.parse_data_type(D, o, k, 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, c(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
|
|
1632
|
+
function VI(g, A) {
|
|
1633
1633
|
const C = N(g, I.__wbindgen_export, I.__wbindgen_export2), B = M, Q = N(A, I.__wbindgen_export, I.__wbindgen_export2), E = M, D = I.parse_data_type_value(C, B, Q, E);
|
|
1634
|
-
return
|
|
1634
|
+
return J(D);
|
|
1635
1635
|
}
|
|
1636
|
-
function
|
|
1636
|
+
function lI(g, A) {
|
|
1637
1637
|
const C = N(g, I.__wbindgen_export, I.__wbindgen_export2), B = M, Q = N(A, I.__wbindgen_export, I.__wbindgen_export2), E = M, D = I.parse_value(C, B, Q, E);
|
|
1638
|
-
return
|
|
1638
|
+
return J(D);
|
|
1639
1639
|
}
|
|
1640
|
-
function
|
|
1640
|
+
function Fg(g, A) {
|
|
1641
1641
|
let C, B;
|
|
1642
1642
|
try {
|
|
1643
1643
|
const D = I.__wbindgen_add_to_stack_pointer(-16), o = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = M, K = N(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
1644
1644
|
I.plan(D, o, k, 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, c(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 Jg(g, A, C) {
|
|
1652
1652
|
let B, Q;
|
|
1653
1653
|
try {
|
|
1654
|
-
const o = I.__wbindgen_add_to_stack_pointer(-16), k = N(g, I.__wbindgen_export, I.__wbindgen_export2), K = M, y = N(A, I.__wbindgen_export, I.__wbindgen_export2), h = M,
|
|
1655
|
-
I.source_tables(o, k, K, y, h,
|
|
1654
|
+
const o = I.__wbindgen_add_to_stack_pointer(-16), k = N(g, I.__wbindgen_export, I.__wbindgen_export2), K = M, y = N(A, I.__wbindgen_export, I.__wbindgen_export2), h = M, R = N(C, I.__wbindgen_export, I.__wbindgen_export2), q = M;
|
|
1655
|
+
I.source_tables(o, k, K, y, h, R, 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, c(E, D);
|
|
1658
1658
|
} finally {
|
|
1659
1659
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, Q, 1);
|
|
1660
1660
|
}
|
|
1661
1661
|
}
|
|
1662
|
-
function
|
|
1662
|
+
function nI(g, A) {
|
|
1663
1663
|
let C, B;
|
|
1664
1664
|
try {
|
|
1665
1665
|
const D = I.__wbindgen_add_to_stack_pointer(-16), o = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = M, K = N(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
1666
1666
|
I.tokenize(D, o, k, 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, c(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
|
-
function
|
|
1673
|
+
function rI(g, A) {
|
|
1674
1674
|
const C = N(g, I.__wbindgen_export, I.__wbindgen_export2), B = M, Q = N(A, I.__wbindgen_export, I.__wbindgen_export2), E = M, D = I.tokenize_value(C, B, Q, E);
|
|
1675
|
-
return
|
|
1675
|
+
return J(D);
|
|
1676
1676
|
}
|
|
1677
|
-
function
|
|
1677
|
+
function mI(g, A, C) {
|
|
1678
1678
|
let B, Q;
|
|
1679
1679
|
try {
|
|
1680
|
-
const o = I.__wbindgen_add_to_stack_pointer(-16), k = N(g, I.__wbindgen_export, I.__wbindgen_export2), K = M, y = N(A, I.__wbindgen_export, I.__wbindgen_export2), h = M,
|
|
1681
|
-
I.transpile(o, k, K, y, h,
|
|
1680
|
+
const o = I.__wbindgen_add_to_stack_pointer(-16), k = N(g, I.__wbindgen_export, I.__wbindgen_export2), K = M, y = N(A, I.__wbindgen_export, I.__wbindgen_export2), h = M, R = N(C, I.__wbindgen_export, I.__wbindgen_export2), q = M;
|
|
1681
|
+
I.transpile(o, k, K, y, h, R, 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, c(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
|
-
function
|
|
1688
|
+
function uI(g, A, C) {
|
|
1689
1689
|
const B = N(g, I.__wbindgen_export, I.__wbindgen_export2), Q = M, E = N(A, I.__wbindgen_export, I.__wbindgen_export2), D = M, o = N(C, I.__wbindgen_export, I.__wbindgen_export2), k = M, K = I.transpile_value(B, Q, E, D, o, k);
|
|
1690
|
-
return
|
|
1690
|
+
return J(K);
|
|
1691
1691
|
}
|
|
1692
|
-
function
|
|
1692
|
+
function bI(g, A, C, B) {
|
|
1693
1693
|
let Q, E;
|
|
1694
1694
|
try {
|
|
1695
|
-
const k = I.__wbindgen_add_to_stack_pointer(-16), K = N(g, I.__wbindgen_export, I.__wbindgen_export2), y = M, h = N(A, I.__wbindgen_export, I.__wbindgen_export2),
|
|
1696
|
-
I.transpile_with_options(k, K, y, h,
|
|
1695
|
+
const k = I.__wbindgen_add_to_stack_pointer(-16), K = N(g, I.__wbindgen_export, I.__wbindgen_export2), y = M, h = N(A, I.__wbindgen_export, I.__wbindgen_export2), R = M, q = N(C, I.__wbindgen_export, I.__wbindgen_export2), T = M, e = N(B, I.__wbindgen_export, I.__wbindgen_export2), r = M;
|
|
1696
|
+
I.transpile_with_options(k, K, y, h, R, q, T, e, r);
|
|
1697
1697
|
var D = i().getInt32(k + 0, !0), o = i().getInt32(k + 4, !0);
|
|
1698
|
-
return Q = D, E = o,
|
|
1698
|
+
return Q = D, E = o, c(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
|
-
function
|
|
1704
|
-
const Q = N(g, I.__wbindgen_export, I.__wbindgen_export2), E = M, D = N(A, I.__wbindgen_export, I.__wbindgen_export2), o = M, k = N(C, I.__wbindgen_export, I.__wbindgen_export2), K = M, y = I.transpile_with_options_value(Q, E, D, o, k, K,
|
|
1705
|
-
return
|
|
1703
|
+
function vI(g, A, C, B) {
|
|
1704
|
+
const Q = N(g, I.__wbindgen_export, I.__wbindgen_export2), E = M, D = N(A, I.__wbindgen_export, I.__wbindgen_export2), o = M, k = N(C, I.__wbindgen_export, I.__wbindgen_export2), K = M, y = I.transpile_with_options_value(Q, E, D, o, k, K, a(B));
|
|
1705
|
+
return J(y);
|
|
1706
1706
|
}
|
|
1707
|
-
function
|
|
1707
|
+
function XI(g, A) {
|
|
1708
1708
|
let C, B;
|
|
1709
1709
|
try {
|
|
1710
1710
|
const D = I.__wbindgen_add_to_stack_pointer(-16), o = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = M, K = N(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
1711
1711
|
I.validate(D, o, k, 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, c(Q, E);
|
|
1714
1714
|
} finally {
|
|
1715
1715
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1716
1716
|
}
|
|
1717
1717
|
}
|
|
1718
|
-
function
|
|
1718
|
+
function _I(g, A, C) {
|
|
1719
1719
|
let B, Q;
|
|
1720
1720
|
try {
|
|
1721
|
-
const o = I.__wbindgen_add_to_stack_pointer(-16), k = N(g, I.__wbindgen_export, I.__wbindgen_export2), K = M, y = N(A, I.__wbindgen_export, I.__wbindgen_export2), h = M,
|
|
1722
|
-
I.validate_with_options(o, k, K, y, h,
|
|
1721
|
+
const o = I.__wbindgen_add_to_stack_pointer(-16), k = N(g, I.__wbindgen_export, I.__wbindgen_export2), K = M, y = N(A, I.__wbindgen_export, I.__wbindgen_export2), h = M, R = N(C, I.__wbindgen_export, I.__wbindgen_export2), q = M;
|
|
1722
|
+
I.validate_with_options(o, k, K, y, h, R, 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, c(E, D);
|
|
1725
1725
|
} finally {
|
|
1726
1726
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, Q, 1);
|
|
1727
1727
|
}
|
|
@@ -1729,50 +1729,50 @@ function XI(g, A, C) {
|
|
|
1729
1729
|
function Lg(g, A, C, B) {
|
|
1730
1730
|
let Q, E;
|
|
1731
1731
|
try {
|
|
1732
|
-
const k = I.__wbindgen_add_to_stack_pointer(-16), K = N(g, I.__wbindgen_export, I.__wbindgen_export2), y = M, h = N(A, I.__wbindgen_export, I.__wbindgen_export2),
|
|
1733
|
-
I.validate_with_schema(k, K, y, h,
|
|
1732
|
+
const k = I.__wbindgen_add_to_stack_pointer(-16), K = N(g, I.__wbindgen_export, I.__wbindgen_export2), y = M, h = N(A, I.__wbindgen_export, I.__wbindgen_export2), R = M, q = N(C, I.__wbindgen_export, I.__wbindgen_export2), T = M, e = N(B, I.__wbindgen_export, I.__wbindgen_export2), r = M;
|
|
1733
|
+
I.validate_with_schema(k, K, y, h, R, q, T, e, r);
|
|
1734
1734
|
var D = i().getInt32(k + 0, !0), o = i().getInt32(k + 4, !0);
|
|
1735
|
-
return Q = D, E = o,
|
|
1735
|
+
return Q = D, E = o, c(D, o);
|
|
1736
1736
|
} finally {
|
|
1737
1737
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, E, 1);
|
|
1738
1738
|
}
|
|
1739
1739
|
}
|
|
1740
|
-
function
|
|
1740
|
+
function $I() {
|
|
1741
1741
|
let g, A;
|
|
1742
1742
|
try {
|
|
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, c(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 Rg(g, A) {
|
|
1752
1752
|
H(g, G);
|
|
1753
1753
|
const C = N(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 Ug(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);
|
|
1760
1760
|
}
|
|
1761
|
-
function
|
|
1761
|
+
function sg(g) {
|
|
1762
1762
|
const A = I.wasm_boolean(g);
|
|
1763
1763
|
return G.__wrap(A);
|
|
1764
1764
|
}
|
|
1765
|
-
function
|
|
1765
|
+
function ag(g) {
|
|
1766
1766
|
H(g, G);
|
|
1767
1767
|
const A = I.wasm_case_of(g.__wbg_ptr);
|
|
1768
|
-
return
|
|
1768
|
+
return u.__wrap(A);
|
|
1769
1769
|
}
|
|
1770
1770
|
function qg(g, A) {
|
|
1771
1771
|
H(g, G);
|
|
1772
1772
|
const C = N(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
|
|
1775
|
+
function JA(g) {
|
|
1776
1776
|
const A = N(g, I.__wbindgen_export, I.__wbindgen_export2), C = M, B = I.wasm_col(A, C);
|
|
1777
1777
|
return G.__wrap(B);
|
|
1778
1778
|
}
|
|
@@ -1781,23 +1781,23 @@ function pg(g) {
|
|
|
1781
1781
|
const A = I.wasm_count_distinct(g.__wbg_ptr);
|
|
1782
1782
|
return G.__wrap(A);
|
|
1783
1783
|
}
|
|
1784
|
-
function
|
|
1784
|
+
function Pg(g, A) {
|
|
1785
1785
|
const C = N(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
|
|
1790
|
+
function Tg(g, A) {
|
|
1791
1791
|
const C = N(g, I.__wbindgen_export, I.__wbindgen_export2), B = M;
|
|
1792
|
-
H(A,
|
|
1792
|
+
H(A, P);
|
|
1793
1793
|
const Q = I.wasm_func(C, B, A.__wbg_ptr);
|
|
1794
1794
|
return G.__wrap(Q);
|
|
1795
1795
|
}
|
|
1796
1796
|
function yA(g) {
|
|
1797
|
-
const A = I.wasm_lit(
|
|
1797
|
+
const A = I.wasm_lit(a(g));
|
|
1798
1798
|
return G.__wrap(A);
|
|
1799
1799
|
}
|
|
1800
|
-
function
|
|
1800
|
+
function Og(g) {
|
|
1801
1801
|
H(g, G);
|
|
1802
1802
|
const A = I.wasm_not(g.__wbg_ptr);
|
|
1803
1803
|
return G.__wrap(A);
|
|
@@ -1806,12 +1806,12 @@ function KA() {
|
|
|
1806
1806
|
const g = I.wasm_null();
|
|
1807
1807
|
return G.__wrap(g);
|
|
1808
1808
|
}
|
|
1809
|
-
function
|
|
1809
|
+
function jg(g, A) {
|
|
1810
1810
|
H(g, G), H(A, G);
|
|
1811
1811
|
const C = I.wasm_or(g.__wbg_ptr, A.__wbg_ptr);
|
|
1812
1812
|
return G.__wrap(C);
|
|
1813
1813
|
}
|
|
1814
|
-
function
|
|
1814
|
+
function tg(g) {
|
|
1815
1815
|
const A = N(g, I.__wbindgen_export, I.__wbindgen_export2), C = M, B = I.wasm_sql_expr(A, C);
|
|
1816
1816
|
return G.__wrap(B);
|
|
1817
1817
|
}
|
|
@@ -1819,15 +1819,15 @@ function fg() {
|
|
|
1819
1819
|
const g = I.wasm_star();
|
|
1820
1820
|
return G.__wrap(g);
|
|
1821
1821
|
}
|
|
1822
|
-
function
|
|
1822
|
+
function dg(g, A) {
|
|
1823
1823
|
try {
|
|
1824
1824
|
const E = I.__wbindgen_add_to_stack_pointer(-16);
|
|
1825
|
-
H(g,
|
|
1825
|
+
H(g, t);
|
|
1826
1826
|
const D = N(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 J(B);
|
|
1831
1831
|
return G.__wrap(C);
|
|
1832
1832
|
} finally {
|
|
1833
1833
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
@@ -1837,118 +1837,118 @@ function zg(g) {
|
|
|
1837
1837
|
const A = N(g, I.__wbindgen_export, I.__wbindgen_export2), C = M, B = I.wasm_table(A, C);
|
|
1838
1838
|
return G.__wrap(B);
|
|
1839
1839
|
}
|
|
1840
|
-
function
|
|
1841
|
-
const C = Error(
|
|
1842
|
-
return
|
|
1840
|
+
function AC(g, A) {
|
|
1841
|
+
const C = Error(c(g, A));
|
|
1842
|
+
return a(C);
|
|
1843
1843
|
}
|
|
1844
|
-
function
|
|
1845
|
-
return Number(
|
|
1844
|
+
function gC(g) {
|
|
1845
|
+
return Number(F(g));
|
|
1846
1846
|
}
|
|
1847
|
-
function
|
|
1848
|
-
const C = String(
|
|
1847
|
+
function IC(g, A) {
|
|
1848
|
+
const C = String(F(A)), B = N(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
|
-
function
|
|
1852
|
-
const C =
|
|
1851
|
+
function CC(g, A) {
|
|
1852
|
+
const C = F(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
|
-
function
|
|
1856
|
-
const A =
|
|
1855
|
+
function BC(g) {
|
|
1856
|
+
const A = F(g), C = typeof A == "boolean" ? A : void 0;
|
|
1857
1857
|
return X(C) ? 16777215 : C ? 1 : 0;
|
|
1858
1858
|
}
|
|
1859
|
-
function BC(g, A) {
|
|
1860
|
-
const C = cA(U(A)), B = N(C, I.__wbindgen_export, I.__wbindgen_export2), Q = M;
|
|
1861
|
-
i().setInt32(g + 4, Q, !0), i().setInt32(g + 0, B, !0);
|
|
1862
|
-
}
|
|
1863
1859
|
function QC(g, A) {
|
|
1864
|
-
|
|
1860
|
+
const C = SA(F(A)), B = N(C, I.__wbindgen_export, I.__wbindgen_export2), Q = M;
|
|
1861
|
+
i().setInt32(g + 4, Q, !0), i().setInt32(g + 0, B, !0);
|
|
1865
1862
|
}
|
|
1866
|
-
function EC(g) {
|
|
1867
|
-
return
|
|
1863
|
+
function EC(g, A) {
|
|
1864
|
+
return F(g) in F(A);
|
|
1868
1865
|
}
|
|
1869
1866
|
function DC(g) {
|
|
1870
|
-
return typeof
|
|
1867
|
+
return typeof F(g) == "bigint";
|
|
1871
1868
|
}
|
|
1872
1869
|
function wC(g) {
|
|
1873
|
-
return
|
|
1870
|
+
return typeof F(g) == "function";
|
|
1874
1871
|
}
|
|
1875
1872
|
function iC(g) {
|
|
1876
|
-
|
|
1877
|
-
return typeof A == "object" && A !== null;
|
|
1873
|
+
return F(g) === null;
|
|
1878
1874
|
}
|
|
1879
1875
|
function oC(g) {
|
|
1880
|
-
|
|
1876
|
+
const A = F(g);
|
|
1877
|
+
return typeof A == "object" && A !== null;
|
|
1881
1878
|
}
|
|
1882
1879
|
function MC(g) {
|
|
1883
|
-
return
|
|
1880
|
+
return typeof F(g) == "string";
|
|
1884
1881
|
}
|
|
1885
|
-
function NC(g
|
|
1886
|
-
return
|
|
1882
|
+
function NC(g) {
|
|
1883
|
+
return F(g) === void 0;
|
|
1887
1884
|
}
|
|
1888
1885
|
function kC(g, A) {
|
|
1889
|
-
return
|
|
1886
|
+
return F(g) === F(A);
|
|
1890
1887
|
}
|
|
1891
1888
|
function yC(g, A) {
|
|
1892
|
-
|
|
1893
|
-
i().setFloat64(g + 8, X(B) ? 0 : B, !0), i().setInt32(g + 0, !X(B), !0);
|
|
1889
|
+
return F(g) == F(A);
|
|
1894
1890
|
}
|
|
1895
1891
|
function KC(g, A) {
|
|
1896
|
-
const C =
|
|
1892
|
+
const C = F(A), B = typeof C == "number" ? C : void 0;
|
|
1893
|
+
i().setFloat64(g + 8, X(B) ? 0 : B, !0), i().setInt32(g + 0, !X(B), !0);
|
|
1894
|
+
}
|
|
1895
|
+
function GC(g, A) {
|
|
1896
|
+
const C = F(A), B = typeof C == "string" ? C : void 0;
|
|
1897
1897
|
var Q = X(B) ? 0 : N(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
|
-
function
|
|
1901
|
-
throw new Error(
|
|
1900
|
+
function YC(g, A) {
|
|
1901
|
+
throw new Error(c(g, A));
|
|
1902
1902
|
}
|
|
1903
|
-
function
|
|
1903
|
+
function HC() {
|
|
1904
1904
|
return GA(function(g, A) {
|
|
1905
|
-
const C =
|
|
1906
|
-
return
|
|
1905
|
+
const C = F(g).call(F(A));
|
|
1906
|
+
return a(C);
|
|
1907
1907
|
}, arguments);
|
|
1908
1908
|
}
|
|
1909
|
-
function
|
|
1910
|
-
const C =
|
|
1911
|
-
return
|
|
1909
|
+
function hC(g, A) {
|
|
1910
|
+
const C = F(g).codePointAt(A >>> 0);
|
|
1911
|
+
return a(C);
|
|
1912
1912
|
}
|
|
1913
|
-
function
|
|
1914
|
-
return
|
|
1913
|
+
function cC(g) {
|
|
1914
|
+
return F(g).done;
|
|
1915
1915
|
}
|
|
1916
1916
|
function SC(g) {
|
|
1917
|
-
const A = Object.entries(
|
|
1918
|
-
return
|
|
1917
|
+
const A = Object.entries(F(g));
|
|
1918
|
+
return a(A);
|
|
1919
1919
|
}
|
|
1920
|
-
function
|
|
1920
|
+
function FC(g, A) {
|
|
1921
1921
|
let C, B;
|
|
1922
1922
|
try {
|
|
1923
|
-
C = g, B = A, console.error(
|
|
1923
|
+
C = g, B = A, console.error(c(g, A));
|
|
1924
1924
|
} finally {
|
|
1925
1925
|
I.__wbindgen_export4(C, B, 1);
|
|
1926
1926
|
}
|
|
1927
1927
|
}
|
|
1928
|
-
function
|
|
1928
|
+
function JC() {
|
|
1929
1929
|
return GA(function(g) {
|
|
1930
1930
|
const A = String.fromCodePoint(g >>> 0);
|
|
1931
|
-
return
|
|
1931
|
+
return a(A);
|
|
1932
1932
|
}, arguments);
|
|
1933
1933
|
}
|
|
1934
|
-
function
|
|
1935
|
-
const C =
|
|
1936
|
-
return
|
|
1934
|
+
function LC(g, A) {
|
|
1935
|
+
const C = F(g)[A >>> 0];
|
|
1936
|
+
return a(C);
|
|
1937
1937
|
}
|
|
1938
|
-
function
|
|
1938
|
+
function RC() {
|
|
1939
1939
|
return GA(function(g, A) {
|
|
1940
|
-
const C = Reflect.get(
|
|
1941
|
-
return
|
|
1940
|
+
const C = Reflect.get(F(g), F(A));
|
|
1941
|
+
return a(C);
|
|
1942
1942
|
}, arguments);
|
|
1943
1943
|
}
|
|
1944
|
-
function
|
|
1945
|
-
const C =
|
|
1946
|
-
return
|
|
1944
|
+
function UC(g, A) {
|
|
1945
|
+
const C = F(g)[F(A)];
|
|
1946
|
+
return a(C);
|
|
1947
1947
|
}
|
|
1948
|
-
function
|
|
1948
|
+
function sC(g) {
|
|
1949
1949
|
let A;
|
|
1950
1950
|
try {
|
|
1951
|
-
A =
|
|
1951
|
+
A = F(g) instanceof ArrayBuffer;
|
|
1952
1952
|
} catch {
|
|
1953
1953
|
A = !1;
|
|
1954
1954
|
}
|
|
@@ -1957,111 +1957,111 @@ function RC(g) {
|
|
|
1957
1957
|
function aC(g) {
|
|
1958
1958
|
let A;
|
|
1959
1959
|
try {
|
|
1960
|
-
A =
|
|
1960
|
+
A = F(g) instanceof Map;
|
|
1961
1961
|
} catch {
|
|
1962
1962
|
A = !1;
|
|
1963
1963
|
}
|
|
1964
1964
|
return A;
|
|
1965
1965
|
}
|
|
1966
|
-
function
|
|
1966
|
+
function qC(g) {
|
|
1967
1967
|
let A;
|
|
1968
1968
|
try {
|
|
1969
|
-
A =
|
|
1969
|
+
A = F(g) instanceof Uint8Array;
|
|
1970
1970
|
} catch {
|
|
1971
1971
|
A = !1;
|
|
1972
1972
|
}
|
|
1973
1973
|
return A;
|
|
1974
1974
|
}
|
|
1975
|
-
function qC(g) {
|
|
1976
|
-
return Array.isArray(U(g));
|
|
1977
|
-
}
|
|
1978
1975
|
function pC(g) {
|
|
1979
|
-
return
|
|
1980
|
-
}
|
|
1981
|
-
function OC() {
|
|
1982
|
-
return s(Symbol.iterator);
|
|
1976
|
+
return Array.isArray(F(g));
|
|
1983
1977
|
}
|
|
1984
1978
|
function PC(g) {
|
|
1985
|
-
return
|
|
1979
|
+
return Number.isSafeInteger(F(g));
|
|
1980
|
+
}
|
|
1981
|
+
function TC() {
|
|
1982
|
+
return a(Symbol.iterator);
|
|
1983
|
+
}
|
|
1984
|
+
function OC(g) {
|
|
1985
|
+
return F(g).length;
|
|
1986
1986
|
}
|
|
1987
|
-
function
|
|
1988
|
-
return
|
|
1987
|
+
function jC(g) {
|
|
1988
|
+
return F(g).length;
|
|
1989
1989
|
}
|
|
1990
1990
|
function tC(g) {
|
|
1991
|
-
return
|
|
1991
|
+
return F(g).length;
|
|
1992
1992
|
}
|
|
1993
|
-
function
|
|
1993
|
+
function fC() {
|
|
1994
1994
|
const g = new Object();
|
|
1995
|
-
return
|
|
1995
|
+
return a(g);
|
|
1996
1996
|
}
|
|
1997
|
-
function
|
|
1997
|
+
function dC() {
|
|
1998
1998
|
const g = new Array();
|
|
1999
|
-
return
|
|
1999
|
+
return a(g);
|
|
2000
2000
|
}
|
|
2001
|
-
function
|
|
2001
|
+
function zC() {
|
|
2002
2002
|
const g = new Error();
|
|
2003
|
-
return
|
|
2003
|
+
return a(g);
|
|
2004
2004
|
}
|
|
2005
|
-
function
|
|
2006
|
-
return
|
|
2005
|
+
function ZC() {
|
|
2006
|
+
return a(/* @__PURE__ */ new Map());
|
|
2007
2007
|
}
|
|
2008
|
-
function
|
|
2009
|
-
const A = new Uint8Array(
|
|
2010
|
-
return
|
|
2008
|
+
function eC(g) {
|
|
2009
|
+
const A = new Uint8Array(F(g));
|
|
2010
|
+
return a(A);
|
|
2011
2011
|
}
|
|
2012
|
-
function
|
|
2012
|
+
function xC() {
|
|
2013
2013
|
return GA(function(g) {
|
|
2014
|
-
const A =
|
|
2015
|
-
return
|
|
2014
|
+
const A = F(g).next();
|
|
2015
|
+
return a(A);
|
|
2016
2016
|
}, arguments);
|
|
2017
2017
|
}
|
|
2018
2018
|
function WC(g) {
|
|
2019
|
-
const A =
|
|
2020
|
-
return
|
|
2021
|
-
}
|
|
2022
|
-
function xC(g, A, C) {
|
|
2023
|
-
Uint8Array.prototype.set.call(gB(g, A), U(C));
|
|
2019
|
+
const A = F(g).next;
|
|
2020
|
+
return a(A);
|
|
2024
2021
|
}
|
|
2025
2022
|
function VC(g, A, C) {
|
|
2026
|
-
|
|
2027
|
-
return s(B);
|
|
2023
|
+
Uint8Array.prototype.set.call(IB(g, A), F(C));
|
|
2028
2024
|
}
|
|
2029
2025
|
function lC(g, A, C) {
|
|
2030
|
-
|
|
2026
|
+
const B = F(g).set(F(A), F(C));
|
|
2027
|
+
return a(B);
|
|
2031
2028
|
}
|
|
2032
2029
|
function nC(g, A, C) {
|
|
2033
|
-
|
|
2034
|
-
}
|
|
2035
|
-
function rC(g, A) {
|
|
2036
|
-
const C = U(A).stack, B = N(C, I.__wbindgen_export, I.__wbindgen_export2), Q = M;
|
|
2037
|
-
i().setInt32(g + 4, Q, !0), i().setInt32(g + 0, B, !0);
|
|
2030
|
+
F(g)[J(A)] = J(C);
|
|
2038
2031
|
}
|
|
2039
|
-
function
|
|
2040
|
-
|
|
2041
|
-
return s(A);
|
|
2032
|
+
function rC(g, A, C) {
|
|
2033
|
+
F(g)[A >>> 0] = J(C);
|
|
2042
2034
|
}
|
|
2043
|
-
function
|
|
2044
|
-
|
|
2035
|
+
function mC(g, A) {
|
|
2036
|
+
const C = F(A).stack, B = N(C, I.__wbindgen_export, I.__wbindgen_export2), Q = M;
|
|
2037
|
+
i().setInt32(g + 4, Q, !0), i().setInt32(g + 0, B, !0);
|
|
2045
2038
|
}
|
|
2046
2039
|
function uC(g) {
|
|
2047
|
-
|
|
2040
|
+
const A = F(g).value;
|
|
2041
|
+
return a(A);
|
|
2048
2042
|
}
|
|
2049
|
-
function bC(g
|
|
2050
|
-
|
|
2051
|
-
return s(C);
|
|
2043
|
+
function bC(g) {
|
|
2044
|
+
return a(g);
|
|
2052
2045
|
}
|
|
2053
|
-
function
|
|
2054
|
-
|
|
2055
|
-
|
|
2046
|
+
function vC(g) {
|
|
2047
|
+
return a(g);
|
|
2048
|
+
}
|
|
2049
|
+
function XC(g, A) {
|
|
2050
|
+
const C = c(g, A);
|
|
2051
|
+
return a(C);
|
|
2056
2052
|
}
|
|
2057
2053
|
function _C(g) {
|
|
2058
|
-
const A =
|
|
2059
|
-
return
|
|
2054
|
+
const A = BigInt.asUintN(64, g);
|
|
2055
|
+
return a(A);
|
|
2060
2056
|
}
|
|
2061
2057
|
function $C(g) {
|
|
2062
|
-
F(g);
|
|
2058
|
+
const A = F(g);
|
|
2059
|
+
return a(A);
|
|
2063
2060
|
}
|
|
2064
|
-
|
|
2061
|
+
function AB(g) {
|
|
2062
|
+
J(g);
|
|
2063
|
+
}
|
|
2064
|
+
const WA = 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: () => {
|
|
@@ -2075,25 +2075,25 @@ const xA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
|
2075
2075
|
}, unregister: () => {
|
|
2076
2076
|
} } : new FinalizationRegistry((g) => I.__wbg_wasminsertbuilder_free(g >>> 0, 1)), mA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
2077
2077
|
}, unregister: () => {
|
|
2078
|
-
} } : new FinalizationRegistry((g) => I.__wbg_wasmmergebuilder_free(g >>> 0, 1)),
|
|
2078
|
+
} } : new FinalizationRegistry((g) => I.__wbg_wasmmergebuilder_free(g >>> 0, 1)), uA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
2079
2079
|
}, unregister: () => {
|
|
2080
|
-
} } : new FinalizationRegistry((g) => I.__wbg_wasmselectbuilder_free(g >>> 0, 1)),
|
|
2080
|
+
} } : new FinalizationRegistry((g) => I.__wbg_wasmselectbuilder_free(g >>> 0, 1)), bA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
2081
2081
|
}, unregister: () => {
|
|
2082
|
-
} } : new FinalizationRegistry((g) => I.__wbg_wasmsetopbuilder_free(g >>> 0, 1)),
|
|
2082
|
+
} } : new FinalizationRegistry((g) => I.__wbg_wasmsetopbuilder_free(g >>> 0, 1)), vA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
2083
2083
|
}, unregister: () => {
|
|
2084
2084
|
} } : new FinalizationRegistry((g) => I.__wbg_wasmupdatebuilder_free(g >>> 0, 1)), XA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
2085
2085
|
}, unregister: () => {
|
|
2086
2086
|
} } : new FinalizationRegistry((g) => I.__wbg_wasmwindowdefbuilder_free(g >>> 0, 1));
|
|
2087
|
-
function
|
|
2088
|
-
gA ===
|
|
2087
|
+
function a(g) {
|
|
2088
|
+
gA === x.length && x.push(x.length + 1);
|
|
2089
2089
|
const A = gA;
|
|
2090
|
-
return gA =
|
|
2090
|
+
return gA = x[A], x[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 SA(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 cA(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 += SA(g[0]));
|
|
2114
2114
|
for (let D = 1; D < Q; D++)
|
|
2115
|
-
E += ", " +
|
|
2115
|
+
E += ", " + SA(g[D]);
|
|
2116
2116
|
return E += "]", E;
|
|
2117
2117
|
}
|
|
2118
2118
|
const C = /\[object ([^\]]+)\]/.exec(toString.call(g));
|
|
@@ -2130,43 +2130,43 @@ function cA(g) {
|
|
|
2130
2130
|
return g instanceof Error ? `${g.name}: ${g.message}
|
|
2131
2131
|
${g.stack}` : B;
|
|
2132
2132
|
}
|
|
2133
|
-
function
|
|
2134
|
-
g < 132 || (
|
|
2133
|
+
function gB(g) {
|
|
2134
|
+
g < 132 || (x[g] = gA, gA = g);
|
|
2135
2135
|
}
|
|
2136
|
-
function
|
|
2136
|
+
function IB(g, A) {
|
|
2137
2137
|
return g = g >>> 0, AA().subarray(g / 1, g / 1 + A);
|
|
2138
2138
|
}
|
|
2139
|
-
let
|
|
2139
|
+
let v = null;
|
|
2140
2140
|
function i() {
|
|
2141
|
-
return (
|
|
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
|
|
2144
|
-
return g = g >>> 0,
|
|
2143
|
+
function c(g, A) {
|
|
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 F(g) {
|
|
2151
|
+
return x[g];
|
|
2152
2152
|
}
|
|
2153
2153
|
function GA(g, A) {
|
|
2154
2154
|
try {
|
|
2155
2155
|
return g.apply(this, A);
|
|
2156
2156
|
} catch (C) {
|
|
2157
|
-
I.__wbindgen_export3(
|
|
2157
|
+
I.__wbindgen_export3(a(C));
|
|
2158
2158
|
}
|
|
2159
2159
|
}
|
|
2160
|
-
let
|
|
2161
|
-
|
|
2162
|
-
let gA =
|
|
2160
|
+
let x = new Array(128).fill(void 0);
|
|
2161
|
+
x.push(void 0, null, !0, !1);
|
|
2162
|
+
let gA = x.length;
|
|
2163
2163
|
function X(g) {
|
|
2164
2164
|
return g == null;
|
|
2165
2165
|
}
|
|
2166
2166
|
function LA(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
|
-
B.setUint32(C + 4 * Q,
|
|
2169
|
+
B.setUint32(C + 4 * Q, a(g[Q]), !0);
|
|
2170
2170
|
return M = g.length, C;
|
|
2171
2171
|
}
|
|
2172
2172
|
function N(g, A, C) {
|
|
@@ -2189,16 +2189,16 @@ function N(g, A, C) {
|
|
|
2189
2189
|
}
|
|
2190
2190
|
return M = D, Q;
|
|
2191
2191
|
}
|
|
2192
|
-
function
|
|
2193
|
-
const A =
|
|
2194
|
-
return
|
|
2192
|
+
function J(g) {
|
|
2193
|
+
const A = F(g);
|
|
2194
|
+
return gB(g), A;
|
|
2195
2195
|
}
|
|
2196
2196
|
let wA = new TextDecoder("utf-8", { ignoreBOM: !0, fatal: !0 });
|
|
2197
2197
|
wA.decode();
|
|
2198
|
-
const
|
|
2199
|
-
let
|
|
2200
|
-
function
|
|
2201
|
-
return
|
|
2198
|
+
const CB = 2146435072;
|
|
2199
|
+
let cA = 0;
|
|
2200
|
+
function BB(g, A) {
|
|
2201
|
+
return cA += A, cA >= CB && (wA = new TextDecoder("utf-8", { ignoreBOM: !0, fatal: !0 }), wA.decode(), cA = 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) {
|
|
@@ -2209,282 +2209,282 @@ const IA = new TextEncoder();
|
|
|
2209
2209
|
};
|
|
2210
2210
|
});
|
|
2211
2211
|
let M = 0, I;
|
|
2212
|
-
function
|
|
2212
|
+
function QB(g) {
|
|
2213
2213
|
I = g;
|
|
2214
2214
|
}
|
|
2215
2215
|
URL = globalThis.URL;
|
|
2216
|
-
const w = await
|
|
2217
|
-
__wbindgen_object_drop_ref:
|
|
2218
|
-
__wbindgen_object_clone_ref:
|
|
2219
|
-
__wbg_new_8a6f238a6ece86ea:
|
|
2220
|
-
__wbg_stack_0ed75d68575b0f3c:
|
|
2221
|
-
__wbg_error_7534b8e9a36f1ab4:
|
|
2222
|
-
__wbg_get_with_ref_key_1dc361bd10053bfe:
|
|
2223
|
-
__wbg_set_3f1d0b984ed272ed:
|
|
2224
|
-
__wbg_String_8f0eb39a4a4c2f66:
|
|
2225
|
-
__wbg_new_dd2b680c8bf6ae29:
|
|
2226
|
-
__wbg_length_32ed9a279acd054c:
|
|
2227
|
-
__wbg_prototypesetcall_bdcdcc5842e4d77d:
|
|
2228
|
-
__wbg_done_57b39ecd9addfe81:
|
|
2229
|
-
__wbg_value_0546255b415e96c1:
|
|
2216
|
+
const w = await UI({ "./polyglot_sql_wasm_bg.js": {
|
|
2217
|
+
__wbindgen_object_drop_ref: AB,
|
|
2218
|
+
__wbindgen_object_clone_ref: $C,
|
|
2219
|
+
__wbg_new_8a6f238a6ece86ea: zC,
|
|
2220
|
+
__wbg_stack_0ed75d68575b0f3c: mC,
|
|
2221
|
+
__wbg_error_7534b8e9a36f1ab4: FC,
|
|
2222
|
+
__wbg_get_with_ref_key_1dc361bd10053bfe: UC,
|
|
2223
|
+
__wbg_set_3f1d0b984ed272ed: nC,
|
|
2224
|
+
__wbg_String_8f0eb39a4a4c2f66: IC,
|
|
2225
|
+
__wbg_new_dd2b680c8bf6ae29: eC,
|
|
2226
|
+
__wbg_length_32ed9a279acd054c: OC,
|
|
2227
|
+
__wbg_prototypesetcall_bdcdcc5842e4d77d: VC,
|
|
2228
|
+
__wbg_done_57b39ecd9addfe81: cC,
|
|
2229
|
+
__wbg_value_0546255b415e96c1: uC,
|
|
2230
2230
|
__wbg_instanceof_Map_53af74335dec57f4: aC,
|
|
2231
|
-
__wbg_instanceof_Uint8Array_9b9075935c74707c:
|
|
2232
|
-
__wbg_instanceof_ArrayBuffer_c367199e2fa2aa04:
|
|
2233
|
-
__wbg_new_dca287b076112a51:
|
|
2234
|
-
__wbg_set_1eb0999cf5d27fc8:
|
|
2235
|
-
__wbg_get_9b94d73e6221f75c:
|
|
2236
|
-
__wbg_new_3eb36ae241fe6f44:
|
|
2237
|
-
__wbg_set_f43e577aea94465b:
|
|
2238
|
-
__wbg_length_35a7bace40f36eac:
|
|
2239
|
-
__wbg_isArray_d314bb98fcf08331:
|
|
2240
|
-
__wbg_isSafeInteger_bfbc7332a9768d2a:
|
|
2241
|
-
__wbg_new_361308b2356cecd0:
|
|
2231
|
+
__wbg_instanceof_Uint8Array_9b9075935c74707c: qC,
|
|
2232
|
+
__wbg_instanceof_ArrayBuffer_c367199e2fa2aa04: sC,
|
|
2233
|
+
__wbg_new_dca287b076112a51: ZC,
|
|
2234
|
+
__wbg_set_1eb0999cf5d27fc8: lC,
|
|
2235
|
+
__wbg_get_9b94d73e6221f75c: LC,
|
|
2236
|
+
__wbg_new_3eb36ae241fe6f44: dC,
|
|
2237
|
+
__wbg_set_f43e577aea94465b: rC,
|
|
2238
|
+
__wbg_length_35a7bace40f36eac: jC,
|
|
2239
|
+
__wbg_isArray_d314bb98fcf08331: pC,
|
|
2240
|
+
__wbg_isSafeInteger_bfbc7332a9768d2a: PC,
|
|
2241
|
+
__wbg_new_361308b2356cecd0: fC,
|
|
2242
2242
|
__wbg_entries_58c7934c745daac7: SC,
|
|
2243
|
-
__wbg_iterator_6ff6560ca1568e55:
|
|
2244
|
-
__wbg_get_b3ed3ad4be2bc8ac:
|
|
2245
|
-
__wbg_call_389efe28435a9388:
|
|
2243
|
+
__wbg_iterator_6ff6560ca1568e55: TC,
|
|
2244
|
+
__wbg_get_b3ed3ad4be2bc8ac: RC,
|
|
2245
|
+
__wbg_call_389efe28435a9388: HC,
|
|
2246
2246
|
__wbg_next_418f80d8f5303233: WC,
|
|
2247
|
-
__wbg_next_3482f54c49e8af19:
|
|
2248
|
-
__wbg_codePointAt_bf59dbf74d8db275:
|
|
2249
|
-
__wbg_fromCodePoint_22365db7b7d6ac39:
|
|
2247
|
+
__wbg_next_3482f54c49e8af19: xC,
|
|
2248
|
+
__wbg_codePointAt_bf59dbf74d8db275: hC,
|
|
2249
|
+
__wbg_fromCodePoint_22365db7b7d6ac39: JC,
|
|
2250
2250
|
__wbg_length_68dc7c5cf1b6d349: tC,
|
|
2251
|
-
__wbg___wbindgen_in_47fa6863be6f2f25:
|
|
2252
|
-
__wbg___wbindgen_throw_be289d5034ed271b:
|
|
2253
|
-
__wbg___wbindgen_is_null_ac34f5003991759a:
|
|
2254
|
-
__wbg___wbindgen_jsval_eq_11888390b0186270:
|
|
2255
|
-
__wbg_Number_04624de7d0e8332d:
|
|
2256
|
-
__wbg_Error_8c4e43fe74559d73:
|
|
2257
|
-
__wbg___wbindgen_is_bigint_31b12575b56f32fc:
|
|
2258
|
-
__wbg___wbindgen_is_object_5ae8e5880f2c1fbd:
|
|
2259
|
-
__wbg___wbindgen_is_string_cd444516edc5b180:
|
|
2260
|
-
__wbg___wbindgen_number_get_8ff4255516ccad3e:
|
|
2261
|
-
__wbg___wbindgen_string_get_72fb696202c56729:
|
|
2262
|
-
__wbg___wbindgen_boolean_get_bbbb1c18aa2f5e25:
|
|
2263
|
-
__wbg___wbindgen_is_function_0095a73b8b156f76:
|
|
2264
|
-
__wbg___wbindgen_is_undefined_9e4d92534c42d778:
|
|
2265
|
-
__wbg___wbindgen_jsval_loose_eq_9dd77d8cd6671811:
|
|
2266
|
-
__wbg___wbindgen_bigint_get_as_i64_8fcf4ce7f1ca72a2:
|
|
2267
|
-
__wbg___wbindgen_debug_string_0bc8482c6e3508ae:
|
|
2268
|
-
__wbindgen_cast_0000000000000001:
|
|
2269
|
-
__wbindgen_cast_0000000000000002:
|
|
2270
|
-
__wbindgen_cast_0000000000000003:
|
|
2271
|
-
__wbindgen_cast_0000000000000004:
|
|
2272
|
-
} },
|
|
2251
|
+
__wbg___wbindgen_in_47fa6863be6f2f25: EC,
|
|
2252
|
+
__wbg___wbindgen_throw_be289d5034ed271b: YC,
|
|
2253
|
+
__wbg___wbindgen_is_null_ac34f5003991759a: iC,
|
|
2254
|
+
__wbg___wbindgen_jsval_eq_11888390b0186270: kC,
|
|
2255
|
+
__wbg_Number_04624de7d0e8332d: gC,
|
|
2256
|
+
__wbg_Error_8c4e43fe74559d73: AC,
|
|
2257
|
+
__wbg___wbindgen_is_bigint_31b12575b56f32fc: DC,
|
|
2258
|
+
__wbg___wbindgen_is_object_5ae8e5880f2c1fbd: oC,
|
|
2259
|
+
__wbg___wbindgen_is_string_cd444516edc5b180: MC,
|
|
2260
|
+
__wbg___wbindgen_number_get_8ff4255516ccad3e: KC,
|
|
2261
|
+
__wbg___wbindgen_string_get_72fb696202c56729: GC,
|
|
2262
|
+
__wbg___wbindgen_boolean_get_bbbb1c18aa2f5e25: BC,
|
|
2263
|
+
__wbg___wbindgen_is_function_0095a73b8b156f76: wC,
|
|
2264
|
+
__wbg___wbindgen_is_undefined_9e4d92534c42d778: NC,
|
|
2265
|
+
__wbg___wbindgen_jsval_loose_eq_9dd77d8cd6671811: yC,
|
|
2266
|
+
__wbg___wbindgen_bigint_get_as_i64_8fcf4ce7f1ca72a2: CC,
|
|
2267
|
+
__wbg___wbindgen_debug_string_0bc8482c6e3508ae: QC,
|
|
2268
|
+
__wbindgen_cast_0000000000000001: bC,
|
|
2269
|
+
__wbindgen_cast_0000000000000002: vC,
|
|
2270
|
+
__wbindgen_cast_0000000000000003: XC,
|
|
2271
|
+
__wbindgen_cast_0000000000000004: _C
|
|
2272
|
+
} }, RI), 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, NB = w.__wbg_wasminsertbuilder_free, kB = 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, cB = w.annotate_types, SB = w.annotate_types_value, FB = w.ast_add_where, JB = w.ast_get_aggregate_functions, LB = w.ast_get_column_names, RB = w.ast_get_functions, UB = 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, TB = w.ast_qualify_tables, OB = w.ast_remove_where, jB = w.ast_rename_columns, tB = w.ast_rename_tables, fB = w.ast_rename_tables_with_options, dB = w.ast_set_distinct, zB = w.ast_set_limit, ZB = w.diff_sql, eB = w.format_sql, xB = w.format_sql_value, WB = w.format_sql_with_options, VB = 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, NQ = w.transpile_with_options_value, kQ = 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, cQ = w.wasm_case_of, SQ = w.wasm_cast, FQ = w.wasm_col, JQ = w.wasm_count_distinct, LQ = w.wasm_extract, RQ = w.wasm_func, UQ = w.wasm_lit, sQ = w.wasm_not, aQ = w.wasm_null, qQ = w.wasm_or, pQ = w.wasm_sql_expr, PQ = w.wasm_star, TQ = w.wasm_subquery, OQ = w.wasm_table, jQ = w.wasmassignmentarray_len, tQ = w.wasmassignmentarray_new, fQ = w.wasmassignmentarray_push, dQ = w.wasmcasebuilder_build_expr, zQ = w.wasmcasebuilder_else_, ZQ = w.wasmcasebuilder_new, eQ = w.wasmcasebuilder_to_sql, xQ = w.wasmcasebuilder_when, WQ = w.wasmdeletebuilder_build, VQ = 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, NE = w.wasmexpr_not, kE = 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, cE = w.wasmexprarray_len, SE = w.wasmexprarray_push, FE = w.wasmexprarray_push_col, JE = w.wasmexprarray_push_float, LE = w.wasmexprarray_push_int, RE = w.wasmexprarray_push_star, UE = 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, TE = w.wasminsertbuilder_values, OE = w.wasmmergebuilder_build, jE = w.wasmmergebuilder_new, tE = w.wasmmergebuilder_to_sql, fE = w.wasmmergebuilder_using, dE = w.wasmmergebuilder_when_matched_delete, zE = w.wasmmergebuilder_when_matched_update, ZE = w.wasmmergebuilder_when_not_matched_insert, eE = w.wasmselectbuilder_build, xE = w.wasmselectbuilder_cross_join, WE = w.wasmselectbuilder_ctas, VE = 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, ND = w.wasmselectbuilder_sort_by_exprs, kD = 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, cD = w.wasmsetopbuilder_limit, SD = w.wasmsetopbuilder_offset, FD = w.wasmsetopbuilder_order_by_exprs, JD = w.wasmsetopbuilder_to_sql, LD = w.wasmupdatebuilder_build, RD = w.wasmupdatebuilder_from, UD = 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, TD = w.wasmwindowdefbuilder_partition_by, OD = w.wasmexprarray_new, jD = w.__wbindgen_export, tD = w.__wbindgen_export2, fD = w.__wbindgen_export3, dD = w.__wbindgen_export4, zD = w.__wbindgen_add_to_stack_pointer, ZD = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2273
2273
|
__proto__: null,
|
|
2274
|
-
__wbg_wasmassignmentarray_free:
|
|
2275
|
-
__wbg_wasmcasebuilder_free:
|
|
2276
|
-
__wbg_wasmdeletebuilder_free:
|
|
2277
|
-
__wbg_wasmexpr_free:
|
|
2278
|
-
__wbg_wasmexprarray_free:
|
|
2279
|
-
__wbg_wasminsertbuilder_free:
|
|
2280
|
-
__wbg_wasmmergebuilder_free:
|
|
2281
|
-
__wbg_wasmselectbuilder_free:
|
|
2282
|
-
__wbg_wasmsetopbuilder_free:
|
|
2283
|
-
__wbg_wasmupdatebuilder_free:
|
|
2284
|
-
__wbg_wasmwindowdefbuilder_free:
|
|
2285
|
-
__wbindgen_add_to_stack_pointer:
|
|
2286
|
-
__wbindgen_export:
|
|
2274
|
+
__wbg_wasmassignmentarray_free: DB,
|
|
2275
|
+
__wbg_wasmcasebuilder_free: wB,
|
|
2276
|
+
__wbg_wasmdeletebuilder_free: iB,
|
|
2277
|
+
__wbg_wasmexpr_free: oB,
|
|
2278
|
+
__wbg_wasmexprarray_free: MB,
|
|
2279
|
+
__wbg_wasminsertbuilder_free: NB,
|
|
2280
|
+
__wbg_wasmmergebuilder_free: kB,
|
|
2281
|
+
__wbg_wasmselectbuilder_free: yB,
|
|
2282
|
+
__wbg_wasmsetopbuilder_free: KB,
|
|
2283
|
+
__wbg_wasmupdatebuilder_free: GB,
|
|
2284
|
+
__wbg_wasmwindowdefbuilder_free: YB,
|
|
2285
|
+
__wbindgen_add_to_stack_pointer: zD,
|
|
2286
|
+
__wbindgen_export: jD,
|
|
2287
2287
|
__wbindgen_export2: tD,
|
|
2288
|
-
__wbindgen_export3:
|
|
2289
|
-
__wbindgen_export4:
|
|
2290
|
-
analyze_query:
|
|
2291
|
-
analyze_query_value:
|
|
2292
|
-
annotate_types:
|
|
2288
|
+
__wbindgen_export3: fD,
|
|
2289
|
+
__wbindgen_export4: dD,
|
|
2290
|
+
analyze_query: HB,
|
|
2291
|
+
analyze_query_value: hB,
|
|
2292
|
+
annotate_types: cB,
|
|
2293
2293
|
annotate_types_value: SB,
|
|
2294
|
-
ast_add_where:
|
|
2295
|
-
ast_get_aggregate_functions:
|
|
2296
|
-
ast_get_column_names:
|
|
2297
|
-
ast_get_functions:
|
|
2298
|
-
ast_get_literals:
|
|
2299
|
-
ast_get_subqueries:
|
|
2294
|
+
ast_add_where: FB,
|
|
2295
|
+
ast_get_aggregate_functions: JB,
|
|
2296
|
+
ast_get_column_names: LB,
|
|
2297
|
+
ast_get_functions: RB,
|
|
2298
|
+
ast_get_literals: UB,
|
|
2299
|
+
ast_get_subqueries: sB,
|
|
2300
2300
|
ast_get_table_names: aB,
|
|
2301
|
-
ast_get_window_functions:
|
|
2302
|
-
ast_node_count:
|
|
2303
|
-
ast_qualify_columns:
|
|
2304
|
-
ast_qualify_tables:
|
|
2305
|
-
ast_remove_where:
|
|
2306
|
-
ast_rename_columns:
|
|
2301
|
+
ast_get_window_functions: qB,
|
|
2302
|
+
ast_node_count: pB,
|
|
2303
|
+
ast_qualify_columns: PB,
|
|
2304
|
+
ast_qualify_tables: TB,
|
|
2305
|
+
ast_remove_where: OB,
|
|
2306
|
+
ast_rename_columns: jB,
|
|
2307
2307
|
ast_rename_tables: tB,
|
|
2308
|
-
ast_rename_tables_with_options:
|
|
2309
|
-
ast_set_distinct:
|
|
2310
|
-
ast_set_limit:
|
|
2311
|
-
diff_sql:
|
|
2312
|
-
format_sql:
|
|
2313
|
-
format_sql_value:
|
|
2308
|
+
ast_rename_tables_with_options: fB,
|
|
2309
|
+
ast_set_distinct: dB,
|
|
2310
|
+
ast_set_limit: zB,
|
|
2311
|
+
diff_sql: ZB,
|
|
2312
|
+
format_sql: eB,
|
|
2313
|
+
format_sql_value: xB,
|
|
2314
2314
|
format_sql_with_options: WB,
|
|
2315
|
-
format_sql_with_options_value:
|
|
2316
|
-
generate:
|
|
2317
|
-
generate_data_type:
|
|
2318
|
-
generate_data_type_value:
|
|
2319
|
-
generate_value:
|
|
2320
|
-
get_dialects:
|
|
2321
|
-
get_dialects_value:
|
|
2322
|
-
lineage_sql:
|
|
2323
|
-
lineage_sql_with_schema:
|
|
2324
|
-
memory:
|
|
2325
|
-
openlineage_column_lineage:
|
|
2326
|
-
openlineage_job_event:
|
|
2327
|
-
openlineage_run_event:
|
|
2328
|
-
parse:
|
|
2329
|
-
parse_data_type:
|
|
2330
|
-
parse_data_type_value:
|
|
2331
|
-
parse_value:
|
|
2332
|
-
plan:
|
|
2333
|
-
source_tables:
|
|
2334
|
-
tokenize:
|
|
2335
|
-
tokenize_value:
|
|
2336
|
-
transpile:
|
|
2337
|
-
transpile_value:
|
|
2338
|
-
transpile_with_options:
|
|
2339
|
-
transpile_with_options_value:
|
|
2340
|
-
validate:
|
|
2341
|
-
validate_with_options:
|
|
2342
|
-
validate_with_schema:
|
|
2343
|
-
version:
|
|
2344
|
-
wasm_alias:
|
|
2345
|
-
wasm_and:
|
|
2346
|
-
wasm_boolean:
|
|
2347
|
-
wasm_case_of:
|
|
2315
|
+
format_sql_with_options_value: VB,
|
|
2316
|
+
generate: lB,
|
|
2317
|
+
generate_data_type: nB,
|
|
2318
|
+
generate_data_type_value: rB,
|
|
2319
|
+
generate_value: mB,
|
|
2320
|
+
get_dialects: uB,
|
|
2321
|
+
get_dialects_value: bB,
|
|
2322
|
+
lineage_sql: vB,
|
|
2323
|
+
lineage_sql_with_schema: XB,
|
|
2324
|
+
memory: EB,
|
|
2325
|
+
openlineage_column_lineage: _B,
|
|
2326
|
+
openlineage_job_event: $B,
|
|
2327
|
+
openlineage_run_event: AQ,
|
|
2328
|
+
parse: gQ,
|
|
2329
|
+
parse_data_type: IQ,
|
|
2330
|
+
parse_data_type_value: CQ,
|
|
2331
|
+
parse_value: BQ,
|
|
2332
|
+
plan: QQ,
|
|
2333
|
+
source_tables: EQ,
|
|
2334
|
+
tokenize: DQ,
|
|
2335
|
+
tokenize_value: wQ,
|
|
2336
|
+
transpile: iQ,
|
|
2337
|
+
transpile_value: oQ,
|
|
2338
|
+
transpile_with_options: MQ,
|
|
2339
|
+
transpile_with_options_value: NQ,
|
|
2340
|
+
validate: kQ,
|
|
2341
|
+
validate_with_options: yQ,
|
|
2342
|
+
validate_with_schema: KQ,
|
|
2343
|
+
version: GQ,
|
|
2344
|
+
wasm_alias: YQ,
|
|
2345
|
+
wasm_and: HQ,
|
|
2346
|
+
wasm_boolean: hQ,
|
|
2347
|
+
wasm_case_of: cQ,
|
|
2348
2348
|
wasm_cast: SQ,
|
|
2349
|
-
wasm_col:
|
|
2350
|
-
wasm_count_distinct:
|
|
2351
|
-
wasm_extract:
|
|
2352
|
-
wasm_func:
|
|
2353
|
-
wasm_lit:
|
|
2354
|
-
wasm_not:
|
|
2349
|
+
wasm_col: FQ,
|
|
2350
|
+
wasm_count_distinct: JQ,
|
|
2351
|
+
wasm_extract: LQ,
|
|
2352
|
+
wasm_func: RQ,
|
|
2353
|
+
wasm_lit: UQ,
|
|
2354
|
+
wasm_not: sQ,
|
|
2355
2355
|
wasm_null: aQ,
|
|
2356
|
-
wasm_or:
|
|
2357
|
-
wasm_sql_expr:
|
|
2358
|
-
wasm_star:
|
|
2359
|
-
wasm_subquery:
|
|
2360
|
-
wasm_table:
|
|
2361
|
-
wasmassignmentarray_len:
|
|
2356
|
+
wasm_or: qQ,
|
|
2357
|
+
wasm_sql_expr: pQ,
|
|
2358
|
+
wasm_star: PQ,
|
|
2359
|
+
wasm_subquery: TQ,
|
|
2360
|
+
wasm_table: OQ,
|
|
2361
|
+
wasmassignmentarray_len: jQ,
|
|
2362
2362
|
wasmassignmentarray_new: tQ,
|
|
2363
|
-
wasmassignmentarray_push:
|
|
2364
|
-
wasmcasebuilder_build_expr:
|
|
2365
|
-
wasmcasebuilder_else_:
|
|
2366
|
-
wasmcasebuilder_new:
|
|
2367
|
-
wasmcasebuilder_to_sql:
|
|
2368
|
-
wasmcasebuilder_when:
|
|
2363
|
+
wasmassignmentarray_push: fQ,
|
|
2364
|
+
wasmcasebuilder_build_expr: dQ,
|
|
2365
|
+
wasmcasebuilder_else_: zQ,
|
|
2366
|
+
wasmcasebuilder_new: ZQ,
|
|
2367
|
+
wasmcasebuilder_to_sql: eQ,
|
|
2368
|
+
wasmcasebuilder_when: xQ,
|
|
2369
2369
|
wasmdeletebuilder_build: WQ,
|
|
2370
|
-
wasmdeletebuilder_new:
|
|
2371
|
-
wasmdeletebuilder_to_sql:
|
|
2372
|
-
wasmdeletebuilder_where_expr:
|
|
2373
|
-
wasmexpr_add:
|
|
2374
|
-
wasmexpr_alias:
|
|
2375
|
-
wasmexpr_and:
|
|
2376
|
-
wasmexpr_asc:
|
|
2377
|
-
wasmexpr_between:
|
|
2378
|
-
wasmexpr_cast:
|
|
2379
|
-
wasmexpr_desc:
|
|
2380
|
-
wasmexpr_div:
|
|
2381
|
-
wasmexpr_eq:
|
|
2382
|
-
wasmexpr_gt:
|
|
2383
|
-
wasmexpr_gte:
|
|
2384
|
-
wasmexpr_ilike:
|
|
2385
|
-
wasmexpr_in_list:
|
|
2386
|
-
wasmexpr_is_not_null:
|
|
2387
|
-
wasmexpr_is_null:
|
|
2388
|
-
wasmexpr_like:
|
|
2389
|
-
wasmexpr_lt:
|
|
2390
|
-
wasmexpr_lte:
|
|
2391
|
-
wasmexpr_mul:
|
|
2392
|
-
wasmexpr_neq:
|
|
2393
|
-
wasmexpr_not:
|
|
2394
|
-
wasmexpr_not_in:
|
|
2395
|
-
wasmexpr_or:
|
|
2396
|
-
wasmexpr_rlike:
|
|
2397
|
-
wasmexpr_sub:
|
|
2398
|
-
wasmexpr_to_json:
|
|
2399
|
-
wasmexpr_to_sql:
|
|
2400
|
-
wasmexpr_xor:
|
|
2401
|
-
wasmexprarray_len:
|
|
2402
|
-
wasmexprarray_new:
|
|
2370
|
+
wasmdeletebuilder_new: VQ,
|
|
2371
|
+
wasmdeletebuilder_to_sql: lQ,
|
|
2372
|
+
wasmdeletebuilder_where_expr: nQ,
|
|
2373
|
+
wasmexpr_add: rQ,
|
|
2374
|
+
wasmexpr_alias: mQ,
|
|
2375
|
+
wasmexpr_and: uQ,
|
|
2376
|
+
wasmexpr_asc: bQ,
|
|
2377
|
+
wasmexpr_between: vQ,
|
|
2378
|
+
wasmexpr_cast: XQ,
|
|
2379
|
+
wasmexpr_desc: _Q,
|
|
2380
|
+
wasmexpr_div: $Q,
|
|
2381
|
+
wasmexpr_eq: AE,
|
|
2382
|
+
wasmexpr_gt: gE,
|
|
2383
|
+
wasmexpr_gte: IE,
|
|
2384
|
+
wasmexpr_ilike: CE,
|
|
2385
|
+
wasmexpr_in_list: BE,
|
|
2386
|
+
wasmexpr_is_not_null: QE,
|
|
2387
|
+
wasmexpr_is_null: EE,
|
|
2388
|
+
wasmexpr_like: DE,
|
|
2389
|
+
wasmexpr_lt: wE,
|
|
2390
|
+
wasmexpr_lte: iE,
|
|
2391
|
+
wasmexpr_mul: oE,
|
|
2392
|
+
wasmexpr_neq: ME,
|
|
2393
|
+
wasmexpr_not: NE,
|
|
2394
|
+
wasmexpr_not_in: kE,
|
|
2395
|
+
wasmexpr_or: yE,
|
|
2396
|
+
wasmexpr_rlike: KE,
|
|
2397
|
+
wasmexpr_sub: GE,
|
|
2398
|
+
wasmexpr_to_json: YE,
|
|
2399
|
+
wasmexpr_to_sql: HE,
|
|
2400
|
+
wasmexpr_xor: hE,
|
|
2401
|
+
wasmexprarray_len: cE,
|
|
2402
|
+
wasmexprarray_new: OD,
|
|
2403
2403
|
wasmexprarray_push: SE,
|
|
2404
|
-
wasmexprarray_push_col:
|
|
2405
|
-
wasmexprarray_push_float:
|
|
2406
|
-
wasmexprarray_push_int:
|
|
2407
|
-
wasmexprarray_push_star:
|
|
2408
|
-
wasmexprarray_push_str:
|
|
2409
|
-
wasminsertbuilder_build:
|
|
2404
|
+
wasmexprarray_push_col: FE,
|
|
2405
|
+
wasmexprarray_push_float: JE,
|
|
2406
|
+
wasmexprarray_push_int: LE,
|
|
2407
|
+
wasmexprarray_push_star: RE,
|
|
2408
|
+
wasmexprarray_push_str: UE,
|
|
2409
|
+
wasminsertbuilder_build: sE,
|
|
2410
2410
|
wasminsertbuilder_columns: aE,
|
|
2411
|
-
wasminsertbuilder_new:
|
|
2412
|
-
wasminsertbuilder_query:
|
|
2413
|
-
wasminsertbuilder_to_sql:
|
|
2414
|
-
wasminsertbuilder_values:
|
|
2415
|
-
wasmmergebuilder_build:
|
|
2416
|
-
wasmmergebuilder_new:
|
|
2411
|
+
wasminsertbuilder_new: qE,
|
|
2412
|
+
wasminsertbuilder_query: pE,
|
|
2413
|
+
wasminsertbuilder_to_sql: PE,
|
|
2414
|
+
wasminsertbuilder_values: TE,
|
|
2415
|
+
wasmmergebuilder_build: OE,
|
|
2416
|
+
wasmmergebuilder_new: jE,
|
|
2417
2417
|
wasmmergebuilder_to_sql: tE,
|
|
2418
|
-
wasmmergebuilder_using:
|
|
2419
|
-
wasmmergebuilder_when_matched_delete:
|
|
2420
|
-
wasmmergebuilder_when_matched_update:
|
|
2421
|
-
wasmmergebuilder_when_not_matched_insert:
|
|
2422
|
-
wasmselectbuilder_build:
|
|
2423
|
-
wasmselectbuilder_cross_join:
|
|
2418
|
+
wasmmergebuilder_using: fE,
|
|
2419
|
+
wasmmergebuilder_when_matched_delete: dE,
|
|
2420
|
+
wasmmergebuilder_when_matched_update: zE,
|
|
2421
|
+
wasmmergebuilder_when_not_matched_insert: ZE,
|
|
2422
|
+
wasmselectbuilder_build: eE,
|
|
2423
|
+
wasmselectbuilder_cross_join: xE,
|
|
2424
2424
|
wasmselectbuilder_ctas: WE,
|
|
2425
|
-
wasmselectbuilder_ctas_sql:
|
|
2426
|
-
wasmselectbuilder_distinct:
|
|
2427
|
-
wasmselectbuilder_except_:
|
|
2428
|
-
wasmselectbuilder_for_update:
|
|
2429
|
-
wasmselectbuilder_from:
|
|
2430
|
-
wasmselectbuilder_from_expr:
|
|
2431
|
-
wasmselectbuilder_group_by_cols:
|
|
2432
|
-
wasmselectbuilder_having:
|
|
2433
|
-
wasmselectbuilder_hint:
|
|
2434
|
-
wasmselectbuilder_intersect:
|
|
2435
|
-
wasmselectbuilder_join:
|
|
2436
|
-
wasmselectbuilder_lateral_view:
|
|
2437
|
-
wasmselectbuilder_left_join:
|
|
2438
|
-
wasmselectbuilder_limit:
|
|
2439
|
-
wasmselectbuilder_new:
|
|
2440
|
-
wasmselectbuilder_offset:
|
|
2441
|
-
wasmselectbuilder_order_by_exprs:
|
|
2442
|
-
wasmselectbuilder_qualify:
|
|
2443
|
-
wasmselectbuilder_right_join:
|
|
2444
|
-
wasmselectbuilder_select_col:
|
|
2445
|
-
wasmselectbuilder_select_expr:
|
|
2446
|
-
wasmselectbuilder_select_exprs:
|
|
2447
|
-
wasmselectbuilder_select_star:
|
|
2448
|
-
wasmselectbuilder_sort_by_exprs:
|
|
2449
|
-
wasmselectbuilder_to_sql:
|
|
2450
|
-
wasmselectbuilder_union:
|
|
2451
|
-
wasmselectbuilder_union_all:
|
|
2452
|
-
wasmselectbuilder_where_expr:
|
|
2453
|
-
wasmselectbuilder_where_sql:
|
|
2454
|
-
wasmselectbuilder_window:
|
|
2455
|
-
wasmsetopbuilder_build:
|
|
2456
|
-
wasmsetopbuilder_limit:
|
|
2425
|
+
wasmselectbuilder_ctas_sql: VE,
|
|
2426
|
+
wasmselectbuilder_distinct: lE,
|
|
2427
|
+
wasmselectbuilder_except_: nE,
|
|
2428
|
+
wasmselectbuilder_for_update: rE,
|
|
2429
|
+
wasmselectbuilder_from: mE,
|
|
2430
|
+
wasmselectbuilder_from_expr: uE,
|
|
2431
|
+
wasmselectbuilder_group_by_cols: bE,
|
|
2432
|
+
wasmselectbuilder_having: vE,
|
|
2433
|
+
wasmselectbuilder_hint: XE,
|
|
2434
|
+
wasmselectbuilder_intersect: _E,
|
|
2435
|
+
wasmselectbuilder_join: $E,
|
|
2436
|
+
wasmselectbuilder_lateral_view: AD,
|
|
2437
|
+
wasmselectbuilder_left_join: gD,
|
|
2438
|
+
wasmselectbuilder_limit: ID,
|
|
2439
|
+
wasmselectbuilder_new: CD,
|
|
2440
|
+
wasmselectbuilder_offset: BD,
|
|
2441
|
+
wasmselectbuilder_order_by_exprs: QD,
|
|
2442
|
+
wasmselectbuilder_qualify: ED,
|
|
2443
|
+
wasmselectbuilder_right_join: DD,
|
|
2444
|
+
wasmselectbuilder_select_col: wD,
|
|
2445
|
+
wasmselectbuilder_select_expr: iD,
|
|
2446
|
+
wasmselectbuilder_select_exprs: oD,
|
|
2447
|
+
wasmselectbuilder_select_star: MD,
|
|
2448
|
+
wasmselectbuilder_sort_by_exprs: ND,
|
|
2449
|
+
wasmselectbuilder_to_sql: kD,
|
|
2450
|
+
wasmselectbuilder_union: yD,
|
|
2451
|
+
wasmselectbuilder_union_all: KD,
|
|
2452
|
+
wasmselectbuilder_where_expr: GD,
|
|
2453
|
+
wasmselectbuilder_where_sql: YD,
|
|
2454
|
+
wasmselectbuilder_window: HD,
|
|
2455
|
+
wasmsetopbuilder_build: hD,
|
|
2456
|
+
wasmsetopbuilder_limit: cD,
|
|
2457
2457
|
wasmsetopbuilder_offset: SD,
|
|
2458
|
-
wasmsetopbuilder_order_by_exprs:
|
|
2459
|
-
wasmsetopbuilder_to_sql:
|
|
2460
|
-
wasmupdatebuilder_build:
|
|
2461
|
-
wasmupdatebuilder_from:
|
|
2462
|
-
wasmupdatebuilder_new:
|
|
2463
|
-
wasmupdatebuilder_set:
|
|
2458
|
+
wasmsetopbuilder_order_by_exprs: FD,
|
|
2459
|
+
wasmsetopbuilder_to_sql: JD,
|
|
2460
|
+
wasmupdatebuilder_build: LD,
|
|
2461
|
+
wasmupdatebuilder_from: RD,
|
|
2462
|
+
wasmupdatebuilder_new: UD,
|
|
2463
|
+
wasmupdatebuilder_set: sD,
|
|
2464
2464
|
wasmupdatebuilder_to_sql: aD,
|
|
2465
|
-
wasmupdatebuilder_where_expr:
|
|
2466
|
-
wasmwindowdefbuilder_new:
|
|
2467
|
-
wasmwindowdefbuilder_order_by:
|
|
2468
|
-
wasmwindowdefbuilder_partition_by:
|
|
2465
|
+
wasmupdatebuilder_where_expr: qD,
|
|
2466
|
+
wasmwindowdefbuilder_new: pD,
|
|
2467
|
+
wasmwindowdefbuilder_order_by: PD,
|
|
2468
|
+
wasmwindowdefbuilder_partition_by: TD
|
|
2469
2469
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2470
|
-
|
|
2471
|
-
const
|
|
2470
|
+
QB(ZD);
|
|
2471
|
+
const Zg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2472
2472
|
__proto__: null,
|
|
2473
2473
|
WasmAssignmentArray: BA,
|
|
2474
|
-
WasmCaseBuilder:
|
|
2474
|
+
WasmCaseBuilder: u,
|
|
2475
2475
|
WasmDeleteBuilder: oA,
|
|
2476
2476
|
WasmExpr: G,
|
|
2477
|
-
WasmExprArray:
|
|
2477
|
+
WasmExprArray: P,
|
|
2478
2478
|
WasmInsertBuilder: MA,
|
|
2479
2479
|
WasmMergeBuilder: NA,
|
|
2480
|
-
WasmSelectBuilder:
|
|
2481
|
-
WasmSetOpBuilder:
|
|
2480
|
+
WasmSelectBuilder: t,
|
|
2481
|
+
WasmSetOpBuilder: W,
|
|
2482
2482
|
WasmUpdateBuilder: kA,
|
|
2483
2483
|
WasmWindowDefBuilder: QA,
|
|
2484
|
-
analyze_query:
|
|
2484
|
+
analyze_query: sI,
|
|
2485
2485
|
analyze_query_value: aI,
|
|
2486
|
-
annotate_types:
|
|
2487
|
-
annotate_types_value:
|
|
2486
|
+
annotate_types: qI,
|
|
2487
|
+
annotate_types_value: pI,
|
|
2488
2488
|
ast_add_where: $A,
|
|
2489
2489
|
ast_get_aggregate_functions: Ag,
|
|
2490
2490
|
ast_get_column_names: gg,
|
|
@@ -2503,59 +2503,59 @@ const dg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2503
2503
|
ast_set_distinct: yg,
|
|
2504
2504
|
ast_set_limit: Kg,
|
|
2505
2505
|
diff_sql: Gg,
|
|
2506
|
-
format_sql:
|
|
2507
|
-
format_sql_value:
|
|
2508
|
-
format_sql_with_options:
|
|
2509
|
-
format_sql_with_options_value:
|
|
2506
|
+
format_sql: PI,
|
|
2507
|
+
format_sql_value: TI,
|
|
2508
|
+
format_sql_with_options: OI,
|
|
2509
|
+
format_sql_with_options_value: jI,
|
|
2510
2510
|
generate: tI,
|
|
2511
|
-
generate_data_type:
|
|
2512
|
-
generate_data_type_value:
|
|
2513
|
-
generate_value:
|
|
2514
|
-
get_dialects:
|
|
2515
|
-
get_dialects_value:
|
|
2511
|
+
generate_data_type: fI,
|
|
2512
|
+
generate_data_type_value: dI,
|
|
2513
|
+
generate_value: zI,
|
|
2514
|
+
get_dialects: ZI,
|
|
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:
|
|
2519
|
+
openlineage_job_event: cg,
|
|
2520
|
+
openlineage_run_event: Sg,
|
|
2521
|
+
parse: xI,
|
|
2522
2522
|
parse_data_type: WI,
|
|
2523
|
-
parse_data_type_value:
|
|
2524
|
-
parse_value:
|
|
2525
|
-
plan:
|
|
2526
|
-
source_tables:
|
|
2527
|
-
tokenize:
|
|
2528
|
-
tokenize_value:
|
|
2529
|
-
transpile:
|
|
2530
|
-
transpile_value:
|
|
2531
|
-
transpile_with_options:
|
|
2532
|
-
transpile_with_options_value:
|
|
2533
|
-
validate:
|
|
2534
|
-
validate_with_options:
|
|
2523
|
+
parse_data_type_value: VI,
|
|
2524
|
+
parse_value: lI,
|
|
2525
|
+
plan: Fg,
|
|
2526
|
+
source_tables: Jg,
|
|
2527
|
+
tokenize: nI,
|
|
2528
|
+
tokenize_value: rI,
|
|
2529
|
+
transpile: mI,
|
|
2530
|
+
transpile_value: uI,
|
|
2531
|
+
transpile_with_options: bI,
|
|
2532
|
+
transpile_with_options_value: vI,
|
|
2533
|
+
validate: XI,
|
|
2534
|
+
validate_with_options: _I,
|
|
2535
2535
|
validate_with_schema: Lg,
|
|
2536
|
-
version:
|
|
2537
|
-
wasm_alias:
|
|
2538
|
-
wasm_and:
|
|
2539
|
-
wasm_boolean:
|
|
2540
|
-
wasm_case_of:
|
|
2536
|
+
version: $I,
|
|
2537
|
+
wasm_alias: Rg,
|
|
2538
|
+
wasm_and: Ug,
|
|
2539
|
+
wasm_boolean: sg,
|
|
2540
|
+
wasm_case_of: ag,
|
|
2541
2541
|
wasm_cast: qg,
|
|
2542
|
-
wasm_col:
|
|
2542
|
+
wasm_col: JA,
|
|
2543
2543
|
wasm_count_distinct: pg,
|
|
2544
|
-
wasm_extract:
|
|
2545
|
-
wasm_func:
|
|
2544
|
+
wasm_extract: Pg,
|
|
2545
|
+
wasm_func: Tg,
|
|
2546
2546
|
wasm_lit: yA,
|
|
2547
|
-
wasm_not:
|
|
2547
|
+
wasm_not: Og,
|
|
2548
2548
|
wasm_null: KA,
|
|
2549
|
-
wasm_or:
|
|
2550
|
-
wasm_sql_expr:
|
|
2549
|
+
wasm_or: jg,
|
|
2550
|
+
wasm_sql_expr: tg,
|
|
2551
2551
|
wasm_star: fg,
|
|
2552
|
-
wasm_subquery:
|
|
2552
|
+
wasm_subquery: dg,
|
|
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 O(g) {
|
|
2559
2559
|
const A = Object.keys(g)[0];
|
|
2560
2560
|
return g[A];
|
|
2561
2561
|
}
|
|
@@ -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 = O(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,32 +2581,32 @@ function eg(g) {
|
|
|
2581
2581
|
function Y(g) {
|
|
2582
2582
|
return (A) => g in A;
|
|
2583
2583
|
}
|
|
2584
|
-
const
|
|
2585
|
-
function
|
|
2584
|
+
const xg = Y("select"), eD = Y("insert"), xD = Y("update"), WD = Y("delete"), VD = Y("union"), lD = Y("intersect"), nD = Y("except"), rD = Y("subquery"), mD = Y("identifier"), Wg = Y("column"), uD = Y("table"), bD = Y("star"), Vg = 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"), Nw = Y("div"), kw = 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"), cw = Y("window_function"), Sw = Y("count"), Fw = Y("sum"), Jw = Y("avg"), Lw = Y("min"), Rw = Y("max"), Uw = Y("coalesce"), sw = Y("null_if"), aw = Y("cast"), qw = Y("try_cast"), pw = Y("safe_cast"), Pw = Y("case"), Tw = Y("from"), Ow = Y("join"), jw = Y("where"), tw = Y("group_by"), fw = Y("having"), dw = Y("order_by"), zw = Y("limit"), Zw = Y("offset"), ew = Y("with"), xw = Y("cte"), Ww = Y("alias"), Vw = 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
|
+
function _w(g) {
|
|
2586
2586
|
const A = p(g);
|
|
2587
2587
|
return A === "select" || A === "insert" || A === "update" || A === "delete";
|
|
2588
2588
|
}
|
|
2589
|
-
function
|
|
2589
|
+
function $w(g) {
|
|
2590
2590
|
const A = p(g);
|
|
2591
2591
|
return A === "union" || A === "intersect" || A === "except";
|
|
2592
2592
|
}
|
|
2593
|
-
function
|
|
2593
|
+
function Ai(g) {
|
|
2594
2594
|
const A = p(g);
|
|
2595
2595
|
return A === "eq" || A === "neq" || A === "lt" || A === "lte" || A === "gt" || A === "gte" || A === "like" || A === "i_like";
|
|
2596
2596
|
}
|
|
2597
|
-
function
|
|
2597
|
+
function gi(g) {
|
|
2598
2598
|
const A = p(g);
|
|
2599
2599
|
return A === "add" || A === "sub" || A === "mul" || A === "div" || A === "mod";
|
|
2600
2600
|
}
|
|
2601
|
-
function
|
|
2601
|
+
function Ii(g) {
|
|
2602
2602
|
const A = p(g);
|
|
2603
2603
|
return A === "and" || A === "or" || A === "not";
|
|
2604
2604
|
}
|
|
2605
|
-
function
|
|
2605
|
+
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 Z(g) {
|
|
2610
2610
|
return JSON.stringify(g);
|
|
2611
2611
|
}
|
|
2612
2612
|
function l(g) {
|
|
@@ -2647,15 +2647,15 @@ function iA(g, A, C, B, Q) {
|
|
|
2647
2647
|
return E;
|
|
2648
2648
|
h !== void 0 && (E = h);
|
|
2649
2649
|
}
|
|
2650
|
-
const k = p(E), K =
|
|
2650
|
+
const k = p(E), K = O(E);
|
|
2651
2651
|
let y;
|
|
2652
2652
|
if (K == null)
|
|
2653
2653
|
y = z(k, K);
|
|
2654
2654
|
else {
|
|
2655
2655
|
const h = { ...K };
|
|
2656
|
-
for (const [
|
|
2657
|
-
const
|
|
2658
|
-
|
|
2656
|
+
for (const [R, q] of Object.entries(h)) {
|
|
2657
|
+
const T = ng(q, A, E);
|
|
2658
|
+
T !== q && (h[R] = T);
|
|
2659
2659
|
}
|
|
2660
2660
|
y = z(k, h);
|
|
2661
2661
|
}
|
|
@@ -2677,7 +2677,7 @@ function rg(g, A, C) {
|
|
|
2677
2677
|
}
|
|
2678
2678
|
});
|
|
2679
2679
|
}
|
|
2680
|
-
function
|
|
2680
|
+
function Bi(g, A, C) {
|
|
2681
2681
|
return rg(
|
|
2682
2682
|
g,
|
|
2683
2683
|
(B) => p(B) === A,
|
|
@@ -2686,111 +2686,111 @@ function Ci(g, A, C) {
|
|
|
2686
2686
|
}
|
|
2687
2687
|
function mg(g, A) {
|
|
2688
2688
|
return l(
|
|
2689
|
-
Mg(
|
|
2689
|
+
Mg(Z(g), JSON.stringify(A))
|
|
2690
2690
|
) ?? g;
|
|
2691
2691
|
}
|
|
2692
|
-
function
|
|
2692
|
+
function Qi(g, A, C) {
|
|
2693
2693
|
return l(
|
|
2694
2694
|
C ? kg(
|
|
2695
|
-
|
|
2695
|
+
Z(g),
|
|
2696
2696
|
JSON.stringify(A),
|
|
2697
2697
|
JSON.stringify(C)
|
|
2698
|
-
) : Ng(
|
|
2698
|
+
) : Ng(Z(g), JSON.stringify(A))
|
|
2699
2699
|
) ?? g;
|
|
2700
2700
|
}
|
|
2701
|
-
function
|
|
2701
|
+
function Ei(g, A) {
|
|
2702
2702
|
return l(
|
|
2703
|
-
wg(
|
|
2703
|
+
wg(Z(g), A)
|
|
2704
2704
|
) ?? g;
|
|
2705
2705
|
}
|
|
2706
|
-
function
|
|
2706
|
+
function Di(g, A = {}) {
|
|
2707
2707
|
return l(
|
|
2708
|
-
ig(
|
|
2708
|
+
ig(Z(g), JSON.stringify(A))
|
|
2709
2709
|
) ?? g;
|
|
2710
2710
|
}
|
|
2711
|
-
function
|
|
2711
|
+
function wi(g, A, C = "and") {
|
|
2712
2712
|
return l(
|
|
2713
|
-
$A(
|
|
2713
|
+
$A(Z(g), Z(A), C === "or")
|
|
2714
2714
|
) ?? g;
|
|
2715
2715
|
}
|
|
2716
|
-
function
|
|
2717
|
-
return l(og(
|
|
2716
|
+
function ii(g) {
|
|
2717
|
+
return l(og(Z(g))) ?? g;
|
|
2718
2718
|
}
|
|
2719
|
-
function
|
|
2719
|
+
function oi(g, ...A) {
|
|
2720
2720
|
if (p(g) !== "select")
|
|
2721
2721
|
return g;
|
|
2722
|
-
const C =
|
|
2722
|
+
const C = O(g);
|
|
2723
2723
|
return z("select", {
|
|
2724
2724
|
...C,
|
|
2725
2725
|
expressions: [...C.expressions, ...A]
|
|
2726
2726
|
});
|
|
2727
2727
|
}
|
|
2728
|
-
function
|
|
2728
|
+
function Mi(g, A) {
|
|
2729
2729
|
if (p(g) !== "select")
|
|
2730
2730
|
return g;
|
|
2731
|
-
const C =
|
|
2731
|
+
const C = O(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 Ni(g, A) {
|
|
2738
2738
|
if (typeof A == "number")
|
|
2739
|
-
return l(Kg(
|
|
2739
|
+
return l(Kg(Z(g), A)) ?? g;
|
|
2740
2740
|
if (p(g) !== "select")
|
|
2741
2741
|
return g;
|
|
2742
|
-
const C =
|
|
2742
|
+
const C = O(g);
|
|
2743
2743
|
return z("select", {
|
|
2744
2744
|
...C,
|
|
2745
2745
|
limit: { this: A }
|
|
2746
2746
|
});
|
|
2747
2747
|
}
|
|
2748
|
-
function
|
|
2748
|
+
function ki(g, A) {
|
|
2749
2749
|
if (p(g) !== "select")
|
|
2750
2750
|
return g;
|
|
2751
|
-
const C =
|
|
2751
|
+
const C = O(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 }
|
|
2755
2755
|
});
|
|
2756
2756
|
}
|
|
2757
|
-
function
|
|
2757
|
+
function yi(g) {
|
|
2758
2758
|
if (p(g) !== "select")
|
|
2759
2759
|
return g;
|
|
2760
|
-
const A =
|
|
2760
|
+
const A = O(g);
|
|
2761
2761
|
return z("select", {
|
|
2762
2762
|
...A,
|
|
2763
2763
|
limit: null,
|
|
2764
2764
|
offset: null
|
|
2765
2765
|
});
|
|
2766
2766
|
}
|
|
2767
|
-
function
|
|
2768
|
-
return l(yg(
|
|
2767
|
+
function Ki(g, A = !0) {
|
|
2768
|
+
return l(yg(Z(g), A)) ?? g;
|
|
2769
2769
|
}
|
|
2770
|
-
function
|
|
2770
|
+
function Gi(g) {
|
|
2771
2771
|
return YA(g, {});
|
|
2772
2772
|
}
|
|
2773
|
-
function
|
|
2773
|
+
function ug(g, A, C) {
|
|
2774
2774
|
if (g == null) return g;
|
|
2775
2775
|
if (Array.isArray(g))
|
|
2776
|
-
return g.length > 0 && V(g[0]) ? g.filter((B) => !A(B, C)).map((B) =>
|
|
2776
|
+
return g.length > 0 && V(g[0]) ? g.filter((B) => !A(B, C)).map((B) => FA(B, A)) : g;
|
|
2777
2777
|
if (V(g))
|
|
2778
|
-
return
|
|
2778
|
+
return FA(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 k =
|
|
2783
|
+
const k = ug(o, A, C);
|
|
2784
2784
|
k !== o && (Q[D] = k, 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 FA(g, A) {
|
|
2791
|
+
const C = p(g), Q = { ...O(g) };
|
|
2792
2792
|
for (const [E, D] of Object.entries(Q)) {
|
|
2793
|
-
const o =
|
|
2793
|
+
const o = ug(D, A, g);
|
|
2794
2794
|
o !== D && (Q[E] = o);
|
|
2795
2795
|
}
|
|
2796
2796
|
return z(C, Q);
|
|
@@ -2798,7 +2798,7 @@ function UA(g, A) {
|
|
|
2798
2798
|
function n(g) {
|
|
2799
2799
|
return JSON.stringify(g);
|
|
2800
2800
|
}
|
|
2801
|
-
function
|
|
2801
|
+
function bg(g, A, C) {
|
|
2802
2802
|
if (g != null) {
|
|
2803
2803
|
if (Array.isArray(g)) {
|
|
2804
2804
|
if (g.length > 0 && V(g[0]))
|
|
@@ -2815,30 +2815,30 @@ function ug(g, A, C) {
|
|
|
2815
2815
|
for (const [, B] of Object.entries(
|
|
2816
2816
|
g
|
|
2817
2817
|
))
|
|
2818
|
-
|
|
2818
|
+
bg(B, A, C);
|
|
2819
2819
|
}
|
|
2820
2820
|
}
|
|
2821
|
-
function
|
|
2822
|
-
const A = [], C =
|
|
2821
|
+
function vg(g) {
|
|
2822
|
+
const A = [], C = O(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 d(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
|
-
const o =
|
|
2832
|
+
const o = vg(g);
|
|
2833
2833
|
for (const k of o)
|
|
2834
2834
|
Array.isArray(k.value) ? k.value.forEach((K, y) => {
|
|
2835
|
-
|
|
2836
|
-
}) :
|
|
2835
|
+
d(K, A, g, k.key, y);
|
|
2836
|
+
}) : d(k.value, A, g, k.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 d(g, {
|
|
2842
2842
|
enter: (B, Q) => {
|
|
2843
2843
|
A(B, Q) && C.push(B);
|
|
2844
2844
|
}
|
|
@@ -2849,36 +2849,36 @@ function EA(g, A) {
|
|
|
2849
2849
|
}
|
|
2850
2850
|
function Xg(g, A) {
|
|
2851
2851
|
let C, B = !1;
|
|
2852
|
-
return
|
|
2852
|
+
return d(g, {
|
|
2853
2853
|
enter: (Q, E) => {
|
|
2854
2854
|
!B && A(Q, E) && (C = Q, B = !0);
|
|
2855
2855
|
}
|
|
2856
2856
|
}), C;
|
|
2857
2857
|
}
|
|
2858
|
-
function
|
|
2858
|
+
function Yi(g, A) {
|
|
2859
2859
|
return Xg(g, A) !== void 0;
|
|
2860
2860
|
}
|
|
2861
|
-
function
|
|
2861
|
+
function Hi(g, A) {
|
|
2862
2862
|
let C = !0;
|
|
2863
|
-
return
|
|
2863
|
+
return d(g, {
|
|
2864
2864
|
enter: (B, Q) => {
|
|
2865
2865
|
A(B, Q) || (C = !1);
|
|
2866
2866
|
}
|
|
2867
2867
|
}), C;
|
|
2868
2868
|
}
|
|
2869
|
-
function
|
|
2869
|
+
function hi(g, A) {
|
|
2870
2870
|
return HA(g, A).length;
|
|
2871
2871
|
}
|
|
2872
2872
|
function _g(g) {
|
|
2873
2873
|
return EA(g, "column");
|
|
2874
2874
|
}
|
|
2875
|
-
function
|
|
2875
|
+
function ci(g) {
|
|
2876
2876
|
return EA(g, "table");
|
|
2877
2877
|
}
|
|
2878
2878
|
function Si(g) {
|
|
2879
2879
|
return EA(g, "identifier");
|
|
2880
2880
|
}
|
|
2881
|
-
function
|
|
2881
|
+
function Fi(g) {
|
|
2882
2882
|
const A = JSON.parse(Ig(n(g)));
|
|
2883
2883
|
return A.success ? JSON.parse(A.ast) : [];
|
|
2884
2884
|
}
|
|
@@ -2894,30 +2894,30 @@ 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 Ji(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 Li(g) {
|
|
2902
2902
|
const A = JSON.parse(gg(n(g)));
|
|
2903
2903
|
return A.success ? A.result : [];
|
|
2904
2904
|
}
|
|
2905
|
-
function
|
|
2905
|
+
function Ri(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 Ui(g) {
|
|
2913
2913
|
return $g(g).length > 0;
|
|
2914
2914
|
}
|
|
2915
|
-
function
|
|
2915
|
+
function si(g) {
|
|
2916
2916
|
return AI(g).length > 0;
|
|
2917
2917
|
}
|
|
2918
2918
|
function ai(g) {
|
|
2919
2919
|
let A = 0, C = 0;
|
|
2920
|
-
return
|
|
2920
|
+
return d(g, {
|
|
2921
2921
|
enter: () => {
|
|
2922
2922
|
C++, A = Math.max(A, C);
|
|
2923
2923
|
},
|
|
@@ -2926,22 +2926,22 @@ function ai(g) {
|
|
|
2926
2926
|
}
|
|
2927
2927
|
}), A;
|
|
2928
2928
|
}
|
|
2929
|
-
function
|
|
2929
|
+
function qi(g) {
|
|
2930
2930
|
const A = JSON.parse(Dg(n(g)));
|
|
2931
2931
|
return A.success ? A.result : 0;
|
|
2932
2932
|
}
|
|
2933
|
-
function
|
|
2933
|
+
function pi(g, A) {
|
|
2934
2934
|
let C = null;
|
|
2935
|
-
return
|
|
2935
|
+
return d(g, {
|
|
2936
2936
|
enter: (B, Q) => {
|
|
2937
2937
|
B === A && (C = Q);
|
|
2938
2938
|
}
|
|
2939
2939
|
}), C;
|
|
2940
2940
|
}
|
|
2941
|
-
function
|
|
2941
|
+
function Pi(g, A, C) {
|
|
2942
2942
|
const B = [];
|
|
2943
2943
|
let Q = null;
|
|
2944
|
-
return
|
|
2944
|
+
return d(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 Ti(g, A) {
|
|
2964
2964
|
let C = 0, B = 0;
|
|
2965
|
-
return
|
|
2965
|
+
return d(g, {
|
|
2966
2966
|
enter: (Q) => {
|
|
2967
2967
|
B++, Q === A && (C = B);
|
|
2968
2968
|
},
|
|
@@ -2971,143 +2971,143 @@ function Oi(g, A) {
|
|
|
2971
2971
|
}
|
|
2972
2972
|
}), C;
|
|
2973
2973
|
}
|
|
2974
|
-
const
|
|
2974
|
+
const Oi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2975
2975
|
__proto__: null,
|
|
2976
|
-
addSelectColumns:
|
|
2977
|
-
addWhere:
|
|
2978
|
-
clone:
|
|
2979
|
-
countNodes:
|
|
2980
|
-
every:
|
|
2976
|
+
addSelectColumns: oi,
|
|
2977
|
+
addWhere: wi,
|
|
2978
|
+
clone: Gi,
|
|
2979
|
+
countNodes: hi,
|
|
2980
|
+
every: Hi,
|
|
2981
2981
|
findAll: HA,
|
|
2982
|
-
findAncestor:
|
|
2982
|
+
findAncestor: Pi,
|
|
2983
2983
|
findByType: EA,
|
|
2984
2984
|
findFirst: Xg,
|
|
2985
2985
|
getAggregateFunctions: CA,
|
|
2986
|
-
getChildren:
|
|
2987
|
-
getColumnNames:
|
|
2986
|
+
getChildren: vg,
|
|
2987
|
+
getColumnNames: Li,
|
|
2988
2988
|
getColumns: _g,
|
|
2989
2989
|
getDepth: ai,
|
|
2990
|
-
getExprData:
|
|
2990
|
+
getExprData: O,
|
|
2991
2991
|
getExprType: p,
|
|
2992
|
-
getFunctions:
|
|
2992
|
+
getFunctions: Fi,
|
|
2993
2993
|
getIdentifiers: Si,
|
|
2994
2994
|
getInferredType: eg,
|
|
2995
|
-
getLiterals:
|
|
2996
|
-
getNodeDepth:
|
|
2997
|
-
getParent:
|
|
2995
|
+
getLiterals: Ji,
|
|
2996
|
+
getNodeDepth: Ti,
|
|
2997
|
+
getParent: pi,
|
|
2998
2998
|
getSubqueries: AI,
|
|
2999
|
-
getTableNames:
|
|
3000
|
-
getTables:
|
|
2999
|
+
getTableNames: Ri,
|
|
3000
|
+
getTables: ci,
|
|
3001
3001
|
getWindowFunctions: $g,
|
|
3002
3002
|
hasAggregates: gI,
|
|
3003
|
-
hasSubqueries:
|
|
3004
|
-
hasWindowFunctions:
|
|
3005
|
-
isAdd:
|
|
3006
|
-
isAggregateFunction:
|
|
3003
|
+
hasSubqueries: si,
|
|
3004
|
+
hasWindowFunctions: Ui,
|
|
3005
|
+
isAdd: iw,
|
|
3006
|
+
isAggregateFunction: hw,
|
|
3007
3007
|
isAlias: Ww,
|
|
3008
|
-
isAlterTable:
|
|
3009
|
-
isAnd:
|
|
3010
|
-
isArithmetic:
|
|
3011
|
-
isAvg:
|
|
3012
|
-
isBetween:
|
|
3013
|
-
isBoolean:
|
|
3014
|
-
isCase:
|
|
3008
|
+
isAlterTable: mw,
|
|
3009
|
+
isAnd: _D,
|
|
3010
|
+
isArithmetic: gi,
|
|
3011
|
+
isAvg: Jw,
|
|
3012
|
+
isBetween: Gw,
|
|
3013
|
+
isBoolean: vD,
|
|
3014
|
+
isCase: Pw,
|
|
3015
3015
|
isCast: aw,
|
|
3016
|
-
isCoalesce:
|
|
3017
|
-
isColumn:
|
|
3018
|
-
isComparison:
|
|
3019
|
-
isConcat:
|
|
3016
|
+
isCoalesce: Uw,
|
|
3017
|
+
isColumn: Wg,
|
|
3018
|
+
isComparison: Ai,
|
|
3019
|
+
isConcat: yw,
|
|
3020
3020
|
isCount: Sw,
|
|
3021
|
-
isCreateIndex:
|
|
3022
|
-
isCreateTable:
|
|
3023
|
-
isCreateView:
|
|
3024
|
-
isCte:
|
|
3025
|
-
isDDL:
|
|
3021
|
+
isCreateIndex: uw,
|
|
3022
|
+
isCreateTable: nw,
|
|
3023
|
+
isCreateView: vw,
|
|
3024
|
+
isCte: xw,
|
|
3025
|
+
isDDL: Ci,
|
|
3026
3026
|
isDelete: WD,
|
|
3027
|
-
isDiv:
|
|
3028
|
-
isDropIndex:
|
|
3029
|
-
isDropTable:
|
|
3030
|
-
isDropView:
|
|
3031
|
-
isEq:
|
|
3032
|
-
isExcept:
|
|
3033
|
-
isExists:
|
|
3027
|
+
isDiv: Nw,
|
|
3028
|
+
isDropIndex: bw,
|
|
3029
|
+
isDropTable: rw,
|
|
3030
|
+
isDropView: Xw,
|
|
3031
|
+
isEq: gw,
|
|
3032
|
+
isExcept: nD,
|
|
3033
|
+
isExists: Hw,
|
|
3034
3034
|
isExpressionValue: V,
|
|
3035
|
-
isFrom:
|
|
3035
|
+
isFrom: Tw,
|
|
3036
3036
|
isFunction: lg,
|
|
3037
3037
|
isGroupBy: tw,
|
|
3038
|
-
isGt:
|
|
3039
|
-
isGte:
|
|
3040
|
-
isHaving:
|
|
3041
|
-
isILike:
|
|
3042
|
-
isIdentifier:
|
|
3043
|
-
isIn:
|
|
3044
|
-
isInsert:
|
|
3045
|
-
isIntersect:
|
|
3046
|
-
isIsNull:
|
|
3047
|
-
isJoin:
|
|
3048
|
-
isLike:
|
|
3049
|
-
isLimit:
|
|
3038
|
+
isGt: Qw,
|
|
3039
|
+
isGte: Ew,
|
|
3040
|
+
isHaving: fw,
|
|
3041
|
+
isILike: ww,
|
|
3042
|
+
isIdentifier: mD,
|
|
3043
|
+
isIn: Kw,
|
|
3044
|
+
isInsert: eD,
|
|
3045
|
+
isIntersect: lD,
|
|
3046
|
+
isIsNull: Yw,
|
|
3047
|
+
isJoin: Ow,
|
|
3048
|
+
isLike: Dw,
|
|
3049
|
+
isLimit: zw,
|
|
3050
3050
|
isLiteral: Vg,
|
|
3051
|
-
isLogical:
|
|
3052
|
-
isLt:
|
|
3053
|
-
isLte:
|
|
3054
|
-
isMax:
|
|
3055
|
-
isMin:
|
|
3056
|
-
isMod:
|
|
3057
|
-
isMul:
|
|
3058
|
-
isNeq:
|
|
3059
|
-
isNot:
|
|
3060
|
-
isNullIf:
|
|
3061
|
-
isNullLiteral:
|
|
3062
|
-
isOffset:
|
|
3063
|
-
isOr:
|
|
3064
|
-
isOrderBy:
|
|
3065
|
-
isOrdered:
|
|
3066
|
-
isParen:
|
|
3067
|
-
isQuery:
|
|
3068
|
-
isSafeCast:
|
|
3069
|
-
isSelect:
|
|
3070
|
-
isSetOperation:
|
|
3071
|
-
isStar:
|
|
3072
|
-
isSub:
|
|
3073
|
-
isSubquery:
|
|
3074
|
-
isSum:
|
|
3075
|
-
isTable:
|
|
3076
|
-
isTryCast:
|
|
3077
|
-
isUnion:
|
|
3078
|
-
isUpdate:
|
|
3079
|
-
isWhere:
|
|
3080
|
-
isWindowFunction:
|
|
3081
|
-
isWith:
|
|
3051
|
+
isLogical: Ii,
|
|
3052
|
+
isLt: Cw,
|
|
3053
|
+
isLte: Bw,
|
|
3054
|
+
isMax: Rw,
|
|
3055
|
+
isMin: Lw,
|
|
3056
|
+
isMod: kw,
|
|
3057
|
+
isMul: Mw,
|
|
3058
|
+
isNeq: Iw,
|
|
3059
|
+
isNot: Aw,
|
|
3060
|
+
isNullIf: sw,
|
|
3061
|
+
isNullLiteral: XD,
|
|
3062
|
+
isOffset: Zw,
|
|
3063
|
+
isOr: $D,
|
|
3064
|
+
isOrderBy: dw,
|
|
3065
|
+
isOrdered: lw,
|
|
3066
|
+
isParen: Vw,
|
|
3067
|
+
isQuery: _w,
|
|
3068
|
+
isSafeCast: pw,
|
|
3069
|
+
isSelect: xg,
|
|
3070
|
+
isSetOperation: $w,
|
|
3071
|
+
isStar: bD,
|
|
3072
|
+
isSub: ow,
|
|
3073
|
+
isSubquery: rD,
|
|
3074
|
+
isSum: Fw,
|
|
3075
|
+
isTable: uD,
|
|
3076
|
+
isTryCast: qw,
|
|
3077
|
+
isUnion: VD,
|
|
3078
|
+
isUpdate: xD,
|
|
3079
|
+
isWhere: jw,
|
|
3080
|
+
isWindowFunction: cw,
|
|
3081
|
+
isWith: ew,
|
|
3082
3082
|
makeExpr: z,
|
|
3083
|
-
nodeCount:
|
|
3084
|
-
qualifyColumns:
|
|
3085
|
-
qualifyTables:
|
|
3086
|
-
remove:
|
|
3087
|
-
removeLimitOffset:
|
|
3088
|
-
removeSelectColumns:
|
|
3089
|
-
removeWhere:
|
|
3083
|
+
nodeCount: qi,
|
|
3084
|
+
qualifyColumns: Ei,
|
|
3085
|
+
qualifyTables: Di,
|
|
3086
|
+
remove: FA,
|
|
3087
|
+
removeLimitOffset: yi,
|
|
3088
|
+
removeSelectColumns: Mi,
|
|
3089
|
+
removeWhere: ii,
|
|
3090
3090
|
renameColumns: mg,
|
|
3091
|
-
renameTables:
|
|
3092
|
-
replaceByType:
|
|
3091
|
+
renameTables: Qi,
|
|
3092
|
+
replaceByType: Bi,
|
|
3093
3093
|
replaceNodes: rg,
|
|
3094
|
-
setDistinct:
|
|
3095
|
-
setLimit:
|
|
3096
|
-
setOffset:
|
|
3097
|
-
some:
|
|
3094
|
+
setDistinct: Ki,
|
|
3095
|
+
setLimit: Ni,
|
|
3096
|
+
setOffset: ki,
|
|
3097
|
+
some: Yi,
|
|
3098
3098
|
transform: YA,
|
|
3099
|
-
walk:
|
|
3099
|
+
walk: d
|
|
3100
3100
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
3101
3101
|
function L(g) {
|
|
3102
|
-
return g instanceof
|
|
3102
|
+
return g instanceof S ? g._w : typeof g == "string" ? JA(g) : typeof g == "number" || typeof g == "boolean" || g === null ? yA(g) : KA();
|
|
3103
3103
|
}
|
|
3104
3104
|
function f(g) {
|
|
3105
|
-
const A = new
|
|
3105
|
+
const A = new P();
|
|
3106
3106
|
for (const C of g)
|
|
3107
|
-
C instanceof
|
|
3107
|
+
C instanceof S ? 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 S {
|
|
3111
3111
|
/** @internal WASM handle — do not use directly */
|
|
3112
3112
|
_w;
|
|
3113
3113
|
/** @internal */
|
|
@@ -3116,90 +3116,90 @@ class c {
|
|
|
3116
3116
|
}
|
|
3117
3117
|
// -- Comparison --
|
|
3118
3118
|
eq(A) {
|
|
3119
|
-
return new
|
|
3119
|
+
return new S(this._w.eq(L(A)));
|
|
3120
3120
|
}
|
|
3121
3121
|
neq(A) {
|
|
3122
|
-
return new
|
|
3122
|
+
return new S(this._w.neq(L(A)));
|
|
3123
3123
|
}
|
|
3124
3124
|
lt(A) {
|
|
3125
|
-
return new
|
|
3125
|
+
return new S(this._w.lt(L(A)));
|
|
3126
3126
|
}
|
|
3127
3127
|
lte(A) {
|
|
3128
|
-
return new
|
|
3128
|
+
return new S(this._w.lte(L(A)));
|
|
3129
3129
|
}
|
|
3130
3130
|
gt(A) {
|
|
3131
|
-
return new
|
|
3131
|
+
return new S(this._w.gt(L(A)));
|
|
3132
3132
|
}
|
|
3133
3133
|
gte(A) {
|
|
3134
|
-
return new
|
|
3134
|
+
return new S(this._w.gte(L(A)));
|
|
3135
3135
|
}
|
|
3136
3136
|
// -- Logical --
|
|
3137
3137
|
and(A) {
|
|
3138
|
-
return new
|
|
3138
|
+
return new S(this._w.and(L(A)));
|
|
3139
3139
|
}
|
|
3140
3140
|
or(A) {
|
|
3141
|
-
return new
|
|
3141
|
+
return new S(this._w.or(L(A)));
|
|
3142
3142
|
}
|
|
3143
3143
|
not() {
|
|
3144
|
-
return new
|
|
3144
|
+
return new S(this._w.not());
|
|
3145
3145
|
}
|
|
3146
3146
|
xor(A) {
|
|
3147
|
-
return new
|
|
3147
|
+
return new S(this._w.xor(L(A)));
|
|
3148
3148
|
}
|
|
3149
3149
|
// -- Arithmetic --
|
|
3150
3150
|
add(A) {
|
|
3151
|
-
return new
|
|
3151
|
+
return new S(this._w.add(L(A)));
|
|
3152
3152
|
}
|
|
3153
3153
|
sub(A) {
|
|
3154
|
-
return new
|
|
3154
|
+
return new S(this._w.sub(L(A)));
|
|
3155
3155
|
}
|
|
3156
3156
|
mul(A) {
|
|
3157
|
-
return new
|
|
3157
|
+
return new S(this._w.mul(L(A)));
|
|
3158
3158
|
}
|
|
3159
3159
|
div(A) {
|
|
3160
|
-
return new
|
|
3160
|
+
return new S(this._w.div(L(A)));
|
|
3161
3161
|
}
|
|
3162
3162
|
// -- Pattern matching --
|
|
3163
3163
|
like(A) {
|
|
3164
|
-
return new
|
|
3164
|
+
return new S(this._w.like(L(A)));
|
|
3165
3165
|
}
|
|
3166
3166
|
ilike(A) {
|
|
3167
|
-
return new
|
|
3167
|
+
return new S(this._w.ilike(L(A)));
|
|
3168
3168
|
}
|
|
3169
3169
|
rlike(A) {
|
|
3170
|
-
return new
|
|
3170
|
+
return new S(this._w.rlike(L(A)));
|
|
3171
3171
|
}
|
|
3172
3172
|
// -- Predicates --
|
|
3173
3173
|
isNull() {
|
|
3174
|
-
return new
|
|
3174
|
+
return new S(this._w.is_null());
|
|
3175
3175
|
}
|
|
3176
3176
|
isNotNull() {
|
|
3177
|
-
return new
|
|
3177
|
+
return new S(this._w.is_not_null());
|
|
3178
3178
|
}
|
|
3179
3179
|
between(A, C) {
|
|
3180
|
-
return new
|
|
3180
|
+
return new S(this._w.between(L(A), L(C)));
|
|
3181
3181
|
}
|
|
3182
3182
|
inList(...A) {
|
|
3183
|
-
return new
|
|
3183
|
+
return new S(this._w.in_list(f(A)));
|
|
3184
3184
|
}
|
|
3185
3185
|
notIn(...A) {
|
|
3186
|
-
return new
|
|
3186
|
+
return new S(this._w.not_in(f(A)));
|
|
3187
3187
|
}
|
|
3188
3188
|
// -- Transform --
|
|
3189
3189
|
alias(A) {
|
|
3190
|
-
return new
|
|
3190
|
+
return new S(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 S(this._w.cast(A));
|
|
3197
3197
|
}
|
|
3198
3198
|
asc() {
|
|
3199
|
-
return new
|
|
3199
|
+
return new S(this._w.asc());
|
|
3200
3200
|
}
|
|
3201
3201
|
desc() {
|
|
3202
|
-
return new
|
|
3202
|
+
return new S(this._w.desc());
|
|
3203
3203
|
}
|
|
3204
3204
|
// -- Output --
|
|
3205
3205
|
/** Generate SQL string. Defaults to generic dialect. */
|
|
@@ -3215,7 +3215,7 @@ class c {
|
|
|
3215
3215
|
this._w.free();
|
|
3216
3216
|
}
|
|
3217
3217
|
}
|
|
3218
|
-
class
|
|
3218
|
+
class ji {
|
|
3219
3219
|
/** @internal WASM handle */
|
|
3220
3220
|
_w;
|
|
3221
3221
|
constructor() {
|
|
@@ -3235,186 +3235,186 @@ class Ti {
|
|
|
3235
3235
|
}
|
|
3236
3236
|
}
|
|
3237
3237
|
function ti(g) {
|
|
3238
|
-
return new
|
|
3238
|
+
return new S(JA(g));
|
|
3239
3239
|
}
|
|
3240
|
-
function
|
|
3241
|
-
return new
|
|
3240
|
+
function fi(g) {
|
|
3241
|
+
return new S(yA(g));
|
|
3242
3242
|
}
|
|
3243
3243
|
function II() {
|
|
3244
|
-
return new
|
|
3244
|
+
return new S(fg());
|
|
3245
3245
|
}
|
|
3246
|
-
function
|
|
3247
|
-
return new
|
|
3246
|
+
function di() {
|
|
3247
|
+
return new S(KA());
|
|
3248
3248
|
}
|
|
3249
|
-
function
|
|
3250
|
-
return new
|
|
3249
|
+
function RA(g) {
|
|
3250
|
+
return new S(sg(g));
|
|
3251
3251
|
}
|
|
3252
|
-
function
|
|
3253
|
-
return new
|
|
3252
|
+
function zi(g) {
|
|
3253
|
+
return new S(zg(g));
|
|
3254
3254
|
}
|
|
3255
3255
|
function CI(g) {
|
|
3256
|
-
return new
|
|
3256
|
+
return new S(tg(g));
|
|
3257
3257
|
}
|
|
3258
|
-
function
|
|
3258
|
+
function Zi(g) {
|
|
3259
3259
|
return CI(g);
|
|
3260
3260
|
}
|
|
3261
|
-
function
|
|
3262
|
-
return new
|
|
3261
|
+
function s(g, ...A) {
|
|
3262
|
+
return new S(Tg(g, f(A)));
|
|
3263
3263
|
}
|
|
3264
|
-
function
|
|
3265
|
-
return new
|
|
3264
|
+
function ei(g) {
|
|
3265
|
+
return new S(Og(L(g)));
|
|
3266
3266
|
}
|
|
3267
|
-
function
|
|
3268
|
-
return new
|
|
3267
|
+
function xi(g, A) {
|
|
3268
|
+
return new S(qg(L(g), A));
|
|
3269
3269
|
}
|
|
3270
3270
|
function Wi(g, A) {
|
|
3271
|
-
return new
|
|
3271
|
+
return new S(Rg(L(g), A));
|
|
3272
3272
|
}
|
|
3273
|
-
function
|
|
3274
|
-
return new
|
|
3273
|
+
function Vi(g, A) {
|
|
3274
|
+
return new S(dg(g._w, A));
|
|
3275
3275
|
}
|
|
3276
|
-
function
|
|
3277
|
-
if (g.length === 0) return
|
|
3276
|
+
function li(...g) {
|
|
3277
|
+
if (g.length === 0) return RA(!0);
|
|
3278
3278
|
if (g.length === 1)
|
|
3279
|
-
return g[0] instanceof
|
|
3279
|
+
return g[0] instanceof S ? g[0] : new S(L(g[0]));
|
|
3280
3280
|
let A = L(g[0]);
|
|
3281
3281
|
for (let C = 1; C < g.length; C++)
|
|
3282
|
-
A =
|
|
3283
|
-
return new
|
|
3282
|
+
A = Ug(A, L(g[C]));
|
|
3283
|
+
return new S(A);
|
|
3284
3284
|
}
|
|
3285
|
-
function
|
|
3286
|
-
if (g.length === 0) return
|
|
3285
|
+
function ni(...g) {
|
|
3286
|
+
if (g.length === 0) return RA(!1);
|
|
3287
3287
|
if (g.length === 1)
|
|
3288
|
-
return g[0] instanceof
|
|
3288
|
+
return g[0] instanceof S ? g[0] : new S(L(g[0]));
|
|
3289
3289
|
let A = L(g[0]);
|
|
3290
3290
|
for (let C = 1; C < g.length; C++)
|
|
3291
|
-
A =
|
|
3292
|
-
return new
|
|
3293
|
-
}
|
|
3294
|
-
function ni(g) {
|
|
3295
|
-
return g !== void 0 ? a("COUNT", g) : a("COUNT", II());
|
|
3291
|
+
A = jg(A, L(g[C]));
|
|
3292
|
+
return new S(A);
|
|
3296
3293
|
}
|
|
3297
3294
|
function ri(g) {
|
|
3298
|
-
return
|
|
3295
|
+
return g !== void 0 ? s("COUNT", g) : s("COUNT", II());
|
|
3299
3296
|
}
|
|
3300
3297
|
function mi(g) {
|
|
3301
|
-
return
|
|
3302
|
-
}
|
|
3303
|
-
function vi(g) {
|
|
3304
|
-
return a("AVG", g);
|
|
3298
|
+
return new S(pg(L(g)));
|
|
3305
3299
|
}
|
|
3306
3300
|
function ui(g) {
|
|
3307
|
-
return
|
|
3301
|
+
return s("SUM", g);
|
|
3308
3302
|
}
|
|
3309
3303
|
function bi(g) {
|
|
3310
|
-
return
|
|
3304
|
+
return s("AVG", g);
|
|
3305
|
+
}
|
|
3306
|
+
function vi(g) {
|
|
3307
|
+
return s("MIN", g);
|
|
3311
3308
|
}
|
|
3312
3309
|
function Xi(g) {
|
|
3313
|
-
return
|
|
3310
|
+
return s("MAX", g);
|
|
3314
3311
|
}
|
|
3315
3312
|
function _i(g) {
|
|
3316
|
-
return
|
|
3313
|
+
return s("UPPER", g);
|
|
3317
3314
|
}
|
|
3318
3315
|
function $i(g) {
|
|
3319
|
-
return
|
|
3316
|
+
return s("LOWER", g);
|
|
3320
3317
|
}
|
|
3321
3318
|
function Ao(g) {
|
|
3322
|
-
return
|
|
3319
|
+
return s("LENGTH", g);
|
|
3323
3320
|
}
|
|
3324
3321
|
function go(g) {
|
|
3325
|
-
return
|
|
3322
|
+
return s("TRIM", g);
|
|
3326
3323
|
}
|
|
3327
3324
|
function Io(g) {
|
|
3328
|
-
return
|
|
3325
|
+
return s("LTRIM", g);
|
|
3329
3326
|
}
|
|
3330
3327
|
function Co(g) {
|
|
3331
|
-
return
|
|
3328
|
+
return s("RTRIM", g);
|
|
3332
3329
|
}
|
|
3333
3330
|
function Bo(g) {
|
|
3334
|
-
return
|
|
3331
|
+
return s("REVERSE", g);
|
|
3335
3332
|
}
|
|
3336
|
-
function Qo(g
|
|
3337
|
-
return
|
|
3333
|
+
function Qo(g) {
|
|
3334
|
+
return s("INITCAP", g);
|
|
3338
3335
|
}
|
|
3339
3336
|
function Eo(g, A, C) {
|
|
3340
|
-
return
|
|
3337
|
+
return C !== void 0 ? s("SUBSTRING", g, A, C) : s("SUBSTRING", g, A);
|
|
3341
3338
|
}
|
|
3342
|
-
function Do(g,
|
|
3343
|
-
return
|
|
3339
|
+
function Do(g, A, C) {
|
|
3340
|
+
return s("REPLACE", g, A, C);
|
|
3344
3341
|
}
|
|
3345
|
-
function wo(...
|
|
3346
|
-
return
|
|
3342
|
+
function wo(g, ...A) {
|
|
3343
|
+
return s("CONCAT_WS", g, ...A);
|
|
3347
3344
|
}
|
|
3348
|
-
function io(g
|
|
3349
|
-
return
|
|
3345
|
+
function io(...g) {
|
|
3346
|
+
return s("COALESCE", ...g);
|
|
3350
3347
|
}
|
|
3351
3348
|
function oo(g, A) {
|
|
3352
|
-
return
|
|
3349
|
+
return s("NULLIF", g, A);
|
|
3353
3350
|
}
|
|
3354
|
-
function Mo(g) {
|
|
3355
|
-
return
|
|
3351
|
+
function Mo(g, A) {
|
|
3352
|
+
return s("IFNULL", g, A);
|
|
3356
3353
|
}
|
|
3357
|
-
function No(g
|
|
3358
|
-
return
|
|
3354
|
+
function No(g) {
|
|
3355
|
+
return s("ABS", g);
|
|
3359
3356
|
}
|
|
3360
|
-
function ko(g) {
|
|
3361
|
-
return
|
|
3357
|
+
function ko(g, A) {
|
|
3358
|
+
return A !== void 0 ? s("ROUND", g, A) : s("ROUND", g);
|
|
3362
3359
|
}
|
|
3363
3360
|
function yo(g) {
|
|
3364
|
-
return
|
|
3361
|
+
return s("FLOOR", g);
|
|
3365
3362
|
}
|
|
3366
|
-
function Ko(g
|
|
3367
|
-
return
|
|
3363
|
+
function Ko(g) {
|
|
3364
|
+
return s("CEIL", g);
|
|
3368
3365
|
}
|
|
3369
|
-
function Go(g) {
|
|
3370
|
-
return
|
|
3366
|
+
function Go(g, A) {
|
|
3367
|
+
return s("POWER", g, A);
|
|
3371
3368
|
}
|
|
3372
3369
|
function Yo(g) {
|
|
3373
|
-
return
|
|
3370
|
+
return s("SQRT", g);
|
|
3374
3371
|
}
|
|
3375
3372
|
function Ho(g) {
|
|
3376
|
-
return
|
|
3373
|
+
return s("LN", g);
|
|
3377
3374
|
}
|
|
3378
3375
|
function ho(g) {
|
|
3379
|
-
return
|
|
3376
|
+
return s("EXP", g);
|
|
3380
3377
|
}
|
|
3381
|
-
function
|
|
3382
|
-
return
|
|
3378
|
+
function co(g) {
|
|
3379
|
+
return s("SIGN", g);
|
|
3383
3380
|
}
|
|
3384
|
-
function
|
|
3385
|
-
return
|
|
3381
|
+
function So(...g) {
|
|
3382
|
+
return s("GREATEST", ...g);
|
|
3386
3383
|
}
|
|
3387
|
-
function
|
|
3388
|
-
return
|
|
3384
|
+
function Fo(...g) {
|
|
3385
|
+
return s("LEAST", ...g);
|
|
3389
3386
|
}
|
|
3390
|
-
function
|
|
3391
|
-
return
|
|
3387
|
+
function Jo() {
|
|
3388
|
+
return s("CURRENT_DATE");
|
|
3392
3389
|
}
|
|
3393
3390
|
function Lo() {
|
|
3394
|
-
return
|
|
3395
|
-
}
|
|
3396
|
-
function Jo(g, A) {
|
|
3397
|
-
return new c(Og(g, L(A)));
|
|
3391
|
+
return s("CURRENT_TIME");
|
|
3398
3392
|
}
|
|
3399
3393
|
function Ro() {
|
|
3400
|
-
return
|
|
3394
|
+
return s("CURRENT_TIMESTAMP");
|
|
3401
3395
|
}
|
|
3402
|
-
function
|
|
3403
|
-
return
|
|
3396
|
+
function Uo(g, A) {
|
|
3397
|
+
return new S(Pg(g, L(A)));
|
|
3404
3398
|
}
|
|
3405
3399
|
function so() {
|
|
3406
|
-
return
|
|
3400
|
+
return s("ROW_NUMBER");
|
|
3401
|
+
}
|
|
3402
|
+
function ao() {
|
|
3403
|
+
return s("RANK");
|
|
3404
|
+
}
|
|
3405
|
+
function qo() {
|
|
3406
|
+
return s("DENSE_RANK");
|
|
3407
3407
|
}
|
|
3408
3408
|
class BI {
|
|
3409
3409
|
/** @internal */
|
|
3410
3410
|
_w;
|
|
3411
3411
|
constructor() {
|
|
3412
|
-
this._w = new
|
|
3412
|
+
this._w = new t();
|
|
3413
3413
|
}
|
|
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 S ? this._w.select_expr(C._w) : typeof C == "string" ? this._w.select_col(C) : this._w.select_expr(L(C));
|
|
3418
3418
|
return this;
|
|
3419
3419
|
}
|
|
3420
3420
|
/** Set the FROM clause. */
|
|
@@ -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 S ? this._w.where_expr(A._w) : this._w.where_expr(L(A)), this;
|
|
3443
3443
|
}
|
|
3444
3444
|
/** Set the GROUP BY clause. */
|
|
3445
3445
|
groupBy(...A) {
|
|
@@ -3532,7 +3532,7 @@ class BI {
|
|
|
3532
3532
|
this._w.free();
|
|
3533
3533
|
}
|
|
3534
3534
|
}
|
|
3535
|
-
function
|
|
3535
|
+
function po(...g) {
|
|
3536
3536
|
const A = new BI();
|
|
3537
3537
|
return g.length > 0 && A.select(...g), A;
|
|
3538
3538
|
}
|
|
@@ -3570,7 +3570,7 @@ class QI {
|
|
|
3570
3570
|
function EI(g) {
|
|
3571
3571
|
return new QI(g);
|
|
3572
3572
|
}
|
|
3573
|
-
function
|
|
3573
|
+
function Po(g) {
|
|
3574
3574
|
return EI(g);
|
|
3575
3575
|
}
|
|
3576
3576
|
class DI {
|
|
@@ -3604,7 +3604,7 @@ class DI {
|
|
|
3604
3604
|
this._w.free();
|
|
3605
3605
|
}
|
|
3606
3606
|
}
|
|
3607
|
-
function
|
|
3607
|
+
function To(g) {
|
|
3608
3608
|
return new DI(g);
|
|
3609
3609
|
}
|
|
3610
3610
|
class wI {
|
|
@@ -3633,7 +3633,7 @@ class wI {
|
|
|
3633
3633
|
function iI(g) {
|
|
3634
3634
|
return new wI(g);
|
|
3635
3635
|
}
|
|
3636
|
-
function
|
|
3636
|
+
function Oo(g) {
|
|
3637
3637
|
return iI(g);
|
|
3638
3638
|
}
|
|
3639
3639
|
class oI {
|
|
@@ -3674,10 +3674,10 @@ class oI {
|
|
|
3674
3674
|
this._w.free();
|
|
3675
3675
|
}
|
|
3676
3676
|
}
|
|
3677
|
-
function
|
|
3677
|
+
function jo(g) {
|
|
3678
3678
|
return new oI(g);
|
|
3679
3679
|
}
|
|
3680
|
-
class
|
|
3680
|
+
class UA {
|
|
3681
3681
|
/** @internal */
|
|
3682
3682
|
_w;
|
|
3683
3683
|
/** @internal */
|
|
@@ -3694,7 +3694,7 @@ class RA {
|
|
|
3694
3694
|
}
|
|
3695
3695
|
/** Build the CASE expression as an Expr. */
|
|
3696
3696
|
build() {
|
|
3697
|
-
return new
|
|
3697
|
+
return new S(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 RA {
|
|
|
3702
3702
|
}
|
|
3703
3703
|
}
|
|
3704
3704
|
function to() {
|
|
3705
|
-
return new
|
|
3705
|
+
return new UA(new u());
|
|
3706
3706
|
}
|
|
3707
|
-
function
|
|
3708
|
-
return new
|
|
3707
|
+
function fo(g) {
|
|
3708
|
+
return new UA(ag(L(g)));
|
|
3709
3709
|
}
|
|
3710
3710
|
class $ {
|
|
3711
3711
|
/** @internal */
|
|
@@ -3739,16 +3739,16 @@ 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
3745
|
function Zo(g, A) {
|
|
3746
3746
|
return g.unionAll(A);
|
|
3747
3747
|
}
|
|
3748
|
-
function
|
|
3748
|
+
function eo(g, A) {
|
|
3749
3749
|
return g.intersect(A);
|
|
3750
3750
|
}
|
|
3751
|
-
function
|
|
3751
|
+
function xo(g, A) {
|
|
3752
3752
|
return g.except(A);
|
|
3753
3753
|
}
|
|
3754
3754
|
function MI(g, A, C = "generic", B = {}) {
|
|
@@ -3776,10 +3776,10 @@ 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 = Jg(A, g, C);
|
|
3780
3780
|
return JSON.parse(B);
|
|
3781
3781
|
}
|
|
3782
|
-
function
|
|
3782
|
+
function sA(g) {
|
|
3783
3783
|
return {
|
|
3784
3784
|
dialect: "generic",
|
|
3785
3785
|
datasetMappings: {},
|
|
@@ -3789,36 +3789,36 @@ function aA(g) {
|
|
|
3789
3789
|
function YI(g, A) {
|
|
3790
3790
|
const C = hg(
|
|
3791
3791
|
g,
|
|
3792
|
-
JSON.stringify(
|
|
3792
|
+
JSON.stringify(sA(A))
|
|
3793
3793
|
);
|
|
3794
3794
|
return JSON.parse(C);
|
|
3795
3795
|
}
|
|
3796
3796
|
function HI(g, A) {
|
|
3797
|
-
const C =
|
|
3797
|
+
const C = cg(
|
|
3798
3798
|
g,
|
|
3799
|
-
JSON.stringify(
|
|
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 = Sg(
|
|
3805
3805
|
g,
|
|
3806
|
-
JSON.stringify(
|
|
3806
|
+
JSON.stringify(sA(A))
|
|
3807
3807
|
);
|
|
3808
3808
|
return JSON.parse(C);
|
|
3809
3809
|
}
|
|
3810
|
-
function
|
|
3811
|
-
const C =
|
|
3810
|
+
function cI(g, A = "generic") {
|
|
3811
|
+
const C = Fg(g, A);
|
|
3812
3812
|
return JSON.parse(C);
|
|
3813
3813
|
}
|
|
3814
3814
|
function Wo(g, A) {
|
|
3815
3815
|
const C = [];
|
|
3816
|
-
return p(g) === "select" && C.push(...
|
|
3816
|
+
return p(g) === "select" && C.push(...Vo(g)), C;
|
|
3817
3817
|
}
|
|
3818
|
-
function
|
|
3818
|
+
function Vo(g, A) {
|
|
3819
3819
|
const C = [], B = EA(g, "star");
|
|
3820
3820
|
if (B.length > 0) {
|
|
3821
|
-
const D =
|
|
3821
|
+
const D = O(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,7 +3829,7 @@ function xo(g, A) {
|
|
|
3829
3829
|
end: D?.end
|
|
3830
3830
|
});
|
|
3831
3831
|
}
|
|
3832
|
-
const Q =
|
|
3832
|
+
const Q = O(g);
|
|
3833
3833
|
if (gI(g) && !Q.group_by) {
|
|
3834
3834
|
const E = CA(g), D = Q.expressions || [];
|
|
3835
3835
|
if (D.some((k) => {
|
|
@@ -3839,7 +3839,7 @@ function xo(g, A) {
|
|
|
3839
3839
|
const k = D.find((y) => {
|
|
3840
3840
|
const h = p(y);
|
|
3841
3841
|
return h === "column" || h === "identifier" ? CA(y).length === 0 : !1;
|
|
3842
|
-
}), K = k ?
|
|
3842
|
+
}), K = k ? O(k)?.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 xo(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 ? O(E)?.span : void 0;
|
|
3860
3860
|
C.push({
|
|
3861
3861
|
message: "LIMIT without ORDER BY produces non-deterministic results",
|
|
3862
3862
|
severity: "warning",
|
|
@@ -3869,7 +3869,7 @@ function xo(g, A) {
|
|
|
3869
3869
|
}
|
|
3870
3870
|
return C;
|
|
3871
3871
|
}
|
|
3872
|
-
function
|
|
3872
|
+
function lo(g) {
|
|
3873
3873
|
try {
|
|
3874
3874
|
return JSON.parse(g);
|
|
3875
3875
|
} catch {
|
|
@@ -3885,7 +3885,7 @@ function Vo(g) {
|
|
|
3885
3885
|
};
|
|
3886
3886
|
}
|
|
3887
3887
|
}
|
|
3888
|
-
function
|
|
3888
|
+
function no(g, A, C = "generic", B = {}) {
|
|
3889
3889
|
const Q = B.strict ?? A.strict ?? !0, E = {
|
|
3890
3890
|
check_types: B.checkTypes ?? !1,
|
|
3891
3891
|
check_references: B.checkReferences ?? !1,
|
|
@@ -3898,16 +3898,16 @@ function lo(g, A, C = "generic", B = {}) {
|
|
|
3898
3898
|
C,
|
|
3899
3899
|
JSON.stringify(E)
|
|
3900
3900
|
);
|
|
3901
|
-
return
|
|
3901
|
+
return lo(D);
|
|
3902
3902
|
}
|
|
3903
|
-
const
|
|
3903
|
+
const ro = {
|
|
3904
3904
|
Error: "error",
|
|
3905
3905
|
Warning: "warning"
|
|
3906
|
-
}, _ =
|
|
3906
|
+
}, _ = Zg;
|
|
3907
3907
|
function _A(g) {
|
|
3908
3908
|
return typeof g == "string" ? JSON.parse(g) : g;
|
|
3909
3909
|
}
|
|
3910
|
-
function
|
|
3910
|
+
function mo(g, A = "generic", C = {}) {
|
|
3911
3911
|
const B = C.strictSyntax ? _.validate_with_options(
|
|
3912
3912
|
g,
|
|
3913
3913
|
A,
|
|
@@ -3932,190 +3932,193 @@ function ro(g, A = "generic", C = {}) {
|
|
|
3932
3932
|
errors: o
|
|
3933
3933
|
};
|
|
3934
3934
|
}
|
|
3935
|
-
var
|
|
3936
|
-
const
|
|
3937
|
-
function
|
|
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 U = Zg;
|
|
3937
|
+
function b(g) {
|
|
3938
3938
|
return g instanceof Error && g.message ? g.message : typeof g == "string" ? g : String(g);
|
|
3939
3939
|
}
|
|
3940
3940
|
function qA(g, A) {
|
|
3941
3941
|
return {
|
|
3942
3942
|
success: !1,
|
|
3943
3943
|
sql: void 0,
|
|
3944
|
-
error: `WASM ${g} failed: ${
|
|
3944
|
+
error: `WASM ${g} failed: ${b(A)}`,
|
|
3945
3945
|
errorLine: void 0,
|
|
3946
3946
|
errorColumn: void 0
|
|
3947
3947
|
};
|
|
3948
3948
|
}
|
|
3949
|
-
function
|
|
3949
|
+
function uo(g, A) {
|
|
3950
3950
|
return {
|
|
3951
3951
|
success: !1,
|
|
3952
3952
|
ast: void 0,
|
|
3953
|
-
error: `WASM ${g} failed: ${
|
|
3953
|
+
error: `WASM ${g} failed: ${b(A)}`,
|
|
3954
3954
|
errorLine: void 0,
|
|
3955
3955
|
errorColumn: void 0
|
|
3956
3956
|
};
|
|
3957
3957
|
}
|
|
3958
|
-
function
|
|
3958
|
+
function bo(g, A) {
|
|
3959
3959
|
return {
|
|
3960
3960
|
success: !1,
|
|
3961
3961
|
dataType: void 0,
|
|
3962
|
-
error: `WASM ${g} failed: ${
|
|
3962
|
+
error: `WASM ${g} failed: ${b(A)}`,
|
|
3963
3963
|
errorLine: void 0,
|
|
3964
3964
|
errorColumn: void 0
|
|
3965
3965
|
};
|
|
3966
3966
|
}
|
|
3967
|
-
function
|
|
3967
|
+
function vo(g, A) {
|
|
3968
3968
|
return {
|
|
3969
3969
|
success: !1,
|
|
3970
3970
|
sql: void 0,
|
|
3971
|
-
error: `WASM ${g} failed: ${
|
|
3971
|
+
error: `WASM ${g} failed: ${b(A)}`,
|
|
3972
3972
|
errorLine: void 0,
|
|
3973
3973
|
errorColumn: void 0
|
|
3974
3974
|
};
|
|
3975
3975
|
}
|
|
3976
|
-
function
|
|
3976
|
+
function j(g) {
|
|
3977
3977
|
return typeof g == "string" ? JSON.parse(g) : g;
|
|
3978
3978
|
}
|
|
3979
|
-
function
|
|
3979
|
+
function Xo(g, A) {
|
|
3980
3980
|
return {
|
|
3981
3981
|
success: !1,
|
|
3982
3982
|
analysis: void 0,
|
|
3983
|
-
error: `WASM ${g} failed: ${
|
|
3983
|
+
error: `WASM ${g} failed: ${b(A)}`
|
|
3984
|
+
};
|
|
3985
|
+
}
|
|
3986
|
+
function SI(g = {}) {
|
|
3987
|
+
return typeof g == "string" ? { dialect: g } : {
|
|
3988
|
+
dialect: "generic",
|
|
3989
|
+
...g
|
|
3984
3990
|
};
|
|
3985
3991
|
}
|
|
3986
|
-
async function
|
|
3992
|
+
async function FI() {
|
|
3987
3993
|
return Promise.resolve();
|
|
3988
3994
|
}
|
|
3989
|
-
function
|
|
3995
|
+
function JI() {
|
|
3990
3996
|
return !0;
|
|
3991
3997
|
}
|
|
3992
3998
|
function pA(g, A, C, B) {
|
|
3993
3999
|
try {
|
|
3994
|
-
return B && Object.keys(B).length > 0 ? typeof
|
|
3995
|
-
|
|
3996
|
-
) : typeof
|
|
3997
|
-
|
|
4000
|
+
return B && Object.keys(B).length > 0 ? typeof U.transpile_with_options_value == "function" ? j(
|
|
4001
|
+
U.transpile_with_options_value(g, A, C, B)
|
|
4002
|
+
) : typeof U.transpile_with_options == "function" ? JSON.parse(
|
|
4003
|
+
U.transpile_with_options(g, A, C, JSON.stringify(B))
|
|
3998
4004
|
) : {
|
|
3999
4005
|
success: !1,
|
|
4000
4006
|
sql: void 0,
|
|
4001
4007
|
error: "WASM transpile options are not available in this build"
|
|
4002
|
-
} : typeof
|
|
4003
|
-
|
|
4004
|
-
) : JSON.parse(
|
|
4008
|
+
} : typeof U.transpile_value == "function" ? j(
|
|
4009
|
+
U.transpile_value(g, A, C)
|
|
4010
|
+
) : JSON.parse(U.transpile(g, A, C));
|
|
4005
4011
|
} catch (Q) {
|
|
4006
4012
|
return qA("transpile", Q);
|
|
4007
4013
|
}
|
|
4008
4014
|
}
|
|
4009
|
-
function
|
|
4015
|
+
function PA(g, A = "generic") {
|
|
4010
4016
|
try {
|
|
4011
|
-
if (typeof
|
|
4012
|
-
return
|
|
4013
|
-
const C = JSON.parse(
|
|
4017
|
+
if (typeof U.parse_value == "function")
|
|
4018
|
+
return j(U.parse_value(g, A));
|
|
4019
|
+
const C = JSON.parse(U.parse(g, A));
|
|
4014
4020
|
return C.success && typeof C.ast == "string" && (C.ast = JSON.parse(C.ast)), C;
|
|
4015
4021
|
} catch (C) {
|
|
4016
|
-
return
|
|
4022
|
+
return uo("parse", C);
|
|
4017
4023
|
}
|
|
4018
4024
|
}
|
|
4019
|
-
function
|
|
4025
|
+
function TA(g, A = "generic") {
|
|
4020
4026
|
try {
|
|
4021
|
-
if (typeof
|
|
4022
|
-
return
|
|
4023
|
-
|
|
4027
|
+
if (typeof U.parse_data_type_value == "function")
|
|
4028
|
+
return j(
|
|
4029
|
+
U.parse_data_type_value(g, A)
|
|
4024
4030
|
);
|
|
4025
4031
|
const C = JSON.parse(
|
|
4026
|
-
|
|
4032
|
+
U.parse_data_type(g, A)
|
|
4027
4033
|
);
|
|
4028
4034
|
return C.success && typeof C.dataType == "string" && (C.dataType = JSON.parse(C.dataType)), C;
|
|
4029
4035
|
} catch (C) {
|
|
4030
|
-
return
|
|
4036
|
+
return bo("parseDataType", C);
|
|
4031
4037
|
}
|
|
4032
4038
|
}
|
|
4033
|
-
function
|
|
4039
|
+
function OA(g, A = "generic") {
|
|
4034
4040
|
try {
|
|
4035
|
-
return typeof
|
|
4036
|
-
|
|
4037
|
-
) : JSON.parse(
|
|
4041
|
+
return typeof U.tokenize_value == "function" ? j(
|
|
4042
|
+
U.tokenize_value(g, A)
|
|
4043
|
+
) : JSON.parse(U.tokenize(g, A));
|
|
4038
4044
|
} catch (C) {
|
|
4039
4045
|
return {
|
|
4040
4046
|
success: !1,
|
|
4041
4047
|
tokens: void 0,
|
|
4042
|
-
error: `WASM tokenize failed: ${
|
|
4048
|
+
error: `WASM tokenize failed: ${b(C)}`
|
|
4043
4049
|
};
|
|
4044
4050
|
}
|
|
4045
4051
|
}
|
|
4046
|
-
function
|
|
4052
|
+
function jA(g, A = "generic") {
|
|
4047
4053
|
try {
|
|
4048
|
-
if (typeof
|
|
4049
|
-
return
|
|
4050
|
-
|
|
4054
|
+
if (typeof U.generate_value == "function" && Array.isArray(g))
|
|
4055
|
+
return j(
|
|
4056
|
+
U.generate_value(g, A)
|
|
4051
4057
|
);
|
|
4052
4058
|
const C = JSON.stringify(g);
|
|
4053
|
-
return JSON.parse(
|
|
4059
|
+
return JSON.parse(U.generate(C, A));
|
|
4054
4060
|
} catch (C) {
|
|
4055
4061
|
return qA("generate", C);
|
|
4056
4062
|
}
|
|
4057
4063
|
}
|
|
4058
|
-
function
|
|
4064
|
+
function tA(g, A = "generic") {
|
|
4059
4065
|
try {
|
|
4060
|
-
if (typeof
|
|
4061
|
-
return
|
|
4062
|
-
|
|
4066
|
+
if (typeof U.generate_data_type_value == "function")
|
|
4067
|
+
return j(
|
|
4068
|
+
U.generate_data_type_value(g, A)
|
|
4063
4069
|
);
|
|
4064
4070
|
const C = JSON.stringify(g);
|
|
4065
4071
|
return JSON.parse(
|
|
4066
|
-
|
|
4072
|
+
U.generate_data_type(C, A)
|
|
4067
4073
|
);
|
|
4068
4074
|
} catch (C) {
|
|
4069
|
-
return
|
|
4075
|
+
return vo("generateDataType", C);
|
|
4070
4076
|
}
|
|
4071
4077
|
}
|
|
4072
4078
|
function fA(g, A = "generic") {
|
|
4073
|
-
return
|
|
4079
|
+
return dA(g, A, {});
|
|
4074
4080
|
}
|
|
4075
|
-
function
|
|
4081
|
+
function dA(g, A = "generic", C = {}) {
|
|
4076
4082
|
try {
|
|
4077
|
-
return typeof
|
|
4078
|
-
|
|
4079
|
-
) : typeof
|
|
4080
|
-
|
|
4081
|
-
) : typeof
|
|
4082
|
-
|
|
4083
|
-
) : JSON.parse(
|
|
4083
|
+
return typeof U.format_sql_with_options_value == "function" ? j(
|
|
4084
|
+
U.format_sql_with_options_value(g, A, C)
|
|
4085
|
+
) : typeof U.format_sql_with_options == "function" ? JSON.parse(
|
|
4086
|
+
U.format_sql_with_options(g, A, JSON.stringify(C))
|
|
4087
|
+
) : typeof U.format_sql_value == "function" ? j(
|
|
4088
|
+
U.format_sql_value(g, A)
|
|
4089
|
+
) : JSON.parse(U.format_sql(g, A));
|
|
4084
4090
|
} catch (B) {
|
|
4085
4091
|
return qA("format", B);
|
|
4086
4092
|
}
|
|
4087
4093
|
}
|
|
4088
4094
|
function zA() {
|
|
4089
|
-
return typeof
|
|
4095
|
+
return typeof U.get_dialects_value == "function" ? j(U.get_dialects_value()) : JSON.parse(U.get_dialects());
|
|
4090
4096
|
}
|
|
4091
|
-
function
|
|
4092
|
-
return
|
|
4097
|
+
function ZA() {
|
|
4098
|
+
return U.version();
|
|
4093
4099
|
}
|
|
4094
4100
|
function eA(g, A = {}) {
|
|
4095
4101
|
try {
|
|
4096
|
-
const C =
|
|
4097
|
-
|
|
4098
|
-
|
|
4099
|
-
|
|
4100
|
-
|
|
4101
|
-
R.analyze_query_value(g, C)
|
|
4102
|
-
) : typeof R.analyze_query == "function" ? JSON.parse(
|
|
4103
|
-
R.analyze_query(g, JSON.stringify(C))
|
|
4102
|
+
const C = SI(A);
|
|
4103
|
+
return typeof U.analyze_query_value == "function" ? j(
|
|
4104
|
+
U.analyze_query_value(g, C)
|
|
4105
|
+
) : typeof U.analyze_query == "function" ? JSON.parse(
|
|
4106
|
+
U.analyze_query(g, JSON.stringify(C))
|
|
4104
4107
|
) : {
|
|
4105
4108
|
success: !1,
|
|
4106
4109
|
error: "analyze_query not available in this WASM build"
|
|
4107
4110
|
};
|
|
4108
4111
|
} catch (C) {
|
|
4109
|
-
return
|
|
4112
|
+
return Xo("analyzeQuery", C);
|
|
4110
4113
|
}
|
|
4111
4114
|
}
|
|
4112
|
-
function
|
|
4115
|
+
function xA(g, A = "generic", C) {
|
|
4113
4116
|
try {
|
|
4114
4117
|
const B = C ? JSON.stringify(C) : "";
|
|
4115
|
-
return typeof
|
|
4116
|
-
|
|
4117
|
-
) : typeof
|
|
4118
|
-
|
|
4118
|
+
return typeof U.annotate_types_value == "function" ? j(
|
|
4119
|
+
U.annotate_types_value(g, A, B)
|
|
4120
|
+
) : typeof U.annotate_types == "function" ? JSON.parse(
|
|
4121
|
+
U.annotate_types(g, A, B)
|
|
4119
4122
|
) : {
|
|
4120
4123
|
success: !1,
|
|
4121
4124
|
error: "annotate_types not available in this WASM build"
|
|
@@ -4123,7 +4126,7 @@ function WA(g, A = "generic", C) {
|
|
|
4123
4126
|
} catch (B) {
|
|
4124
4127
|
return {
|
|
4125
4128
|
success: !1,
|
|
4126
|
-
error: `WASM annotate_types failed: ${
|
|
4129
|
+
error: `WASM annotate_types failed: ${b(B)}`
|
|
4127
4130
|
};
|
|
4128
4131
|
}
|
|
4129
4132
|
}
|
|
@@ -4152,31 +4155,31 @@ class m {
|
|
|
4152
4155
|
* Parse SQL into an AST.
|
|
4153
4156
|
*/
|
|
4154
4157
|
parse(A, C = "generic") {
|
|
4155
|
-
return
|
|
4158
|
+
return PA(A, C);
|
|
4156
4159
|
}
|
|
4157
4160
|
/**
|
|
4158
4161
|
* Parse a standalone SQL data type.
|
|
4159
4162
|
*/
|
|
4160
4163
|
parseDataType(A, C = "generic") {
|
|
4161
|
-
return
|
|
4164
|
+
return TA(A, C);
|
|
4162
4165
|
}
|
|
4163
4166
|
/**
|
|
4164
4167
|
* Tokenize SQL into a token stream.
|
|
4165
4168
|
*/
|
|
4166
4169
|
tokenize(A, C = "generic") {
|
|
4167
|
-
return
|
|
4170
|
+
return OA(A, C);
|
|
4168
4171
|
}
|
|
4169
4172
|
/**
|
|
4170
4173
|
* Generate SQL from an AST.
|
|
4171
4174
|
*/
|
|
4172
4175
|
generate(A, C = "generic") {
|
|
4173
|
-
return
|
|
4176
|
+
return jA(A, C);
|
|
4174
4177
|
}
|
|
4175
4178
|
/**
|
|
4176
4179
|
* Generate SQL from a standalone DataType AST node.
|
|
4177
4180
|
*/
|
|
4178
4181
|
generateDataType(A, C = "generic") {
|
|
4179
|
-
return
|
|
4182
|
+
return tA(A, C);
|
|
4180
4183
|
}
|
|
4181
4184
|
/**
|
|
4182
4185
|
* Format SQL.
|
|
@@ -4188,7 +4191,7 @@ class m {
|
|
|
4188
4191
|
* Format SQL with explicit guard limits.
|
|
4189
4192
|
*/
|
|
4190
4193
|
formatWithOptions(A, C = "generic", B = {}) {
|
|
4191
|
-
return
|
|
4194
|
+
return dA(A, C, B);
|
|
4192
4195
|
}
|
|
4193
4196
|
/**
|
|
4194
4197
|
* Get supported dialects in this build.
|
|
@@ -4201,35 +4204,32 @@ class m {
|
|
|
4201
4204
|
* Get library version.
|
|
4202
4205
|
*/
|
|
4203
4206
|
getVersion() {
|
|
4204
|
-
return
|
|
4207
|
+
return ZA();
|
|
4205
4208
|
}
|
|
4206
4209
|
/**
|
|
4207
4210
|
* Parse SQL and annotate the AST with inferred type information.
|
|
4208
4211
|
*/
|
|
4209
4212
|
annotateTypes(A, C = "generic", B) {
|
|
4210
|
-
return
|
|
4213
|
+
return xA(A, C, B);
|
|
4211
4214
|
}
|
|
4212
|
-
/**
|
|
4213
|
-
* Return compact query analysis facts for a SELECT or set operation.
|
|
4214
|
-
*/
|
|
4215
4215
|
analyzeQuery(A, C = {}) {
|
|
4216
|
-
return eA(A, C);
|
|
4216
|
+
return eA(A, SI(C));
|
|
4217
4217
|
}
|
|
4218
4218
|
}
|
|
4219
|
-
const
|
|
4220
|
-
init:
|
|
4221
|
-
isInitialized:
|
|
4219
|
+
const _o = {
|
|
4220
|
+
init: FI,
|
|
4221
|
+
isInitialized: JI,
|
|
4222
4222
|
transpile: pA,
|
|
4223
|
-
parse:
|
|
4224
|
-
parseDataType:
|
|
4225
|
-
tokenize:
|
|
4226
|
-
generate:
|
|
4227
|
-
generateDataType:
|
|
4223
|
+
parse: PA,
|
|
4224
|
+
parseDataType: TA,
|
|
4225
|
+
tokenize: OA,
|
|
4226
|
+
generate: jA,
|
|
4227
|
+
generateDataType: tA,
|
|
4228
4228
|
format: fA,
|
|
4229
|
-
annotateTypes:
|
|
4229
|
+
annotateTypes: xA,
|
|
4230
4230
|
analyzeQuery: eA,
|
|
4231
4231
|
getDialects: zA,
|
|
4232
|
-
getVersion:
|
|
4232
|
+
getVersion: ZA,
|
|
4233
4233
|
lineage: yI,
|
|
4234
4234
|
lineageWithSchema: KI,
|
|
4235
4235
|
getSourceTables: GI,
|
|
@@ -4239,227 +4239,227 @@ const Xo = {
|
|
|
4239
4239
|
diff: MI,
|
|
4240
4240
|
hasChanges: NI,
|
|
4241
4241
|
changesOnly: kI,
|
|
4242
|
-
plan:
|
|
4243
|
-
Dialect:
|
|
4242
|
+
plan: cI,
|
|
4243
|
+
Dialect: aA,
|
|
4244
4244
|
Polyglot: m
|
|
4245
|
-
},
|
|
4245
|
+
}, $o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4246
4246
|
__proto__: null,
|
|
4247
|
-
CaseBuilder:
|
|
4247
|
+
CaseBuilder: UA,
|
|
4248
4248
|
DeleteBuilder: wI,
|
|
4249
|
-
Dialect:
|
|
4250
|
-
Expr:
|
|
4249
|
+
Dialect: aA,
|
|
4250
|
+
Expr: S,
|
|
4251
4251
|
InsertBuilder: QI,
|
|
4252
4252
|
MergeBuilder: oI,
|
|
4253
4253
|
Polyglot: m,
|
|
4254
4254
|
SelectBuilder: BI,
|
|
4255
4255
|
SetOpBuilder: $,
|
|
4256
4256
|
UpdateBuilder: DI,
|
|
4257
|
-
ValidationSeverity:
|
|
4258
|
-
WindowDefBuilder:
|
|
4259
|
-
abs:
|
|
4257
|
+
ValidationSeverity: ro,
|
|
4258
|
+
WindowDefBuilder: ji,
|
|
4259
|
+
abs: No,
|
|
4260
4260
|
alias: Wi,
|
|
4261
4261
|
analyzeQuery: eA,
|
|
4262
|
-
and:
|
|
4263
|
-
annotateTypes:
|
|
4264
|
-
ast:
|
|
4265
|
-
avg:
|
|
4266
|
-
boolean:
|
|
4267
|
-
caseOf:
|
|
4262
|
+
and: li,
|
|
4263
|
+
annotateTypes: xA,
|
|
4264
|
+
ast: Oi,
|
|
4265
|
+
avg: bi,
|
|
4266
|
+
boolean: RA,
|
|
4267
|
+
caseOf: fo,
|
|
4268
4268
|
caseWhen: to,
|
|
4269
|
-
cast:
|
|
4270
|
-
ceil:
|
|
4269
|
+
cast: xi,
|
|
4270
|
+
ceil: Ko,
|
|
4271
4271
|
changesOnly: kI,
|
|
4272
|
-
coalesce:
|
|
4272
|
+
coalesce: io,
|
|
4273
4273
|
col: ti,
|
|
4274
|
-
concatWs:
|
|
4275
|
-
condition:
|
|
4276
|
-
count:
|
|
4277
|
-
countDistinct:
|
|
4278
|
-
currentDate:
|
|
4279
|
-
currentTime:
|
|
4280
|
-
currentTimestamp:
|
|
4281
|
-
default:
|
|
4282
|
-
del:
|
|
4274
|
+
concatWs: wo,
|
|
4275
|
+
condition: Zi,
|
|
4276
|
+
count: ri,
|
|
4277
|
+
countDistinct: mi,
|
|
4278
|
+
currentDate: Jo,
|
|
4279
|
+
currentTime: Lo,
|
|
4280
|
+
currentTimestamp: Ro,
|
|
4281
|
+
default: _o,
|
|
4282
|
+
del: Oo,
|
|
4283
4283
|
deleteFrom: iI,
|
|
4284
|
-
denseRank:
|
|
4284
|
+
denseRank: qo,
|
|
4285
4285
|
diff: MI,
|
|
4286
|
-
except:
|
|
4287
|
-
exp:
|
|
4288
|
-
extract:
|
|
4286
|
+
except: xo,
|
|
4287
|
+
exp: ho,
|
|
4288
|
+
extract: Uo,
|
|
4289
4289
|
findAll: HA,
|
|
4290
|
-
floor:
|
|
4290
|
+
floor: yo,
|
|
4291
4291
|
format: fA,
|
|
4292
|
-
formatWithOptions:
|
|
4293
|
-
func:
|
|
4294
|
-
generate:
|
|
4295
|
-
generateDataType:
|
|
4292
|
+
formatWithOptions: dA,
|
|
4293
|
+
func: s,
|
|
4294
|
+
generate: jA,
|
|
4295
|
+
generateDataType: tA,
|
|
4296
4296
|
getColumns: _g,
|
|
4297
4297
|
getDialects: zA,
|
|
4298
4298
|
getInferredType: eg,
|
|
4299
4299
|
getSourceTables: GI,
|
|
4300
|
-
getVersion:
|
|
4300
|
+
getVersion: ZA,
|
|
4301
4301
|
greatest: So,
|
|
4302
4302
|
hasChanges: NI,
|
|
4303
|
-
ifNull:
|
|
4304
|
-
init:
|
|
4305
|
-
initcap:
|
|
4306
|
-
insert:
|
|
4303
|
+
ifNull: Mo,
|
|
4304
|
+
init: FI,
|
|
4305
|
+
initcap: Qo,
|
|
4306
|
+
insert: Po,
|
|
4307
4307
|
insertInto: EI,
|
|
4308
|
-
intersect:
|
|
4309
|
-
isColumn:
|
|
4308
|
+
intersect: eo,
|
|
4309
|
+
isColumn: Wg,
|
|
4310
4310
|
isFunction: lg,
|
|
4311
|
-
isInitialized:
|
|
4311
|
+
isInitialized: JI,
|
|
4312
4312
|
isLiteral: Vg,
|
|
4313
|
-
isSelect:
|
|
4314
|
-
least:
|
|
4315
|
-
length:
|
|
4313
|
+
isSelect: xg,
|
|
4314
|
+
least: Fo,
|
|
4315
|
+
length: Ao,
|
|
4316
4316
|
lineage: yI,
|
|
4317
4317
|
lineageWithSchema: KI,
|
|
4318
|
-
lit:
|
|
4319
|
-
ln:
|
|
4320
|
-
lower:
|
|
4321
|
-
ltrim:
|
|
4322
|
-
max:
|
|
4323
|
-
mergeInto:
|
|
4324
|
-
min:
|
|
4325
|
-
not:
|
|
4326
|
-
nullIf:
|
|
4318
|
+
lit: fi,
|
|
4319
|
+
ln: Ho,
|
|
4320
|
+
lower: $i,
|
|
4321
|
+
ltrim: Io,
|
|
4322
|
+
max: Xi,
|
|
4323
|
+
mergeInto: jo,
|
|
4324
|
+
min: vi,
|
|
4325
|
+
not: ei,
|
|
4326
|
+
nullIf: oo,
|
|
4327
4327
|
openLineageColumnLineage: YI,
|
|
4328
4328
|
openLineageJobEvent: HI,
|
|
4329
4329
|
openLineageRunEvent: hI,
|
|
4330
|
-
or:
|
|
4331
|
-
parse:
|
|
4332
|
-
parseDataType:
|
|
4333
|
-
plan:
|
|
4334
|
-
power:
|
|
4330
|
+
or: ni,
|
|
4331
|
+
parse: PA,
|
|
4332
|
+
parseDataType: TA,
|
|
4333
|
+
plan: cI,
|
|
4334
|
+
power: Go,
|
|
4335
4335
|
rank: ao,
|
|
4336
4336
|
renameColumns: mg,
|
|
4337
|
-
replace:
|
|
4338
|
-
reverse:
|
|
4339
|
-
round:
|
|
4340
|
-
rowNumber:
|
|
4341
|
-
rtrim:
|
|
4342
|
-
select:
|
|
4343
|
-
sign:
|
|
4337
|
+
replace: Do,
|
|
4338
|
+
reverse: Bo,
|
|
4339
|
+
round: ko,
|
|
4340
|
+
rowNumber: so,
|
|
4341
|
+
rtrim: Co,
|
|
4342
|
+
select: po,
|
|
4343
|
+
sign: co,
|
|
4344
4344
|
sqlExpr: CI,
|
|
4345
|
-
sqlNull:
|
|
4346
|
-
sqrt:
|
|
4345
|
+
sqlNull: di,
|
|
4346
|
+
sqrt: Yo,
|
|
4347
4347
|
star: II,
|
|
4348
|
-
subquery:
|
|
4349
|
-
substring:
|
|
4350
|
-
sum:
|
|
4351
|
-
table:
|
|
4352
|
-
tokenize:
|
|
4348
|
+
subquery: Vi,
|
|
4349
|
+
substring: Eo,
|
|
4350
|
+
sum: ui,
|
|
4351
|
+
table: zi,
|
|
4352
|
+
tokenize: OA,
|
|
4353
4353
|
transform: YA,
|
|
4354
4354
|
transpile: pA,
|
|
4355
|
-
trim:
|
|
4356
|
-
union:
|
|
4355
|
+
trim: go,
|
|
4356
|
+
union: zo,
|
|
4357
4357
|
unionAll: Zo,
|
|
4358
|
-
update:
|
|
4359
|
-
upper:
|
|
4360
|
-
validate:
|
|
4361
|
-
validateWithSchema:
|
|
4362
|
-
walk:
|
|
4358
|
+
update: To,
|
|
4359
|
+
upper: _i,
|
|
4360
|
+
validate: mo,
|
|
4361
|
+
validateWithSchema: no,
|
|
4362
|
+
walk: d
|
|
4363
4363
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4364
4364
|
export {
|
|
4365
|
-
|
|
4365
|
+
UA as CaseBuilder,
|
|
4366
4366
|
wI as DeleteBuilder,
|
|
4367
|
-
|
|
4368
|
-
|
|
4367
|
+
aA as Dialect,
|
|
4368
|
+
S as Expr,
|
|
4369
4369
|
QI as InsertBuilder,
|
|
4370
4370
|
oI as MergeBuilder,
|
|
4371
4371
|
m as Polyglot,
|
|
4372
4372
|
BI as SelectBuilder,
|
|
4373
4373
|
$ as SetOpBuilder,
|
|
4374
4374
|
DI as UpdateBuilder,
|
|
4375
|
-
|
|
4376
|
-
|
|
4375
|
+
ro as ValidationSeverity,
|
|
4376
|
+
No as abs,
|
|
4377
4377
|
Wi as alias,
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
|
|
4378
|
+
li as and,
|
|
4379
|
+
xA as annotateTypes,
|
|
4380
|
+
Oi as ast,
|
|
4381
|
+
bi as avg,
|
|
4382
|
+
RA as boolean,
|
|
4383
|
+
fo as caseOf,
|
|
4384
4384
|
to as caseWhen,
|
|
4385
|
-
|
|
4386
|
-
|
|
4387
|
-
|
|
4385
|
+
xi as cast,
|
|
4386
|
+
Ko as ceil,
|
|
4387
|
+
io as coalesce,
|
|
4388
4388
|
ti as col,
|
|
4389
|
-
|
|
4390
|
-
|
|
4391
|
-
|
|
4392
|
-
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
|
|
4389
|
+
wo as concatWs,
|
|
4390
|
+
Zi as condition,
|
|
4391
|
+
ri as count,
|
|
4392
|
+
mi as countDistinct,
|
|
4393
|
+
Jo as currentDate,
|
|
4394
|
+
Lo as currentTime,
|
|
4395
|
+
Ro as currentTimestamp,
|
|
4396
|
+
$o as default,
|
|
4397
|
+
Oo as del,
|
|
4398
4398
|
iI as deleteFrom,
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
4399
|
+
qo as denseRank,
|
|
4400
|
+
xo as except,
|
|
4401
|
+
ho as exp,
|
|
4402
|
+
Uo as extract,
|
|
4403
4403
|
HA as findAll,
|
|
4404
|
-
|
|
4404
|
+
yo as floor,
|
|
4405
4405
|
fA as format,
|
|
4406
|
-
|
|
4407
|
-
|
|
4408
|
-
|
|
4406
|
+
dA as formatWithOptions,
|
|
4407
|
+
s as func,
|
|
4408
|
+
jA as generate,
|
|
4409
4409
|
_g as getColumns,
|
|
4410
4410
|
zA as getDialects,
|
|
4411
4411
|
eg as getInferredType,
|
|
4412
|
-
|
|
4412
|
+
ZA as getVersion,
|
|
4413
4413
|
So as greatest,
|
|
4414
|
-
|
|
4415
|
-
|
|
4416
|
-
|
|
4417
|
-
|
|
4414
|
+
Mo as ifNull,
|
|
4415
|
+
FI as init,
|
|
4416
|
+
Qo as initcap,
|
|
4417
|
+
Po as insert,
|
|
4418
4418
|
EI as insertInto,
|
|
4419
|
-
|
|
4420
|
-
|
|
4419
|
+
eo as intersect,
|
|
4420
|
+
Wg as isColumn,
|
|
4421
4421
|
lg as isFunction,
|
|
4422
|
-
|
|
4422
|
+
JI as isInitialized,
|
|
4423
4423
|
Vg as isLiteral,
|
|
4424
|
-
|
|
4425
|
-
|
|
4426
|
-
|
|
4427
|
-
|
|
4428
|
-
|
|
4429
|
-
|
|
4430
|
-
|
|
4431
|
-
|
|
4432
|
-
|
|
4433
|
-
|
|
4434
|
-
|
|
4435
|
-
|
|
4436
|
-
|
|
4437
|
-
|
|
4438
|
-
|
|
4424
|
+
xg as isSelect,
|
|
4425
|
+
Fo as least,
|
|
4426
|
+
Ao as length,
|
|
4427
|
+
fi as lit,
|
|
4428
|
+
Ho as ln,
|
|
4429
|
+
$i as lower,
|
|
4430
|
+
Io as ltrim,
|
|
4431
|
+
Xi as max,
|
|
4432
|
+
jo as mergeInto,
|
|
4433
|
+
vi as min,
|
|
4434
|
+
ei as not,
|
|
4435
|
+
oo as nullIf,
|
|
4436
|
+
ni as or,
|
|
4437
|
+
PA as parse,
|
|
4438
|
+
Go as power,
|
|
4439
4439
|
ao as rank,
|
|
4440
4440
|
mg as renameColumns,
|
|
4441
|
-
|
|
4442
|
-
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
|
|
4447
|
-
|
|
4441
|
+
Do as replace,
|
|
4442
|
+
Bo as reverse,
|
|
4443
|
+
ko as round,
|
|
4444
|
+
so as rowNumber,
|
|
4445
|
+
Co as rtrim,
|
|
4446
|
+
po as select,
|
|
4447
|
+
co as sign,
|
|
4448
4448
|
CI as sqlExpr,
|
|
4449
|
-
|
|
4450
|
-
|
|
4449
|
+
di as sqlNull,
|
|
4450
|
+
Yo as sqrt,
|
|
4451
4451
|
II as star,
|
|
4452
|
-
|
|
4453
|
-
|
|
4454
|
-
|
|
4452
|
+
Eo as substring,
|
|
4453
|
+
ui as sum,
|
|
4454
|
+
zi as table,
|
|
4455
4455
|
YA as transform,
|
|
4456
4456
|
pA as transpile,
|
|
4457
|
-
|
|
4458
|
-
|
|
4457
|
+
go as trim,
|
|
4458
|
+
zo as union,
|
|
4459
4459
|
Zo as unionAll,
|
|
4460
|
-
|
|
4461
|
-
|
|
4462
|
-
|
|
4463
|
-
|
|
4464
|
-
|
|
4460
|
+
To as update,
|
|
4461
|
+
_i as upper,
|
|
4462
|
+
mo as validate,
|
|
4463
|
+
no as validateWithSchema,
|
|
4464
|
+
d as walk
|
|
4465
4465
|
};
|