@polyglot-sql/sdk 0.5.6 → 0.5.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/polyglot.esm.js +1087 -1087
- package/dist/index.d.cts +8 -0
- package/dist/index.d.ts +8 -0
- package/dist/polyglot_sql.wasm +0 -0
- package/package.json +1 -1
package/dist/cdn/polyglot.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const qI = new URL("../polyglot_sql.wasm",import.meta.url).href, pI = 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 pI = new URL("../polyglot_sql.wasm",import.meta.url).href, qI = 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.
|
|
@@ -53,7 +53,7 @@ class BA {
|
|
|
53
53
|
* @param {WasmExpr} value
|
|
54
54
|
*/
|
|
55
55
|
push(A, C) {
|
|
56
|
-
const B = o(A, I.__wbindgen_export, I.__wbindgen_export2), Q =
|
|
56
|
+
const B = o(A, I.__wbindgen_export, I.__wbindgen_export2), Q = N;
|
|
57
57
|
H(C, G), I.wasmassignmentarray_push(this.__wbg_ptr, B, Q, C.__wbg_ptr);
|
|
58
58
|
}
|
|
59
59
|
}
|
|
@@ -62,11 +62,11 @@ class u {
|
|
|
62
62
|
static __wrap(A) {
|
|
63
63
|
A = A >>> 0;
|
|
64
64
|
const C = Object.create(u.prototype);
|
|
65
|
-
return C.__wbg_ptr = A,
|
|
65
|
+
return C.__wbg_ptr = A, cA.register(C, C.__wbg_ptr, C), C;
|
|
66
66
|
}
|
|
67
67
|
__destroy_into_raw() {
|
|
68
68
|
const A = this.__wbg_ptr;
|
|
69
|
-
return this.__wbg_ptr = 0,
|
|
69
|
+
return this.__wbg_ptr = 0, cA.unregister(this), A;
|
|
70
70
|
}
|
|
71
71
|
free() {
|
|
72
72
|
const A = this.__destroy_into_raw();
|
|
@@ -100,7 +100,7 @@ class u {
|
|
|
100
100
|
*/
|
|
101
101
|
constructor() {
|
|
102
102
|
const A = I.wasmcasebuilder_new();
|
|
103
|
-
return this.__wbg_ptr = A >>> 0,
|
|
103
|
+
return this.__wbg_ptr = A >>> 0, cA.register(this, this.__wbg_ptr, this), this;
|
|
104
104
|
}
|
|
105
105
|
/**
|
|
106
106
|
* Generate SQL string for the given dialect.
|
|
@@ -110,12 +110,12 @@ class u {
|
|
|
110
110
|
to_sql(A) {
|
|
111
111
|
let C, B;
|
|
112
112
|
try {
|
|
113
|
-
const y = I.__wbindgen_add_to_stack_pointer(-16),
|
|
114
|
-
I.wasmcasebuilder_to_sql(y, this.__wbg_ptr,
|
|
115
|
-
var Q = M().getInt32(y + 0, !0), E = M().getInt32(y + 4, !0), D = M().getInt32(y + 8, !0),
|
|
116
|
-
if (
|
|
117
|
-
throw
|
|
118
|
-
return C =
|
|
113
|
+
const y = I.__wbindgen_add_to_stack_pointer(-16), c = o(A, I.__wbindgen_export, I.__wbindgen_export2), F = N;
|
|
114
|
+
I.wasmcasebuilder_to_sql(y, this.__wbg_ptr, c, F);
|
|
115
|
+
var Q = M().getInt32(y + 0, !0), E = M().getInt32(y + 4, !0), D = M().getInt32(y + 8, !0), k = M().getInt32(y + 12, !0), i = Q, K = E;
|
|
116
|
+
if (k)
|
|
117
|
+
throw i = 0, K = 0, U(D);
|
|
118
|
+
return C = i, B = K, S(i, K);
|
|
119
119
|
} finally {
|
|
120
120
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
121
121
|
}
|
|
@@ -160,7 +160,7 @@ class MA {
|
|
|
160
160
|
* @param {string} table_name
|
|
161
161
|
*/
|
|
162
162
|
constructor(A) {
|
|
163
|
-
const C = o(A, I.__wbindgen_export, I.__wbindgen_export2), B =
|
|
163
|
+
const C = o(A, I.__wbindgen_export, I.__wbindgen_export2), B = N, Q = I.wasmdeletebuilder_new(C, B);
|
|
164
164
|
return this.__wbg_ptr = Q >>> 0, lA.register(this, this.__wbg_ptr, this), this;
|
|
165
165
|
}
|
|
166
166
|
/**
|
|
@@ -171,12 +171,12 @@ class MA {
|
|
|
171
171
|
to_sql(A) {
|
|
172
172
|
let C, B;
|
|
173
173
|
try {
|
|
174
|
-
const y = I.__wbindgen_add_to_stack_pointer(-16),
|
|
175
|
-
I.wasmdeletebuilder_to_sql(y, this.__wbg_ptr,
|
|
176
|
-
var Q = M().getInt32(y + 0, !0), E = M().getInt32(y + 4, !0), D = M().getInt32(y + 8, !0),
|
|
177
|
-
if (
|
|
178
|
-
throw
|
|
179
|
-
return C =
|
|
174
|
+
const y = I.__wbindgen_add_to_stack_pointer(-16), c = o(A, I.__wbindgen_export, I.__wbindgen_export2), F = N;
|
|
175
|
+
I.wasmdeletebuilder_to_sql(y, this.__wbg_ptr, c, F);
|
|
176
|
+
var Q = M().getInt32(y + 0, !0), E = M().getInt32(y + 4, !0), D = M().getInt32(y + 8, !0), k = M().getInt32(y + 12, !0), i = Q, K = E;
|
|
177
|
+
if (k)
|
|
178
|
+
throw i = 0, K = 0, U(D);
|
|
179
|
+
return C = i, B = K, S(i, K);
|
|
180
180
|
} finally {
|
|
181
181
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
182
182
|
}
|
|
@@ -220,7 +220,7 @@ class G {
|
|
|
220
220
|
* @returns {WasmExpr}
|
|
221
221
|
*/
|
|
222
222
|
alias(A) {
|
|
223
|
-
const C = o(A, I.__wbindgen_export, I.__wbindgen_export2), B =
|
|
223
|
+
const C = o(A, I.__wbindgen_export, I.__wbindgen_export2), B = N, Q = I.wasmexpr_alias(this.__wbg_ptr, C, B);
|
|
224
224
|
return G.__wrap(Q);
|
|
225
225
|
}
|
|
226
226
|
/**
|
|
@@ -258,7 +258,7 @@ class G {
|
|
|
258
258
|
* @returns {WasmExpr}
|
|
259
259
|
*/
|
|
260
260
|
cast(A) {
|
|
261
|
-
const C = o(A, I.__wbindgen_export, I.__wbindgen_export2), B =
|
|
261
|
+
const C = o(A, I.__wbindgen_export, I.__wbindgen_export2), B = N, Q = I.wasmexpr_cast(this.__wbg_ptr, C, B);
|
|
262
262
|
return G.__wrap(Q);
|
|
263
263
|
}
|
|
264
264
|
/**
|
|
@@ -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
|
}
|
|
@@ -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),
|
|
471
|
-
I.wasmexpr_to_sql(y, this.__wbg_ptr,
|
|
472
|
-
var Q = M().getInt32(y + 0, !0), E = M().getInt32(y + 4, !0), D = M().getInt32(y + 8, !0),
|
|
473
|
-
if (
|
|
474
|
-
throw
|
|
475
|
-
return C =
|
|
470
|
+
const y = I.__wbindgen_add_to_stack_pointer(-16), c = o(A, I.__wbindgen_export, I.__wbindgen_export2), F = N;
|
|
471
|
+
I.wasmexpr_to_sql(y, this.__wbg_ptr, c, F);
|
|
472
|
+
var Q = M().getInt32(y + 0, !0), E = M().getInt32(y + 4, !0), D = M().getInt32(y + 8, !0), k = M().getInt32(y + 12, !0), i = Q, K = E;
|
|
473
|
+
if (k)
|
|
474
|
+
throw i = 0, K = 0, U(D);
|
|
475
|
+
return C = i, B = K, S(i, 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;
|
|
@@ -524,7 +524,7 @@ class O {
|
|
|
524
524
|
* @param {string} name
|
|
525
525
|
*/
|
|
526
526
|
push_col(A) {
|
|
527
|
-
const C = o(A, I.__wbindgen_export, I.__wbindgen_export2), B =
|
|
527
|
+
const C = o(A, I.__wbindgen_export, I.__wbindgen_export2), B = N;
|
|
528
528
|
I.wasmexprarray_push_col(this.__wbg_ptr, C, B);
|
|
529
529
|
}
|
|
530
530
|
/**
|
|
@@ -552,12 +552,12 @@ class O {
|
|
|
552
552
|
* @param {string} value
|
|
553
553
|
*/
|
|
554
554
|
push_str(A) {
|
|
555
|
-
const C = o(A, I.__wbindgen_export, I.__wbindgen_export2), B =
|
|
555
|
+
const C = o(A, I.__wbindgen_export, I.__wbindgen_export2), B = N;
|
|
556
556
|
I.wasmexprarray_push_str(this.__wbg_ptr, C, B);
|
|
557
557
|
}
|
|
558
558
|
}
|
|
559
|
-
Symbol.dispose && (
|
|
560
|
-
class
|
|
559
|
+
Symbol.dispose && (P.prototype[Symbol.dispose] = P.prototype.free);
|
|
560
|
+
class kA {
|
|
561
561
|
__destroy_into_raw() {
|
|
562
562
|
const A = this.__wbg_ptr;
|
|
563
563
|
return this.__wbg_ptr = 0, mA.unregister(this), A;
|
|
@@ -587,7 +587,7 @@ class NA {
|
|
|
587
587
|
* @param {string[]} cols
|
|
588
588
|
*/
|
|
589
589
|
columns(A) {
|
|
590
|
-
const C =
|
|
590
|
+
const C = LA(A, I.__wbindgen_export), B = N;
|
|
591
591
|
I.wasminsertbuilder_columns(this.__wbg_ptr, C, B);
|
|
592
592
|
}
|
|
593
593
|
/**
|
|
@@ -595,7 +595,7 @@ class NA {
|
|
|
595
595
|
* @param {string} table_name
|
|
596
596
|
*/
|
|
597
597
|
constructor(A) {
|
|
598
|
-
const C = o(A, I.__wbindgen_export, I.__wbindgen_export2), B =
|
|
598
|
+
const C = o(A, I.__wbindgen_export, I.__wbindgen_export2), B = N, Q = I.wasminsertbuilder_new(C, B);
|
|
599
599
|
return this.__wbg_ptr = Q >>> 0, mA.register(this, this.__wbg_ptr, this), this;
|
|
600
600
|
}
|
|
601
601
|
/**
|
|
@@ -605,7 +605,7 @@ class NA {
|
|
|
605
605
|
query(A) {
|
|
606
606
|
try {
|
|
607
607
|
const Q = I.__wbindgen_add_to_stack_pointer(-16);
|
|
608
|
-
H(A,
|
|
608
|
+
H(A, d), I.wasminsertbuilder_query(Q, this.__wbg_ptr, A.__wbg_ptr);
|
|
609
609
|
var C = M().getInt32(Q + 0, !0), B = M().getInt32(Q + 4, !0);
|
|
610
610
|
if (B)
|
|
611
611
|
throw U(C);
|
|
@@ -621,12 +621,12 @@ class NA {
|
|
|
621
621
|
to_sql(A) {
|
|
622
622
|
let C, B;
|
|
623
623
|
try {
|
|
624
|
-
const y = I.__wbindgen_add_to_stack_pointer(-16),
|
|
625
|
-
I.wasminsertbuilder_to_sql(y, this.__wbg_ptr,
|
|
626
|
-
var Q = M().getInt32(y + 0, !0), E = M().getInt32(y + 4, !0), D = M().getInt32(y + 8, !0),
|
|
627
|
-
if (
|
|
628
|
-
throw
|
|
629
|
-
return C =
|
|
624
|
+
const y = I.__wbindgen_add_to_stack_pointer(-16), c = o(A, I.__wbindgen_export, I.__wbindgen_export2), F = N;
|
|
625
|
+
I.wasminsertbuilder_to_sql(y, this.__wbg_ptr, c, F);
|
|
626
|
+
var Q = M().getInt32(y + 0, !0), E = M().getInt32(y + 4, !0), D = M().getInt32(y + 8, !0), k = M().getInt32(y + 12, !0), i = Q, K = E;
|
|
627
|
+
if (k)
|
|
628
|
+
throw i = 0, K = 0, U(D);
|
|
629
|
+
return C = i, B = K, S(i, K);
|
|
630
630
|
} finally {
|
|
631
631
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
632
632
|
}
|
|
@@ -636,11 +636,11 @@ class NA {
|
|
|
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
|
-
Symbol.dispose && (
|
|
643
|
-
class
|
|
642
|
+
Symbol.dispose && (kA.prototype[Symbol.dispose] = kA.prototype.free);
|
|
643
|
+
class NA {
|
|
644
644
|
__destroy_into_raw() {
|
|
645
645
|
const A = this.__wbg_ptr;
|
|
646
646
|
return this.__wbg_ptr = 0, uA.unregister(this), A;
|
|
@@ -670,7 +670,7 @@ class iA {
|
|
|
670
670
|
* @param {string} target
|
|
671
671
|
*/
|
|
672
672
|
constructor(A) {
|
|
673
|
-
const C = o(A, I.__wbindgen_export, I.__wbindgen_export2), B =
|
|
673
|
+
const C = o(A, I.__wbindgen_export, I.__wbindgen_export2), B = N, Q = I.wasmmergebuilder_new(C, B);
|
|
674
674
|
return this.__wbg_ptr = Q >>> 0, uA.register(this, this.__wbg_ptr, this), this;
|
|
675
675
|
}
|
|
676
676
|
/**
|
|
@@ -681,12 +681,12 @@ class iA {
|
|
|
681
681
|
to_sql(A) {
|
|
682
682
|
let C, B;
|
|
683
683
|
try {
|
|
684
|
-
const y = I.__wbindgen_add_to_stack_pointer(-16),
|
|
685
|
-
I.wasmmergebuilder_to_sql(y, this.__wbg_ptr,
|
|
686
|
-
var Q = M().getInt32(y + 0, !0), E = M().getInt32(y + 4, !0), D = M().getInt32(y + 8, !0),
|
|
687
|
-
if (
|
|
688
|
-
throw
|
|
689
|
-
return C =
|
|
684
|
+
const y = I.__wbindgen_add_to_stack_pointer(-16), c = o(A, I.__wbindgen_export, I.__wbindgen_export2), F = N;
|
|
685
|
+
I.wasmmergebuilder_to_sql(y, this.__wbg_ptr, c, F);
|
|
686
|
+
var Q = M().getInt32(y + 0, !0), E = M().getInt32(y + 4, !0), D = M().getInt32(y + 8, !0), k = M().getInt32(y + 12, !0), i = Q, K = E;
|
|
687
|
+
if (k)
|
|
688
|
+
throw i = 0, K = 0, U(D);
|
|
689
|
+
return C = i, B = K, S(i, K);
|
|
690
690
|
} finally {
|
|
691
691
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
692
692
|
}
|
|
@@ -697,7 +697,7 @@ class iA {
|
|
|
697
697
|
* @param {WasmExpr} on
|
|
698
698
|
*/
|
|
699
699
|
using(A, C) {
|
|
700
|
-
const B = o(A, I.__wbindgen_export, I.__wbindgen_export2), Q =
|
|
700
|
+
const B = o(A, I.__wbindgen_export, I.__wbindgen_export2), Q = N;
|
|
701
701
|
H(C, G), I.wasmmergebuilder_using(this.__wbg_ptr, B, Q, C.__wbg_ptr);
|
|
702
702
|
}
|
|
703
703
|
/**
|
|
@@ -719,15 +719,15 @@ class iA {
|
|
|
719
719
|
* @param {WasmExprArray} values
|
|
720
720
|
*/
|
|
721
721
|
when_not_matched_insert(A, C) {
|
|
722
|
-
const B =
|
|
723
|
-
H(C,
|
|
722
|
+
const B = LA(A, I.__wbindgen_export), Q = N;
|
|
723
|
+
H(C, P), I.wasmmergebuilder_when_not_matched_insert(this.__wbg_ptr, B, Q, C.__wbg_ptr);
|
|
724
724
|
}
|
|
725
725
|
}
|
|
726
|
-
Symbol.dispose && (
|
|
727
|
-
class
|
|
726
|
+
Symbol.dispose && (NA.prototype[Symbol.dispose] = NA.prototype.free);
|
|
727
|
+
class d {
|
|
728
728
|
__destroy_into_raw() {
|
|
729
729
|
const A = this.__wbg_ptr;
|
|
730
|
-
return this.__wbg_ptr = 0,
|
|
730
|
+
return this.__wbg_ptr = 0, bA.unregister(this), A;
|
|
731
731
|
}
|
|
732
732
|
free() {
|
|
733
733
|
const A = this.__destroy_into_raw();
|
|
@@ -754,7 +754,7 @@ class x {
|
|
|
754
754
|
* @param {string} table
|
|
755
755
|
*/
|
|
756
756
|
cross_join(A) {
|
|
757
|
-
const C = o(A, I.__wbindgen_export, I.__wbindgen_export2), B =
|
|
757
|
+
const C = o(A, I.__wbindgen_export, I.__wbindgen_export2), B = N;
|
|
758
758
|
I.wasmselectbuilder_cross_join(this.__wbg_ptr, C, B);
|
|
759
759
|
}
|
|
760
760
|
/**
|
|
@@ -764,8 +764,8 @@ class x {
|
|
|
764
764
|
*/
|
|
765
765
|
ctas(A) {
|
|
766
766
|
try {
|
|
767
|
-
const E = I.__wbindgen_add_to_stack_pointer(-16), D = o(A, I.__wbindgen_export, I.__wbindgen_export2),
|
|
768
|
-
I.wasmselectbuilder_ctas(E, this.__wbg_ptr, D,
|
|
767
|
+
const E = I.__wbindgen_add_to_stack_pointer(-16), D = o(A, I.__wbindgen_export, I.__wbindgen_export2), k = N;
|
|
768
|
+
I.wasmselectbuilder_ctas(E, this.__wbg_ptr, D, k);
|
|
769
769
|
var C = M().getInt32(E + 0, !0), B = M().getInt32(E + 4, !0), Q = M().getInt32(E + 8, !0);
|
|
770
770
|
if (Q)
|
|
771
771
|
throw U(B);
|
|
@@ -783,12 +783,12 @@ class x {
|
|
|
783
783
|
ctas_sql(A, C) {
|
|
784
784
|
let B, Q;
|
|
785
785
|
try {
|
|
786
|
-
const
|
|
787
|
-
I.wasmselectbuilder_ctas_sql(
|
|
788
|
-
var E = M().getInt32(
|
|
789
|
-
if (
|
|
790
|
-
throw K = 0, y = 0, U(
|
|
791
|
-
return B = K, Q = y,
|
|
786
|
+
const c = I.__wbindgen_add_to_stack_pointer(-16), F = o(A, I.__wbindgen_export, I.__wbindgen_export2), q = N, j = o(C, I.__wbindgen_export, I.__wbindgen_export2), V = N;
|
|
787
|
+
I.wasmselectbuilder_ctas_sql(c, this.__wbg_ptr, F, q, j, V);
|
|
788
|
+
var E = M().getInt32(c + 0, !0), D = M().getInt32(c + 4, !0), k = M().getInt32(c + 8, !0), i = M().getInt32(c + 12, !0), K = E, y = D;
|
|
789
|
+
if (i)
|
|
790
|
+
throw K = 0, y = 0, U(k);
|
|
791
|
+
return B = K, Q = y, S(K, y);
|
|
792
792
|
} finally {
|
|
793
793
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, Q, 1);
|
|
794
794
|
}
|
|
@@ -807,11 +807,11 @@ class x {
|
|
|
807
807
|
except_(A) {
|
|
808
808
|
try {
|
|
809
809
|
const E = I.__wbindgen_add_to_stack_pointer(-16);
|
|
810
|
-
H(A,
|
|
810
|
+
H(A, d), I.wasmselectbuilder_except_(E, this.__wbg_ptr, A.__wbg_ptr);
|
|
811
811
|
var C = M().getInt32(E + 0, !0), B = M().getInt32(E + 4, !0), Q = M().getInt32(E + 8, !0);
|
|
812
812
|
if (Q)
|
|
813
813
|
throw U(B);
|
|
814
|
-
return
|
|
814
|
+
return W.__wrap(C);
|
|
815
815
|
} finally {
|
|
816
816
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
817
817
|
}
|
|
@@ -827,7 +827,7 @@ class x {
|
|
|
827
827
|
* @param {string} table
|
|
828
828
|
*/
|
|
829
829
|
from(A) {
|
|
830
|
-
const C = o(A, I.__wbindgen_export, I.__wbindgen_export2), B =
|
|
830
|
+
const C = o(A, I.__wbindgen_export, I.__wbindgen_export2), B = N;
|
|
831
831
|
I.wasmselectbuilder_from(this.__wbg_ptr, C, B);
|
|
832
832
|
}
|
|
833
833
|
/**
|
|
@@ -842,7 +842,7 @@ class x {
|
|
|
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.
|
|
@@ -856,7 +856,7 @@ class x {
|
|
|
856
856
|
* @param {string} hint_text
|
|
857
857
|
*/
|
|
858
858
|
hint(A) {
|
|
859
|
-
const C = o(A, I.__wbindgen_export, I.__wbindgen_export2), B =
|
|
859
|
+
const C = o(A, I.__wbindgen_export, I.__wbindgen_export2), B = N;
|
|
860
860
|
I.wasmselectbuilder_hint(this.__wbg_ptr, C, B);
|
|
861
861
|
}
|
|
862
862
|
/**
|
|
@@ -867,11 +867,11 @@ class x {
|
|
|
867
867
|
intersect(A) {
|
|
868
868
|
try {
|
|
869
869
|
const E = I.__wbindgen_add_to_stack_pointer(-16);
|
|
870
|
-
H(A,
|
|
870
|
+
H(A, d), I.wasmselectbuilder_intersect(E, this.__wbg_ptr, A.__wbg_ptr);
|
|
871
871
|
var C = M().getInt32(E + 0, !0), B = M().getInt32(E + 4, !0), Q = M().getInt32(E + 8, !0);
|
|
872
872
|
if (Q)
|
|
873
873
|
throw U(B);
|
|
874
|
-
return
|
|
874
|
+
return W.__wrap(C);
|
|
875
875
|
} finally {
|
|
876
876
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
877
877
|
}
|
|
@@ -882,7 +882,7 @@ class x {
|
|
|
882
882
|
* @param {WasmExpr} on
|
|
883
883
|
*/
|
|
884
884
|
join(A, C) {
|
|
885
|
-
const B = o(A, I.__wbindgen_export, I.__wbindgen_export2), Q =
|
|
885
|
+
const B = o(A, I.__wbindgen_export, I.__wbindgen_export2), Q = N;
|
|
886
886
|
H(C, G), I.wasmselectbuilder_join(this.__wbg_ptr, B, Q, C.__wbg_ptr);
|
|
887
887
|
}
|
|
888
888
|
/**
|
|
@@ -893,8 +893,8 @@ class x {
|
|
|
893
893
|
*/
|
|
894
894
|
lateral_view(A, C, B) {
|
|
895
895
|
H(A, G);
|
|
896
|
-
const Q = o(C, I.__wbindgen_export, I.__wbindgen_export2), E =
|
|
897
|
-
I.wasmselectbuilder_lateral_view(this.__wbg_ptr, A.__wbg_ptr, Q, E, D,
|
|
896
|
+
const Q = o(C, I.__wbindgen_export, I.__wbindgen_export2), E = N, D = LA(B, I.__wbindgen_export), k = N;
|
|
897
|
+
I.wasmselectbuilder_lateral_view(this.__wbg_ptr, A.__wbg_ptr, Q, E, D, k);
|
|
898
898
|
}
|
|
899
899
|
/**
|
|
900
900
|
* Add a LEFT JOIN.
|
|
@@ -902,7 +902,7 @@ class x {
|
|
|
902
902
|
* @param {WasmExpr} on
|
|
903
903
|
*/
|
|
904
904
|
left_join(A, C) {
|
|
905
|
-
const B = o(A, I.__wbindgen_export, I.__wbindgen_export2), Q =
|
|
905
|
+
const B = o(A, I.__wbindgen_export, I.__wbindgen_export2), Q = N;
|
|
906
906
|
H(C, G), I.wasmselectbuilder_left_join(this.__wbg_ptr, B, Q, C.__wbg_ptr);
|
|
907
907
|
}
|
|
908
908
|
/**
|
|
@@ -917,7 +917,7 @@ class x {
|
|
|
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, bA.register(this, this.__wbg_ptr, this), this;
|
|
921
921
|
}
|
|
922
922
|
/**
|
|
923
923
|
* Set the OFFSET clause.
|
|
@@ -931,7 +931,7 @@ class x {
|
|
|
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.
|
|
@@ -946,7 +946,7 @@ class x {
|
|
|
946
946
|
* @param {WasmExpr} on
|
|
947
947
|
*/
|
|
948
948
|
right_join(A, C) {
|
|
949
|
-
const B = o(A, I.__wbindgen_export, I.__wbindgen_export2), Q =
|
|
949
|
+
const B = o(A, I.__wbindgen_export, I.__wbindgen_export2), Q = N;
|
|
950
950
|
H(C, G), I.wasmselectbuilder_right_join(this.__wbg_ptr, B, Q, C.__wbg_ptr);
|
|
951
951
|
}
|
|
952
952
|
/**
|
|
@@ -954,7 +954,7 @@ class x {
|
|
|
954
954
|
* @param {string} name
|
|
955
955
|
*/
|
|
956
956
|
select_col(A) {
|
|
957
|
-
const C = o(A, I.__wbindgen_export, I.__wbindgen_export2), B =
|
|
957
|
+
const C = o(A, I.__wbindgen_export, I.__wbindgen_export2), B = N;
|
|
958
958
|
I.wasmselectbuilder_select_col(this.__wbg_ptr, C, B);
|
|
959
959
|
}
|
|
960
960
|
/**
|
|
@@ -969,7 +969,7 @@ class x {
|
|
|
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 x {
|
|
|
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 x {
|
|
|
992
992
|
to_sql(A) {
|
|
993
993
|
let C, B;
|
|
994
994
|
try {
|
|
995
|
-
const y = I.__wbindgen_add_to_stack_pointer(-16),
|
|
996
|
-
I.wasmselectbuilder_to_sql(y, this.__wbg_ptr,
|
|
997
|
-
var Q = M().getInt32(y + 0, !0), E = M().getInt32(y + 4, !0), D = M().getInt32(y + 8, !0),
|
|
998
|
-
if (
|
|
999
|
-
throw
|
|
1000
|
-
return C =
|
|
995
|
+
const y = I.__wbindgen_add_to_stack_pointer(-16), c = o(A, I.__wbindgen_export, I.__wbindgen_export2), F = N;
|
|
996
|
+
I.wasmselectbuilder_to_sql(y, this.__wbg_ptr, c, F);
|
|
997
|
+
var Q = M().getInt32(y + 0, !0), E = M().getInt32(y + 4, !0), D = M().getInt32(y + 8, !0), k = M().getInt32(y + 12, !0), i = Q, K = E;
|
|
998
|
+
if (k)
|
|
999
|
+
throw i = 0, K = 0, U(D);
|
|
1000
|
+
return C = i, B = K, S(i, 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 x {
|
|
|
1010
1010
|
union(A) {
|
|
1011
1011
|
try {
|
|
1012
1012
|
const E = I.__wbindgen_add_to_stack_pointer(-16);
|
|
1013
|
-
H(A,
|
|
1013
|
+
H(A, d), I.wasmselectbuilder_union(E, this.__wbg_ptr, A.__wbg_ptr);
|
|
1014
1014
|
var C = M().getInt32(E + 0, !0), B = M().getInt32(E + 4, !0), Q = M().getInt32(E + 8, !0);
|
|
1015
1015
|
if (Q)
|
|
1016
1016
|
throw U(B);
|
|
1017
|
-
return
|
|
1017
|
+
return W.__wrap(C);
|
|
1018
1018
|
} finally {
|
|
1019
1019
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
1020
1020
|
}
|
|
@@ -1027,11 +1027,11 @@ class x {
|
|
|
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, d), I.wasmselectbuilder_union_all(E, this.__wbg_ptr, A.__wbg_ptr);
|
|
1031
1031
|
var C = M().getInt32(E + 0, !0), B = M().getInt32(E + 4, !0), Q = M().getInt32(E + 8, !0);
|
|
1032
1032
|
if (Q)
|
|
1033
1033
|
throw U(B);
|
|
1034
|
-
return
|
|
1034
|
+
return W.__wrap(C);
|
|
1035
1035
|
} finally {
|
|
1036
1036
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
1037
1037
|
}
|
|
@@ -1048,7 +1048,7 @@ class x {
|
|
|
1048
1048
|
* @param {string} sql
|
|
1049
1049
|
*/
|
|
1050
1050
|
where_sql(A) {
|
|
1051
|
-
const C = o(A, I.__wbindgen_export, I.__wbindgen_export2), B =
|
|
1051
|
+
const C = o(A, I.__wbindgen_export, I.__wbindgen_export2), B = N;
|
|
1052
1052
|
I.wasmselectbuilder_where_sql(this.__wbg_ptr, C, B);
|
|
1053
1053
|
}
|
|
1054
1054
|
/**
|
|
@@ -1058,8 +1058,8 @@ class x {
|
|
|
1058
1058
|
*/
|
|
1059
1059
|
window(A, C) {
|
|
1060
1060
|
try {
|
|
1061
|
-
const E = I.__wbindgen_add_to_stack_pointer(-16), D = o(A, I.__wbindgen_export, I.__wbindgen_export2),
|
|
1062
|
-
H(C, QA), I.wasmselectbuilder_window(E, this.__wbg_ptr, D,
|
|
1061
|
+
const E = I.__wbindgen_add_to_stack_pointer(-16), D = o(A, I.__wbindgen_export, I.__wbindgen_export2), k = N;
|
|
1062
|
+
H(C, QA), I.wasmselectbuilder_window(E, this.__wbg_ptr, D, k, C.__wbg_ptr);
|
|
1063
1063
|
var B = M().getInt32(E + 0, !0), Q = M().getInt32(E + 4, !0);
|
|
1064
1064
|
if (Q)
|
|
1065
1065
|
throw U(B);
|
|
@@ -1068,16 +1068,16 @@ class x {
|
|
|
1068
1068
|
}
|
|
1069
1069
|
}
|
|
1070
1070
|
}
|
|
1071
|
-
Symbol.dispose && (
|
|
1072
|
-
class
|
|
1071
|
+
Symbol.dispose && (d.prototype[Symbol.dispose] = d.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, vA.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, vA.unregister(this), A;
|
|
1081
1081
|
}
|
|
1082
1082
|
free() {
|
|
1083
1083
|
const A = this.__destroy_into_raw();
|
|
@@ -1118,7 +1118,7 @@ class V {
|
|
|
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,18 +1128,18 @@ class V {
|
|
|
1128
1128
|
to_sql(A) {
|
|
1129
1129
|
let C, B;
|
|
1130
1130
|
try {
|
|
1131
|
-
const y = I.__wbindgen_add_to_stack_pointer(-16),
|
|
1132
|
-
I.wasmsetopbuilder_to_sql(y, this.__wbg_ptr,
|
|
1133
|
-
var Q = M().getInt32(y + 0, !0), E = M().getInt32(y + 4, !0), D = M().getInt32(y + 8, !0),
|
|
1134
|
-
if (
|
|
1135
|
-
throw
|
|
1136
|
-
return C =
|
|
1131
|
+
const y = I.__wbindgen_add_to_stack_pointer(-16), c = o(A, I.__wbindgen_export, I.__wbindgen_export2), F = N;
|
|
1132
|
+
I.wasmsetopbuilder_to_sql(y, this.__wbg_ptr, c, F);
|
|
1133
|
+
var Q = M().getInt32(y + 0, !0), E = M().getInt32(y + 4, !0), D = M().getInt32(y + 8, !0), k = M().getInt32(y + 12, !0), i = Q, K = E;
|
|
1134
|
+
if (k)
|
|
1135
|
+
throw i = 0, K = 0, U(D);
|
|
1136
|
+
return C = i, B = K, S(i, 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 oA {
|
|
1144
1144
|
__destroy_into_raw() {
|
|
1145
1145
|
const A = this.__wbg_ptr;
|
|
@@ -1170,7 +1170,7 @@ class oA {
|
|
|
1170
1170
|
* @param {string} table
|
|
1171
1171
|
*/
|
|
1172
1172
|
from(A) {
|
|
1173
|
-
const C = o(A, I.__wbindgen_export, I.__wbindgen_export2), B =
|
|
1173
|
+
const C = o(A, I.__wbindgen_export, I.__wbindgen_export2), B = N;
|
|
1174
1174
|
I.wasmupdatebuilder_from(this.__wbg_ptr, C, B);
|
|
1175
1175
|
}
|
|
1176
1176
|
/**
|
|
@@ -1178,7 +1178,7 @@ class oA {
|
|
|
1178
1178
|
* @param {string} table_name
|
|
1179
1179
|
*/
|
|
1180
1180
|
constructor(A) {
|
|
1181
|
-
const C = o(A, I.__wbindgen_export, I.__wbindgen_export2), B =
|
|
1181
|
+
const C = o(A, I.__wbindgen_export, I.__wbindgen_export2), B = N, Q = I.wasmupdatebuilder_new(C, B);
|
|
1182
1182
|
return this.__wbg_ptr = Q >>> 0, XA.register(this, this.__wbg_ptr, this), this;
|
|
1183
1183
|
}
|
|
1184
1184
|
/**
|
|
@@ -1187,7 +1187,7 @@ class oA {
|
|
|
1187
1187
|
* @param {WasmExpr} value
|
|
1188
1188
|
*/
|
|
1189
1189
|
set(A, C) {
|
|
1190
|
-
const B = o(A, I.__wbindgen_export, I.__wbindgen_export2), Q =
|
|
1190
|
+
const B = o(A, I.__wbindgen_export, I.__wbindgen_export2), Q = N;
|
|
1191
1191
|
H(C, G), I.wasmupdatebuilder_set(this.__wbg_ptr, B, Q, C.__wbg_ptr);
|
|
1192
1192
|
}
|
|
1193
1193
|
/**
|
|
@@ -1198,12 +1198,12 @@ class oA {
|
|
|
1198
1198
|
to_sql(A) {
|
|
1199
1199
|
let C, B;
|
|
1200
1200
|
try {
|
|
1201
|
-
const y = I.__wbindgen_add_to_stack_pointer(-16),
|
|
1202
|
-
I.wasmupdatebuilder_to_sql(y, this.__wbg_ptr,
|
|
1203
|
-
var Q = M().getInt32(y + 0, !0), E = M().getInt32(y + 4, !0), D = M().getInt32(y + 8, !0),
|
|
1204
|
-
if (
|
|
1205
|
-
throw
|
|
1206
|
-
return C =
|
|
1201
|
+
const y = I.__wbindgen_add_to_stack_pointer(-16), c = o(A, I.__wbindgen_export, I.__wbindgen_export2), F = N;
|
|
1202
|
+
I.wasmupdatebuilder_to_sql(y, this.__wbg_ptr, c, F);
|
|
1203
|
+
var Q = M().getInt32(y + 0, !0), E = M().getInt32(y + 4, !0), D = M().getInt32(y + 8, !0), k = M().getInt32(y + 12, !0), i = Q, K = E;
|
|
1204
|
+
if (k)
|
|
1205
|
+
throw i = 0, K = 0, U(D);
|
|
1206
|
+
return C = i, B = K, S(i, K);
|
|
1207
1207
|
} finally {
|
|
1208
1208
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1209
1209
|
}
|
|
@@ -1238,54 +1238,54 @@ 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 PI(g, A) {
|
|
1253
1253
|
let C, B;
|
|
1254
1254
|
try {
|
|
1255
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16),
|
|
1256
|
-
I.analyze_query(D,
|
|
1255
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), k = o(g, I.__wbindgen_export, I.__wbindgen_export2), i = N, K = o(A, I.__wbindgen_export, I.__wbindgen_export2), y = N;
|
|
1256
|
+
I.analyze_query(D, k, i, K, y);
|
|
1257
1257
|
var Q = M().getInt32(D + 0, !0), E = M().getInt32(D + 4, !0);
|
|
1258
|
-
return C = Q, B = E,
|
|
1258
|
+
return C = Q, B = E, S(Q, E);
|
|
1259
1259
|
} finally {
|
|
1260
1260
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1261
1261
|
}
|
|
1262
1262
|
}
|
|
1263
|
-
function
|
|
1264
|
-
const C = o(g, I.__wbindgen_export, I.__wbindgen_export2), B =
|
|
1263
|
+
function OI(g, A) {
|
|
1264
|
+
const C = o(g, I.__wbindgen_export, I.__wbindgen_export2), B = N, Q = I.analyze_query_value(C, B, a(A));
|
|
1265
1265
|
return U(Q);
|
|
1266
1266
|
}
|
|
1267
|
-
function
|
|
1267
|
+
function jI(g, A, C) {
|
|
1268
1268
|
let B, Q;
|
|
1269
1269
|
try {
|
|
1270
|
-
const
|
|
1271
|
-
I.annotate_types(
|
|
1272
|
-
var E = M().getInt32(
|
|
1273
|
-
return B = E, Q = D,
|
|
1270
|
+
const k = I.__wbindgen_add_to_stack_pointer(-16), i = o(g, I.__wbindgen_export, I.__wbindgen_export2), K = N, y = o(A, I.__wbindgen_export, I.__wbindgen_export2), c = N, F = o(C, I.__wbindgen_export, I.__wbindgen_export2), q = N;
|
|
1271
|
+
I.annotate_types(k, i, K, y, c, F, q);
|
|
1272
|
+
var E = M().getInt32(k + 0, !0), D = M().getInt32(k + 4, !0);
|
|
1273
|
+
return B = E, Q = D, S(E, D);
|
|
1274
1274
|
} finally {
|
|
1275
1275
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, Q, 1);
|
|
1276
1276
|
}
|
|
1277
1277
|
}
|
|
1278
|
-
function
|
|
1279
|
-
const B = o(g, I.__wbindgen_export, I.__wbindgen_export2), Q =
|
|
1278
|
+
function TI(g, A, C) {
|
|
1279
|
+
const B = o(g, I.__wbindgen_export, I.__wbindgen_export2), Q = N, E = o(A, I.__wbindgen_export, I.__wbindgen_export2), D = N, k = o(C, I.__wbindgen_export, I.__wbindgen_export2), i = N, K = I.annotate_types_value(B, Q, E, D, k, i);
|
|
1280
1280
|
return U(K);
|
|
1281
1281
|
}
|
|
1282
1282
|
function Ag(g, A, C) {
|
|
1283
1283
|
let B, Q;
|
|
1284
1284
|
try {
|
|
1285
|
-
const
|
|
1286
|
-
I.ast_add_where(
|
|
1287
|
-
var E = M().getInt32(
|
|
1288
|
-
return B = E, Q = D,
|
|
1285
|
+
const k = I.__wbindgen_add_to_stack_pointer(-16), i = o(g, I.__wbindgen_export, I.__wbindgen_export2), K = N, y = o(A, I.__wbindgen_export, I.__wbindgen_export2), c = N;
|
|
1286
|
+
I.ast_add_where(k, i, K, y, c, C);
|
|
1287
|
+
var E = M().getInt32(k + 0, !0), D = M().getInt32(k + 4, !0);
|
|
1288
|
+
return B = E, Q = D, S(E, D);
|
|
1289
1289
|
} finally {
|
|
1290
1290
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, Q, 1);
|
|
1291
1291
|
}
|
|
@@ -1293,10 +1293,10 @@ function Ag(g, A, C) {
|
|
|
1293
1293
|
function gg(g) {
|
|
1294
1294
|
let A, C;
|
|
1295
1295
|
try {
|
|
1296
|
-
const E = I.__wbindgen_add_to_stack_pointer(-16), D = o(g, I.__wbindgen_export, I.__wbindgen_export2),
|
|
1297
|
-
I.ast_get_aggregate_functions(E, D,
|
|
1296
|
+
const E = I.__wbindgen_add_to_stack_pointer(-16), D = o(g, I.__wbindgen_export, I.__wbindgen_export2), k = N;
|
|
1297
|
+
I.ast_get_aggregate_functions(E, D, k);
|
|
1298
1298
|
var B = M().getInt32(E + 0, !0), Q = M().getInt32(E + 4, !0);
|
|
1299
|
-
return A = B, C = Q,
|
|
1299
|
+
return A = B, C = Q, S(B, Q);
|
|
1300
1300
|
} finally {
|
|
1301
1301
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
|
|
1302
1302
|
}
|
|
@@ -1304,10 +1304,10 @@ function gg(g) {
|
|
|
1304
1304
|
function Ig(g) {
|
|
1305
1305
|
let A, C;
|
|
1306
1306
|
try {
|
|
1307
|
-
const E = I.__wbindgen_add_to_stack_pointer(-16), D = o(g, I.__wbindgen_export, I.__wbindgen_export2),
|
|
1308
|
-
I.ast_get_column_names(E, D,
|
|
1307
|
+
const E = I.__wbindgen_add_to_stack_pointer(-16), D = o(g, I.__wbindgen_export, I.__wbindgen_export2), k = N;
|
|
1308
|
+
I.ast_get_column_names(E, D, k);
|
|
1309
1309
|
var B = M().getInt32(E + 0, !0), Q = M().getInt32(E + 4, !0);
|
|
1310
|
-
return A = B, C = Q,
|
|
1310
|
+
return A = B, C = Q, S(B, Q);
|
|
1311
1311
|
} finally {
|
|
1312
1312
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
|
|
1313
1313
|
}
|
|
@@ -1315,10 +1315,10 @@ function Ig(g) {
|
|
|
1315
1315
|
function Cg(g) {
|
|
1316
1316
|
let A, C;
|
|
1317
1317
|
try {
|
|
1318
|
-
const E = I.__wbindgen_add_to_stack_pointer(-16), D = o(g, I.__wbindgen_export, I.__wbindgen_export2),
|
|
1319
|
-
I.ast_get_functions(E, D,
|
|
1318
|
+
const E = I.__wbindgen_add_to_stack_pointer(-16), D = o(g, I.__wbindgen_export, I.__wbindgen_export2), k = N;
|
|
1319
|
+
I.ast_get_functions(E, D, k);
|
|
1320
1320
|
var B = M().getInt32(E + 0, !0), Q = M().getInt32(E + 4, !0);
|
|
1321
|
-
return A = B, C = Q,
|
|
1321
|
+
return A = B, C = Q, S(B, Q);
|
|
1322
1322
|
} finally {
|
|
1323
1323
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
|
|
1324
1324
|
}
|
|
@@ -1326,10 +1326,10 @@ function Cg(g) {
|
|
|
1326
1326
|
function Bg(g) {
|
|
1327
1327
|
let A, C;
|
|
1328
1328
|
try {
|
|
1329
|
-
const E = I.__wbindgen_add_to_stack_pointer(-16), D = o(g, I.__wbindgen_export, I.__wbindgen_export2),
|
|
1330
|
-
I.ast_get_literals(E, D,
|
|
1329
|
+
const E = I.__wbindgen_add_to_stack_pointer(-16), D = o(g, I.__wbindgen_export, I.__wbindgen_export2), k = N;
|
|
1330
|
+
I.ast_get_literals(E, D, k);
|
|
1331
1331
|
var B = M().getInt32(E + 0, !0), Q = M().getInt32(E + 4, !0);
|
|
1332
|
-
return A = B, C = Q,
|
|
1332
|
+
return A = B, C = Q, S(B, Q);
|
|
1333
1333
|
} finally {
|
|
1334
1334
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
|
|
1335
1335
|
}
|
|
@@ -1337,10 +1337,10 @@ function Bg(g) {
|
|
|
1337
1337
|
function Qg(g) {
|
|
1338
1338
|
let A, C;
|
|
1339
1339
|
try {
|
|
1340
|
-
const E = I.__wbindgen_add_to_stack_pointer(-16), D = o(g, I.__wbindgen_export, I.__wbindgen_export2),
|
|
1341
|
-
I.ast_get_subqueries(E, D,
|
|
1340
|
+
const E = I.__wbindgen_add_to_stack_pointer(-16), D = o(g, I.__wbindgen_export, I.__wbindgen_export2), k = N;
|
|
1341
|
+
I.ast_get_subqueries(E, D, k);
|
|
1342
1342
|
var B = M().getInt32(E + 0, !0), Q = M().getInt32(E + 4, !0);
|
|
1343
|
-
return A = B, C = Q,
|
|
1343
|
+
return A = B, C = Q, S(B, Q);
|
|
1344
1344
|
} finally {
|
|
1345
1345
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
|
|
1346
1346
|
}
|
|
@@ -1348,10 +1348,10 @@ function Qg(g) {
|
|
|
1348
1348
|
function Eg(g) {
|
|
1349
1349
|
let A, C;
|
|
1350
1350
|
try {
|
|
1351
|
-
const E = I.__wbindgen_add_to_stack_pointer(-16), D = o(g, I.__wbindgen_export, I.__wbindgen_export2),
|
|
1352
|
-
I.ast_get_table_names(E, D,
|
|
1351
|
+
const E = I.__wbindgen_add_to_stack_pointer(-16), D = o(g, I.__wbindgen_export, I.__wbindgen_export2), k = N;
|
|
1352
|
+
I.ast_get_table_names(E, D, k);
|
|
1353
1353
|
var B = M().getInt32(E + 0, !0), Q = M().getInt32(E + 4, !0);
|
|
1354
|
-
return A = B, C = Q,
|
|
1354
|
+
return A = B, C = Q, S(B, Q);
|
|
1355
1355
|
} finally {
|
|
1356
1356
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
|
|
1357
1357
|
}
|
|
@@ -1359,10 +1359,10 @@ function Eg(g) {
|
|
|
1359
1359
|
function Dg(g) {
|
|
1360
1360
|
let A, C;
|
|
1361
1361
|
try {
|
|
1362
|
-
const E = I.__wbindgen_add_to_stack_pointer(-16), D = o(g, I.__wbindgen_export, I.__wbindgen_export2),
|
|
1363
|
-
I.ast_get_tables(E, D,
|
|
1362
|
+
const E = I.__wbindgen_add_to_stack_pointer(-16), D = o(g, I.__wbindgen_export, I.__wbindgen_export2), k = N;
|
|
1363
|
+
I.ast_get_tables(E, D, k);
|
|
1364
1364
|
var B = M().getInt32(E + 0, !0), Q = M().getInt32(E + 4, !0);
|
|
1365
|
-
return A = B, C = Q,
|
|
1365
|
+
return A = B, C = Q, S(B, Q);
|
|
1366
1366
|
} finally {
|
|
1367
1367
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
|
|
1368
1368
|
}
|
|
@@ -1370,10 +1370,10 @@ function Dg(g) {
|
|
|
1370
1370
|
function wg(g) {
|
|
1371
1371
|
let A, C;
|
|
1372
1372
|
try {
|
|
1373
|
-
const E = I.__wbindgen_add_to_stack_pointer(-16), D = o(g, I.__wbindgen_export, I.__wbindgen_export2),
|
|
1374
|
-
I.ast_get_window_functions(E, D,
|
|
1373
|
+
const E = I.__wbindgen_add_to_stack_pointer(-16), D = o(g, I.__wbindgen_export, I.__wbindgen_export2), k = N;
|
|
1374
|
+
I.ast_get_window_functions(E, D, k);
|
|
1375
1375
|
var B = M().getInt32(E + 0, !0), Q = M().getInt32(E + 4, !0);
|
|
1376
|
-
return A = B, C = Q,
|
|
1376
|
+
return A = B, C = Q, S(B, Q);
|
|
1377
1377
|
} finally {
|
|
1378
1378
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
|
|
1379
1379
|
}
|
|
@@ -1381,32 +1381,32 @@ function wg(g) {
|
|
|
1381
1381
|
function Mg(g) {
|
|
1382
1382
|
let A, C;
|
|
1383
1383
|
try {
|
|
1384
|
-
const E = I.__wbindgen_add_to_stack_pointer(-16), D = o(g, I.__wbindgen_export, I.__wbindgen_export2),
|
|
1385
|
-
I.ast_node_count(E, D,
|
|
1384
|
+
const E = I.__wbindgen_add_to_stack_pointer(-16), D = o(g, I.__wbindgen_export, I.__wbindgen_export2), k = N;
|
|
1385
|
+
I.ast_node_count(E, D, k);
|
|
1386
1386
|
var B = M().getInt32(E + 0, !0), Q = M().getInt32(E + 4, !0);
|
|
1387
|
-
return A = B, C = Q,
|
|
1387
|
+
return A = B, C = Q, S(B, Q);
|
|
1388
1388
|
} finally {
|
|
1389
1389
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
|
|
1390
1390
|
}
|
|
1391
1391
|
}
|
|
1392
|
-
function
|
|
1392
|
+
function kg(g, A) {
|
|
1393
1393
|
let C, B;
|
|
1394
1394
|
try {
|
|
1395
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16),
|
|
1396
|
-
I.ast_qualify_columns(D,
|
|
1395
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), k = o(g, I.__wbindgen_export, I.__wbindgen_export2), i = N, K = o(A, I.__wbindgen_export, I.__wbindgen_export2), y = N;
|
|
1396
|
+
I.ast_qualify_columns(D, k, i, K, y);
|
|
1397
1397
|
var Q = M().getInt32(D + 0, !0), E = M().getInt32(D + 4, !0);
|
|
1398
|
-
return C = Q, B = E,
|
|
1398
|
+
return C = Q, B = E, S(Q, E);
|
|
1399
1399
|
} finally {
|
|
1400
1400
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1401
1401
|
}
|
|
1402
1402
|
}
|
|
1403
|
-
function
|
|
1403
|
+
function Ng(g, A) {
|
|
1404
1404
|
let C, B;
|
|
1405
1405
|
try {
|
|
1406
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16),
|
|
1407
|
-
I.ast_qualify_tables(D,
|
|
1406
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), k = o(g, I.__wbindgen_export, I.__wbindgen_export2), i = N, K = o(A, I.__wbindgen_export, I.__wbindgen_export2), y = N;
|
|
1407
|
+
I.ast_qualify_tables(D, k, i, K, y);
|
|
1408
1408
|
var Q = M().getInt32(D + 0, !0), E = M().getInt32(D + 4, !0);
|
|
1409
|
-
return C = Q, B = E,
|
|
1409
|
+
return C = Q, B = E, S(Q, E);
|
|
1410
1410
|
} finally {
|
|
1411
1411
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1412
1412
|
}
|
|
@@ -1414,21 +1414,21 @@ function ig(g, A) {
|
|
|
1414
1414
|
function og(g) {
|
|
1415
1415
|
let A, C;
|
|
1416
1416
|
try {
|
|
1417
|
-
const E = I.__wbindgen_add_to_stack_pointer(-16), D = o(g, I.__wbindgen_export, I.__wbindgen_export2),
|
|
1418
|
-
I.ast_remove_where(E, D,
|
|
1417
|
+
const E = I.__wbindgen_add_to_stack_pointer(-16), D = o(g, I.__wbindgen_export, I.__wbindgen_export2), k = N;
|
|
1418
|
+
I.ast_remove_where(E, D, k);
|
|
1419
1419
|
var B = M().getInt32(E + 0, !0), Q = M().getInt32(E + 4, !0);
|
|
1420
|
-
return A = B, C = Q,
|
|
1420
|
+
return A = B, C = Q, S(B, Q);
|
|
1421
1421
|
} finally {
|
|
1422
1422
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
|
|
1423
1423
|
}
|
|
1424
1424
|
}
|
|
1425
|
-
function
|
|
1425
|
+
function ig(g, A) {
|
|
1426
1426
|
let C, B;
|
|
1427
1427
|
try {
|
|
1428
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16),
|
|
1429
|
-
I.ast_rename_columns(D,
|
|
1428
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), k = o(g, I.__wbindgen_export, I.__wbindgen_export2), i = N, K = o(A, I.__wbindgen_export, I.__wbindgen_export2), y = N;
|
|
1429
|
+
I.ast_rename_columns(D, k, i, K, y);
|
|
1430
1430
|
var Q = M().getInt32(D + 0, !0), E = M().getInt32(D + 4, !0);
|
|
1431
|
-
return C = Q, B = E,
|
|
1431
|
+
return C = Q, B = E, S(Q, E);
|
|
1432
1432
|
} finally {
|
|
1433
1433
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1434
1434
|
}
|
|
@@ -1436,10 +1436,10 @@ function kg(g, A) {
|
|
|
1436
1436
|
function yg(g, A) {
|
|
1437
1437
|
let C, B;
|
|
1438
1438
|
try {
|
|
1439
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16),
|
|
1440
|
-
I.ast_rename_tables(D,
|
|
1439
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), k = o(g, I.__wbindgen_export, I.__wbindgen_export2), i = N, K = o(A, I.__wbindgen_export, I.__wbindgen_export2), y = N;
|
|
1440
|
+
I.ast_rename_tables(D, k, i, K, y);
|
|
1441
1441
|
var Q = M().getInt32(D + 0, !0), E = M().getInt32(D + 4, !0);
|
|
1442
|
-
return C = Q, B = E,
|
|
1442
|
+
return C = Q, B = E, S(Q, E);
|
|
1443
1443
|
} finally {
|
|
1444
1444
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1445
1445
|
}
|
|
@@ -1447,10 +1447,10 @@ function yg(g, A) {
|
|
|
1447
1447
|
function Kg(g, A, C) {
|
|
1448
1448
|
let B, Q;
|
|
1449
1449
|
try {
|
|
1450
|
-
const
|
|
1451
|
-
I.ast_rename_tables_with_options(
|
|
1452
|
-
var E = M().getInt32(
|
|
1453
|
-
return B = E, Q = D,
|
|
1450
|
+
const k = I.__wbindgen_add_to_stack_pointer(-16), i = o(g, I.__wbindgen_export, I.__wbindgen_export2), K = N, y = o(A, I.__wbindgen_export, I.__wbindgen_export2), c = N, F = o(C, I.__wbindgen_export, I.__wbindgen_export2), q = N;
|
|
1451
|
+
I.ast_rename_tables_with_options(k, i, K, y, c, F, q);
|
|
1452
|
+
var E = M().getInt32(k + 0, !0), D = M().getInt32(k + 4, !0);
|
|
1453
|
+
return B = E, Q = D, S(E, D);
|
|
1454
1454
|
} finally {
|
|
1455
1455
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, Q, 1);
|
|
1456
1456
|
}
|
|
@@ -1458,10 +1458,10 @@ function Kg(g, A, C) {
|
|
|
1458
1458
|
function Gg(g, A) {
|
|
1459
1459
|
let C, B;
|
|
1460
1460
|
try {
|
|
1461
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16),
|
|
1462
|
-
I.ast_set_distinct(D,
|
|
1461
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), k = o(g, I.__wbindgen_export, I.__wbindgen_export2), i = N;
|
|
1462
|
+
I.ast_set_distinct(D, k, i, A);
|
|
1463
1463
|
var Q = M().getInt32(D + 0, !0), E = M().getInt32(D + 4, !0);
|
|
1464
|
-
return C = Q, B = E,
|
|
1464
|
+
return C = Q, B = E, S(Q, E);
|
|
1465
1465
|
} finally {
|
|
1466
1466
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1467
1467
|
}
|
|
@@ -1469,10 +1469,10 @@ function Gg(g, A) {
|
|
|
1469
1469
|
function Yg(g, A) {
|
|
1470
1470
|
let C, B;
|
|
1471
1471
|
try {
|
|
1472
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16),
|
|
1473
|
-
I.ast_set_limit(D,
|
|
1472
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), k = o(g, I.__wbindgen_export, I.__wbindgen_export2), i = N;
|
|
1473
|
+
I.ast_set_limit(D, k, i, A);
|
|
1474
1474
|
var Q = M().getInt32(D + 0, !0), E = M().getInt32(D + 4, !0);
|
|
1475
|
-
return C = Q, B = E,
|
|
1475
|
+
return C = Q, B = E, S(Q, E);
|
|
1476
1476
|
} finally {
|
|
1477
1477
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1478
1478
|
}
|
|
@@ -1480,103 +1480,103 @@ function Yg(g, A) {
|
|
|
1480
1480
|
function Hg(g, A) {
|
|
1481
1481
|
let C, B;
|
|
1482
1482
|
try {
|
|
1483
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16),
|
|
1484
|
-
I.ast_set_offset(D,
|
|
1483
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), k = o(g, I.__wbindgen_export, I.__wbindgen_export2), i = N;
|
|
1484
|
+
I.ast_set_offset(D, k, i, A);
|
|
1485
1485
|
var Q = M().getInt32(D + 0, !0), E = M().getInt32(D + 4, !0);
|
|
1486
|
-
return C = Q, B = E,
|
|
1486
|
+
return C = Q, B = E, S(Q, E);
|
|
1487
1487
|
} finally {
|
|
1488
1488
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1489
1489
|
}
|
|
1490
1490
|
}
|
|
1491
|
-
function
|
|
1491
|
+
function cg(g, A) {
|
|
1492
1492
|
let C, B;
|
|
1493
1493
|
try {
|
|
1494
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16),
|
|
1495
|
-
I.ast_set_order_by(D,
|
|
1494
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), k = o(g, I.__wbindgen_export, I.__wbindgen_export2), i = N, K = o(A, I.__wbindgen_export, I.__wbindgen_export2), y = N;
|
|
1495
|
+
I.ast_set_order_by(D, k, i, K, y);
|
|
1496
1496
|
var Q = M().getInt32(D + 0, !0), E = M().getInt32(D + 4, !0);
|
|
1497
|
-
return C = Q, B = E,
|
|
1497
|
+
return C = Q, B = E, S(Q, E);
|
|
1498
1498
|
} finally {
|
|
1499
1499
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1500
1500
|
}
|
|
1501
1501
|
}
|
|
1502
|
-
function
|
|
1503
|
-
let D,
|
|
1502
|
+
function Sg(g, A, C, B, Q, E) {
|
|
1503
|
+
let D, k;
|
|
1504
1504
|
try {
|
|
1505
|
-
const y = I.__wbindgen_add_to_stack_pointer(-16),
|
|
1506
|
-
I.diff_sql(y,
|
|
1507
|
-
var
|
|
1508
|
-
return D =
|
|
1505
|
+
const y = I.__wbindgen_add_to_stack_pointer(-16), c = o(g, I.__wbindgen_export, I.__wbindgen_export2), F = N, q = o(A, I.__wbindgen_export, I.__wbindgen_export2), j = N, V = o(C, I.__wbindgen_export, I.__wbindgen_export2), n = N;
|
|
1506
|
+
I.diff_sql(y, c, F, q, j, V, n, B, Q, E);
|
|
1507
|
+
var i = M().getInt32(y + 0, !0), K = M().getInt32(y + 4, !0);
|
|
1508
|
+
return D = i, k = K, S(i, K);
|
|
1509
1509
|
} finally {
|
|
1510
|
-
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(D,
|
|
1510
|
+
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(D, k, 1);
|
|
1511
1511
|
}
|
|
1512
1512
|
}
|
|
1513
1513
|
function tI(g, A) {
|
|
1514
1514
|
let C, B;
|
|
1515
1515
|
try {
|
|
1516
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16),
|
|
1517
|
-
I.format_sql(D,
|
|
1516
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), k = o(g, I.__wbindgen_export, I.__wbindgen_export2), i = N, K = o(A, I.__wbindgen_export, I.__wbindgen_export2), y = N;
|
|
1517
|
+
I.format_sql(D, k, i, K, y);
|
|
1518
1518
|
var Q = M().getInt32(D + 0, !0), E = M().getInt32(D + 4, !0);
|
|
1519
|
-
return C = Q, B = E,
|
|
1519
|
+
return C = Q, B = E, S(Q, E);
|
|
1520
1520
|
} finally {
|
|
1521
1521
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1522
1522
|
}
|
|
1523
1523
|
}
|
|
1524
|
-
function
|
|
1525
|
-
const C = o(g, I.__wbindgen_export, I.__wbindgen_export2), B =
|
|
1524
|
+
function ZI(g, A) {
|
|
1525
|
+
const C = o(g, I.__wbindgen_export, I.__wbindgen_export2), B = N, Q = o(A, I.__wbindgen_export, I.__wbindgen_export2), E = N, D = I.format_sql_value(C, B, Q, E);
|
|
1526
1526
|
return U(D);
|
|
1527
1527
|
}
|
|
1528
|
-
function
|
|
1528
|
+
function dI(g, A, C) {
|
|
1529
1529
|
let B, Q;
|
|
1530
1530
|
try {
|
|
1531
|
-
const
|
|
1532
|
-
I.format_sql_with_options(
|
|
1533
|
-
var E = M().getInt32(
|
|
1534
|
-
return B = E, Q = D,
|
|
1531
|
+
const k = I.__wbindgen_add_to_stack_pointer(-16), i = o(g, I.__wbindgen_export, I.__wbindgen_export2), K = N, y = o(A, I.__wbindgen_export, I.__wbindgen_export2), c = N, F = o(C, I.__wbindgen_export, I.__wbindgen_export2), q = N;
|
|
1532
|
+
I.format_sql_with_options(k, i, K, y, c, F, q);
|
|
1533
|
+
var E = M().getInt32(k + 0, !0), D = M().getInt32(k + 4, !0);
|
|
1534
|
+
return B = E, Q = D, S(E, D);
|
|
1535
1535
|
} finally {
|
|
1536
1536
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, Q, 1);
|
|
1537
1537
|
}
|
|
1538
1538
|
}
|
|
1539
|
-
function
|
|
1540
|
-
const B = o(g, I.__wbindgen_export, I.__wbindgen_export2), Q =
|
|
1541
|
-
return U(
|
|
1539
|
+
function zI(g, A, C) {
|
|
1540
|
+
const B = o(g, I.__wbindgen_export, I.__wbindgen_export2), Q = N, E = o(A, I.__wbindgen_export, I.__wbindgen_export2), D = N, k = I.format_sql_with_options_value(B, Q, E, D, a(C));
|
|
1541
|
+
return U(k);
|
|
1542
1542
|
}
|
|
1543
|
-
function
|
|
1543
|
+
function fI(g, A) {
|
|
1544
1544
|
let C, B;
|
|
1545
1545
|
try {
|
|
1546
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16),
|
|
1547
|
-
I.generate(D,
|
|
1546
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), k = o(g, I.__wbindgen_export, I.__wbindgen_export2), i = N, K = o(A, I.__wbindgen_export, I.__wbindgen_export2), y = N;
|
|
1547
|
+
I.generate(D, k, i, K, y);
|
|
1548
1548
|
var Q = M().getInt32(D + 0, !0), E = M().getInt32(D + 4, !0);
|
|
1549
|
-
return C = Q, B = E,
|
|
1549
|
+
return C = Q, B = E, S(Q, E);
|
|
1550
1550
|
} finally {
|
|
1551
1551
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1552
1552
|
}
|
|
1553
1553
|
}
|
|
1554
|
-
function
|
|
1554
|
+
function eI(g, A) {
|
|
1555
1555
|
let C, B;
|
|
1556
1556
|
try {
|
|
1557
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16),
|
|
1558
|
-
I.generate_data_type(D,
|
|
1557
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), k = o(g, I.__wbindgen_export, I.__wbindgen_export2), i = N, K = o(A, I.__wbindgen_export, I.__wbindgen_export2), y = N;
|
|
1558
|
+
I.generate_data_type(D, k, i, K, y);
|
|
1559
1559
|
var Q = M().getInt32(D + 0, !0), E = M().getInt32(D + 4, !0);
|
|
1560
|
-
return C = Q, B = E,
|
|
1560
|
+
return C = Q, B = E, S(Q, E);
|
|
1561
1561
|
} finally {
|
|
1562
1562
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1563
1563
|
}
|
|
1564
1564
|
}
|
|
1565
|
-
function
|
|
1566
|
-
const C = o(A, I.__wbindgen_export, I.__wbindgen_export2), B =
|
|
1565
|
+
function VI(g, A) {
|
|
1566
|
+
const C = o(A, I.__wbindgen_export, I.__wbindgen_export2), B = N, Q = I.generate_data_type_value(a(g), C, B);
|
|
1567
1567
|
return U(Q);
|
|
1568
1568
|
}
|
|
1569
|
-
function
|
|
1570
|
-
const C = o(A, I.__wbindgen_export, I.__wbindgen_export2), B =
|
|
1569
|
+
function xI(g, A) {
|
|
1570
|
+
const C = o(A, I.__wbindgen_export, I.__wbindgen_export2), B = N, Q = I.generate_value(a(g), C, B);
|
|
1571
1571
|
return U(Q);
|
|
1572
1572
|
}
|
|
1573
|
-
function
|
|
1573
|
+
function WI() {
|
|
1574
1574
|
let g, A;
|
|
1575
1575
|
try {
|
|
1576
1576
|
const Q = I.__wbindgen_add_to_stack_pointer(-16);
|
|
1577
1577
|
I.get_dialects(Q);
|
|
1578
1578
|
var C = M().getInt32(Q + 0, !0), B = M().getInt32(Q + 4, !0);
|
|
1579
|
-
return g = C, A = B,
|
|
1579
|
+
return g = C, A = B, S(C, B);
|
|
1580
1580
|
} finally {
|
|
1581
1581
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(g, A, 1);
|
|
1582
1582
|
}
|
|
@@ -1588,10 +1588,10 @@ function lI() {
|
|
|
1588
1588
|
function hg(g, A, C, B) {
|
|
1589
1589
|
let Q, E;
|
|
1590
1590
|
try {
|
|
1591
|
-
const
|
|
1592
|
-
I.lineage_sql(
|
|
1593
|
-
var D = M().getInt32(
|
|
1594
|
-
return Q = D, E =
|
|
1591
|
+
const i = I.__wbindgen_add_to_stack_pointer(-16), K = o(g, I.__wbindgen_export, I.__wbindgen_export2), y = N, c = o(A, I.__wbindgen_export, I.__wbindgen_export2), F = N, q = o(C, I.__wbindgen_export, I.__wbindgen_export2), j = N;
|
|
1592
|
+
I.lineage_sql(i, K, y, c, F, q, j, B);
|
|
1593
|
+
var D = M().getInt32(i + 0, !0), k = M().getInt32(i + 4, !0);
|
|
1594
|
+
return Q = D, E = k, S(D, k);
|
|
1595
1595
|
} finally {
|
|
1596
1596
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, E, 1);
|
|
1597
1597
|
}
|
|
@@ -1599,10 +1599,10 @@ function hg(g, A, C, B) {
|
|
|
1599
1599
|
function Ug(g, A, C, B, Q) {
|
|
1600
1600
|
let E, D;
|
|
1601
1601
|
try {
|
|
1602
|
-
const K = I.__wbindgen_add_to_stack_pointer(-16), y = o(g, I.__wbindgen_export, I.__wbindgen_export2),
|
|
1603
|
-
I.lineage_sql_with_schema(K, y,
|
|
1604
|
-
var
|
|
1605
|
-
return E =
|
|
1602
|
+
const K = I.__wbindgen_add_to_stack_pointer(-16), y = o(g, I.__wbindgen_export, I.__wbindgen_export2), c = N, F = o(A, I.__wbindgen_export, I.__wbindgen_export2), q = N, j = o(C, I.__wbindgen_export, I.__wbindgen_export2), V = N, n = o(B, I.__wbindgen_export, I.__wbindgen_export2), aI = N;
|
|
1603
|
+
I.lineage_sql_with_schema(K, y, c, F, q, j, V, n, aI, Q);
|
|
1604
|
+
var k = M().getInt32(K + 0, !0), i = M().getInt32(K + 4, !0);
|
|
1605
|
+
return E = k, D = i, S(k, i);
|
|
1606
1606
|
} finally {
|
|
1607
1607
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(E, D, 1);
|
|
1608
1608
|
}
|
|
@@ -1610,32 +1610,32 @@ function Ug(g, A, C, B, Q) {
|
|
|
1610
1610
|
function Jg(g, A) {
|
|
1611
1611
|
let C, B;
|
|
1612
1612
|
try {
|
|
1613
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16),
|
|
1614
|
-
I.openlineage_column_lineage(D,
|
|
1613
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), k = o(g, I.__wbindgen_export, I.__wbindgen_export2), i = N, K = o(A, I.__wbindgen_export, I.__wbindgen_export2), y = N;
|
|
1614
|
+
I.openlineage_column_lineage(D, k, i, K, y);
|
|
1615
1615
|
var Q = M().getInt32(D + 0, !0), E = M().getInt32(D + 4, !0);
|
|
1616
|
-
return C = Q, B = E,
|
|
1616
|
+
return C = Q, B = E, S(Q, E);
|
|
1617
1617
|
} finally {
|
|
1618
1618
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1619
1619
|
}
|
|
1620
1620
|
}
|
|
1621
|
-
function
|
|
1621
|
+
function Lg(g, A) {
|
|
1622
1622
|
let C, B;
|
|
1623
1623
|
try {
|
|
1624
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16),
|
|
1625
|
-
I.openlineage_job_event(D,
|
|
1624
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), k = o(g, I.__wbindgen_export, I.__wbindgen_export2), i = N, K = o(A, I.__wbindgen_export, I.__wbindgen_export2), y = N;
|
|
1625
|
+
I.openlineage_job_event(D, k, i, K, y);
|
|
1626
1626
|
var Q = M().getInt32(D + 0, !0), E = M().getInt32(D + 4, !0);
|
|
1627
|
-
return C = Q, B = E,
|
|
1627
|
+
return C = Q, B = E, S(Q, E);
|
|
1628
1628
|
} finally {
|
|
1629
1629
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1630
1630
|
}
|
|
1631
1631
|
}
|
|
1632
|
-
function
|
|
1632
|
+
function Fg(g, A) {
|
|
1633
1633
|
let C, B;
|
|
1634
1634
|
try {
|
|
1635
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16),
|
|
1636
|
-
I.openlineage_run_event(D,
|
|
1635
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), k = o(g, I.__wbindgen_export, I.__wbindgen_export2), i = N, K = o(A, I.__wbindgen_export, I.__wbindgen_export2), y = N;
|
|
1636
|
+
I.openlineage_run_event(D, k, i, K, y);
|
|
1637
1637
|
var Q = M().getInt32(D + 0, !0), E = M().getInt32(D + 4, !0);
|
|
1638
|
-
return C = Q, B = E,
|
|
1638
|
+
return C = Q, B = E, S(Q, E);
|
|
1639
1639
|
} finally {
|
|
1640
1640
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1641
1641
|
}
|
|
@@ -1643,10 +1643,10 @@ function Lg(g, A) {
|
|
|
1643
1643
|
function rI(g, A) {
|
|
1644
1644
|
let C, B;
|
|
1645
1645
|
try {
|
|
1646
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16),
|
|
1647
|
-
I.parse(D,
|
|
1646
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), k = o(g, I.__wbindgen_export, I.__wbindgen_export2), i = N, K = o(A, I.__wbindgen_export, I.__wbindgen_export2), y = N;
|
|
1647
|
+
I.parse(D, k, i, K, y);
|
|
1648
1648
|
var Q = M().getInt32(D + 0, !0), E = M().getInt32(D + 4, !0);
|
|
1649
|
-
return C = Q, B = E,
|
|
1649
|
+
return C = Q, B = E, S(Q, E);
|
|
1650
1650
|
} finally {
|
|
1651
1651
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1652
1652
|
}
|
|
@@ -1654,29 +1654,29 @@ function rI(g, A) {
|
|
|
1654
1654
|
function nI(g, A) {
|
|
1655
1655
|
let C, B;
|
|
1656
1656
|
try {
|
|
1657
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16),
|
|
1658
|
-
I.parse_data_type(D,
|
|
1657
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), k = o(g, I.__wbindgen_export, I.__wbindgen_export2), i = N, K = o(A, I.__wbindgen_export, I.__wbindgen_export2), y = N;
|
|
1658
|
+
I.parse_data_type(D, k, i, K, y);
|
|
1659
1659
|
var Q = M().getInt32(D + 0, !0), E = M().getInt32(D + 4, !0);
|
|
1660
|
-
return C = Q, B = E,
|
|
1660
|
+
return C = Q, B = E, S(Q, E);
|
|
1661
1661
|
} finally {
|
|
1662
1662
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1663
1663
|
}
|
|
1664
1664
|
}
|
|
1665
1665
|
function mI(g, A) {
|
|
1666
|
-
const C = o(g, I.__wbindgen_export, I.__wbindgen_export2), B =
|
|
1666
|
+
const C = o(g, I.__wbindgen_export, I.__wbindgen_export2), B = N, Q = o(A, I.__wbindgen_export, I.__wbindgen_export2), E = N, D = I.parse_data_type_value(C, B, Q, E);
|
|
1667
1667
|
return U(D);
|
|
1668
1668
|
}
|
|
1669
1669
|
function uI(g, A) {
|
|
1670
|
-
const C = o(g, I.__wbindgen_export, I.__wbindgen_export2), B =
|
|
1670
|
+
const C = o(g, I.__wbindgen_export, I.__wbindgen_export2), B = N, Q = o(A, I.__wbindgen_export, I.__wbindgen_export2), E = N, D = I.parse_value(C, B, Q, E);
|
|
1671
1671
|
return U(D);
|
|
1672
1672
|
}
|
|
1673
1673
|
function Rg(g, A) {
|
|
1674
1674
|
let C, B;
|
|
1675
1675
|
try {
|
|
1676
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16),
|
|
1677
|
-
I.plan(D,
|
|
1676
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), k = o(g, I.__wbindgen_export, I.__wbindgen_export2), i = N, K = o(A, I.__wbindgen_export, I.__wbindgen_export2), y = N;
|
|
1677
|
+
I.plan(D, k, i, K, y);
|
|
1678
1678
|
var Q = M().getInt32(D + 0, !0), E = M().getInt32(D + 4, !0);
|
|
1679
|
-
return C = Q, B = E,
|
|
1679
|
+
return C = Q, B = E, S(Q, E);
|
|
1680
1680
|
} finally {
|
|
1681
1681
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1682
1682
|
}
|
|
@@ -1684,66 +1684,66 @@ function Rg(g, A) {
|
|
|
1684
1684
|
function sg(g, A, C) {
|
|
1685
1685
|
let B, Q;
|
|
1686
1686
|
try {
|
|
1687
|
-
const
|
|
1688
|
-
I.source_tables(
|
|
1689
|
-
var E = M().getInt32(
|
|
1690
|
-
return B = E, Q = D,
|
|
1687
|
+
const k = I.__wbindgen_add_to_stack_pointer(-16), i = o(g, I.__wbindgen_export, I.__wbindgen_export2), K = N, y = o(A, I.__wbindgen_export, I.__wbindgen_export2), c = N, F = o(C, I.__wbindgen_export, I.__wbindgen_export2), q = N;
|
|
1688
|
+
I.source_tables(k, i, K, y, c, F, q);
|
|
1689
|
+
var E = M().getInt32(k + 0, !0), D = M().getInt32(k + 4, !0);
|
|
1690
|
+
return B = E, Q = D, S(E, D);
|
|
1691
1691
|
} finally {
|
|
1692
1692
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, Q, 1);
|
|
1693
1693
|
}
|
|
1694
1694
|
}
|
|
1695
|
-
function
|
|
1695
|
+
function bI(g, A) {
|
|
1696
1696
|
let C, B;
|
|
1697
1697
|
try {
|
|
1698
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16),
|
|
1699
|
-
I.tokenize(D,
|
|
1698
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), k = o(g, I.__wbindgen_export, I.__wbindgen_export2), i = N, K = o(A, I.__wbindgen_export, I.__wbindgen_export2), y = N;
|
|
1699
|
+
I.tokenize(D, k, i, K, y);
|
|
1700
1700
|
var Q = M().getInt32(D + 0, !0), E = M().getInt32(D + 4, !0);
|
|
1701
|
-
return C = Q, B = E,
|
|
1701
|
+
return C = Q, B = E, S(Q, E);
|
|
1702
1702
|
} finally {
|
|
1703
1703
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1704
1704
|
}
|
|
1705
1705
|
}
|
|
1706
|
-
function
|
|
1707
|
-
const C = o(g, I.__wbindgen_export, I.__wbindgen_export2), B =
|
|
1706
|
+
function vI(g, A) {
|
|
1707
|
+
const C = o(g, I.__wbindgen_export, I.__wbindgen_export2), B = N, Q = o(A, I.__wbindgen_export, I.__wbindgen_export2), E = N, D = I.tokenize_value(C, B, Q, E);
|
|
1708
1708
|
return U(D);
|
|
1709
1709
|
}
|
|
1710
1710
|
function XI(g, A, C) {
|
|
1711
1711
|
let B, Q;
|
|
1712
1712
|
try {
|
|
1713
|
-
const
|
|
1714
|
-
I.transpile(
|
|
1715
|
-
var E = M().getInt32(
|
|
1716
|
-
return B = E, Q = D,
|
|
1713
|
+
const k = I.__wbindgen_add_to_stack_pointer(-16), i = o(g, I.__wbindgen_export, I.__wbindgen_export2), K = N, y = o(A, I.__wbindgen_export, I.__wbindgen_export2), c = N, F = o(C, I.__wbindgen_export, I.__wbindgen_export2), q = N;
|
|
1714
|
+
I.transpile(k, i, K, y, c, F, q);
|
|
1715
|
+
var E = M().getInt32(k + 0, !0), D = M().getInt32(k + 4, !0);
|
|
1716
|
+
return B = E, Q = D, S(E, D);
|
|
1717
1717
|
} finally {
|
|
1718
1718
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, Q, 1);
|
|
1719
1719
|
}
|
|
1720
1720
|
}
|
|
1721
1721
|
function _I(g, A, C) {
|
|
1722
|
-
const B = o(g, I.__wbindgen_export, I.__wbindgen_export2), Q =
|
|
1722
|
+
const B = o(g, I.__wbindgen_export, I.__wbindgen_export2), Q = N, E = o(A, I.__wbindgen_export, I.__wbindgen_export2), D = N, k = o(C, I.__wbindgen_export, I.__wbindgen_export2), i = N, K = I.transpile_value(B, Q, E, D, k, i);
|
|
1723
1723
|
return U(K);
|
|
1724
1724
|
}
|
|
1725
1725
|
function $I(g, A, C, B) {
|
|
1726
1726
|
let Q, E;
|
|
1727
1727
|
try {
|
|
1728
|
-
const
|
|
1729
|
-
I.transpile_with_options(
|
|
1730
|
-
var D = M().getInt32(
|
|
1731
|
-
return Q = D, E =
|
|
1728
|
+
const i = I.__wbindgen_add_to_stack_pointer(-16), K = o(g, I.__wbindgen_export, I.__wbindgen_export2), y = N, c = o(A, I.__wbindgen_export, I.__wbindgen_export2), F = N, q = o(C, I.__wbindgen_export, I.__wbindgen_export2), j = N, V = o(B, I.__wbindgen_export, I.__wbindgen_export2), n = N;
|
|
1729
|
+
I.transpile_with_options(i, K, y, c, F, q, j, V, n);
|
|
1730
|
+
var D = M().getInt32(i + 0, !0), k = M().getInt32(i + 4, !0);
|
|
1731
|
+
return Q = D, E = k, S(D, k);
|
|
1732
1732
|
} finally {
|
|
1733
1733
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, E, 1);
|
|
1734
1734
|
}
|
|
1735
1735
|
}
|
|
1736
1736
|
function AC(g, A, C, B) {
|
|
1737
|
-
const Q = o(g, I.__wbindgen_export, I.__wbindgen_export2), E =
|
|
1737
|
+
const Q = o(g, I.__wbindgen_export, I.__wbindgen_export2), E = N, D = o(A, I.__wbindgen_export, I.__wbindgen_export2), k = N, i = o(C, I.__wbindgen_export, I.__wbindgen_export2), K = N, y = I.transpile_with_options_value(Q, E, D, k, i, K, a(B));
|
|
1738
1738
|
return U(y);
|
|
1739
1739
|
}
|
|
1740
1740
|
function gC(g, A) {
|
|
1741
1741
|
let C, B;
|
|
1742
1742
|
try {
|
|
1743
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16),
|
|
1744
|
-
I.validate(D,
|
|
1743
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), k = o(g, I.__wbindgen_export, I.__wbindgen_export2), i = N, K = o(A, I.__wbindgen_export, I.__wbindgen_export2), y = N;
|
|
1744
|
+
I.validate(D, k, i, K, y);
|
|
1745
1745
|
var Q = M().getInt32(D + 0, !0), E = M().getInt32(D + 4, !0);
|
|
1746
|
-
return C = Q, B = E,
|
|
1746
|
+
return C = Q, B = E, S(Q, E);
|
|
1747
1747
|
} finally {
|
|
1748
1748
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1749
1749
|
}
|
|
@@ -1751,10 +1751,10 @@ function gC(g, A) {
|
|
|
1751
1751
|
function IC(g, A, C) {
|
|
1752
1752
|
let B, Q;
|
|
1753
1753
|
try {
|
|
1754
|
-
const
|
|
1755
|
-
I.validate_with_options(
|
|
1756
|
-
var E = M().getInt32(
|
|
1757
|
-
return B = E, Q = D,
|
|
1754
|
+
const k = I.__wbindgen_add_to_stack_pointer(-16), i = o(g, I.__wbindgen_export, I.__wbindgen_export2), K = N, y = o(A, I.__wbindgen_export, I.__wbindgen_export2), c = N, F = o(C, I.__wbindgen_export, I.__wbindgen_export2), q = N;
|
|
1755
|
+
I.validate_with_options(k, i, K, y, c, F, q);
|
|
1756
|
+
var E = M().getInt32(k + 0, !0), D = M().getInt32(k + 4, !0);
|
|
1757
|
+
return B = E, Q = D, S(E, D);
|
|
1758
1758
|
} finally {
|
|
1759
1759
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, Q, 1);
|
|
1760
1760
|
}
|
|
@@ -1762,10 +1762,10 @@ function IC(g, A, C) {
|
|
|
1762
1762
|
function ag(g, A, C, B) {
|
|
1763
1763
|
let Q, E;
|
|
1764
1764
|
try {
|
|
1765
|
-
const
|
|
1766
|
-
I.validate_with_schema(
|
|
1767
|
-
var D = M().getInt32(
|
|
1768
|
-
return Q = D, E =
|
|
1765
|
+
const i = I.__wbindgen_add_to_stack_pointer(-16), K = o(g, I.__wbindgen_export, I.__wbindgen_export2), y = N, c = o(A, I.__wbindgen_export, I.__wbindgen_export2), F = N, q = o(C, I.__wbindgen_export, I.__wbindgen_export2), j = N, V = o(B, I.__wbindgen_export, I.__wbindgen_export2), n = N;
|
|
1766
|
+
I.validate_with_schema(i, K, y, c, F, q, j, V, n);
|
|
1767
|
+
var D = M().getInt32(i + 0, !0), k = M().getInt32(i + 4, !0);
|
|
1768
|
+
return Q = D, E = k, S(D, k);
|
|
1769
1769
|
} finally {
|
|
1770
1770
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, E, 1);
|
|
1771
1771
|
}
|
|
@@ -1776,61 +1776,61 @@ function CC() {
|
|
|
1776
1776
|
const Q = I.__wbindgen_add_to_stack_pointer(-16);
|
|
1777
1777
|
I.version(Q);
|
|
1778
1778
|
var C = M().getInt32(Q + 0, !0), B = M().getInt32(Q + 4, !0);
|
|
1779
|
-
return g = C, A = B,
|
|
1779
|
+
return g = C, A = B, S(C, B);
|
|
1780
1780
|
} finally {
|
|
1781
1781
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(g, A, 1);
|
|
1782
1782
|
}
|
|
1783
1783
|
}
|
|
1784
|
-
function
|
|
1784
|
+
function qg(g, A) {
|
|
1785
1785
|
H(g, G);
|
|
1786
|
-
const C = o(A, I.__wbindgen_export, I.__wbindgen_export2), B =
|
|
1786
|
+
const C = o(A, I.__wbindgen_export, I.__wbindgen_export2), B = N, Q = I.wasm_alias(g.__wbg_ptr, C, B);
|
|
1787
1787
|
return G.__wrap(Q);
|
|
1788
1788
|
}
|
|
1789
|
-
function
|
|
1789
|
+
function pg(g, A) {
|
|
1790
1790
|
H(g, G), H(A, G);
|
|
1791
1791
|
const C = I.wasm_and(g.__wbg_ptr, A.__wbg_ptr);
|
|
1792
1792
|
return G.__wrap(C);
|
|
1793
1793
|
}
|
|
1794
|
-
function
|
|
1794
|
+
function Pg(g) {
|
|
1795
1795
|
const A = I.wasm_boolean(g);
|
|
1796
1796
|
return G.__wrap(A);
|
|
1797
1797
|
}
|
|
1798
|
-
function
|
|
1798
|
+
function Og(g) {
|
|
1799
1799
|
H(g, G);
|
|
1800
1800
|
const A = I.wasm_case_of(g.__wbg_ptr);
|
|
1801
1801
|
return u.__wrap(A);
|
|
1802
1802
|
}
|
|
1803
|
-
function
|
|
1803
|
+
function jg(g, A) {
|
|
1804
1804
|
H(g, G);
|
|
1805
|
-
const C = o(A, I.__wbindgen_export, I.__wbindgen_export2), B =
|
|
1805
|
+
const C = o(A, I.__wbindgen_export, I.__wbindgen_export2), B = N, Q = I.wasm_cast(g.__wbg_ptr, C, B);
|
|
1806
1806
|
return G.__wrap(Q);
|
|
1807
1807
|
}
|
|
1808
1808
|
function JA(g) {
|
|
1809
|
-
const A = o(g, I.__wbindgen_export, I.__wbindgen_export2), C =
|
|
1809
|
+
const A = o(g, I.__wbindgen_export, I.__wbindgen_export2), C = N, B = I.wasm_col(A, C);
|
|
1810
1810
|
return G.__wrap(B);
|
|
1811
1811
|
}
|
|
1812
|
-
function
|
|
1812
|
+
function Tg(g) {
|
|
1813
1813
|
H(g, G);
|
|
1814
1814
|
const A = I.wasm_count_distinct(g.__wbg_ptr);
|
|
1815
1815
|
return G.__wrap(A);
|
|
1816
1816
|
}
|
|
1817
1817
|
function tg(g, A) {
|
|
1818
|
-
const C = o(g, I.__wbindgen_export, I.__wbindgen_export2), B =
|
|
1818
|
+
const C = o(g, I.__wbindgen_export, I.__wbindgen_export2), B = N;
|
|
1819
1819
|
H(A, G);
|
|
1820
1820
|
const Q = I.wasm_extract(C, B, A.__wbg_ptr);
|
|
1821
1821
|
return G.__wrap(Q);
|
|
1822
1822
|
}
|
|
1823
|
-
function
|
|
1824
|
-
const C = o(g, I.__wbindgen_export, I.__wbindgen_export2), B =
|
|
1825
|
-
H(A,
|
|
1823
|
+
function Zg(g, A) {
|
|
1824
|
+
const C = o(g, I.__wbindgen_export, I.__wbindgen_export2), B = N;
|
|
1825
|
+
H(A, P);
|
|
1826
1826
|
const Q = I.wasm_func(C, B, A.__wbg_ptr);
|
|
1827
1827
|
return G.__wrap(Q);
|
|
1828
1828
|
}
|
|
1829
|
-
function
|
|
1829
|
+
function iA(g) {
|
|
1830
1830
|
const A = I.wasm_lit(a(g));
|
|
1831
1831
|
return G.__wrap(A);
|
|
1832
1832
|
}
|
|
1833
|
-
function
|
|
1833
|
+
function dg(g) {
|
|
1834
1834
|
H(g, G);
|
|
1835
1835
|
const A = I.wasm_not(g.__wbg_ptr);
|
|
1836
1836
|
return G.__wrap(A);
|
|
@@ -1839,25 +1839,25 @@ function yA() {
|
|
|
1839
1839
|
const g = I.wasm_null();
|
|
1840
1840
|
return G.__wrap(g);
|
|
1841
1841
|
}
|
|
1842
|
-
function
|
|
1842
|
+
function zg(g, A) {
|
|
1843
1843
|
H(g, G), H(A, G);
|
|
1844
1844
|
const C = I.wasm_or(g.__wbg_ptr, A.__wbg_ptr);
|
|
1845
1845
|
return G.__wrap(C);
|
|
1846
1846
|
}
|
|
1847
|
-
function
|
|
1848
|
-
const A = o(g, I.__wbindgen_export, I.__wbindgen_export2), C =
|
|
1847
|
+
function fg(g) {
|
|
1848
|
+
const A = o(g, I.__wbindgen_export, I.__wbindgen_export2), C = N, B = I.wasm_sql_expr(A, C);
|
|
1849
1849
|
return G.__wrap(B);
|
|
1850
1850
|
}
|
|
1851
|
-
function
|
|
1851
|
+
function eg() {
|
|
1852
1852
|
const g = I.wasm_star();
|
|
1853
1853
|
return G.__wrap(g);
|
|
1854
1854
|
}
|
|
1855
|
-
function
|
|
1855
|
+
function Vg(g, A) {
|
|
1856
1856
|
try {
|
|
1857
1857
|
const E = I.__wbindgen_add_to_stack_pointer(-16);
|
|
1858
|
-
H(g,
|
|
1859
|
-
const D = o(A, I.__wbindgen_export, I.__wbindgen_export2),
|
|
1860
|
-
I.wasm_subquery(E, g.__wbg_ptr, D,
|
|
1858
|
+
H(g, d);
|
|
1859
|
+
const D = o(A, I.__wbindgen_export, I.__wbindgen_export2), k = N;
|
|
1860
|
+
I.wasm_subquery(E, g.__wbg_ptr, D, k);
|
|
1861
1861
|
var C = M().getInt32(E + 0, !0), B = M().getInt32(E + 4, !0), Q = M().getInt32(E + 8, !0);
|
|
1862
1862
|
if (Q)
|
|
1863
1863
|
throw U(B);
|
|
@@ -1866,19 +1866,19 @@ function eg(g, A) {
|
|
|
1866
1866
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
1867
1867
|
}
|
|
1868
1868
|
}
|
|
1869
|
-
function
|
|
1870
|
-
const A = o(g, I.__wbindgen_export, I.__wbindgen_export2), C =
|
|
1869
|
+
function xg(g) {
|
|
1870
|
+
const A = o(g, I.__wbindgen_export, I.__wbindgen_export2), C = N, B = I.wasm_table(A, C);
|
|
1871
1871
|
return G.__wrap(B);
|
|
1872
1872
|
}
|
|
1873
1873
|
function BC(g, A) {
|
|
1874
|
-
const C = Error(
|
|
1874
|
+
const C = Error(S(g, A));
|
|
1875
1875
|
return a(C);
|
|
1876
1876
|
}
|
|
1877
1877
|
function QC(g) {
|
|
1878
1878
|
return Number(J(g));
|
|
1879
1879
|
}
|
|
1880
1880
|
function EC(g, A) {
|
|
1881
|
-
const C = String(J(A)), B = o(C, I.__wbindgen_export, I.__wbindgen_export2), Q =
|
|
1881
|
+
const C = String(J(A)), B = o(C, I.__wbindgen_export, I.__wbindgen_export2), Q = N;
|
|
1882
1882
|
M().setInt32(g + 4, Q, !0), M().setInt32(g + 0, B, !0);
|
|
1883
1883
|
}
|
|
1884
1884
|
function DC(g, A) {
|
|
@@ -1890,19 +1890,19 @@ function wC(g) {
|
|
|
1890
1890
|
return X(C) ? 16777215 : C ? 1 : 0;
|
|
1891
1891
|
}
|
|
1892
1892
|
function MC(g, A) {
|
|
1893
|
-
const C = hA(J(A)), B = o(C, I.__wbindgen_export, I.__wbindgen_export2), Q =
|
|
1893
|
+
const C = hA(J(A)), B = o(C, I.__wbindgen_export, I.__wbindgen_export2), Q = N;
|
|
1894
1894
|
M().setInt32(g + 4, Q, !0), M().setInt32(g + 0, B, !0);
|
|
1895
1895
|
}
|
|
1896
|
-
function
|
|
1896
|
+
function kC(g, A) {
|
|
1897
1897
|
return J(g) in J(A);
|
|
1898
1898
|
}
|
|
1899
|
-
function
|
|
1899
|
+
function NC(g) {
|
|
1900
1900
|
return typeof J(g) == "bigint";
|
|
1901
1901
|
}
|
|
1902
1902
|
function oC(g) {
|
|
1903
1903
|
return typeof J(g) == "function";
|
|
1904
1904
|
}
|
|
1905
|
-
function
|
|
1905
|
+
function iC(g) {
|
|
1906
1906
|
return J(g) === null;
|
|
1907
1907
|
}
|
|
1908
1908
|
function yC(g) {
|
|
@@ -1921,17 +1921,17 @@ function YC(g, A) {
|
|
|
1921
1921
|
function HC(g, A) {
|
|
1922
1922
|
return J(g) == J(A);
|
|
1923
1923
|
}
|
|
1924
|
-
function
|
|
1924
|
+
function cC(g, A) {
|
|
1925
1925
|
const C = J(A), B = typeof C == "number" ? C : void 0;
|
|
1926
1926
|
M().setFloat64(g + 8, X(B) ? 0 : B, !0), M().setInt32(g + 0, !X(B), !0);
|
|
1927
1927
|
}
|
|
1928
|
-
function
|
|
1928
|
+
function SC(g, A) {
|
|
1929
1929
|
const C = J(A), B = typeof C == "string" ? C : void 0;
|
|
1930
|
-
var Q = X(B) ? 0 : o(B, I.__wbindgen_export, I.__wbindgen_export2), E =
|
|
1930
|
+
var Q = X(B) ? 0 : o(B, I.__wbindgen_export, I.__wbindgen_export2), E = N;
|
|
1931
1931
|
M().setInt32(g + 4, E, !0), M().setInt32(g + 0, Q, !0);
|
|
1932
1932
|
}
|
|
1933
1933
|
function hC(g, A) {
|
|
1934
|
-
throw new Error(
|
|
1934
|
+
throw new Error(S(g, A));
|
|
1935
1935
|
}
|
|
1936
1936
|
function UC() {
|
|
1937
1937
|
return KA(function(g, A) {
|
|
@@ -1942,14 +1942,14 @@ function UC() {
|
|
|
1942
1942
|
function JC(g) {
|
|
1943
1943
|
return J(g).done;
|
|
1944
1944
|
}
|
|
1945
|
-
function
|
|
1945
|
+
function LC(g) {
|
|
1946
1946
|
const A = Object.entries(J(g));
|
|
1947
1947
|
return a(A);
|
|
1948
1948
|
}
|
|
1949
|
-
function
|
|
1949
|
+
function FC(g, A) {
|
|
1950
1950
|
let C, B;
|
|
1951
1951
|
try {
|
|
1952
|
-
C = g, B = A, console.error(
|
|
1952
|
+
C = g, B = A, console.error(S(g, A));
|
|
1953
1953
|
} finally {
|
|
1954
1954
|
I.__wbindgen_export4(C, B, 1);
|
|
1955
1955
|
}
|
|
@@ -1970,11 +1970,11 @@ function aC() {
|
|
|
1970
1970
|
return a(C);
|
|
1971
1971
|
}, arguments);
|
|
1972
1972
|
}
|
|
1973
|
-
function
|
|
1973
|
+
function qC(g, A) {
|
|
1974
1974
|
const C = J(g)[J(A)];
|
|
1975
1975
|
return a(C);
|
|
1976
1976
|
}
|
|
1977
|
-
function
|
|
1977
|
+
function pC(g) {
|
|
1978
1978
|
let A;
|
|
1979
1979
|
try {
|
|
1980
1980
|
A = J(g) instanceof ArrayBuffer;
|
|
@@ -1983,7 +1983,7 @@ function qC(g) {
|
|
|
1983
1983
|
}
|
|
1984
1984
|
return A;
|
|
1985
1985
|
}
|
|
1986
|
-
function
|
|
1986
|
+
function PC(g) {
|
|
1987
1987
|
let A;
|
|
1988
1988
|
try {
|
|
1989
1989
|
A = J(g) instanceof Map;
|
|
@@ -1992,7 +1992,7 @@ function OC(g) {
|
|
|
1992
1992
|
}
|
|
1993
1993
|
return A;
|
|
1994
1994
|
}
|
|
1995
|
-
function
|
|
1995
|
+
function OC(g) {
|
|
1996
1996
|
let A;
|
|
1997
1997
|
try {
|
|
1998
1998
|
A = J(g) instanceof Uint8Array;
|
|
@@ -2001,41 +2001,41 @@ function PC(g) {
|
|
|
2001
2001
|
}
|
|
2002
2002
|
return A;
|
|
2003
2003
|
}
|
|
2004
|
-
function
|
|
2004
|
+
function jC(g) {
|
|
2005
2005
|
return Array.isArray(J(g));
|
|
2006
2006
|
}
|
|
2007
|
-
function
|
|
2007
|
+
function TC(g) {
|
|
2008
2008
|
return Number.isSafeInteger(J(g));
|
|
2009
2009
|
}
|
|
2010
2010
|
function tC() {
|
|
2011
2011
|
return a(Symbol.iterator);
|
|
2012
2012
|
}
|
|
2013
|
-
function
|
|
2013
|
+
function ZC(g) {
|
|
2014
2014
|
return J(g).length;
|
|
2015
2015
|
}
|
|
2016
|
-
function
|
|
2016
|
+
function dC(g) {
|
|
2017
2017
|
return J(g).length;
|
|
2018
2018
|
}
|
|
2019
|
-
function
|
|
2019
|
+
function zC() {
|
|
2020
2020
|
const g = new Object();
|
|
2021
2021
|
return a(g);
|
|
2022
2022
|
}
|
|
2023
|
-
function
|
|
2023
|
+
function fC() {
|
|
2024
2024
|
const g = new Array();
|
|
2025
2025
|
return a(g);
|
|
2026
2026
|
}
|
|
2027
|
-
function
|
|
2027
|
+
function eC() {
|
|
2028
2028
|
const g = new Error();
|
|
2029
2029
|
return a(g);
|
|
2030
2030
|
}
|
|
2031
|
-
function
|
|
2031
|
+
function VC() {
|
|
2032
2032
|
return a(/* @__PURE__ */ new Map());
|
|
2033
2033
|
}
|
|
2034
|
-
function
|
|
2034
|
+
function xC(g) {
|
|
2035
2035
|
const A = new Uint8Array(J(g));
|
|
2036
2036
|
return a(A);
|
|
2037
2037
|
}
|
|
2038
|
-
function
|
|
2038
|
+
function WC() {
|
|
2039
2039
|
return KA(function(g) {
|
|
2040
2040
|
const A = J(g).next();
|
|
2041
2041
|
return a(A);
|
|
@@ -2058,11 +2058,11 @@ function mC(g, A, C) {
|
|
|
2058
2058
|
function uC(g, A, C) {
|
|
2059
2059
|
J(g)[A >>> 0] = U(C);
|
|
2060
2060
|
}
|
|
2061
|
-
function
|
|
2062
|
-
const C = J(A).stack, B = o(C, I.__wbindgen_export, I.__wbindgen_export2), Q =
|
|
2061
|
+
function bC(g, A) {
|
|
2062
|
+
const C = J(A).stack, B = o(C, I.__wbindgen_export, I.__wbindgen_export2), Q = N;
|
|
2063
2063
|
M().setInt32(g + 4, Q, !0), M().setInt32(g + 0, B, !0);
|
|
2064
2064
|
}
|
|
2065
|
-
function
|
|
2065
|
+
function vC(g) {
|
|
2066
2066
|
const A = J(g).value;
|
|
2067
2067
|
return a(A);
|
|
2068
2068
|
}
|
|
@@ -2073,7 +2073,7 @@ function _C(g) {
|
|
|
2073
2073
|
return a(g);
|
|
2074
2074
|
}
|
|
2075
2075
|
function $C(g, A) {
|
|
2076
|
-
const C =
|
|
2076
|
+
const C = S(g, A);
|
|
2077
2077
|
return a(C);
|
|
2078
2078
|
}
|
|
2079
2079
|
function AB(g) {
|
|
@@ -2087,9 +2087,9 @@ function gB(g) {
|
|
|
2087
2087
|
function IB(g) {
|
|
2088
2088
|
U(g);
|
|
2089
2089
|
}
|
|
2090
|
-
const
|
|
2090
|
+
const WA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
2091
2091
|
}, unregister: () => {
|
|
2092
|
-
} } : new FinalizationRegistry((g) => I.__wbg_wasmassignmentarray_free(g >>> 0, 1)),
|
|
2092
|
+
} } : new FinalizationRegistry((g) => I.__wbg_wasmassignmentarray_free(g >>> 0, 1)), cA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
2093
2093
|
}, unregister: () => {
|
|
2094
2094
|
} } : new FinalizationRegistry((g) => I.__wbg_wasmcasebuilder_free(g >>> 0, 1)), lA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
2095
2095
|
}, unregister: () => {
|
|
@@ -2101,9 +2101,9 @@ const VA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
|
2101
2101
|
}, unregister: () => {
|
|
2102
2102
|
} } : new FinalizationRegistry((g) => I.__wbg_wasminsertbuilder_free(g >>> 0, 1)), uA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
2103
2103
|
}, unregister: () => {
|
|
2104
|
-
} } : new FinalizationRegistry((g) => I.__wbg_wasmmergebuilder_free(g >>> 0, 1)),
|
|
2104
|
+
} } : new FinalizationRegistry((g) => I.__wbg_wasmmergebuilder_free(g >>> 0, 1)), bA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
2105
2105
|
}, unregister: () => {
|
|
2106
|
-
} } : new FinalizationRegistry((g) => I.__wbg_wasmselectbuilder_free(g >>> 0, 1)),
|
|
2106
|
+
} } : new FinalizationRegistry((g) => I.__wbg_wasmselectbuilder_free(g >>> 0, 1)), vA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
2107
2107
|
}, unregister: () => {
|
|
2108
2108
|
} } : new FinalizationRegistry((g) => I.__wbg_wasmsetopbuilder_free(g >>> 0, 1)), XA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
2109
2109
|
}, unregister: () => {
|
|
@@ -2111,9 +2111,9 @@ const VA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
|
2111
2111
|
}, unregister: () => {
|
|
2112
2112
|
} } : new FinalizationRegistry((g) => I.__wbg_wasmwindowdefbuilder_free(g >>> 0, 1));
|
|
2113
2113
|
function a(g) {
|
|
2114
|
-
gA ===
|
|
2114
|
+
gA === x.length && x.push(x.length + 1);
|
|
2115
2115
|
const A = gA;
|
|
2116
|
-
return gA =
|
|
2116
|
+
return gA = x[A], x[A] = g, A;
|
|
2117
2117
|
}
|
|
2118
2118
|
function H(g, A) {
|
|
2119
2119
|
if (!(g instanceof A))
|
|
@@ -2157,16 +2157,16 @@ function hA(g) {
|
|
|
2157
2157
|
${g.stack}` : B;
|
|
2158
2158
|
}
|
|
2159
2159
|
function CB(g) {
|
|
2160
|
-
g < 132 || (
|
|
2160
|
+
g < 132 || (x[g] = gA, gA = g);
|
|
2161
2161
|
}
|
|
2162
2162
|
function BB(g, A) {
|
|
2163
2163
|
return g = g >>> 0, AA().subarray(g / 1, g / 1 + A);
|
|
2164
2164
|
}
|
|
2165
|
-
let
|
|
2165
|
+
let v = null;
|
|
2166
2166
|
function M() {
|
|
2167
|
-
return (
|
|
2167
|
+
return (v === null || v.buffer.detached === !0 || v.buffer.detached === void 0 && v.buffer !== I.memory.buffer) && (v = new DataView(I.memory.buffer)), v;
|
|
2168
2168
|
}
|
|
2169
|
-
function
|
|
2169
|
+
function S(g, A) {
|
|
2170
2170
|
return g = g >>> 0, EB(g, A);
|
|
2171
2171
|
}
|
|
2172
2172
|
let EA = null;
|
|
@@ -2174,7 +2174,7 @@ function AA() {
|
|
|
2174
2174
|
return (EA === null || EA.byteLength === 0) && (EA = new Uint8Array(I.memory.buffer)), EA;
|
|
2175
2175
|
}
|
|
2176
2176
|
function J(g) {
|
|
2177
|
-
return
|
|
2177
|
+
return x[g];
|
|
2178
2178
|
}
|
|
2179
2179
|
function KA(g, A) {
|
|
2180
2180
|
try {
|
|
@@ -2183,37 +2183,37 @@ function KA(g, A) {
|
|
|
2183
2183
|
I.__wbindgen_export3(a(C));
|
|
2184
2184
|
}
|
|
2185
2185
|
}
|
|
2186
|
-
let
|
|
2187
|
-
|
|
2188
|
-
let gA =
|
|
2186
|
+
let x = new Array(128).fill(void 0);
|
|
2187
|
+
x.push(void 0, null, !0, !1);
|
|
2188
|
+
let gA = x.length;
|
|
2189
2189
|
function X(g) {
|
|
2190
2190
|
return g == null;
|
|
2191
2191
|
}
|
|
2192
|
-
function
|
|
2192
|
+
function LA(g, A) {
|
|
2193
2193
|
const C = A(g.length * 4, 4) >>> 0, B = M();
|
|
2194
2194
|
for (let Q = 0; Q < g.length; Q++)
|
|
2195
2195
|
B.setUint32(C + 4 * Q, a(g[Q]), !0);
|
|
2196
|
-
return
|
|
2196
|
+
return N = g.length, C;
|
|
2197
2197
|
}
|
|
2198
2198
|
function o(g, A, C) {
|
|
2199
2199
|
if (C === void 0) {
|
|
2200
|
-
const
|
|
2201
|
-
return AA().subarray(
|
|
2200
|
+
const k = IA.encode(g), i = A(k.length, 1) >>> 0;
|
|
2201
|
+
return AA().subarray(i, i + k.length).set(k), N = k.length, i;
|
|
2202
2202
|
}
|
|
2203
2203
|
let B = g.length, Q = A(B, 1) >>> 0;
|
|
2204
2204
|
const E = AA();
|
|
2205
2205
|
let D = 0;
|
|
2206
2206
|
for (; D < B; D++) {
|
|
2207
|
-
const
|
|
2208
|
-
if (
|
|
2209
|
-
E[Q + D] =
|
|
2207
|
+
const k = g.charCodeAt(D);
|
|
2208
|
+
if (k > 127) break;
|
|
2209
|
+
E[Q + D] = k;
|
|
2210
2210
|
}
|
|
2211
2211
|
if (D !== B) {
|
|
2212
2212
|
D !== 0 && (g = g.slice(D)), Q = C(Q, B, B = D + g.length * 3, 1) >>> 0;
|
|
2213
|
-
const
|
|
2214
|
-
D +=
|
|
2213
|
+
const k = AA().subarray(Q + D, Q + B), i = IA.encodeInto(g, k);
|
|
2214
|
+
D += i.written, Q = C(Q, B, D, 1) >>> 0;
|
|
2215
2215
|
}
|
|
2216
|
-
return
|
|
2216
|
+
return N = D, Q;
|
|
2217
2217
|
}
|
|
2218
2218
|
function U(g) {
|
|
2219
2219
|
const A = J(g);
|
|
@@ -2222,9 +2222,9 @@ function U(g) {
|
|
|
2222
2222
|
let DA = new TextDecoder("utf-8", { ignoreBOM: !0, fatal: !0 });
|
|
2223
2223
|
DA.decode();
|
|
2224
2224
|
const QB = 2146435072;
|
|
2225
|
-
let
|
|
2225
|
+
let SA = 0;
|
|
2226
2226
|
function EB(g, A) {
|
|
2227
|
-
return
|
|
2227
|
+
return SA += A, SA >= QB && (DA = new TextDecoder("utf-8", { ignoreBOM: !0, fatal: !0 }), DA.decode(), SA = A), DA.decode(AA().subarray(g, g + A));
|
|
2228
2228
|
}
|
|
2229
2229
|
const IA = new TextEncoder();
|
|
2230
2230
|
"encodeInto" in IA || (IA.encodeInto = function(g, A) {
|
|
@@ -2234,55 +2234,55 @@ const IA = new TextEncoder();
|
|
|
2234
2234
|
written: C.length
|
|
2235
2235
|
};
|
|
2236
2236
|
});
|
|
2237
|
-
let
|
|
2237
|
+
let N = 0, I;
|
|
2238
2238
|
function DB(g) {
|
|
2239
2239
|
I = g;
|
|
2240
2240
|
}
|
|
2241
2241
|
URL = globalThis.URL;
|
|
2242
|
-
const w = await
|
|
2242
|
+
const w = await pI({ "./polyglot_sql_wasm_bg.js": {
|
|
2243
2243
|
__wbindgen_object_drop_ref: IB,
|
|
2244
2244
|
__wbindgen_object_clone_ref: gB,
|
|
2245
|
-
__wbg_new_8a6f238a6ece86ea:
|
|
2246
|
-
__wbg_stack_0ed75d68575b0f3c:
|
|
2247
|
-
__wbg_error_7534b8e9a36f1ab4:
|
|
2248
|
-
__wbg_get_with_ref_key_1dc361bd10053bfe:
|
|
2245
|
+
__wbg_new_8a6f238a6ece86ea: eC,
|
|
2246
|
+
__wbg_stack_0ed75d68575b0f3c: bC,
|
|
2247
|
+
__wbg_error_7534b8e9a36f1ab4: FC,
|
|
2248
|
+
__wbg_get_with_ref_key_1dc361bd10053bfe: qC,
|
|
2249
2249
|
__wbg_set_3f1d0b984ed272ed: mC,
|
|
2250
2250
|
__wbg_String_8f0eb39a4a4c2f66: EC,
|
|
2251
|
-
__wbg_new_dd2b680c8bf6ae29:
|
|
2252
|
-
__wbg_length_32ed9a279acd054c:
|
|
2251
|
+
__wbg_new_dd2b680c8bf6ae29: xC,
|
|
2252
|
+
__wbg_length_32ed9a279acd054c: ZC,
|
|
2253
2253
|
__wbg_prototypesetcall_bdcdcc5842e4d77d: rC,
|
|
2254
2254
|
__wbg_done_57b39ecd9addfe81: JC,
|
|
2255
|
-
__wbg_value_0546255b415e96c1:
|
|
2256
|
-
__wbg_instanceof_Map_53af74335dec57f4:
|
|
2257
|
-
__wbg_instanceof_Uint8Array_9b9075935c74707c:
|
|
2258
|
-
__wbg_instanceof_ArrayBuffer_c367199e2fa2aa04:
|
|
2259
|
-
__wbg_new_dca287b076112a51:
|
|
2255
|
+
__wbg_value_0546255b415e96c1: vC,
|
|
2256
|
+
__wbg_instanceof_Map_53af74335dec57f4: PC,
|
|
2257
|
+
__wbg_instanceof_Uint8Array_9b9075935c74707c: OC,
|
|
2258
|
+
__wbg_instanceof_ArrayBuffer_c367199e2fa2aa04: pC,
|
|
2259
|
+
__wbg_new_dca287b076112a51: VC,
|
|
2260
2260
|
__wbg_set_1eb0999cf5d27fc8: nC,
|
|
2261
2261
|
__wbg_get_9b94d73e6221f75c: sC,
|
|
2262
|
-
__wbg_new_3eb36ae241fe6f44:
|
|
2262
|
+
__wbg_new_3eb36ae241fe6f44: fC,
|
|
2263
2263
|
__wbg_set_f43e577aea94465b: uC,
|
|
2264
|
-
__wbg_length_35a7bace40f36eac:
|
|
2265
|
-
__wbg_isArray_d314bb98fcf08331:
|
|
2266
|
-
__wbg_isSafeInteger_bfbc7332a9768d2a:
|
|
2267
|
-
__wbg_new_361308b2356cecd0:
|
|
2268
|
-
__wbg_entries_58c7934c745daac7:
|
|
2264
|
+
__wbg_length_35a7bace40f36eac: dC,
|
|
2265
|
+
__wbg_isArray_d314bb98fcf08331: jC,
|
|
2266
|
+
__wbg_isSafeInteger_bfbc7332a9768d2a: TC,
|
|
2267
|
+
__wbg_new_361308b2356cecd0: zC,
|
|
2268
|
+
__wbg_entries_58c7934c745daac7: LC,
|
|
2269
2269
|
__wbg_iterator_6ff6560ca1568e55: tC,
|
|
2270
2270
|
__wbg_get_b3ed3ad4be2bc8ac: aC,
|
|
2271
2271
|
__wbg_call_389efe28435a9388: UC,
|
|
2272
2272
|
__wbg_next_418f80d8f5303233: lC,
|
|
2273
|
-
__wbg_next_3482f54c49e8af19:
|
|
2273
|
+
__wbg_next_3482f54c49e8af19: WC,
|
|
2274
2274
|
__wbg_fromCodePoint_22365db7b7d6ac39: RC,
|
|
2275
|
-
__wbg___wbindgen_in_47fa6863be6f2f25:
|
|
2275
|
+
__wbg___wbindgen_in_47fa6863be6f2f25: kC,
|
|
2276
2276
|
__wbg___wbindgen_throw_be289d5034ed271b: hC,
|
|
2277
|
-
__wbg___wbindgen_is_null_ac34f5003991759a:
|
|
2277
|
+
__wbg___wbindgen_is_null_ac34f5003991759a: iC,
|
|
2278
2278
|
__wbg___wbindgen_jsval_eq_11888390b0186270: YC,
|
|
2279
2279
|
__wbg_Number_04624de7d0e8332d: QC,
|
|
2280
2280
|
__wbg_Error_8c4e43fe74559d73: BC,
|
|
2281
|
-
__wbg___wbindgen_is_bigint_31b12575b56f32fc:
|
|
2281
|
+
__wbg___wbindgen_is_bigint_31b12575b56f32fc: NC,
|
|
2282
2282
|
__wbg___wbindgen_is_object_5ae8e5880f2c1fbd: yC,
|
|
2283
2283
|
__wbg___wbindgen_is_string_cd444516edc5b180: KC,
|
|
2284
|
-
__wbg___wbindgen_number_get_8ff4255516ccad3e:
|
|
2285
|
-
__wbg___wbindgen_string_get_72fb696202c56729:
|
|
2284
|
+
__wbg___wbindgen_number_get_8ff4255516ccad3e: cC,
|
|
2285
|
+
__wbg___wbindgen_string_get_72fb696202c56729: SC,
|
|
2286
2286
|
__wbg___wbindgen_boolean_get_bbbb1c18aa2f5e25: wC,
|
|
2287
2287
|
__wbg___wbindgen_is_function_0095a73b8b156f76: oC,
|
|
2288
2288
|
__wbg___wbindgen_is_undefined_9e4d92534c42d778: GC,
|
|
@@ -2293,55 +2293,55 @@ const w = await qI({ "./polyglot_sql_wasm_bg.js": {
|
|
|
2293
2293
|
__wbindgen_cast_0000000000000002: _C,
|
|
2294
2294
|
__wbindgen_cast_0000000000000003: $C,
|
|
2295
2295
|
__wbindgen_cast_0000000000000004: AB
|
|
2296
|
-
} },
|
|
2296
|
+
} }, qI), wB = w.memory, MB = w.__wbg_wasmassignmentarray_free, kB = w.__wbg_wasmcasebuilder_free, NB = w.__wbg_wasmdeletebuilder_free, oB = w.__wbg_wasmexpr_free, iB = w.__wbg_wasmexprarray_free, yB = w.__wbg_wasminsertbuilder_free, KB = w.__wbg_wasmmergebuilder_free, GB = w.__wbg_wasmselectbuilder_free, YB = w.__wbg_wasmsetopbuilder_free, HB = w.__wbg_wasmupdatebuilder_free, cB = w.__wbg_wasmwindowdefbuilder_free, SB = w.analyze_query, hB = w.analyze_query_value, UB = w.annotate_types, JB = w.annotate_types_value, LB = w.ast_add_where, FB = w.ast_get_aggregate_functions, RB = w.ast_get_column_names, sB = w.ast_get_functions, aB = w.ast_get_literals, qB = w.ast_get_subqueries, pB = w.ast_get_table_names, PB = w.ast_get_tables, OB = w.ast_get_window_functions, jB = w.ast_node_count, TB = w.ast_qualify_columns, tB = w.ast_qualify_tables, ZB = w.ast_remove_where, dB = w.ast_rename_columns, zB = w.ast_rename_tables, fB = w.ast_rename_tables_with_options, eB = w.ast_set_distinct, VB = w.ast_set_limit, xB = w.ast_set_offset, WB = w.ast_set_order_by, lB = w.diff_sql, rB = w.format_sql, nB = w.format_sql_value, mB = w.format_sql_with_options, uB = w.format_sql_with_options_value, bB = w.generate, vB = w.generate_data_type, XB = w.generate_data_type_value, _B = w.generate_value, $B = w.get_dialects, AQ = w.get_dialects_value, gQ = w.lineage_sql, IQ = w.lineage_sql_with_schema, CQ = w.openlineage_column_lineage, BQ = w.openlineage_job_event, QQ = w.openlineage_run_event, EQ = w.parse, DQ = w.parse_data_type, wQ = w.parse_data_type_value, MQ = w.parse_value, kQ = w.plan, NQ = w.source_tables, oQ = w.tokenize, iQ = w.tokenize_value, yQ = w.transpile, KQ = w.transpile_value, GQ = w.transpile_with_options, YQ = w.transpile_with_options_value, HQ = w.validate, cQ = w.validate_with_options, SQ = w.validate_with_schema, hQ = w.version, UQ = w.wasm_alias, JQ = w.wasm_and, LQ = w.wasm_boolean, FQ = w.wasm_case_of, RQ = w.wasm_cast, sQ = w.wasm_col, aQ = w.wasm_count_distinct, qQ = w.wasm_extract, pQ = w.wasm_func, PQ = w.wasm_lit, OQ = w.wasm_not, jQ = w.wasm_null, TQ = w.wasm_or, tQ = w.wasm_sql_expr, ZQ = w.wasm_star, dQ = w.wasm_subquery, zQ = w.wasm_table, fQ = w.wasmassignmentarray_len, eQ = w.wasmassignmentarray_new, VQ = w.wasmassignmentarray_push, xQ = w.wasmcasebuilder_build_expr, WQ = w.wasmcasebuilder_else_, lQ = w.wasmcasebuilder_new, rQ = w.wasmcasebuilder_to_sql, nQ = w.wasmcasebuilder_when, mQ = w.wasmdeletebuilder_build, uQ = w.wasmdeletebuilder_new, bQ = w.wasmdeletebuilder_to_sql, vQ = w.wasmdeletebuilder_where_expr, XQ = w.wasmexpr_add, _Q = w.wasmexpr_alias, $Q = w.wasmexpr_and, AE = w.wasmexpr_asc, gE = w.wasmexpr_between, IE = w.wasmexpr_cast, CE = w.wasmexpr_desc, BE = w.wasmexpr_div, QE = w.wasmexpr_eq, EE = w.wasmexpr_gt, DE = w.wasmexpr_gte, wE = w.wasmexpr_ilike, ME = w.wasmexpr_in_list, kE = w.wasmexpr_is_not_null, NE = w.wasmexpr_is_null, oE = w.wasmexpr_like, iE = w.wasmexpr_lt, yE = w.wasmexpr_lte, KE = w.wasmexpr_mul, GE = w.wasmexpr_neq, YE = w.wasmexpr_not, HE = w.wasmexpr_not_in, cE = w.wasmexpr_or, SE = w.wasmexpr_rlike, hE = w.wasmexpr_sub, UE = w.wasmexpr_to_json, JE = w.wasmexpr_to_sql, LE = w.wasmexpr_xor, FE = w.wasmexprarray_len, RE = w.wasmexprarray_push, sE = w.wasmexprarray_push_col, aE = w.wasmexprarray_push_float, qE = w.wasmexprarray_push_int, pE = w.wasmexprarray_push_star, PE = w.wasmexprarray_push_str, OE = w.wasminsertbuilder_build, jE = w.wasminsertbuilder_columns, TE = w.wasminsertbuilder_new, tE = w.wasminsertbuilder_query, ZE = w.wasminsertbuilder_to_sql, dE = w.wasminsertbuilder_values, zE = w.wasmmergebuilder_build, fE = w.wasmmergebuilder_new, eE = w.wasmmergebuilder_to_sql, VE = w.wasmmergebuilder_using, xE = w.wasmmergebuilder_when_matched_delete, WE = w.wasmmergebuilder_when_matched_update, lE = w.wasmmergebuilder_when_not_matched_insert, rE = w.wasmselectbuilder_build, nE = w.wasmselectbuilder_cross_join, mE = w.wasmselectbuilder_ctas, uE = w.wasmselectbuilder_ctas_sql, bE = w.wasmselectbuilder_distinct, vE = w.wasmselectbuilder_except_, XE = w.wasmselectbuilder_for_update, _E = w.wasmselectbuilder_from, $E = w.wasmselectbuilder_from_expr, AD = w.wasmselectbuilder_group_by_cols, gD = w.wasmselectbuilder_having, ID = w.wasmselectbuilder_hint, CD = w.wasmselectbuilder_intersect, BD = w.wasmselectbuilder_join, QD = w.wasmselectbuilder_lateral_view, ED = w.wasmselectbuilder_left_join, DD = w.wasmselectbuilder_limit, wD = w.wasmselectbuilder_new, MD = w.wasmselectbuilder_offset, kD = w.wasmselectbuilder_order_by_exprs, ND = w.wasmselectbuilder_qualify, oD = w.wasmselectbuilder_right_join, iD = w.wasmselectbuilder_select_col, yD = w.wasmselectbuilder_select_expr, KD = w.wasmselectbuilder_select_exprs, GD = w.wasmselectbuilder_select_star, YD = w.wasmselectbuilder_sort_by_exprs, HD = w.wasmselectbuilder_to_sql, cD = w.wasmselectbuilder_union, SD = w.wasmselectbuilder_union_all, hD = w.wasmselectbuilder_where_expr, UD = w.wasmselectbuilder_where_sql, JD = w.wasmselectbuilder_window, LD = w.wasmsetopbuilder_build, FD = w.wasmsetopbuilder_limit, RD = w.wasmsetopbuilder_offset, sD = w.wasmsetopbuilder_order_by_exprs, aD = w.wasmsetopbuilder_to_sql, qD = w.wasmupdatebuilder_build, pD = w.wasmupdatebuilder_from, PD = w.wasmupdatebuilder_new, OD = w.wasmupdatebuilder_set, jD = w.wasmupdatebuilder_to_sql, TD = w.wasmupdatebuilder_where_expr, tD = w.wasmwindowdefbuilder_new, ZD = w.wasmwindowdefbuilder_order_by, dD = w.wasmwindowdefbuilder_partition_by, zD = w.wasmexprarray_new, fD = w.__wbindgen_export, eD = w.__wbindgen_export2, VD = w.__wbindgen_export3, xD = w.__wbindgen_export4, WD = w.__wbindgen_add_to_stack_pointer, lD = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2297
2297
|
__proto__: null,
|
|
2298
2298
|
__wbg_wasmassignmentarray_free: MB,
|
|
2299
|
-
__wbg_wasmcasebuilder_free:
|
|
2300
|
-
__wbg_wasmdeletebuilder_free:
|
|
2299
|
+
__wbg_wasmcasebuilder_free: kB,
|
|
2300
|
+
__wbg_wasmdeletebuilder_free: NB,
|
|
2301
2301
|
__wbg_wasmexpr_free: oB,
|
|
2302
|
-
__wbg_wasmexprarray_free:
|
|
2302
|
+
__wbg_wasmexprarray_free: iB,
|
|
2303
2303
|
__wbg_wasminsertbuilder_free: yB,
|
|
2304
2304
|
__wbg_wasmmergebuilder_free: KB,
|
|
2305
2305
|
__wbg_wasmselectbuilder_free: GB,
|
|
2306
2306
|
__wbg_wasmsetopbuilder_free: YB,
|
|
2307
2307
|
__wbg_wasmupdatebuilder_free: HB,
|
|
2308
|
-
__wbg_wasmwindowdefbuilder_free:
|
|
2309
|
-
__wbindgen_add_to_stack_pointer:
|
|
2310
|
-
__wbindgen_export:
|
|
2311
|
-
__wbindgen_export2:
|
|
2312
|
-
__wbindgen_export3:
|
|
2313
|
-
__wbindgen_export4:
|
|
2314
|
-
analyze_query:
|
|
2308
|
+
__wbg_wasmwindowdefbuilder_free: cB,
|
|
2309
|
+
__wbindgen_add_to_stack_pointer: WD,
|
|
2310
|
+
__wbindgen_export: fD,
|
|
2311
|
+
__wbindgen_export2: eD,
|
|
2312
|
+
__wbindgen_export3: VD,
|
|
2313
|
+
__wbindgen_export4: xD,
|
|
2314
|
+
analyze_query: SB,
|
|
2315
2315
|
analyze_query_value: hB,
|
|
2316
2316
|
annotate_types: UB,
|
|
2317
2317
|
annotate_types_value: JB,
|
|
2318
|
-
ast_add_where:
|
|
2319
|
-
ast_get_aggregate_functions:
|
|
2318
|
+
ast_add_where: LB,
|
|
2319
|
+
ast_get_aggregate_functions: FB,
|
|
2320
2320
|
ast_get_column_names: RB,
|
|
2321
2321
|
ast_get_functions: sB,
|
|
2322
2322
|
ast_get_literals: aB,
|
|
2323
|
-
ast_get_subqueries:
|
|
2324
|
-
ast_get_table_names:
|
|
2325
|
-
ast_get_tables:
|
|
2326
|
-
ast_get_window_functions:
|
|
2327
|
-
ast_node_count:
|
|
2328
|
-
ast_qualify_columns:
|
|
2323
|
+
ast_get_subqueries: qB,
|
|
2324
|
+
ast_get_table_names: pB,
|
|
2325
|
+
ast_get_tables: PB,
|
|
2326
|
+
ast_get_window_functions: OB,
|
|
2327
|
+
ast_node_count: jB,
|
|
2328
|
+
ast_qualify_columns: TB,
|
|
2329
2329
|
ast_qualify_tables: tB,
|
|
2330
|
-
ast_remove_where:
|
|
2331
|
-
ast_rename_columns:
|
|
2332
|
-
ast_rename_tables:
|
|
2333
|
-
ast_rename_tables_with_options:
|
|
2334
|
-
ast_set_distinct:
|
|
2335
|
-
ast_set_limit:
|
|
2336
|
-
ast_set_offset:
|
|
2337
|
-
ast_set_order_by:
|
|
2330
|
+
ast_remove_where: ZB,
|
|
2331
|
+
ast_rename_columns: dB,
|
|
2332
|
+
ast_rename_tables: zB,
|
|
2333
|
+
ast_rename_tables_with_options: fB,
|
|
2334
|
+
ast_set_distinct: eB,
|
|
2335
|
+
ast_set_limit: VB,
|
|
2336
|
+
ast_set_offset: xB,
|
|
2337
|
+
ast_set_order_by: WB,
|
|
2338
2338
|
diff_sql: lB,
|
|
2339
2339
|
format_sql: rB,
|
|
2340
2340
|
format_sql_value: nB,
|
|
2341
2341
|
format_sql_with_options: mB,
|
|
2342
2342
|
format_sql_with_options_value: uB,
|
|
2343
|
-
generate:
|
|
2344
|
-
generate_data_type:
|
|
2343
|
+
generate: bB,
|
|
2344
|
+
generate_data_type: vB,
|
|
2345
2345
|
generate_data_type_value: XB,
|
|
2346
2346
|
generate_value: _B,
|
|
2347
2347
|
get_dialects: $B,
|
|
@@ -2356,47 +2356,47 @@ const w = await qI({ "./polyglot_sql_wasm_bg.js": {
|
|
|
2356
2356
|
parse_data_type: DQ,
|
|
2357
2357
|
parse_data_type_value: wQ,
|
|
2358
2358
|
parse_value: MQ,
|
|
2359
|
-
plan:
|
|
2360
|
-
source_tables:
|
|
2359
|
+
plan: kQ,
|
|
2360
|
+
source_tables: NQ,
|
|
2361
2361
|
tokenize: oQ,
|
|
2362
|
-
tokenize_value:
|
|
2362
|
+
tokenize_value: iQ,
|
|
2363
2363
|
transpile: yQ,
|
|
2364
2364
|
transpile_value: KQ,
|
|
2365
2365
|
transpile_with_options: GQ,
|
|
2366
2366
|
transpile_with_options_value: YQ,
|
|
2367
2367
|
validate: HQ,
|
|
2368
|
-
validate_with_options:
|
|
2369
|
-
validate_with_schema:
|
|
2368
|
+
validate_with_options: cQ,
|
|
2369
|
+
validate_with_schema: SQ,
|
|
2370
2370
|
version: hQ,
|
|
2371
2371
|
wasm_alias: UQ,
|
|
2372
2372
|
wasm_and: JQ,
|
|
2373
|
-
wasm_boolean:
|
|
2374
|
-
wasm_case_of:
|
|
2373
|
+
wasm_boolean: LQ,
|
|
2374
|
+
wasm_case_of: FQ,
|
|
2375
2375
|
wasm_cast: RQ,
|
|
2376
2376
|
wasm_col: sQ,
|
|
2377
2377
|
wasm_count_distinct: aQ,
|
|
2378
|
-
wasm_extract:
|
|
2379
|
-
wasm_func:
|
|
2380
|
-
wasm_lit:
|
|
2381
|
-
wasm_not:
|
|
2382
|
-
wasm_null:
|
|
2383
|
-
wasm_or:
|
|
2378
|
+
wasm_extract: qQ,
|
|
2379
|
+
wasm_func: pQ,
|
|
2380
|
+
wasm_lit: PQ,
|
|
2381
|
+
wasm_not: OQ,
|
|
2382
|
+
wasm_null: jQ,
|
|
2383
|
+
wasm_or: TQ,
|
|
2384
2384
|
wasm_sql_expr: tQ,
|
|
2385
|
-
wasm_star:
|
|
2386
|
-
wasm_subquery:
|
|
2387
|
-
wasm_table:
|
|
2388
|
-
wasmassignmentarray_len:
|
|
2389
|
-
wasmassignmentarray_new:
|
|
2390
|
-
wasmassignmentarray_push:
|
|
2391
|
-
wasmcasebuilder_build_expr:
|
|
2392
|
-
wasmcasebuilder_else_:
|
|
2385
|
+
wasm_star: ZQ,
|
|
2386
|
+
wasm_subquery: dQ,
|
|
2387
|
+
wasm_table: zQ,
|
|
2388
|
+
wasmassignmentarray_len: fQ,
|
|
2389
|
+
wasmassignmentarray_new: eQ,
|
|
2390
|
+
wasmassignmentarray_push: VQ,
|
|
2391
|
+
wasmcasebuilder_build_expr: xQ,
|
|
2392
|
+
wasmcasebuilder_else_: WQ,
|
|
2393
2393
|
wasmcasebuilder_new: lQ,
|
|
2394
2394
|
wasmcasebuilder_to_sql: rQ,
|
|
2395
2395
|
wasmcasebuilder_when: nQ,
|
|
2396
2396
|
wasmdeletebuilder_build: mQ,
|
|
2397
2397
|
wasmdeletebuilder_new: uQ,
|
|
2398
|
-
wasmdeletebuilder_to_sql:
|
|
2399
|
-
wasmdeletebuilder_where_expr:
|
|
2398
|
+
wasmdeletebuilder_to_sql: bQ,
|
|
2399
|
+
wasmdeletebuilder_where_expr: vQ,
|
|
2400
2400
|
wasmexpr_add: XQ,
|
|
2401
2401
|
wasmexpr_alias: _Q,
|
|
2402
2402
|
wasmexpr_and: $Q,
|
|
@@ -2410,48 +2410,48 @@ const w = await qI({ "./polyglot_sql_wasm_bg.js": {
|
|
|
2410
2410
|
wasmexpr_gte: DE,
|
|
2411
2411
|
wasmexpr_ilike: wE,
|
|
2412
2412
|
wasmexpr_in_list: ME,
|
|
2413
|
-
wasmexpr_is_not_null:
|
|
2414
|
-
wasmexpr_is_null:
|
|
2413
|
+
wasmexpr_is_not_null: kE,
|
|
2414
|
+
wasmexpr_is_null: NE,
|
|
2415
2415
|
wasmexpr_like: oE,
|
|
2416
|
-
wasmexpr_lt:
|
|
2416
|
+
wasmexpr_lt: iE,
|
|
2417
2417
|
wasmexpr_lte: yE,
|
|
2418
2418
|
wasmexpr_mul: KE,
|
|
2419
2419
|
wasmexpr_neq: GE,
|
|
2420
2420
|
wasmexpr_not: YE,
|
|
2421
2421
|
wasmexpr_not_in: HE,
|
|
2422
|
-
wasmexpr_or:
|
|
2423
|
-
wasmexpr_rlike:
|
|
2422
|
+
wasmexpr_or: cE,
|
|
2423
|
+
wasmexpr_rlike: SE,
|
|
2424
2424
|
wasmexpr_sub: hE,
|
|
2425
2425
|
wasmexpr_to_json: UE,
|
|
2426
2426
|
wasmexpr_to_sql: JE,
|
|
2427
|
-
wasmexpr_xor:
|
|
2428
|
-
wasmexprarray_len:
|
|
2429
|
-
wasmexprarray_new:
|
|
2427
|
+
wasmexpr_xor: LE,
|
|
2428
|
+
wasmexprarray_len: FE,
|
|
2429
|
+
wasmexprarray_new: zD,
|
|
2430
2430
|
wasmexprarray_push: RE,
|
|
2431
2431
|
wasmexprarray_push_col: sE,
|
|
2432
2432
|
wasmexprarray_push_float: aE,
|
|
2433
|
-
wasmexprarray_push_int:
|
|
2434
|
-
wasmexprarray_push_star:
|
|
2435
|
-
wasmexprarray_push_str:
|
|
2436
|
-
wasminsertbuilder_build:
|
|
2437
|
-
wasminsertbuilder_columns:
|
|
2438
|
-
wasminsertbuilder_new:
|
|
2433
|
+
wasmexprarray_push_int: qE,
|
|
2434
|
+
wasmexprarray_push_star: pE,
|
|
2435
|
+
wasmexprarray_push_str: PE,
|
|
2436
|
+
wasminsertbuilder_build: OE,
|
|
2437
|
+
wasminsertbuilder_columns: jE,
|
|
2438
|
+
wasminsertbuilder_new: TE,
|
|
2439
2439
|
wasminsertbuilder_query: tE,
|
|
2440
|
-
wasminsertbuilder_to_sql:
|
|
2441
|
-
wasminsertbuilder_values:
|
|
2442
|
-
wasmmergebuilder_build:
|
|
2443
|
-
wasmmergebuilder_new:
|
|
2444
|
-
wasmmergebuilder_to_sql:
|
|
2445
|
-
wasmmergebuilder_using:
|
|
2446
|
-
wasmmergebuilder_when_matched_delete:
|
|
2447
|
-
wasmmergebuilder_when_matched_update:
|
|
2440
|
+
wasminsertbuilder_to_sql: ZE,
|
|
2441
|
+
wasminsertbuilder_values: dE,
|
|
2442
|
+
wasmmergebuilder_build: zE,
|
|
2443
|
+
wasmmergebuilder_new: fE,
|
|
2444
|
+
wasmmergebuilder_to_sql: eE,
|
|
2445
|
+
wasmmergebuilder_using: VE,
|
|
2446
|
+
wasmmergebuilder_when_matched_delete: xE,
|
|
2447
|
+
wasmmergebuilder_when_matched_update: WE,
|
|
2448
2448
|
wasmmergebuilder_when_not_matched_insert: lE,
|
|
2449
2449
|
wasmselectbuilder_build: rE,
|
|
2450
2450
|
wasmselectbuilder_cross_join: nE,
|
|
2451
2451
|
wasmselectbuilder_ctas: mE,
|
|
2452
2452
|
wasmselectbuilder_ctas_sql: uE,
|
|
2453
|
-
wasmselectbuilder_distinct:
|
|
2454
|
-
wasmselectbuilder_except_:
|
|
2453
|
+
wasmselectbuilder_distinct: bE,
|
|
2454
|
+
wasmselectbuilder_except_: vE,
|
|
2455
2455
|
wasmselectbuilder_for_update: XE,
|
|
2456
2456
|
wasmselectbuilder_from: _E,
|
|
2457
2457
|
wasmselectbuilder_from_expr: $E,
|
|
@@ -2465,53 +2465,53 @@ const w = await qI({ "./polyglot_sql_wasm_bg.js": {
|
|
|
2465
2465
|
wasmselectbuilder_limit: DD,
|
|
2466
2466
|
wasmselectbuilder_new: wD,
|
|
2467
2467
|
wasmselectbuilder_offset: MD,
|
|
2468
|
-
wasmselectbuilder_order_by_exprs:
|
|
2469
|
-
wasmselectbuilder_qualify:
|
|
2468
|
+
wasmselectbuilder_order_by_exprs: kD,
|
|
2469
|
+
wasmselectbuilder_qualify: ND,
|
|
2470
2470
|
wasmselectbuilder_right_join: oD,
|
|
2471
|
-
wasmselectbuilder_select_col:
|
|
2471
|
+
wasmselectbuilder_select_col: iD,
|
|
2472
2472
|
wasmselectbuilder_select_expr: yD,
|
|
2473
2473
|
wasmselectbuilder_select_exprs: KD,
|
|
2474
2474
|
wasmselectbuilder_select_star: GD,
|
|
2475
2475
|
wasmselectbuilder_sort_by_exprs: YD,
|
|
2476
2476
|
wasmselectbuilder_to_sql: HD,
|
|
2477
|
-
wasmselectbuilder_union:
|
|
2478
|
-
wasmselectbuilder_union_all:
|
|
2477
|
+
wasmselectbuilder_union: cD,
|
|
2478
|
+
wasmselectbuilder_union_all: SD,
|
|
2479
2479
|
wasmselectbuilder_where_expr: hD,
|
|
2480
2480
|
wasmselectbuilder_where_sql: UD,
|
|
2481
2481
|
wasmselectbuilder_window: JD,
|
|
2482
|
-
wasmsetopbuilder_build:
|
|
2483
|
-
wasmsetopbuilder_limit:
|
|
2482
|
+
wasmsetopbuilder_build: LD,
|
|
2483
|
+
wasmsetopbuilder_limit: FD,
|
|
2484
2484
|
wasmsetopbuilder_offset: RD,
|
|
2485
2485
|
wasmsetopbuilder_order_by_exprs: sD,
|
|
2486
2486
|
wasmsetopbuilder_to_sql: aD,
|
|
2487
|
-
wasmupdatebuilder_build:
|
|
2488
|
-
wasmupdatebuilder_from:
|
|
2489
|
-
wasmupdatebuilder_new:
|
|
2490
|
-
wasmupdatebuilder_set:
|
|
2491
|
-
wasmupdatebuilder_to_sql:
|
|
2492
|
-
wasmupdatebuilder_where_expr:
|
|
2487
|
+
wasmupdatebuilder_build: qD,
|
|
2488
|
+
wasmupdatebuilder_from: pD,
|
|
2489
|
+
wasmupdatebuilder_new: PD,
|
|
2490
|
+
wasmupdatebuilder_set: OD,
|
|
2491
|
+
wasmupdatebuilder_to_sql: jD,
|
|
2492
|
+
wasmupdatebuilder_where_expr: TD,
|
|
2493
2493
|
wasmwindowdefbuilder_new: tD,
|
|
2494
|
-
wasmwindowdefbuilder_order_by:
|
|
2495
|
-
wasmwindowdefbuilder_partition_by:
|
|
2494
|
+
wasmwindowdefbuilder_order_by: ZD,
|
|
2495
|
+
wasmwindowdefbuilder_partition_by: dD
|
|
2496
2496
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2497
2497
|
DB(lD);
|
|
2498
|
-
const
|
|
2498
|
+
const Wg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2499
2499
|
__proto__: null,
|
|
2500
2500
|
WasmAssignmentArray: BA,
|
|
2501
2501
|
WasmCaseBuilder: u,
|
|
2502
2502
|
WasmDeleteBuilder: MA,
|
|
2503
2503
|
WasmExpr: G,
|
|
2504
|
-
WasmExprArray:
|
|
2505
|
-
WasmInsertBuilder:
|
|
2506
|
-
WasmMergeBuilder:
|
|
2507
|
-
WasmSelectBuilder:
|
|
2508
|
-
WasmSetOpBuilder:
|
|
2504
|
+
WasmExprArray: P,
|
|
2505
|
+
WasmInsertBuilder: kA,
|
|
2506
|
+
WasmMergeBuilder: NA,
|
|
2507
|
+
WasmSelectBuilder: d,
|
|
2508
|
+
WasmSetOpBuilder: W,
|
|
2509
2509
|
WasmUpdateBuilder: oA,
|
|
2510
2510
|
WasmWindowDefBuilder: QA,
|
|
2511
|
-
analyze_query:
|
|
2512
|
-
analyze_query_value:
|
|
2513
|
-
annotate_types:
|
|
2514
|
-
annotate_types_value:
|
|
2511
|
+
analyze_query: PI,
|
|
2512
|
+
analyze_query_value: OI,
|
|
2513
|
+
annotate_types: jI,
|
|
2514
|
+
annotate_types_value: TI,
|
|
2515
2515
|
ast_add_where: Ag,
|
|
2516
2516
|
ast_get_aggregate_functions: gg,
|
|
2517
2517
|
ast_get_column_names: Ig,
|
|
@@ -2522,40 +2522,40 @@ const Vg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2522
2522
|
ast_get_tables: Dg,
|
|
2523
2523
|
ast_get_window_functions: wg,
|
|
2524
2524
|
ast_node_count: Mg,
|
|
2525
|
-
ast_qualify_columns:
|
|
2526
|
-
ast_qualify_tables:
|
|
2525
|
+
ast_qualify_columns: kg,
|
|
2526
|
+
ast_qualify_tables: Ng,
|
|
2527
2527
|
ast_remove_where: og,
|
|
2528
|
-
ast_rename_columns:
|
|
2528
|
+
ast_rename_columns: ig,
|
|
2529
2529
|
ast_rename_tables: yg,
|
|
2530
2530
|
ast_rename_tables_with_options: Kg,
|
|
2531
2531
|
ast_set_distinct: Gg,
|
|
2532
2532
|
ast_set_limit: Yg,
|
|
2533
2533
|
ast_set_offset: Hg,
|
|
2534
|
-
ast_set_order_by:
|
|
2535
|
-
diff_sql:
|
|
2534
|
+
ast_set_order_by: cg,
|
|
2535
|
+
diff_sql: Sg,
|
|
2536
2536
|
format_sql: tI,
|
|
2537
|
-
format_sql_value:
|
|
2538
|
-
format_sql_with_options:
|
|
2539
|
-
format_sql_with_options_value:
|
|
2540
|
-
generate:
|
|
2541
|
-
generate_data_type:
|
|
2542
|
-
generate_data_type_value:
|
|
2543
|
-
generate_value:
|
|
2544
|
-
get_dialects:
|
|
2537
|
+
format_sql_value: ZI,
|
|
2538
|
+
format_sql_with_options: dI,
|
|
2539
|
+
format_sql_with_options_value: zI,
|
|
2540
|
+
generate: fI,
|
|
2541
|
+
generate_data_type: eI,
|
|
2542
|
+
generate_data_type_value: VI,
|
|
2543
|
+
generate_value: xI,
|
|
2544
|
+
get_dialects: WI,
|
|
2545
2545
|
get_dialects_value: lI,
|
|
2546
2546
|
lineage_sql: hg,
|
|
2547
2547
|
lineage_sql_with_schema: Ug,
|
|
2548
2548
|
openlineage_column_lineage: Jg,
|
|
2549
|
-
openlineage_job_event:
|
|
2550
|
-
openlineage_run_event:
|
|
2549
|
+
openlineage_job_event: Lg,
|
|
2550
|
+
openlineage_run_event: Fg,
|
|
2551
2551
|
parse: rI,
|
|
2552
2552
|
parse_data_type: nI,
|
|
2553
2553
|
parse_data_type_value: mI,
|
|
2554
2554
|
parse_value: uI,
|
|
2555
2555
|
plan: Rg,
|
|
2556
2556
|
source_tables: sg,
|
|
2557
|
-
tokenize:
|
|
2558
|
-
tokenize_value:
|
|
2557
|
+
tokenize: bI,
|
|
2558
|
+
tokenize_value: vI,
|
|
2559
2559
|
transpile: XI,
|
|
2560
2560
|
transpile_value: _I,
|
|
2561
2561
|
transpile_with_options: $I,
|
|
@@ -2564,28 +2564,28 @@ const Vg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2564
2564
|
validate_with_options: IC,
|
|
2565
2565
|
validate_with_schema: ag,
|
|
2566
2566
|
version: CC,
|
|
2567
|
-
wasm_alias:
|
|
2568
|
-
wasm_and:
|
|
2569
|
-
wasm_boolean:
|
|
2570
|
-
wasm_case_of:
|
|
2571
|
-
wasm_cast:
|
|
2567
|
+
wasm_alias: qg,
|
|
2568
|
+
wasm_and: pg,
|
|
2569
|
+
wasm_boolean: Pg,
|
|
2570
|
+
wasm_case_of: Og,
|
|
2571
|
+
wasm_cast: jg,
|
|
2572
2572
|
wasm_col: JA,
|
|
2573
|
-
wasm_count_distinct:
|
|
2573
|
+
wasm_count_distinct: Tg,
|
|
2574
2574
|
wasm_extract: tg,
|
|
2575
|
-
wasm_func:
|
|
2576
|
-
wasm_lit:
|
|
2577
|
-
wasm_not:
|
|
2575
|
+
wasm_func: Zg,
|
|
2576
|
+
wasm_lit: iA,
|
|
2577
|
+
wasm_not: dg,
|
|
2578
2578
|
wasm_null: yA,
|
|
2579
|
-
wasm_or:
|
|
2580
|
-
wasm_sql_expr:
|
|
2581
|
-
wasm_star:
|
|
2582
|
-
wasm_subquery:
|
|
2583
|
-
wasm_table:
|
|
2579
|
+
wasm_or: zg,
|
|
2580
|
+
wasm_sql_expr: fg,
|
|
2581
|
+
wasm_star: eg,
|
|
2582
|
+
wasm_subquery: Vg,
|
|
2583
|
+
wasm_table: xg
|
|
2584
2584
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2585
|
-
function
|
|
2585
|
+
function p(g) {
|
|
2586
2586
|
return Object.keys(g)[0];
|
|
2587
2587
|
}
|
|
2588
|
-
function
|
|
2588
|
+
function O(g) {
|
|
2589
2589
|
const A = Object.keys(g)[0];
|
|
2590
2590
|
return g[A];
|
|
2591
2591
|
}
|
|
@@ -2597,11 +2597,11 @@ function l(g) {
|
|
|
2597
2597
|
const C = g[A[0]];
|
|
2598
2598
|
return C === null || typeof C == "object" && !Array.isArray(C);
|
|
2599
2599
|
}
|
|
2600
|
-
function
|
|
2600
|
+
function T(g, A) {
|
|
2601
2601
|
return { [g]: A };
|
|
2602
2602
|
}
|
|
2603
2603
|
function lg(g) {
|
|
2604
|
-
const A =
|
|
2604
|
+
const A = O(g);
|
|
2605
2605
|
if (A && typeof A == "object" && "inferred_type" in A) {
|
|
2606
2606
|
const C = A.inferred_type;
|
|
2607
2607
|
if (C != null)
|
|
@@ -2611,80 +2611,80 @@ function lg(g) {
|
|
|
2611
2611
|
function Y(g) {
|
|
2612
2612
|
return (A) => g in A;
|
|
2613
2613
|
}
|
|
2614
|
-
const rg = Y("select"), rD = Y("insert"), nD = Y("update"), mD = Y("delete"), uD = Y("union"),
|
|
2614
|
+
const rg = Y("select"), rD = Y("insert"), nD = Y("update"), mD = Y("delete"), uD = Y("union"), bD = Y("intersect"), vD = Y("except"), XD = Y("subquery"), _D = Y("identifier"), ng = Y("column"), $D = Y("table"), Aw = Y("star"), mg = Y("literal"), gw = Y("boolean"), Iw = Y("null"), Cw = Y("and"), Bw = Y("or"), Qw = Y("not"), Ew = Y("eq"), Dw = Y("neq"), ww = Y("lt"), Mw = Y("lte"), kw = Y("gt"), Nw = Y("gte"), ow = Y("like"), iw = Y("i_like"), yw = Y("add"), Kw = Y("sub"), Gw = Y("mul"), Yw = Y("div"), Hw = Y("mod"), cw = Y("concat"), Sw = Y("in"), hw = Y("between"), Uw = Y("is_null"), Jw = Y("exists"), ug = Y("function"), Lw = Y("aggregate_function"), Fw = Y("window_function"), Rw = Y("count"), sw = Y("sum"), aw = Y("avg"), qw = Y("min"), pw = Y("max"), Pw = Y("coalesce"), Ow = Y("null_if"), jw = Y("cast"), Tw = Y("try_cast"), tw = Y("safe_cast"), Zw = Y("case"), dw = Y("from"), zw = Y("join"), fw = Y("where"), ew = Y("group_by"), Vw = Y("having"), xw = Y("order_by"), Ww = Y("limit"), lw = Y("offset"), rw = Y("with"), nw = Y("cte"), mw = Y("alias"), uw = Y("paren"), bw = Y("ordered"), vw = Y("create_table"), Xw = Y("drop_table"), _w = Y("alter_table"), $w = Y("create_index"), AM = Y("drop_index"), gM = Y("create_view"), IM = Y("drop_view");
|
|
2615
2615
|
function CM(g) {
|
|
2616
|
-
const A =
|
|
2616
|
+
const A = p(g);
|
|
2617
2617
|
return A === "select" || A === "insert" || A === "update" || A === "delete";
|
|
2618
2618
|
}
|
|
2619
2619
|
function BM(g) {
|
|
2620
|
-
const A =
|
|
2620
|
+
const A = p(g);
|
|
2621
2621
|
return A === "union" || A === "intersect" || A === "except";
|
|
2622
2622
|
}
|
|
2623
2623
|
function QM(g) {
|
|
2624
|
-
const A =
|
|
2624
|
+
const A = p(g);
|
|
2625
2625
|
return A === "eq" || A === "neq" || A === "lt" || A === "lte" || A === "gt" || A === "gte" || A === "like" || A === "i_like";
|
|
2626
2626
|
}
|
|
2627
2627
|
function EM(g) {
|
|
2628
|
-
const A =
|
|
2628
|
+
const A = p(g);
|
|
2629
2629
|
return A === "add" || A === "sub" || A === "mul" || A === "div" || A === "mod";
|
|
2630
2630
|
}
|
|
2631
2631
|
function DM(g) {
|
|
2632
|
-
const A =
|
|
2632
|
+
const A = p(g);
|
|
2633
2633
|
return A === "and" || A === "or" || A === "not";
|
|
2634
2634
|
}
|
|
2635
2635
|
function wM(g) {
|
|
2636
|
-
const A =
|
|
2636
|
+
const A = p(g);
|
|
2637
2637
|
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";
|
|
2638
2638
|
}
|
|
2639
2639
|
function t(g) {
|
|
2640
2640
|
return JSON.stringify(g);
|
|
2641
2641
|
}
|
|
2642
|
-
function
|
|
2642
|
+
function e(g) {
|
|
2643
2643
|
const A = JSON.parse(g);
|
|
2644
2644
|
return A.success ? JSON.parse(A.ast) : null;
|
|
2645
2645
|
}
|
|
2646
|
-
function
|
|
2647
|
-
return ["select", "union", "intersect", "except"].includes(
|
|
2646
|
+
function FA(g) {
|
|
2647
|
+
return ["select", "union", "intersect", "except"].includes(p(g));
|
|
2648
2648
|
}
|
|
2649
2649
|
function MM(g, A) {
|
|
2650
|
-
const C =
|
|
2651
|
-
if (!
|
|
2650
|
+
const C = p(g);
|
|
2651
|
+
if (!FA(g))
|
|
2652
2652
|
return g;
|
|
2653
|
-
const B =
|
|
2654
|
-
return C === "select" ?
|
|
2653
|
+
const B = O(g);
|
|
2654
|
+
return C === "select" ? T("select", {
|
|
2655
2655
|
...B,
|
|
2656
2656
|
limit: { this: A, percent: !1, comments: [] }
|
|
2657
|
-
}) :
|
|
2657
|
+
}) : T(C, {
|
|
2658
2658
|
...B,
|
|
2659
2659
|
limit: A
|
|
2660
2660
|
});
|
|
2661
2661
|
}
|
|
2662
|
-
function
|
|
2663
|
-
const C =
|
|
2664
|
-
if (!
|
|
2662
|
+
function kM(g, A) {
|
|
2663
|
+
const C = p(g);
|
|
2664
|
+
if (!FA(g))
|
|
2665
2665
|
return g;
|
|
2666
|
-
const B =
|
|
2667
|
-
return C === "select" ?
|
|
2666
|
+
const B = O(g);
|
|
2667
|
+
return C === "select" ? T("select", {
|
|
2668
2668
|
...B,
|
|
2669
2669
|
offset: { this: A, rows: null }
|
|
2670
|
-
}) :
|
|
2670
|
+
}) : T(C, {
|
|
2671
2671
|
...B,
|
|
2672
2672
|
offset: A
|
|
2673
2673
|
});
|
|
2674
2674
|
}
|
|
2675
|
-
function
|
|
2676
|
-
const C =
|
|
2677
|
-
if (!
|
|
2675
|
+
function NM(g, A) {
|
|
2676
|
+
const C = p(g);
|
|
2677
|
+
if (!FA(g))
|
|
2678
2678
|
return g;
|
|
2679
|
-
const B = A.map((Q) =>
|
|
2679
|
+
const B = A.map((Q) => p(Q) === "ordered" ? O(Q) : {
|
|
2680
2680
|
this: Q,
|
|
2681
2681
|
desc: !1,
|
|
2682
2682
|
nulls_first: null,
|
|
2683
2683
|
explicit_asc: !1,
|
|
2684
2684
|
with_fill: null
|
|
2685
2685
|
});
|
|
2686
|
-
return
|
|
2687
|
-
...
|
|
2686
|
+
return T(C, {
|
|
2687
|
+
...O(g),
|
|
2688
2688
|
order_by: {
|
|
2689
2689
|
expressions: B,
|
|
2690
2690
|
siblings: !1,
|
|
@@ -2692,7 +2692,7 @@ function iM(g, A) {
|
|
|
2692
2692
|
}
|
|
2693
2693
|
});
|
|
2694
2694
|
}
|
|
2695
|
-
function
|
|
2695
|
+
function bg(g, A, C) {
|
|
2696
2696
|
if (g == null) return g;
|
|
2697
2697
|
if (Array.isArray(g))
|
|
2698
2698
|
return g.length > 0 && l(g[0]) ? g.map(
|
|
@@ -2703,9 +2703,9 @@ function vg(g, A, C) {
|
|
|
2703
2703
|
if (typeof g == "object") {
|
|
2704
2704
|
const Q = { ...g };
|
|
2705
2705
|
let E = !1;
|
|
2706
|
-
for (const [D,
|
|
2707
|
-
const
|
|
2708
|
-
|
|
2706
|
+
for (const [D, k] of Object.entries(Q)) {
|
|
2707
|
+
const i = bg(k, A, C);
|
|
2708
|
+
i !== k && (Q[D] = i, E = !0);
|
|
2709
2709
|
}
|
|
2710
2710
|
return E ? Q : g;
|
|
2711
2711
|
}
|
|
@@ -2714,41 +2714,41 @@ function vg(g, A, C) {
|
|
|
2714
2714
|
function wA(g, A, C, B, Q) {
|
|
2715
2715
|
let E = g;
|
|
2716
2716
|
if (A.enter) {
|
|
2717
|
-
const
|
|
2718
|
-
if (
|
|
2717
|
+
const c = A.enter(E, C, B, Q);
|
|
2718
|
+
if (c === null)
|
|
2719
2719
|
return E;
|
|
2720
|
-
|
|
2720
|
+
c !== void 0 && (E = c);
|
|
2721
2721
|
}
|
|
2722
|
-
const D =
|
|
2723
|
-
if (
|
|
2724
|
-
const
|
|
2725
|
-
if (
|
|
2722
|
+
const D = p(E), k = A[D];
|
|
2723
|
+
if (k) {
|
|
2724
|
+
const c = k(E, C, B, Q);
|
|
2725
|
+
if (c === null)
|
|
2726
2726
|
return E;
|
|
2727
|
-
|
|
2727
|
+
c !== void 0 && (E = c);
|
|
2728
2728
|
}
|
|
2729
|
-
const
|
|
2729
|
+
const i = p(E), K = O(E);
|
|
2730
2730
|
let y;
|
|
2731
2731
|
if (K == null)
|
|
2732
|
-
y =
|
|
2732
|
+
y = T(i, K);
|
|
2733
2733
|
else {
|
|
2734
|
-
const
|
|
2735
|
-
for (const [
|
|
2736
|
-
const
|
|
2737
|
-
|
|
2734
|
+
const c = { ...K };
|
|
2735
|
+
for (const [F, q] of Object.entries(c)) {
|
|
2736
|
+
const j = bg(q, A, E);
|
|
2737
|
+
j !== q && (c[F] = j);
|
|
2738
2738
|
}
|
|
2739
|
-
y =
|
|
2739
|
+
y = T(i, c);
|
|
2740
2740
|
}
|
|
2741
2741
|
if (A.leave) {
|
|
2742
|
-
const
|
|
2743
|
-
if (
|
|
2744
|
-
return
|
|
2742
|
+
const c = A.leave(y, C, B, Q);
|
|
2743
|
+
if (c != null)
|
|
2744
|
+
return c;
|
|
2745
2745
|
}
|
|
2746
2746
|
return y;
|
|
2747
2747
|
}
|
|
2748
2748
|
function GA(g, A) {
|
|
2749
2749
|
return wA(g, A, null, null, null);
|
|
2750
2750
|
}
|
|
2751
|
-
function
|
|
2751
|
+
function vg(g, A, C) {
|
|
2752
2752
|
return GA(g, {
|
|
2753
2753
|
enter: (B, Q) => {
|
|
2754
2754
|
if (A(B, Q))
|
|
@@ -2757,19 +2757,19 @@ function bg(g, A, C) {
|
|
|
2757
2757
|
});
|
|
2758
2758
|
}
|
|
2759
2759
|
function oM(g, A, C) {
|
|
2760
|
-
return
|
|
2760
|
+
return vg(
|
|
2761
2761
|
g,
|
|
2762
|
-
(B) =>
|
|
2762
|
+
(B) => p(B) === A,
|
|
2763
2763
|
typeof C == "function" ? (B) => C(B) : C
|
|
2764
2764
|
);
|
|
2765
2765
|
}
|
|
2766
2766
|
function Xg(g, A) {
|
|
2767
|
-
return
|
|
2768
|
-
|
|
2767
|
+
return e(
|
|
2768
|
+
ig(t(g), JSON.stringify(A))
|
|
2769
2769
|
) ?? g;
|
|
2770
2770
|
}
|
|
2771
|
-
function
|
|
2772
|
-
return
|
|
2771
|
+
function iM(g, A, C) {
|
|
2772
|
+
return e(
|
|
2773
2773
|
C ? Kg(
|
|
2774
2774
|
t(g),
|
|
2775
2775
|
JSON.stringify(A),
|
|
@@ -2778,67 +2778,67 @@ function kM(g, A, C) {
|
|
|
2778
2778
|
) ?? g;
|
|
2779
2779
|
}
|
|
2780
2780
|
function yM(g, A) {
|
|
2781
|
-
return
|
|
2782
|
-
|
|
2781
|
+
return e(
|
|
2782
|
+
kg(t(g), A)
|
|
2783
2783
|
) ?? g;
|
|
2784
2784
|
}
|
|
2785
2785
|
function KM(g, A = {}) {
|
|
2786
|
-
return
|
|
2787
|
-
|
|
2786
|
+
return e(
|
|
2787
|
+
Ng(t(g), JSON.stringify(A))
|
|
2788
2788
|
) ?? g;
|
|
2789
2789
|
}
|
|
2790
2790
|
function GM(g, A, C = "and") {
|
|
2791
|
-
return
|
|
2791
|
+
return e(
|
|
2792
2792
|
Ag(t(g), t(A), C === "or")
|
|
2793
2793
|
) ?? g;
|
|
2794
2794
|
}
|
|
2795
2795
|
function YM(g) {
|
|
2796
|
-
return
|
|
2796
|
+
return e(og(t(g))) ?? g;
|
|
2797
2797
|
}
|
|
2798
2798
|
function HM(g, ...A) {
|
|
2799
|
-
if (
|
|
2799
|
+
if (p(g) !== "select")
|
|
2800
2800
|
return g;
|
|
2801
|
-
const C =
|
|
2802
|
-
return
|
|
2801
|
+
const C = O(g);
|
|
2802
|
+
return T("select", {
|
|
2803
2803
|
...C,
|
|
2804
2804
|
expressions: [...C.expressions, ...A]
|
|
2805
2805
|
});
|
|
2806
2806
|
}
|
|
2807
|
-
function
|
|
2808
|
-
if (
|
|
2807
|
+
function cM(g, A) {
|
|
2808
|
+
if (p(g) !== "select")
|
|
2809
2809
|
return g;
|
|
2810
|
-
const C =
|
|
2811
|
-
return
|
|
2810
|
+
const C = O(g);
|
|
2811
|
+
return T("select", {
|
|
2812
2812
|
...C,
|
|
2813
2813
|
expressions: C.expressions.filter((B) => !A(B))
|
|
2814
2814
|
});
|
|
2815
2815
|
}
|
|
2816
|
-
function
|
|
2817
|
-
return typeof A == "number" ?
|
|
2816
|
+
function SM(g, A) {
|
|
2817
|
+
return typeof A == "number" ? e(Yg(t(g), A)) ?? g : MM(g, A);
|
|
2818
2818
|
}
|
|
2819
2819
|
function hM(g, A) {
|
|
2820
|
-
return typeof A == "number" ?
|
|
2820
|
+
return typeof A == "number" ? e(Hg(t(g), A)) ?? g : kM(g, A);
|
|
2821
2821
|
}
|
|
2822
2822
|
function UM(g, A) {
|
|
2823
2823
|
const C = Array.isArray(A) ? A : [A];
|
|
2824
|
-
return
|
|
2825
|
-
|
|
2826
|
-
) ??
|
|
2824
|
+
return e(
|
|
2825
|
+
cg(t(g), JSON.stringify(C))
|
|
2826
|
+
) ?? NM(g, C);
|
|
2827
2827
|
}
|
|
2828
2828
|
function JM(g) {
|
|
2829
|
-
if (
|
|
2829
|
+
if (p(g) !== "select")
|
|
2830
2830
|
return g;
|
|
2831
|
-
const A =
|
|
2832
|
-
return
|
|
2831
|
+
const A = O(g);
|
|
2832
|
+
return T("select", {
|
|
2833
2833
|
...A,
|
|
2834
2834
|
limit: null,
|
|
2835
2835
|
offset: null
|
|
2836
2836
|
});
|
|
2837
2837
|
}
|
|
2838
|
-
function
|
|
2839
|
-
return
|
|
2838
|
+
function LM(g, A = !0) {
|
|
2839
|
+
return e(Gg(t(g), A)) ?? g;
|
|
2840
2840
|
}
|
|
2841
|
-
function
|
|
2841
|
+
function FM(g) {
|
|
2842
2842
|
return GA(g, {});
|
|
2843
2843
|
}
|
|
2844
2844
|
function _g(g, A, C) {
|
|
@@ -2850,21 +2850,21 @@ function _g(g, A, C) {
|
|
|
2850
2850
|
if (typeof g == "object") {
|
|
2851
2851
|
const Q = { ...g };
|
|
2852
2852
|
let E = !1;
|
|
2853
|
-
for (const [D,
|
|
2854
|
-
const
|
|
2855
|
-
|
|
2853
|
+
for (const [D, k] of Object.entries(Q)) {
|
|
2854
|
+
const i = _g(k, A, C);
|
|
2855
|
+
i !== k && (Q[D] = i, E = !0);
|
|
2856
2856
|
}
|
|
2857
2857
|
return E ? Q : g;
|
|
2858
2858
|
}
|
|
2859
2859
|
return g;
|
|
2860
2860
|
}
|
|
2861
2861
|
function UA(g, A) {
|
|
2862
|
-
const C =
|
|
2862
|
+
const C = p(g), Q = { ...O(g) };
|
|
2863
2863
|
for (const [E, D] of Object.entries(Q)) {
|
|
2864
|
-
const
|
|
2865
|
-
|
|
2864
|
+
const k = _g(D, A, g);
|
|
2865
|
+
k !== D && (Q[E] = k);
|
|
2866
2866
|
}
|
|
2867
|
-
return
|
|
2867
|
+
return T(C, Q);
|
|
2868
2868
|
}
|
|
2869
2869
|
function r(g) {
|
|
2870
2870
|
return JSON.stringify(g);
|
|
@@ -2890,37 +2890,37 @@ function $g(g, A, C) {
|
|
|
2890
2890
|
}
|
|
2891
2891
|
}
|
|
2892
2892
|
function AI(g) {
|
|
2893
|
-
const A = [], C =
|
|
2893
|
+
const A = [], C = O(g);
|
|
2894
2894
|
if (!C || typeof C != "object") return A;
|
|
2895
2895
|
for (const [B, Q] of Object.entries(C))
|
|
2896
2896
|
$g(Q, B, A);
|
|
2897
2897
|
return A;
|
|
2898
2898
|
}
|
|
2899
|
-
function
|
|
2899
|
+
function f(g, A, C = null, B = null, Q = null) {
|
|
2900
2900
|
A.enter && A.enter(g, C, B, Q);
|
|
2901
|
-
const E =
|
|
2901
|
+
const E = p(g), D = A[E];
|
|
2902
2902
|
D && D(g, C, B, Q);
|
|
2903
|
-
const
|
|
2904
|
-
for (const
|
|
2905
|
-
Array.isArray(
|
|
2906
|
-
|
|
2907
|
-
}) :
|
|
2903
|
+
const k = AI(g);
|
|
2904
|
+
for (const i of k)
|
|
2905
|
+
Array.isArray(i.value) ? i.value.forEach((K, y) => {
|
|
2906
|
+
f(K, A, g, i.key, y);
|
|
2907
|
+
}) : f(i.value, A, g, i.key, null);
|
|
2908
2908
|
A.leave && A.leave(g, C, B, Q);
|
|
2909
2909
|
}
|
|
2910
2910
|
function YA(g, A) {
|
|
2911
2911
|
const C = [];
|
|
2912
|
-
return
|
|
2912
|
+
return f(g, {
|
|
2913
2913
|
enter: (B, Q) => {
|
|
2914
2914
|
A(B, Q) && C.push(B);
|
|
2915
2915
|
}
|
|
2916
2916
|
}), C;
|
|
2917
2917
|
}
|
|
2918
2918
|
function HA(g, A) {
|
|
2919
|
-
return YA(g, (C) =>
|
|
2919
|
+
return YA(g, (C) => p(C) === A);
|
|
2920
2920
|
}
|
|
2921
2921
|
function gI(g, A) {
|
|
2922
2922
|
let C, B = !1;
|
|
2923
|
-
return
|
|
2923
|
+
return f(g, {
|
|
2924
2924
|
enter: (Q, E) => {
|
|
2925
2925
|
!B && A(Q, E) && (C = Q, B = !0);
|
|
2926
2926
|
}
|
|
@@ -2931,7 +2931,7 @@ function RM(g, A) {
|
|
|
2931
2931
|
}
|
|
2932
2932
|
function sM(g, A) {
|
|
2933
2933
|
let C = !0;
|
|
2934
|
-
return
|
|
2934
|
+
return f(g, {
|
|
2935
2935
|
enter: (B, Q) => {
|
|
2936
2936
|
A(B, Q) || (C = !1);
|
|
2937
2937
|
}
|
|
@@ -2943,14 +2943,14 @@ function aM(g, A) {
|
|
|
2943
2943
|
function II(g) {
|
|
2944
2944
|
return HA(g, "column");
|
|
2945
2945
|
}
|
|
2946
|
-
function
|
|
2946
|
+
function qM(g) {
|
|
2947
2947
|
const A = JSON.parse(Dg(r(g)));
|
|
2948
2948
|
return A.success ? JSON.parse(A.ast) : [];
|
|
2949
2949
|
}
|
|
2950
|
-
function
|
|
2950
|
+
function pM(g) {
|
|
2951
2951
|
return HA(g, "identifier");
|
|
2952
2952
|
}
|
|
2953
|
-
function
|
|
2953
|
+
function PM(g) {
|
|
2954
2954
|
const A = JSON.parse(Cg(r(g)));
|
|
2955
2955
|
return A.success ? JSON.parse(A.ast) : [];
|
|
2956
2956
|
}
|
|
@@ -2966,15 +2966,15 @@ function BI(g) {
|
|
|
2966
2966
|
const A = JSON.parse(Qg(r(g)));
|
|
2967
2967
|
return A.success ? JSON.parse(A.ast) : [];
|
|
2968
2968
|
}
|
|
2969
|
-
function
|
|
2969
|
+
function OM(g) {
|
|
2970
2970
|
const A = JSON.parse(Bg(r(g)));
|
|
2971
2971
|
return A.success ? JSON.parse(A.ast) : [];
|
|
2972
2972
|
}
|
|
2973
|
-
function
|
|
2973
|
+
function jM(g) {
|
|
2974
2974
|
const A = JSON.parse(Ig(r(g)));
|
|
2975
2975
|
return A.success ? A.result : [];
|
|
2976
2976
|
}
|
|
2977
|
-
function
|
|
2977
|
+
function TM(g) {
|
|
2978
2978
|
const A = JSON.parse(Eg(r(g)));
|
|
2979
2979
|
return A.success ? A.result : [];
|
|
2980
2980
|
}
|
|
@@ -2984,12 +2984,12 @@ function QI(g) {
|
|
|
2984
2984
|
function tM(g) {
|
|
2985
2985
|
return CI(g).length > 0;
|
|
2986
2986
|
}
|
|
2987
|
-
function
|
|
2987
|
+
function ZM(g) {
|
|
2988
2988
|
return BI(g).length > 0;
|
|
2989
2989
|
}
|
|
2990
|
-
function
|
|
2990
|
+
function dM(g) {
|
|
2991
2991
|
let A = 0, C = 0;
|
|
2992
|
-
return
|
|
2992
|
+
return f(g, {
|
|
2993
2993
|
enter: () => {
|
|
2994
2994
|
C++, A = Math.max(A, C);
|
|
2995
2995
|
},
|
|
@@ -2998,28 +2998,28 @@ function xM(g) {
|
|
|
2998
2998
|
}
|
|
2999
2999
|
}), A;
|
|
3000
3000
|
}
|
|
3001
|
-
function
|
|
3001
|
+
function zM(g) {
|
|
3002
3002
|
const A = JSON.parse(Mg(r(g)));
|
|
3003
3003
|
return A.success ? A.result : 0;
|
|
3004
3004
|
}
|
|
3005
|
-
function
|
|
3005
|
+
function fM(g, A) {
|
|
3006
3006
|
let C = null;
|
|
3007
|
-
return
|
|
3007
|
+
return f(g, {
|
|
3008
3008
|
enter: (B, Q) => {
|
|
3009
3009
|
B === A && (C = Q);
|
|
3010
3010
|
}
|
|
3011
3011
|
}), C;
|
|
3012
3012
|
}
|
|
3013
|
-
function
|
|
3013
|
+
function eM(g, A, C) {
|
|
3014
3014
|
const B = [];
|
|
3015
3015
|
let Q = null;
|
|
3016
|
-
return
|
|
3016
|
+
return f(g, {
|
|
3017
3017
|
enter: (E) => {
|
|
3018
3018
|
if (Q === null) {
|
|
3019
3019
|
if (E === A)
|
|
3020
3020
|
for (let D = B.length - 1; D >= 0; D--) {
|
|
3021
|
-
const
|
|
3022
|
-
if (C(B[D],
|
|
3021
|
+
const k = D > 0 ? B[D - 1] : null;
|
|
3022
|
+
if (C(B[D], k)) {
|
|
3023
3023
|
Q = B[D];
|
|
3024
3024
|
break;
|
|
3025
3025
|
}
|
|
@@ -3032,9 +3032,9 @@ function ZM(g, A, C) {
|
|
|
3032
3032
|
}
|
|
3033
3033
|
}), Q;
|
|
3034
3034
|
}
|
|
3035
|
-
function
|
|
3035
|
+
function VM(g, A) {
|
|
3036
3036
|
let C = 0, B = 0;
|
|
3037
|
-
return
|
|
3037
|
+
return f(g, {
|
|
3038
3038
|
enter: (Q) => {
|
|
3039
3039
|
B++, Q === A && (C = B);
|
|
3040
3040
|
},
|
|
@@ -3043,39 +3043,39 @@ function eM(g, A) {
|
|
|
3043
3043
|
}
|
|
3044
3044
|
}), C;
|
|
3045
3045
|
}
|
|
3046
|
-
const
|
|
3046
|
+
const xM = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3047
3047
|
__proto__: null,
|
|
3048
3048
|
addSelectColumns: HM,
|
|
3049
3049
|
addWhere: GM,
|
|
3050
|
-
clone:
|
|
3050
|
+
clone: FM,
|
|
3051
3051
|
countNodes: aM,
|
|
3052
3052
|
every: sM,
|
|
3053
3053
|
findAll: YA,
|
|
3054
|
-
findAncestor:
|
|
3054
|
+
findAncestor: eM,
|
|
3055
3055
|
findByType: HA,
|
|
3056
3056
|
findFirst: gI,
|
|
3057
3057
|
getAggregateFunctions: CA,
|
|
3058
3058
|
getChildren: AI,
|
|
3059
|
-
getColumnNames:
|
|
3059
|
+
getColumnNames: jM,
|
|
3060
3060
|
getColumns: II,
|
|
3061
|
-
getDepth:
|
|
3062
|
-
getExprData:
|
|
3063
|
-
getExprType:
|
|
3064
|
-
getFunctions:
|
|
3065
|
-
getIdentifiers:
|
|
3061
|
+
getDepth: dM,
|
|
3062
|
+
getExprData: O,
|
|
3063
|
+
getExprType: p,
|
|
3064
|
+
getFunctions: PM,
|
|
3065
|
+
getIdentifiers: pM,
|
|
3066
3066
|
getInferredType: lg,
|
|
3067
|
-
getLiterals:
|
|
3068
|
-
getNodeDepth:
|
|
3069
|
-
getParent:
|
|
3067
|
+
getLiterals: OM,
|
|
3068
|
+
getNodeDepth: VM,
|
|
3069
|
+
getParent: fM,
|
|
3070
3070
|
getSubqueries: BI,
|
|
3071
|
-
getTableNames:
|
|
3072
|
-
getTables:
|
|
3071
|
+
getTableNames: TM,
|
|
3072
|
+
getTables: qM,
|
|
3073
3073
|
getWindowFunctions: CI,
|
|
3074
3074
|
hasAggregates: QI,
|
|
3075
|
-
hasSubqueries:
|
|
3075
|
+
hasSubqueries: ZM,
|
|
3076
3076
|
hasWindowFunctions: tM,
|
|
3077
3077
|
isAdd: yw,
|
|
3078
|
-
isAggregateFunction:
|
|
3078
|
+
isAggregateFunction: Lw,
|
|
3079
3079
|
isAlias: mw,
|
|
3080
3080
|
isAlterTable: _w,
|
|
3081
3081
|
isAnd: Cw,
|
|
@@ -3083,15 +3083,15 @@ const WM = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3083
3083
|
isAvg: aw,
|
|
3084
3084
|
isBetween: hw,
|
|
3085
3085
|
isBoolean: gw,
|
|
3086
|
-
isCase:
|
|
3087
|
-
isCast:
|
|
3088
|
-
isCoalesce:
|
|
3086
|
+
isCase: Zw,
|
|
3087
|
+
isCast: jw,
|
|
3088
|
+
isCoalesce: Pw,
|
|
3089
3089
|
isColumn: ng,
|
|
3090
3090
|
isComparison: QM,
|
|
3091
|
-
isConcat:
|
|
3091
|
+
isConcat: cw,
|
|
3092
3092
|
isCount: Rw,
|
|
3093
3093
|
isCreateIndex: $w,
|
|
3094
|
-
isCreateTable:
|
|
3094
|
+
isCreateTable: vw,
|
|
3095
3095
|
isCreateView: gM,
|
|
3096
3096
|
isCte: nw,
|
|
3097
3097
|
isDDL: wM,
|
|
@@ -3101,40 +3101,40 @@ const WM = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3101
3101
|
isDropTable: Xw,
|
|
3102
3102
|
isDropView: IM,
|
|
3103
3103
|
isEq: Ew,
|
|
3104
|
-
isExcept:
|
|
3104
|
+
isExcept: vD,
|
|
3105
3105
|
isExists: Jw,
|
|
3106
3106
|
isExpressionValue: l,
|
|
3107
|
-
isFrom:
|
|
3107
|
+
isFrom: dw,
|
|
3108
3108
|
isFunction: ug,
|
|
3109
|
-
isGroupBy:
|
|
3110
|
-
isGt:
|
|
3111
|
-
isGte:
|
|
3112
|
-
isHaving:
|
|
3113
|
-
isILike:
|
|
3109
|
+
isGroupBy: ew,
|
|
3110
|
+
isGt: kw,
|
|
3111
|
+
isGte: Nw,
|
|
3112
|
+
isHaving: Vw,
|
|
3113
|
+
isILike: iw,
|
|
3114
3114
|
isIdentifier: _D,
|
|
3115
|
-
isIn:
|
|
3115
|
+
isIn: Sw,
|
|
3116
3116
|
isInsert: rD,
|
|
3117
|
-
isIntersect:
|
|
3117
|
+
isIntersect: bD,
|
|
3118
3118
|
isIsNull: Uw,
|
|
3119
|
-
isJoin:
|
|
3119
|
+
isJoin: zw,
|
|
3120
3120
|
isLike: ow,
|
|
3121
|
-
isLimit:
|
|
3121
|
+
isLimit: Ww,
|
|
3122
3122
|
isLiteral: mg,
|
|
3123
3123
|
isLogical: DM,
|
|
3124
3124
|
isLt: ww,
|
|
3125
3125
|
isLte: Mw,
|
|
3126
|
-
isMax:
|
|
3127
|
-
isMin:
|
|
3126
|
+
isMax: pw,
|
|
3127
|
+
isMin: qw,
|
|
3128
3128
|
isMod: Hw,
|
|
3129
3129
|
isMul: Gw,
|
|
3130
3130
|
isNeq: Dw,
|
|
3131
3131
|
isNot: Qw,
|
|
3132
|
-
isNullIf:
|
|
3132
|
+
isNullIf: Ow,
|
|
3133
3133
|
isNullLiteral: Iw,
|
|
3134
3134
|
isOffset: lw,
|
|
3135
3135
|
isOr: Bw,
|
|
3136
|
-
isOrderBy:
|
|
3137
|
-
isOrdered:
|
|
3136
|
+
isOrderBy: xw,
|
|
3137
|
+
isOrdered: bw,
|
|
3138
3138
|
isParen: uw,
|
|
3139
3139
|
isQuery: CM,
|
|
3140
3140
|
isSafeCast: tw,
|
|
@@ -3145,39 +3145,39 @@ const WM = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3145
3145
|
isSubquery: XD,
|
|
3146
3146
|
isSum: sw,
|
|
3147
3147
|
isTable: $D,
|
|
3148
|
-
isTryCast:
|
|
3148
|
+
isTryCast: Tw,
|
|
3149
3149
|
isUnion: uD,
|
|
3150
3150
|
isUpdate: nD,
|
|
3151
|
-
isWhere:
|
|
3152
|
-
isWindowFunction:
|
|
3151
|
+
isWhere: fw,
|
|
3152
|
+
isWindowFunction: Fw,
|
|
3153
3153
|
isWith: rw,
|
|
3154
|
-
makeExpr:
|
|
3155
|
-
nodeCount:
|
|
3154
|
+
makeExpr: T,
|
|
3155
|
+
nodeCount: zM,
|
|
3156
3156
|
qualifyColumns: yM,
|
|
3157
3157
|
qualifyTables: KM,
|
|
3158
3158
|
remove: UA,
|
|
3159
3159
|
removeLimitOffset: JM,
|
|
3160
|
-
removeSelectColumns:
|
|
3160
|
+
removeSelectColumns: cM,
|
|
3161
3161
|
removeWhere: YM,
|
|
3162
3162
|
renameColumns: Xg,
|
|
3163
|
-
renameTables:
|
|
3163
|
+
renameTables: iM,
|
|
3164
3164
|
replaceByType: oM,
|
|
3165
|
-
replaceNodes:
|
|
3166
|
-
setDistinct:
|
|
3167
|
-
setLimit:
|
|
3165
|
+
replaceNodes: vg,
|
|
3166
|
+
setDistinct: LM,
|
|
3167
|
+
setLimit: SM,
|
|
3168
3168
|
setOffset: hM,
|
|
3169
3169
|
setOrderBy: UM,
|
|
3170
3170
|
some: RM,
|
|
3171
3171
|
transform: GA,
|
|
3172
|
-
walk:
|
|
3172
|
+
walk: f
|
|
3173
3173
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
3174
|
-
function
|
|
3175
|
-
return g instanceof h ? g._w : typeof g == "string" ? JA(g) : typeof g == "number" || typeof g == "boolean" || g === null ?
|
|
3174
|
+
function L(g) {
|
|
3175
|
+
return g instanceof h ? g._w : typeof g == "string" ? JA(g) : typeof g == "number" || typeof g == "boolean" || g === null ? iA(g) : yA();
|
|
3176
3176
|
}
|
|
3177
|
-
function
|
|
3178
|
-
const A = new
|
|
3177
|
+
function z(g) {
|
|
3178
|
+
const A = new P();
|
|
3179
3179
|
for (const C of g)
|
|
3180
|
-
C instanceof h ? 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(
|
|
3180
|
+
C instanceof h ? 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(iA(C)) : A.push(yA());
|
|
3181
3181
|
return A;
|
|
3182
3182
|
}
|
|
3183
3183
|
class h {
|
|
@@ -3189,58 +3189,58 @@ class h {
|
|
|
3189
3189
|
}
|
|
3190
3190
|
// -- Comparison --
|
|
3191
3191
|
eq(A) {
|
|
3192
|
-
return new h(this._w.eq(
|
|
3192
|
+
return new h(this._w.eq(L(A)));
|
|
3193
3193
|
}
|
|
3194
3194
|
neq(A) {
|
|
3195
|
-
return new h(this._w.neq(
|
|
3195
|
+
return new h(this._w.neq(L(A)));
|
|
3196
3196
|
}
|
|
3197
3197
|
lt(A) {
|
|
3198
|
-
return new h(this._w.lt(
|
|
3198
|
+
return new h(this._w.lt(L(A)));
|
|
3199
3199
|
}
|
|
3200
3200
|
lte(A) {
|
|
3201
|
-
return new h(this._w.lte(
|
|
3201
|
+
return new h(this._w.lte(L(A)));
|
|
3202
3202
|
}
|
|
3203
3203
|
gt(A) {
|
|
3204
|
-
return new h(this._w.gt(
|
|
3204
|
+
return new h(this._w.gt(L(A)));
|
|
3205
3205
|
}
|
|
3206
3206
|
gte(A) {
|
|
3207
|
-
return new h(this._w.gte(
|
|
3207
|
+
return new h(this._w.gte(L(A)));
|
|
3208
3208
|
}
|
|
3209
3209
|
// -- Logical --
|
|
3210
3210
|
and(A) {
|
|
3211
|
-
return new h(this._w.and(
|
|
3211
|
+
return new h(this._w.and(L(A)));
|
|
3212
3212
|
}
|
|
3213
3213
|
or(A) {
|
|
3214
|
-
return new h(this._w.or(
|
|
3214
|
+
return new h(this._w.or(L(A)));
|
|
3215
3215
|
}
|
|
3216
3216
|
not() {
|
|
3217
3217
|
return new h(this._w.not());
|
|
3218
3218
|
}
|
|
3219
3219
|
xor(A) {
|
|
3220
|
-
return new h(this._w.xor(
|
|
3220
|
+
return new h(this._w.xor(L(A)));
|
|
3221
3221
|
}
|
|
3222
3222
|
// -- Arithmetic --
|
|
3223
3223
|
add(A) {
|
|
3224
|
-
return new h(this._w.add(
|
|
3224
|
+
return new h(this._w.add(L(A)));
|
|
3225
3225
|
}
|
|
3226
3226
|
sub(A) {
|
|
3227
|
-
return new h(this._w.sub(
|
|
3227
|
+
return new h(this._w.sub(L(A)));
|
|
3228
3228
|
}
|
|
3229
3229
|
mul(A) {
|
|
3230
|
-
return new h(this._w.mul(
|
|
3230
|
+
return new h(this._w.mul(L(A)));
|
|
3231
3231
|
}
|
|
3232
3232
|
div(A) {
|
|
3233
|
-
return new h(this._w.div(
|
|
3233
|
+
return new h(this._w.div(L(A)));
|
|
3234
3234
|
}
|
|
3235
3235
|
// -- Pattern matching --
|
|
3236
3236
|
like(A) {
|
|
3237
|
-
return new h(this._w.like(
|
|
3237
|
+
return new h(this._w.like(L(A)));
|
|
3238
3238
|
}
|
|
3239
3239
|
ilike(A) {
|
|
3240
|
-
return new h(this._w.ilike(
|
|
3240
|
+
return new h(this._w.ilike(L(A)));
|
|
3241
3241
|
}
|
|
3242
3242
|
rlike(A) {
|
|
3243
|
-
return new h(this._w.rlike(
|
|
3243
|
+
return new h(this._w.rlike(L(A)));
|
|
3244
3244
|
}
|
|
3245
3245
|
// -- Predicates --
|
|
3246
3246
|
isNull() {
|
|
@@ -3250,13 +3250,13 @@ class h {
|
|
|
3250
3250
|
return new h(this._w.is_not_null());
|
|
3251
3251
|
}
|
|
3252
3252
|
between(A, C) {
|
|
3253
|
-
return new h(this._w.between(
|
|
3253
|
+
return new h(this._w.between(L(A), L(C)));
|
|
3254
3254
|
}
|
|
3255
3255
|
inList(...A) {
|
|
3256
|
-
return new h(this._w.in_list(
|
|
3256
|
+
return new h(this._w.in_list(z(A)));
|
|
3257
3257
|
}
|
|
3258
3258
|
notIn(...A) {
|
|
3259
|
-
return new h(this._w.not_in(
|
|
3259
|
+
return new h(this._w.not_in(z(A)));
|
|
3260
3260
|
}
|
|
3261
3261
|
// -- Transform --
|
|
3262
3262
|
alias(A) {
|
|
@@ -3288,7 +3288,7 @@ class h {
|
|
|
3288
3288
|
this._w.free();
|
|
3289
3289
|
}
|
|
3290
3290
|
}
|
|
3291
|
-
class
|
|
3291
|
+
class WM {
|
|
3292
3292
|
/** @internal WASM handle */
|
|
3293
3293
|
_w;
|
|
3294
3294
|
constructor() {
|
|
@@ -3296,11 +3296,11 @@ class VM {
|
|
|
3296
3296
|
}
|
|
3297
3297
|
/** Set the PARTITION BY expressions. */
|
|
3298
3298
|
partitionBy(...A) {
|
|
3299
|
-
return this._w.partition_by(
|
|
3299
|
+
return this._w.partition_by(z(A)), this;
|
|
3300
3300
|
}
|
|
3301
3301
|
/** Set the ORDER BY expressions. */
|
|
3302
3302
|
orderBy(...A) {
|
|
3303
|
-
return this._w.order_by(
|
|
3303
|
+
return this._w.order_by(z(A)), this;
|
|
3304
3304
|
}
|
|
3305
3305
|
/** Free the underlying WASM handle. */
|
|
3306
3306
|
free() {
|
|
@@ -3311,183 +3311,183 @@ function lM(g) {
|
|
|
3311
3311
|
return new h(JA(g));
|
|
3312
3312
|
}
|
|
3313
3313
|
function rM(g) {
|
|
3314
|
-
return new h(
|
|
3314
|
+
return new h(iA(g));
|
|
3315
3315
|
}
|
|
3316
3316
|
function EI() {
|
|
3317
|
-
return new h(
|
|
3317
|
+
return new h(eg());
|
|
3318
3318
|
}
|
|
3319
3319
|
function nM() {
|
|
3320
3320
|
return new h(yA());
|
|
3321
3321
|
}
|
|
3322
3322
|
function RA(g) {
|
|
3323
|
-
return new h(
|
|
3323
|
+
return new h(Pg(g));
|
|
3324
3324
|
}
|
|
3325
3325
|
function mM(g) {
|
|
3326
|
-
return new h(
|
|
3326
|
+
return new h(xg(g));
|
|
3327
3327
|
}
|
|
3328
3328
|
function DI(g) {
|
|
3329
|
-
return new h(
|
|
3329
|
+
return new h(fg(g));
|
|
3330
3330
|
}
|
|
3331
3331
|
function uM(g) {
|
|
3332
3332
|
return DI(g);
|
|
3333
3333
|
}
|
|
3334
3334
|
function s(g, ...A) {
|
|
3335
|
-
return new h(
|
|
3335
|
+
return new h(Zg(g, z(A)));
|
|
3336
3336
|
}
|
|
3337
|
-
function
|
|
3338
|
-
return new h(
|
|
3337
|
+
function bM(g) {
|
|
3338
|
+
return new h(dg(L(g)));
|
|
3339
3339
|
}
|
|
3340
|
-
function
|
|
3341
|
-
return new h(
|
|
3340
|
+
function vM(g, A) {
|
|
3341
|
+
return new h(jg(L(g), A));
|
|
3342
3342
|
}
|
|
3343
3343
|
function XM(g, A) {
|
|
3344
|
-
return new h(
|
|
3344
|
+
return new h(qg(L(g), A));
|
|
3345
3345
|
}
|
|
3346
3346
|
function _M(g, A) {
|
|
3347
|
-
return new h(
|
|
3347
|
+
return new h(Vg(g._w, A));
|
|
3348
3348
|
}
|
|
3349
3349
|
function $M(...g) {
|
|
3350
3350
|
if (g.length === 0) return RA(!0);
|
|
3351
3351
|
if (g.length === 1)
|
|
3352
|
-
return g[0] instanceof h ? g[0] : new h(
|
|
3353
|
-
let A =
|
|
3352
|
+
return g[0] instanceof h ? g[0] : new h(L(g[0]));
|
|
3353
|
+
let A = L(g[0]);
|
|
3354
3354
|
for (let C = 1; C < g.length; C++)
|
|
3355
|
-
A =
|
|
3355
|
+
A = pg(A, L(g[C]));
|
|
3356
3356
|
return new h(A);
|
|
3357
3357
|
}
|
|
3358
|
-
function
|
|
3358
|
+
function Ak(...g) {
|
|
3359
3359
|
if (g.length === 0) return RA(!1);
|
|
3360
3360
|
if (g.length === 1)
|
|
3361
|
-
return g[0] instanceof h ? g[0] : new h(
|
|
3362
|
-
let A =
|
|
3361
|
+
return g[0] instanceof h ? g[0] : new h(L(g[0]));
|
|
3362
|
+
let A = L(g[0]);
|
|
3363
3363
|
for (let C = 1; C < g.length; C++)
|
|
3364
|
-
A =
|
|
3364
|
+
A = zg(A, L(g[C]));
|
|
3365
3365
|
return new h(A);
|
|
3366
3366
|
}
|
|
3367
|
-
function
|
|
3367
|
+
function gk(g) {
|
|
3368
3368
|
return g !== void 0 ? s("COUNT", g) : s("COUNT", EI());
|
|
3369
3369
|
}
|
|
3370
|
-
function
|
|
3371
|
-
return new h(
|
|
3370
|
+
function Ik(g) {
|
|
3371
|
+
return new h(Tg(L(g)));
|
|
3372
3372
|
}
|
|
3373
|
-
function
|
|
3373
|
+
function Ck(g) {
|
|
3374
3374
|
return s("SUM", g);
|
|
3375
3375
|
}
|
|
3376
|
-
function
|
|
3376
|
+
function Bk(g) {
|
|
3377
3377
|
return s("AVG", g);
|
|
3378
3378
|
}
|
|
3379
|
-
function
|
|
3379
|
+
function Qk(g) {
|
|
3380
3380
|
return s("MIN", g);
|
|
3381
3381
|
}
|
|
3382
|
-
function
|
|
3382
|
+
function Ek(g) {
|
|
3383
3383
|
return s("MAX", g);
|
|
3384
3384
|
}
|
|
3385
|
-
function
|
|
3385
|
+
function Dk(g) {
|
|
3386
3386
|
return s("UPPER", g);
|
|
3387
3387
|
}
|
|
3388
|
-
function
|
|
3388
|
+
function wk(g) {
|
|
3389
3389
|
return s("LOWER", g);
|
|
3390
3390
|
}
|
|
3391
|
-
function
|
|
3391
|
+
function Mk(g) {
|
|
3392
3392
|
return s("LENGTH", g);
|
|
3393
3393
|
}
|
|
3394
|
-
function
|
|
3394
|
+
function kk(g) {
|
|
3395
3395
|
return s("TRIM", g);
|
|
3396
3396
|
}
|
|
3397
|
-
function
|
|
3397
|
+
function Nk(g) {
|
|
3398
3398
|
return s("LTRIM", g);
|
|
3399
3399
|
}
|
|
3400
|
-
function
|
|
3400
|
+
function ok(g) {
|
|
3401
3401
|
return s("RTRIM", g);
|
|
3402
3402
|
}
|
|
3403
|
-
function
|
|
3403
|
+
function ik(g) {
|
|
3404
3404
|
return s("REVERSE", g);
|
|
3405
3405
|
}
|
|
3406
|
-
function
|
|
3406
|
+
function yk(g) {
|
|
3407
3407
|
return s("INITCAP", g);
|
|
3408
3408
|
}
|
|
3409
|
-
function
|
|
3409
|
+
function Kk(g, A, C) {
|
|
3410
3410
|
return C !== void 0 ? s("SUBSTRING", g, A, C) : s("SUBSTRING", g, A);
|
|
3411
3411
|
}
|
|
3412
|
-
function
|
|
3412
|
+
function Gk(g, A, C) {
|
|
3413
3413
|
return s("REPLACE", g, A, C);
|
|
3414
3414
|
}
|
|
3415
|
-
function
|
|
3415
|
+
function Yk(g, ...A) {
|
|
3416
3416
|
return s("CONCAT_WS", g, ...A);
|
|
3417
3417
|
}
|
|
3418
|
-
function
|
|
3418
|
+
function Hk(...g) {
|
|
3419
3419
|
return s("COALESCE", ...g);
|
|
3420
3420
|
}
|
|
3421
|
-
function
|
|
3421
|
+
function ck(g, A) {
|
|
3422
3422
|
return s("NULLIF", g, A);
|
|
3423
3423
|
}
|
|
3424
|
-
function
|
|
3424
|
+
function Sk(g, A) {
|
|
3425
3425
|
return s("IFNULL", g, A);
|
|
3426
3426
|
}
|
|
3427
|
-
function
|
|
3427
|
+
function hk(g) {
|
|
3428
3428
|
return s("ABS", g);
|
|
3429
3429
|
}
|
|
3430
|
-
function
|
|
3430
|
+
function Uk(g, A) {
|
|
3431
3431
|
return A !== void 0 ? s("ROUND", g, A) : s("ROUND", g);
|
|
3432
3432
|
}
|
|
3433
|
-
function
|
|
3433
|
+
function Jk(g) {
|
|
3434
3434
|
return s("FLOOR", g);
|
|
3435
3435
|
}
|
|
3436
|
-
function
|
|
3436
|
+
function Lk(g) {
|
|
3437
3437
|
return s("CEIL", g);
|
|
3438
3438
|
}
|
|
3439
|
-
function
|
|
3439
|
+
function Fk(g, A) {
|
|
3440
3440
|
return s("POWER", g, A);
|
|
3441
3441
|
}
|
|
3442
|
-
function
|
|
3442
|
+
function Rk(g) {
|
|
3443
3443
|
return s("SQRT", g);
|
|
3444
3444
|
}
|
|
3445
|
-
function
|
|
3445
|
+
function sk(g) {
|
|
3446
3446
|
return s("LN", g);
|
|
3447
3447
|
}
|
|
3448
|
-
function
|
|
3448
|
+
function ak(g) {
|
|
3449
3449
|
return s("EXP", g);
|
|
3450
3450
|
}
|
|
3451
|
-
function
|
|
3451
|
+
function qk(g) {
|
|
3452
3452
|
return s("SIGN", g);
|
|
3453
3453
|
}
|
|
3454
|
-
function
|
|
3454
|
+
function pk(...g) {
|
|
3455
3455
|
return s("GREATEST", ...g);
|
|
3456
3456
|
}
|
|
3457
|
-
function
|
|
3457
|
+
function Pk(...g) {
|
|
3458
3458
|
return s("LEAST", ...g);
|
|
3459
3459
|
}
|
|
3460
|
-
function
|
|
3460
|
+
function Ok() {
|
|
3461
3461
|
return s("CURRENT_DATE");
|
|
3462
3462
|
}
|
|
3463
|
-
function
|
|
3463
|
+
function jk() {
|
|
3464
3464
|
return s("CURRENT_TIME");
|
|
3465
3465
|
}
|
|
3466
|
-
function
|
|
3466
|
+
function Tk() {
|
|
3467
3467
|
return s("CURRENT_TIMESTAMP");
|
|
3468
3468
|
}
|
|
3469
|
-
function
|
|
3470
|
-
return new h(tg(g,
|
|
3469
|
+
function tk(g, A) {
|
|
3470
|
+
return new h(tg(g, L(A)));
|
|
3471
3471
|
}
|
|
3472
|
-
function
|
|
3472
|
+
function Zk() {
|
|
3473
3473
|
return s("ROW_NUMBER");
|
|
3474
3474
|
}
|
|
3475
|
-
function
|
|
3475
|
+
function dk() {
|
|
3476
3476
|
return s("RANK");
|
|
3477
3477
|
}
|
|
3478
|
-
function
|
|
3478
|
+
function zk() {
|
|
3479
3479
|
return s("DENSE_RANK");
|
|
3480
3480
|
}
|
|
3481
3481
|
class wI {
|
|
3482
3482
|
/** @internal */
|
|
3483
3483
|
_w;
|
|
3484
3484
|
constructor() {
|
|
3485
|
-
this._w = new
|
|
3485
|
+
this._w = new d();
|
|
3486
3486
|
}
|
|
3487
3487
|
/** Add columns to the SELECT list. Accepts Expr, strings (→ col), or '*'. */
|
|
3488
3488
|
select(...A) {
|
|
3489
3489
|
for (const C of A)
|
|
3490
|
-
C === "*" ? this._w.select_star() : C instanceof h ? this._w.select_expr(C._w) : typeof C == "string" ? this._w.select_col(C) : this._w.select_expr(
|
|
3490
|
+
C === "*" ? this._w.select_star() : C instanceof h ? this._w.select_expr(C._w) : typeof C == "string" ? this._w.select_col(C) : this._w.select_expr(L(C));
|
|
3491
3491
|
return this;
|
|
3492
3492
|
}
|
|
3493
3493
|
/** Set the FROM clause. */
|
|
@@ -3496,15 +3496,15 @@ class wI {
|
|
|
3496
3496
|
}
|
|
3497
3497
|
/** Add an INNER JOIN. */
|
|
3498
3498
|
join(A, C) {
|
|
3499
|
-
return this._w.join(A,
|
|
3499
|
+
return this._w.join(A, L(C)), this;
|
|
3500
3500
|
}
|
|
3501
3501
|
/** Add a LEFT JOIN. */
|
|
3502
3502
|
leftJoin(A, C) {
|
|
3503
|
-
return this._w.left_join(A,
|
|
3503
|
+
return this._w.left_join(A, L(C)), this;
|
|
3504
3504
|
}
|
|
3505
3505
|
/** Add a RIGHT JOIN. */
|
|
3506
3506
|
rightJoin(A, C) {
|
|
3507
|
-
return this._w.right_join(A,
|
|
3507
|
+
return this._w.right_join(A, L(C)), this;
|
|
3508
3508
|
}
|
|
3509
3509
|
/** Add a CROSS JOIN. */
|
|
3510
3510
|
crossJoin(A) {
|
|
@@ -3512,19 +3512,19 @@ class wI {
|
|
|
3512
3512
|
}
|
|
3513
3513
|
/** Set the WHERE clause. Accepts an Expr or a raw SQL string. */
|
|
3514
3514
|
where(A) {
|
|
3515
|
-
return typeof A == "string" ? this._w.where_sql(A) : A instanceof h ? this._w.where_expr(A._w) : this._w.where_expr(
|
|
3515
|
+
return typeof A == "string" ? this._w.where_sql(A) : A instanceof h ? this._w.where_expr(A._w) : this._w.where_expr(L(A)), this;
|
|
3516
3516
|
}
|
|
3517
3517
|
/** Set the GROUP BY clause. */
|
|
3518
3518
|
groupBy(...A) {
|
|
3519
|
-
return this._w.group_by_cols(
|
|
3519
|
+
return this._w.group_by_cols(z(A)), this;
|
|
3520
3520
|
}
|
|
3521
3521
|
/** Set the HAVING clause. */
|
|
3522
3522
|
having(A) {
|
|
3523
|
-
return this._w.having(
|
|
3523
|
+
return this._w.having(L(A)), this;
|
|
3524
3524
|
}
|
|
3525
3525
|
/** Set the ORDER BY clause. */
|
|
3526
3526
|
orderBy(...A) {
|
|
3527
|
-
return this._w.order_by_exprs(
|
|
3527
|
+
return this._w.order_by_exprs(z(A)), this;
|
|
3528
3528
|
}
|
|
3529
3529
|
/** Set the LIMIT. */
|
|
3530
3530
|
limit(A) {
|
|
@@ -3540,11 +3540,11 @@ class wI {
|
|
|
3540
3540
|
}
|
|
3541
3541
|
/** Set the QUALIFY clause (Snowflake/BigQuery/DuckDB). */
|
|
3542
3542
|
qualify(A) {
|
|
3543
|
-
return this._w.qualify(
|
|
3543
|
+
return this._w.qualify(L(A)), this;
|
|
3544
3544
|
}
|
|
3545
3545
|
/** Set the SORT BY clause (Hive/Spark — sorts within each partition). */
|
|
3546
3546
|
sortBy(...A) {
|
|
3547
|
-
return this._w.sort_by_exprs(
|
|
3547
|
+
return this._w.sort_by_exprs(z(A)), this;
|
|
3548
3548
|
}
|
|
3549
3549
|
/** Add a named WINDOW clause definition. */
|
|
3550
3550
|
window(A, C) {
|
|
@@ -3605,7 +3605,7 @@ class wI {
|
|
|
3605
3605
|
this._w.free();
|
|
3606
3606
|
}
|
|
3607
3607
|
}
|
|
3608
|
-
function
|
|
3608
|
+
function fk(...g) {
|
|
3609
3609
|
const A = new wI();
|
|
3610
3610
|
return g.length > 0 && A.select(...g), A;
|
|
3611
3611
|
}
|
|
@@ -3613,7 +3613,7 @@ class MI {
|
|
|
3613
3613
|
/** @internal */
|
|
3614
3614
|
_w;
|
|
3615
3615
|
constructor(A) {
|
|
3616
|
-
this._w = new
|
|
3616
|
+
this._w = new kA(A);
|
|
3617
3617
|
}
|
|
3618
3618
|
/** Set the target column names. */
|
|
3619
3619
|
columns(...A) {
|
|
@@ -3621,7 +3621,7 @@ class MI {
|
|
|
3621
3621
|
}
|
|
3622
3622
|
/** Append a row of values. Call multiple times for multiple rows. */
|
|
3623
3623
|
values(...A) {
|
|
3624
|
-
return this._w.values(
|
|
3624
|
+
return this._w.values(z(A)), this;
|
|
3625
3625
|
}
|
|
3626
3626
|
/** Set the source query for INSERT ... SELECT. */
|
|
3627
3627
|
query(A) {
|
|
@@ -3640,13 +3640,13 @@ class MI {
|
|
|
3640
3640
|
this._w.free();
|
|
3641
3641
|
}
|
|
3642
3642
|
}
|
|
3643
|
-
function
|
|
3643
|
+
function kI(g) {
|
|
3644
3644
|
return new MI(g);
|
|
3645
3645
|
}
|
|
3646
|
-
function
|
|
3647
|
-
return
|
|
3646
|
+
function ek(g) {
|
|
3647
|
+
return kI(g);
|
|
3648
3648
|
}
|
|
3649
|
-
class
|
|
3649
|
+
class NI {
|
|
3650
3650
|
/** @internal */
|
|
3651
3651
|
_w;
|
|
3652
3652
|
constructor(A) {
|
|
@@ -3654,11 +3654,11 @@ class iI {
|
|
|
3654
3654
|
}
|
|
3655
3655
|
/** Add a SET column = value assignment. */
|
|
3656
3656
|
set(A, C) {
|
|
3657
|
-
return this._w.set(A,
|
|
3657
|
+
return this._w.set(A, L(C)), this;
|
|
3658
3658
|
}
|
|
3659
3659
|
/** Set the WHERE clause. */
|
|
3660
3660
|
where(A) {
|
|
3661
|
-
return this._w.where_expr(
|
|
3661
|
+
return this._w.where_expr(L(A)), this;
|
|
3662
3662
|
}
|
|
3663
3663
|
/** Set the FROM clause (PostgreSQL/Snowflake UPDATE ... FROM). */
|
|
3664
3664
|
from(A) {
|
|
@@ -3677,8 +3677,8 @@ class iI {
|
|
|
3677
3677
|
this._w.free();
|
|
3678
3678
|
}
|
|
3679
3679
|
}
|
|
3680
|
-
function
|
|
3681
|
-
return new
|
|
3680
|
+
function Vk(g) {
|
|
3681
|
+
return new NI(g);
|
|
3682
3682
|
}
|
|
3683
3683
|
class oI {
|
|
3684
3684
|
/** @internal */
|
|
@@ -3688,7 +3688,7 @@ class oI {
|
|
|
3688
3688
|
}
|
|
3689
3689
|
/** Set the WHERE clause. */
|
|
3690
3690
|
where(A) {
|
|
3691
|
-
return this._w.where_expr(
|
|
3691
|
+
return this._w.where_expr(L(A)), this;
|
|
3692
3692
|
}
|
|
3693
3693
|
/** Generate SQL string. Defaults to generic dialect. */
|
|
3694
3694
|
toSql(A = "generic") {
|
|
@@ -3703,27 +3703,27 @@ class oI {
|
|
|
3703
3703
|
this._w.free();
|
|
3704
3704
|
}
|
|
3705
3705
|
}
|
|
3706
|
-
function
|
|
3706
|
+
function iI(g) {
|
|
3707
3707
|
return new oI(g);
|
|
3708
3708
|
}
|
|
3709
|
-
function
|
|
3710
|
-
return
|
|
3709
|
+
function xk(g) {
|
|
3710
|
+
return iI(g);
|
|
3711
3711
|
}
|
|
3712
3712
|
class yI {
|
|
3713
3713
|
/** @internal */
|
|
3714
3714
|
_w;
|
|
3715
3715
|
constructor(A) {
|
|
3716
|
-
this._w = new
|
|
3716
|
+
this._w = new NA(A);
|
|
3717
3717
|
}
|
|
3718
3718
|
/** Set the source table and ON condition. */
|
|
3719
3719
|
using(A, C) {
|
|
3720
|
-
return this._w.using(A,
|
|
3720
|
+
return this._w.using(A, L(C)), this;
|
|
3721
3721
|
}
|
|
3722
3722
|
/** Add a WHEN MATCHED THEN UPDATE SET clause. */
|
|
3723
3723
|
whenMatchedUpdate(A) {
|
|
3724
3724
|
const C = new BA();
|
|
3725
3725
|
for (const [B, Q] of Object.entries(A))
|
|
3726
|
-
C.push(B,
|
|
3726
|
+
C.push(B, L(Q));
|
|
3727
3727
|
return this._w.when_matched_update(C), this;
|
|
3728
3728
|
}
|
|
3729
3729
|
/** Add a WHEN MATCHED THEN DELETE clause. */
|
|
@@ -3732,7 +3732,7 @@ class yI {
|
|
|
3732
3732
|
}
|
|
3733
3733
|
/** Add a WHEN NOT MATCHED THEN INSERT clause. */
|
|
3734
3734
|
whenNotMatchedInsert(A, C) {
|
|
3735
|
-
return this._w.when_not_matched_insert(A,
|
|
3735
|
+
return this._w.when_not_matched_insert(A, z(C)), this;
|
|
3736
3736
|
}
|
|
3737
3737
|
/** Generate SQL string. Defaults to generic dialect. */
|
|
3738
3738
|
toSql(A = "generic") {
|
|
@@ -3747,7 +3747,7 @@ class yI {
|
|
|
3747
3747
|
this._w.free();
|
|
3748
3748
|
}
|
|
3749
3749
|
}
|
|
3750
|
-
function
|
|
3750
|
+
function Wk(g) {
|
|
3751
3751
|
return new yI(g);
|
|
3752
3752
|
}
|
|
3753
3753
|
class sA {
|
|
@@ -3759,11 +3759,11 @@ class sA {
|
|
|
3759
3759
|
}
|
|
3760
3760
|
/** Add a WHEN condition THEN result branch. */
|
|
3761
3761
|
when(A, C) {
|
|
3762
|
-
return this._w.when(
|
|
3762
|
+
return this._w.when(L(A), L(C)), this;
|
|
3763
3763
|
}
|
|
3764
3764
|
/** Set the ELSE result. */
|
|
3765
3765
|
else_(A) {
|
|
3766
|
-
return this._w.else_(
|
|
3766
|
+
return this._w.else_(L(A)), this;
|
|
3767
3767
|
}
|
|
3768
3768
|
/** Build the CASE expression as an Expr. */
|
|
3769
3769
|
build() {
|
|
@@ -3774,11 +3774,11 @@ class sA {
|
|
|
3774
3774
|
return this._w.to_sql(A);
|
|
3775
3775
|
}
|
|
3776
3776
|
}
|
|
3777
|
-
function
|
|
3777
|
+
function lk() {
|
|
3778
3778
|
return new sA(new u());
|
|
3779
3779
|
}
|
|
3780
|
-
function
|
|
3781
|
-
return new sA(
|
|
3780
|
+
function rk(g) {
|
|
3781
|
+
return new sA(Og(L(g)));
|
|
3782
3782
|
}
|
|
3783
3783
|
class $ {
|
|
3784
3784
|
/** @internal */
|
|
@@ -3789,7 +3789,7 @@ class $ {
|
|
|
3789
3789
|
}
|
|
3790
3790
|
/** Set the ORDER BY clause. */
|
|
3791
3791
|
orderBy(...A) {
|
|
3792
|
-
return this._w.order_by_exprs(
|
|
3792
|
+
return this._w.order_by_exprs(z(A)), this;
|
|
3793
3793
|
}
|
|
3794
3794
|
/** Set the LIMIT. */
|
|
3795
3795
|
limit(A) {
|
|
@@ -3812,21 +3812,21 @@ class $ {
|
|
|
3812
3812
|
this._w.free();
|
|
3813
3813
|
}
|
|
3814
3814
|
}
|
|
3815
|
-
function
|
|
3815
|
+
function nk(g, A) {
|
|
3816
3816
|
return g.union(A);
|
|
3817
3817
|
}
|
|
3818
|
-
function
|
|
3818
|
+
function mk(g, A) {
|
|
3819
3819
|
return g.unionAll(A);
|
|
3820
3820
|
}
|
|
3821
|
-
function
|
|
3821
|
+
function uk(g, A) {
|
|
3822
3822
|
return g.intersect(A);
|
|
3823
3823
|
}
|
|
3824
|
-
function
|
|
3824
|
+
function bk(g, A) {
|
|
3825
3825
|
return g.except(A);
|
|
3826
3826
|
}
|
|
3827
3827
|
function KI(g, A, C = "generic", B = {}) {
|
|
3828
|
-
const { deltaOnly: Q = !1, f: E = 0.6, t: D = 0.6 } = B,
|
|
3829
|
-
return JSON.parse(
|
|
3828
|
+
const { deltaOnly: Q = !1, f: E = 0.6, t: D = 0.6 } = B, k = Sg(g, A, C, Q, E, D);
|
|
3829
|
+
return JSON.parse(k);
|
|
3830
3830
|
}
|
|
3831
3831
|
function GI(g) {
|
|
3832
3832
|
return g.some((A) => A.type !== "keep");
|
|
@@ -3838,7 +3838,7 @@ function HI(g, A, C = "generic", B = !1) {
|
|
|
3838
3838
|
const Q = hg(A, g, C, B);
|
|
3839
3839
|
return JSON.parse(Q);
|
|
3840
3840
|
}
|
|
3841
|
-
function
|
|
3841
|
+
function cI(g, A, C, B = "generic", Q = !1) {
|
|
3842
3842
|
const E = Ug(
|
|
3843
3843
|
A,
|
|
3844
3844
|
g,
|
|
@@ -3848,7 +3848,7 @@ function SI(g, A, C, B = "generic", Q = !1) {
|
|
|
3848
3848
|
);
|
|
3849
3849
|
return JSON.parse(E);
|
|
3850
3850
|
}
|
|
3851
|
-
function
|
|
3851
|
+
function SI(g, A, C = "generic") {
|
|
3852
3852
|
const B = sg(A, g, C);
|
|
3853
3853
|
return JSON.parse(B);
|
|
3854
3854
|
}
|
|
@@ -3867,31 +3867,31 @@ function hI(g, A) {
|
|
|
3867
3867
|
return JSON.parse(C);
|
|
3868
3868
|
}
|
|
3869
3869
|
function UI(g, A) {
|
|
3870
|
-
const C =
|
|
3870
|
+
const C = Lg(
|
|
3871
3871
|
g,
|
|
3872
3872
|
JSON.stringify(aA(A))
|
|
3873
3873
|
);
|
|
3874
3874
|
return JSON.parse(C);
|
|
3875
3875
|
}
|
|
3876
3876
|
function JI(g, A) {
|
|
3877
|
-
const C =
|
|
3877
|
+
const C = Fg(
|
|
3878
3878
|
g,
|
|
3879
3879
|
JSON.stringify(aA(A))
|
|
3880
3880
|
);
|
|
3881
3881
|
return JSON.parse(C);
|
|
3882
3882
|
}
|
|
3883
|
-
function
|
|
3883
|
+
function LI(g, A = "generic") {
|
|
3884
3884
|
const C = Rg(g, A);
|
|
3885
3885
|
return JSON.parse(C);
|
|
3886
3886
|
}
|
|
3887
|
-
function
|
|
3887
|
+
function vk(g, A) {
|
|
3888
3888
|
const C = [];
|
|
3889
|
-
return
|
|
3889
|
+
return p(g) === "select" && C.push(...Xk(g)), C;
|
|
3890
3890
|
}
|
|
3891
|
-
function
|
|
3891
|
+
function Xk(g, A) {
|
|
3892
3892
|
const C = [], B = HA(g, "star");
|
|
3893
3893
|
if (B.length > 0) {
|
|
3894
|
-
const D =
|
|
3894
|
+
const D = O(B[0])?.span;
|
|
3895
3895
|
C.push({
|
|
3896
3896
|
message: "SELECT * is discouraged; specify columns explicitly for better performance and maintainability",
|
|
3897
3897
|
severity: "warning",
|
|
@@ -3902,17 +3902,17 @@ function XN(g, A) {
|
|
|
3902
3902
|
end: D?.end
|
|
3903
3903
|
});
|
|
3904
3904
|
}
|
|
3905
|
-
const Q =
|
|
3905
|
+
const Q = O(g);
|
|
3906
3906
|
if (QI(g) && !Q.group_by) {
|
|
3907
3907
|
const E = CA(g), D = Q.expressions || [];
|
|
3908
|
-
if (D.some((
|
|
3909
|
-
const K =
|
|
3910
|
-
return K === "column" || K === "identifier" ? CA(
|
|
3908
|
+
if (D.some((i) => {
|
|
3909
|
+
const K = p(i);
|
|
3910
|
+
return K === "column" || K === "identifier" ? CA(i).length === 0 : !1;
|
|
3911
3911
|
}) && E.length > 0) {
|
|
3912
|
-
const
|
|
3913
|
-
const
|
|
3914
|
-
return
|
|
3915
|
-
}), K =
|
|
3912
|
+
const i = D.find((y) => {
|
|
3913
|
+
const c = p(y);
|
|
3914
|
+
return c === "column" || c === "identifier" ? CA(y).length === 0 : !1;
|
|
3915
|
+
}), K = i ? O(i)?.span : void 0;
|
|
3916
3916
|
C.push({
|
|
3917
3917
|
message: "Mixing aggregate functions with non-aggregated columns without GROUP BY may cause errors in strict SQL mode",
|
|
3918
3918
|
severity: "warning",
|
|
@@ -3929,7 +3929,7 @@ function XN(g, A) {
|
|
|
3929
3929
|
severity: "warning",
|
|
3930
3930
|
code: "W003"
|
|
3931
3931
|
}), Q.limit && !Q.order_by) {
|
|
3932
|
-
const E = Q.limit, D = E ?
|
|
3932
|
+
const E = Q.limit, D = E ? O(E)?.span : void 0;
|
|
3933
3933
|
C.push({
|
|
3934
3934
|
message: "LIMIT without ORDER BY produces non-deterministic results",
|
|
3935
3935
|
severity: "warning",
|
|
@@ -3942,7 +3942,7 @@ function XN(g, A) {
|
|
|
3942
3942
|
}
|
|
3943
3943
|
return C;
|
|
3944
3944
|
}
|
|
3945
|
-
function
|
|
3945
|
+
function _k(g) {
|
|
3946
3946
|
try {
|
|
3947
3947
|
return JSON.parse(g);
|
|
3948
3948
|
} catch {
|
|
@@ -3958,7 +3958,7 @@ function _N(g) {
|
|
|
3958
3958
|
};
|
|
3959
3959
|
}
|
|
3960
3960
|
}
|
|
3961
|
-
function $
|
|
3961
|
+
function $k(g, A, C = "generic", B = {}) {
|
|
3962
3962
|
const Q = B.strict ?? A.strict ?? !0, E = {
|
|
3963
3963
|
check_types: B.checkTypes ?? !1,
|
|
3964
3964
|
check_references: B.checkReferences ?? !1,
|
|
@@ -3971,16 +3971,16 @@ function $N(g, A, C = "generic", B = {}) {
|
|
|
3971
3971
|
C,
|
|
3972
3972
|
JSON.stringify(E)
|
|
3973
3973
|
);
|
|
3974
|
-
return
|
|
3974
|
+
return _k(D);
|
|
3975
3975
|
}
|
|
3976
|
-
const
|
|
3976
|
+
const AN = {
|
|
3977
3977
|
Error: "error",
|
|
3978
3978
|
Warning: "warning"
|
|
3979
|
-
}, _ =
|
|
3979
|
+
}, _ = Wg;
|
|
3980
3980
|
function $A(g) {
|
|
3981
3981
|
return typeof g == "string" ? JSON.parse(g) : g;
|
|
3982
3982
|
}
|
|
3983
|
-
function
|
|
3983
|
+
function gN(g, A = "generic", C = {}) {
|
|
3984
3984
|
const B = C.strictSyntax ? _.validate_with_options(
|
|
3985
3985
|
g,
|
|
3986
3986
|
A,
|
|
@@ -3995,68 +3995,68 @@ function gi(g, A = "generic", C = {}) {
|
|
|
3995
3995
|
);
|
|
3996
3996
|
if (!E.success || !E.ast)
|
|
3997
3997
|
return Q;
|
|
3998
|
-
const D = typeof E.ast == "string" ? JSON.parse(E.ast) : E.ast,
|
|
3998
|
+
const D = typeof E.ast == "string" ? JSON.parse(E.ast) : E.ast, k = [...Q.errors];
|
|
3999
3999
|
for (const K of D) {
|
|
4000
|
-
const y =
|
|
4001
|
-
|
|
4000
|
+
const y = vk(K);
|
|
4001
|
+
k.push(...y);
|
|
4002
4002
|
}
|
|
4003
4003
|
return {
|
|
4004
|
-
valid: !
|
|
4005
|
-
errors:
|
|
4004
|
+
valid: !k.some((K) => K.severity === "error"),
|
|
4005
|
+
errors: k
|
|
4006
4006
|
};
|
|
4007
4007
|
}
|
|
4008
|
-
var
|
|
4009
|
-
const R =
|
|
4010
|
-
function
|
|
4008
|
+
var qA = /* @__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))(qA || {});
|
|
4009
|
+
const R = Wg;
|
|
4010
|
+
function b(g) {
|
|
4011
4011
|
return g instanceof Error && g.message ? g.message : typeof g == "string" ? g : String(g);
|
|
4012
4012
|
}
|
|
4013
|
-
function
|
|
4013
|
+
function pA(g, A) {
|
|
4014
4014
|
return {
|
|
4015
4015
|
success: !1,
|
|
4016
4016
|
sql: void 0,
|
|
4017
|
-
error: `WASM ${g} failed: ${
|
|
4017
|
+
error: `WASM ${g} failed: ${b(A)}`,
|
|
4018
4018
|
errorLine: void 0,
|
|
4019
4019
|
errorColumn: void 0
|
|
4020
4020
|
};
|
|
4021
4021
|
}
|
|
4022
|
-
function
|
|
4022
|
+
function IN(g, A) {
|
|
4023
4023
|
return {
|
|
4024
4024
|
success: !1,
|
|
4025
4025
|
ast: void 0,
|
|
4026
|
-
error: `WASM ${g} failed: ${
|
|
4026
|
+
error: `WASM ${g} failed: ${b(A)}`,
|
|
4027
4027
|
errorLine: void 0,
|
|
4028
4028
|
errorColumn: void 0
|
|
4029
4029
|
};
|
|
4030
4030
|
}
|
|
4031
|
-
function
|
|
4031
|
+
function CN(g, A) {
|
|
4032
4032
|
return {
|
|
4033
4033
|
success: !1,
|
|
4034
4034
|
dataType: void 0,
|
|
4035
|
-
error: `WASM ${g} failed: ${
|
|
4035
|
+
error: `WASM ${g} failed: ${b(A)}`,
|
|
4036
4036
|
errorLine: void 0,
|
|
4037
4037
|
errorColumn: void 0
|
|
4038
4038
|
};
|
|
4039
4039
|
}
|
|
4040
|
-
function
|
|
4040
|
+
function BN(g, A) {
|
|
4041
4041
|
return {
|
|
4042
4042
|
success: !1,
|
|
4043
4043
|
sql: void 0,
|
|
4044
|
-
error: `WASM ${g} failed: ${
|
|
4044
|
+
error: `WASM ${g} failed: ${b(A)}`,
|
|
4045
4045
|
errorLine: void 0,
|
|
4046
4046
|
errorColumn: void 0
|
|
4047
4047
|
};
|
|
4048
4048
|
}
|
|
4049
|
-
function
|
|
4049
|
+
function Z(g) {
|
|
4050
4050
|
return typeof g == "string" ? JSON.parse(g) : g;
|
|
4051
4051
|
}
|
|
4052
|
-
function
|
|
4052
|
+
function QN(g, A) {
|
|
4053
4053
|
return {
|
|
4054
4054
|
success: !1,
|
|
4055
4055
|
analysis: void 0,
|
|
4056
|
-
error: `WASM ${g} failed: ${
|
|
4056
|
+
error: `WASM ${g} failed: ${b(A)}`
|
|
4057
4057
|
};
|
|
4058
4058
|
}
|
|
4059
|
-
function
|
|
4059
|
+
function FI(g = {}) {
|
|
4060
4060
|
return typeof g == "string" ? { dialect: g } : {
|
|
4061
4061
|
dialect: "generic",
|
|
4062
4062
|
...g
|
|
@@ -4068,9 +4068,9 @@ async function RI() {
|
|
|
4068
4068
|
function sI() {
|
|
4069
4069
|
return !0;
|
|
4070
4070
|
}
|
|
4071
|
-
function
|
|
4071
|
+
function PA(g, A, C, B) {
|
|
4072
4072
|
try {
|
|
4073
|
-
return B && Object.keys(B).length > 0 ? typeof R.transpile_with_options_value == "function" ?
|
|
4073
|
+
return B && Object.keys(B).length > 0 ? typeof R.transpile_with_options_value == "function" ? Z(
|
|
4074
4074
|
R.transpile_with_options_value(g, A, C, B)
|
|
4075
4075
|
) : typeof R.transpile_with_options == "function" ? JSON.parse(
|
|
4076
4076
|
R.transpile_with_options(g, A, C, JSON.stringify(B))
|
|
@@ -4078,27 +4078,27 @@ function OA(g, A, C, B) {
|
|
|
4078
4078
|
success: !1,
|
|
4079
4079
|
sql: void 0,
|
|
4080
4080
|
error: "WASM transpile options are not available in this build"
|
|
4081
|
-
} : typeof R.transpile_value == "function" ?
|
|
4081
|
+
} : typeof R.transpile_value == "function" ? Z(
|
|
4082
4082
|
R.transpile_value(g, A, C)
|
|
4083
4083
|
) : JSON.parse(R.transpile(g, A, C));
|
|
4084
4084
|
} catch (Q) {
|
|
4085
|
-
return
|
|
4085
|
+
return pA("transpile", Q);
|
|
4086
4086
|
}
|
|
4087
4087
|
}
|
|
4088
|
-
function
|
|
4088
|
+
function OA(g, A = "generic") {
|
|
4089
4089
|
try {
|
|
4090
4090
|
if (typeof R.parse_value == "function")
|
|
4091
|
-
return
|
|
4091
|
+
return Z(R.parse_value(g, A));
|
|
4092
4092
|
const C = JSON.parse(R.parse(g, A));
|
|
4093
4093
|
return C.success && typeof C.ast == "string" && (C.ast = JSON.parse(C.ast)), C;
|
|
4094
4094
|
} catch (C) {
|
|
4095
|
-
return
|
|
4095
|
+
return IN("parse", C);
|
|
4096
4096
|
}
|
|
4097
4097
|
}
|
|
4098
|
-
function
|
|
4098
|
+
function jA(g, A = "generic") {
|
|
4099
4099
|
try {
|
|
4100
4100
|
if (typeof R.parse_data_type_value == "function")
|
|
4101
|
-
return
|
|
4101
|
+
return Z(
|
|
4102
4102
|
R.parse_data_type_value(g, A)
|
|
4103
4103
|
);
|
|
4104
4104
|
const C = JSON.parse(
|
|
@@ -4106,38 +4106,38 @@ function TA(g, A = "generic") {
|
|
|
4106
4106
|
);
|
|
4107
4107
|
return C.success && typeof C.dataType == "string" && (C.dataType = JSON.parse(C.dataType)), C;
|
|
4108
4108
|
} catch (C) {
|
|
4109
|
-
return
|
|
4109
|
+
return CN("parseDataType", C);
|
|
4110
4110
|
}
|
|
4111
4111
|
}
|
|
4112
|
-
function
|
|
4112
|
+
function TA(g, A = "generic") {
|
|
4113
4113
|
try {
|
|
4114
|
-
return typeof R.tokenize_value == "function" ?
|
|
4114
|
+
return typeof R.tokenize_value == "function" ? Z(
|
|
4115
4115
|
R.tokenize_value(g, A)
|
|
4116
4116
|
) : JSON.parse(R.tokenize(g, A));
|
|
4117
4117
|
} catch (C) {
|
|
4118
4118
|
return {
|
|
4119
4119
|
success: !1,
|
|
4120
4120
|
tokens: void 0,
|
|
4121
|
-
error: `WASM tokenize failed: ${
|
|
4121
|
+
error: `WASM tokenize failed: ${b(C)}`
|
|
4122
4122
|
};
|
|
4123
4123
|
}
|
|
4124
4124
|
}
|
|
4125
4125
|
function tA(g, A = "generic") {
|
|
4126
4126
|
try {
|
|
4127
4127
|
if (typeof R.generate_value == "function" && Array.isArray(g))
|
|
4128
|
-
return
|
|
4128
|
+
return Z(
|
|
4129
4129
|
R.generate_value(g, A)
|
|
4130
4130
|
);
|
|
4131
4131
|
const C = JSON.stringify(g);
|
|
4132
4132
|
return JSON.parse(R.generate(C, A));
|
|
4133
4133
|
} catch (C) {
|
|
4134
|
-
return
|
|
4134
|
+
return pA("generate", C);
|
|
4135
4135
|
}
|
|
4136
4136
|
}
|
|
4137
|
-
function
|
|
4137
|
+
function ZA(g, A = "generic") {
|
|
4138
4138
|
try {
|
|
4139
4139
|
if (typeof R.generate_data_type_value == "function")
|
|
4140
|
-
return
|
|
4140
|
+
return Z(
|
|
4141
4141
|
R.generate_data_type_value(g, A)
|
|
4142
4142
|
);
|
|
4143
4143
|
const C = JSON.stringify(g);
|
|
@@ -4145,35 +4145,35 @@ function fA(g, A = "generic") {
|
|
|
4145
4145
|
R.generate_data_type(C, A)
|
|
4146
4146
|
);
|
|
4147
4147
|
} catch (C) {
|
|
4148
|
-
return
|
|
4148
|
+
return BN("generateDataType", C);
|
|
4149
4149
|
}
|
|
4150
4150
|
}
|
|
4151
|
-
function
|
|
4152
|
-
return
|
|
4151
|
+
function dA(g, A = "generic") {
|
|
4152
|
+
return zA(g, A, {});
|
|
4153
4153
|
}
|
|
4154
|
-
function
|
|
4154
|
+
function zA(g, A = "generic", C = {}) {
|
|
4155
4155
|
try {
|
|
4156
|
-
return typeof R.format_sql_with_options_value == "function" ?
|
|
4156
|
+
return typeof R.format_sql_with_options_value == "function" ? Z(
|
|
4157
4157
|
R.format_sql_with_options_value(g, A, C)
|
|
4158
4158
|
) : typeof R.format_sql_with_options == "function" ? JSON.parse(
|
|
4159
4159
|
R.format_sql_with_options(g, A, JSON.stringify(C))
|
|
4160
|
-
) : typeof R.format_sql_value == "function" ?
|
|
4160
|
+
) : typeof R.format_sql_value == "function" ? Z(
|
|
4161
4161
|
R.format_sql_value(g, A)
|
|
4162
4162
|
) : JSON.parse(R.format_sql(g, A));
|
|
4163
4163
|
} catch (B) {
|
|
4164
|
-
return
|
|
4164
|
+
return pA("format", B);
|
|
4165
4165
|
}
|
|
4166
4166
|
}
|
|
4167
|
-
function
|
|
4168
|
-
return typeof R.get_dialects_value == "function" ?
|
|
4167
|
+
function fA() {
|
|
4168
|
+
return typeof R.get_dialects_value == "function" ? Z(R.get_dialects_value()) : JSON.parse(R.get_dialects());
|
|
4169
4169
|
}
|
|
4170
|
-
function
|
|
4170
|
+
function eA() {
|
|
4171
4171
|
return R.version();
|
|
4172
4172
|
}
|
|
4173
|
-
function
|
|
4173
|
+
function VA(g, A = {}) {
|
|
4174
4174
|
try {
|
|
4175
|
-
const C =
|
|
4176
|
-
return typeof R.analyze_query_value == "function" ?
|
|
4175
|
+
const C = FI(A);
|
|
4176
|
+
return typeof R.analyze_query_value == "function" ? Z(
|
|
4177
4177
|
R.analyze_query_value(g, C)
|
|
4178
4178
|
) : typeof R.analyze_query == "function" ? JSON.parse(
|
|
4179
4179
|
R.analyze_query(g, JSON.stringify(C))
|
|
@@ -4182,13 +4182,13 @@ function eA(g, A = {}) {
|
|
|
4182
4182
|
error: "analyze_query not available in this WASM build"
|
|
4183
4183
|
};
|
|
4184
4184
|
} catch (C) {
|
|
4185
|
-
return
|
|
4185
|
+
return QN("analyzeQuery", C);
|
|
4186
4186
|
}
|
|
4187
4187
|
}
|
|
4188
|
-
function
|
|
4188
|
+
function xA(g, A = "generic", C) {
|
|
4189
4189
|
try {
|
|
4190
4190
|
const B = C ? JSON.stringify(C) : "";
|
|
4191
|
-
return typeof R.annotate_types_value == "function" ?
|
|
4191
|
+
return typeof R.annotate_types_value == "function" ? Z(
|
|
4192
4192
|
R.annotate_types_value(g, A, B)
|
|
4193
4193
|
) : typeof R.annotate_types == "function" ? JSON.parse(
|
|
4194
4194
|
R.annotate_types(g, A, B)
|
|
@@ -4199,7 +4199,7 @@ function WA(g, A = "generic", C) {
|
|
|
4199
4199
|
} catch (B) {
|
|
4200
4200
|
return {
|
|
4201
4201
|
success: !1,
|
|
4202
|
-
error: `WASM annotate_types failed: ${
|
|
4202
|
+
error: `WASM annotate_types failed: ${b(B)}`
|
|
4203
4203
|
};
|
|
4204
4204
|
}
|
|
4205
4205
|
}
|
|
@@ -4222,25 +4222,25 @@ class m {
|
|
|
4222
4222
|
* Use {@link Polyglot.getDialects} to check available dialects.
|
|
4223
4223
|
*/
|
|
4224
4224
|
transpile(A, C, B, Q) {
|
|
4225
|
-
return
|
|
4225
|
+
return PA(A, C, B, Q);
|
|
4226
4226
|
}
|
|
4227
4227
|
/**
|
|
4228
4228
|
* Parse SQL into an AST.
|
|
4229
4229
|
*/
|
|
4230
4230
|
parse(A, C = "generic") {
|
|
4231
|
-
return
|
|
4231
|
+
return OA(A, C);
|
|
4232
4232
|
}
|
|
4233
4233
|
/**
|
|
4234
4234
|
* Parse a standalone SQL data type.
|
|
4235
4235
|
*/
|
|
4236
4236
|
parseDataType(A, C = "generic") {
|
|
4237
|
-
return
|
|
4237
|
+
return jA(A, C);
|
|
4238
4238
|
}
|
|
4239
4239
|
/**
|
|
4240
4240
|
* Tokenize SQL into a token stream.
|
|
4241
4241
|
*/
|
|
4242
4242
|
tokenize(A, C = "generic") {
|
|
4243
|
-
return
|
|
4243
|
+
return TA(A, C);
|
|
4244
4244
|
}
|
|
4245
4245
|
/**
|
|
4246
4246
|
* Generate SQL from an AST.
|
|
@@ -4252,287 +4252,287 @@ class m {
|
|
|
4252
4252
|
* Generate SQL from a standalone DataType AST node.
|
|
4253
4253
|
*/
|
|
4254
4254
|
generateDataType(A, C = "generic") {
|
|
4255
|
-
return
|
|
4255
|
+
return ZA(A, C);
|
|
4256
4256
|
}
|
|
4257
4257
|
/**
|
|
4258
4258
|
* Format SQL.
|
|
4259
4259
|
*/
|
|
4260
4260
|
format(A, C = "generic") {
|
|
4261
|
-
return
|
|
4261
|
+
return dA(A, C);
|
|
4262
4262
|
}
|
|
4263
4263
|
/**
|
|
4264
4264
|
* Format SQL with explicit guard limits.
|
|
4265
4265
|
*/
|
|
4266
4266
|
formatWithOptions(A, C = "generic", B = {}) {
|
|
4267
|
-
return
|
|
4267
|
+
return zA(A, C, B);
|
|
4268
4268
|
}
|
|
4269
4269
|
/**
|
|
4270
4270
|
* Get supported dialects in this build.
|
|
4271
4271
|
* Per-dialect builds return only `"generic"` and the selected dialect.
|
|
4272
4272
|
*/
|
|
4273
4273
|
getDialects() {
|
|
4274
|
-
return
|
|
4274
|
+
return fA();
|
|
4275
4275
|
}
|
|
4276
4276
|
/**
|
|
4277
4277
|
* Get library version.
|
|
4278
4278
|
*/
|
|
4279
4279
|
getVersion() {
|
|
4280
|
-
return
|
|
4280
|
+
return eA();
|
|
4281
4281
|
}
|
|
4282
4282
|
/**
|
|
4283
4283
|
* Parse SQL and annotate the AST with inferred type information.
|
|
4284
4284
|
*/
|
|
4285
4285
|
annotateTypes(A, C = "generic", B) {
|
|
4286
|
-
return
|
|
4286
|
+
return xA(A, C, B);
|
|
4287
4287
|
}
|
|
4288
4288
|
analyzeQuery(A, C = {}) {
|
|
4289
|
-
return
|
|
4289
|
+
return VA(A, FI(C));
|
|
4290
4290
|
}
|
|
4291
4291
|
}
|
|
4292
|
-
const
|
|
4292
|
+
const EN = {
|
|
4293
4293
|
init: RI,
|
|
4294
4294
|
isInitialized: sI,
|
|
4295
|
-
transpile:
|
|
4296
|
-
parse:
|
|
4297
|
-
parseDataType:
|
|
4298
|
-
tokenize:
|
|
4295
|
+
transpile: PA,
|
|
4296
|
+
parse: OA,
|
|
4297
|
+
parseDataType: jA,
|
|
4298
|
+
tokenize: TA,
|
|
4299
4299
|
generate: tA,
|
|
4300
|
-
generateDataType:
|
|
4301
|
-
format:
|
|
4302
|
-
annotateTypes:
|
|
4303
|
-
analyzeQuery:
|
|
4304
|
-
getDialects:
|
|
4305
|
-
getVersion:
|
|
4300
|
+
generateDataType: ZA,
|
|
4301
|
+
format: dA,
|
|
4302
|
+
annotateTypes: xA,
|
|
4303
|
+
analyzeQuery: VA,
|
|
4304
|
+
getDialects: fA,
|
|
4305
|
+
getVersion: eA,
|
|
4306
4306
|
lineage: HI,
|
|
4307
|
-
lineageWithSchema:
|
|
4308
|
-
getSourceTables:
|
|
4307
|
+
lineageWithSchema: cI,
|
|
4308
|
+
getSourceTables: SI,
|
|
4309
4309
|
openLineageColumnLineage: hI,
|
|
4310
4310
|
openLineageJobEvent: UI,
|
|
4311
4311
|
openLineageRunEvent: JI,
|
|
4312
4312
|
diff: KI,
|
|
4313
4313
|
hasChanges: GI,
|
|
4314
4314
|
changesOnly: YI,
|
|
4315
|
-
plan:
|
|
4316
|
-
Dialect:
|
|
4315
|
+
plan: LI,
|
|
4316
|
+
Dialect: qA,
|
|
4317
4317
|
Polyglot: m
|
|
4318
|
-
},
|
|
4318
|
+
}, DN = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4319
4319
|
__proto__: null,
|
|
4320
4320
|
CaseBuilder: sA,
|
|
4321
4321
|
DeleteBuilder: oI,
|
|
4322
|
-
Dialect:
|
|
4322
|
+
Dialect: qA,
|
|
4323
4323
|
Expr: h,
|
|
4324
4324
|
InsertBuilder: MI,
|
|
4325
4325
|
MergeBuilder: yI,
|
|
4326
4326
|
Polyglot: m,
|
|
4327
4327
|
SelectBuilder: wI,
|
|
4328
4328
|
SetOpBuilder: $,
|
|
4329
|
-
UpdateBuilder:
|
|
4330
|
-
ValidationSeverity:
|
|
4331
|
-
WindowDefBuilder:
|
|
4332
|
-
abs:
|
|
4329
|
+
UpdateBuilder: NI,
|
|
4330
|
+
ValidationSeverity: AN,
|
|
4331
|
+
WindowDefBuilder: WM,
|
|
4332
|
+
abs: hk,
|
|
4333
4333
|
alias: XM,
|
|
4334
|
-
analyzeQuery:
|
|
4334
|
+
analyzeQuery: VA,
|
|
4335
4335
|
and: $M,
|
|
4336
|
-
annotateTypes:
|
|
4337
|
-
ast:
|
|
4338
|
-
avg:
|
|
4336
|
+
annotateTypes: xA,
|
|
4337
|
+
ast: xM,
|
|
4338
|
+
avg: Bk,
|
|
4339
4339
|
boolean: RA,
|
|
4340
|
-
caseOf:
|
|
4341
|
-
caseWhen:
|
|
4342
|
-
cast:
|
|
4343
|
-
ceil:
|
|
4340
|
+
caseOf: rk,
|
|
4341
|
+
caseWhen: lk,
|
|
4342
|
+
cast: vM,
|
|
4343
|
+
ceil: Lk,
|
|
4344
4344
|
changesOnly: YI,
|
|
4345
|
-
coalesce:
|
|
4345
|
+
coalesce: Hk,
|
|
4346
4346
|
col: lM,
|
|
4347
|
-
concatWs:
|
|
4347
|
+
concatWs: Yk,
|
|
4348
4348
|
condition: uM,
|
|
4349
|
-
count:
|
|
4350
|
-
countDistinct:
|
|
4351
|
-
currentDate:
|
|
4352
|
-
currentTime:
|
|
4353
|
-
currentTimestamp:
|
|
4354
|
-
default:
|
|
4355
|
-
del:
|
|
4356
|
-
deleteFrom:
|
|
4357
|
-
denseRank:
|
|
4349
|
+
count: gk,
|
|
4350
|
+
countDistinct: Ik,
|
|
4351
|
+
currentDate: Ok,
|
|
4352
|
+
currentTime: jk,
|
|
4353
|
+
currentTimestamp: Tk,
|
|
4354
|
+
default: EN,
|
|
4355
|
+
del: xk,
|
|
4356
|
+
deleteFrom: iI,
|
|
4357
|
+
denseRank: zk,
|
|
4358
4358
|
diff: KI,
|
|
4359
|
-
except:
|
|
4360
|
-
exp:
|
|
4361
|
-
extract:
|
|
4359
|
+
except: bk,
|
|
4360
|
+
exp: ak,
|
|
4361
|
+
extract: tk,
|
|
4362
4362
|
findAll: YA,
|
|
4363
|
-
floor:
|
|
4364
|
-
format:
|
|
4365
|
-
formatWithOptions:
|
|
4363
|
+
floor: Jk,
|
|
4364
|
+
format: dA,
|
|
4365
|
+
formatWithOptions: zA,
|
|
4366
4366
|
func: s,
|
|
4367
4367
|
generate: tA,
|
|
4368
|
-
generateDataType:
|
|
4368
|
+
generateDataType: ZA,
|
|
4369
4369
|
getColumns: II,
|
|
4370
|
-
getDialects:
|
|
4370
|
+
getDialects: fA,
|
|
4371
4371
|
getInferredType: lg,
|
|
4372
|
-
getSourceTables:
|
|
4373
|
-
getVersion:
|
|
4374
|
-
greatest:
|
|
4372
|
+
getSourceTables: SI,
|
|
4373
|
+
getVersion: eA,
|
|
4374
|
+
greatest: pk,
|
|
4375
4375
|
hasChanges: GI,
|
|
4376
|
-
ifNull:
|
|
4376
|
+
ifNull: Sk,
|
|
4377
4377
|
init: RI,
|
|
4378
|
-
initcap:
|
|
4379
|
-
insert:
|
|
4380
|
-
insertInto:
|
|
4381
|
-
intersect:
|
|
4378
|
+
initcap: yk,
|
|
4379
|
+
insert: ek,
|
|
4380
|
+
insertInto: kI,
|
|
4381
|
+
intersect: uk,
|
|
4382
4382
|
isColumn: ng,
|
|
4383
4383
|
isFunction: ug,
|
|
4384
4384
|
isInitialized: sI,
|
|
4385
4385
|
isLiteral: mg,
|
|
4386
4386
|
isSelect: rg,
|
|
4387
|
-
least:
|
|
4388
|
-
length:
|
|
4387
|
+
least: Pk,
|
|
4388
|
+
length: Mk,
|
|
4389
4389
|
lineage: HI,
|
|
4390
|
-
lineageWithSchema:
|
|
4390
|
+
lineageWithSchema: cI,
|
|
4391
4391
|
lit: rM,
|
|
4392
|
-
ln:
|
|
4393
|
-
lower:
|
|
4394
|
-
ltrim:
|
|
4395
|
-
max:
|
|
4396
|
-
mergeInto:
|
|
4397
|
-
min:
|
|
4398
|
-
not:
|
|
4399
|
-
nullIf:
|
|
4392
|
+
ln: sk,
|
|
4393
|
+
lower: wk,
|
|
4394
|
+
ltrim: Nk,
|
|
4395
|
+
max: Ek,
|
|
4396
|
+
mergeInto: Wk,
|
|
4397
|
+
min: Qk,
|
|
4398
|
+
not: bM,
|
|
4399
|
+
nullIf: ck,
|
|
4400
4400
|
openLineageColumnLineage: hI,
|
|
4401
4401
|
openLineageJobEvent: UI,
|
|
4402
4402
|
openLineageRunEvent: JI,
|
|
4403
|
-
or:
|
|
4404
|
-
parse:
|
|
4405
|
-
parseDataType:
|
|
4406
|
-
plan:
|
|
4407
|
-
power:
|
|
4408
|
-
rank:
|
|
4403
|
+
or: Ak,
|
|
4404
|
+
parse: OA,
|
|
4405
|
+
parseDataType: jA,
|
|
4406
|
+
plan: LI,
|
|
4407
|
+
power: Fk,
|
|
4408
|
+
rank: dk,
|
|
4409
4409
|
renameColumns: Xg,
|
|
4410
|
-
replace:
|
|
4411
|
-
reverse:
|
|
4412
|
-
round:
|
|
4413
|
-
rowNumber:
|
|
4414
|
-
rtrim:
|
|
4415
|
-
select:
|
|
4416
|
-
sign:
|
|
4410
|
+
replace: Gk,
|
|
4411
|
+
reverse: ik,
|
|
4412
|
+
round: Uk,
|
|
4413
|
+
rowNumber: Zk,
|
|
4414
|
+
rtrim: ok,
|
|
4415
|
+
select: fk,
|
|
4416
|
+
sign: qk,
|
|
4417
4417
|
sqlExpr: DI,
|
|
4418
4418
|
sqlNull: nM,
|
|
4419
|
-
sqrt:
|
|
4419
|
+
sqrt: Rk,
|
|
4420
4420
|
star: EI,
|
|
4421
4421
|
subquery: _M,
|
|
4422
|
-
substring:
|
|
4423
|
-
sum:
|
|
4422
|
+
substring: Kk,
|
|
4423
|
+
sum: Ck,
|
|
4424
4424
|
table: mM,
|
|
4425
|
-
tokenize:
|
|
4425
|
+
tokenize: TA,
|
|
4426
4426
|
transform: GA,
|
|
4427
|
-
transpile:
|
|
4428
|
-
trim:
|
|
4429
|
-
union:
|
|
4430
|
-
unionAll:
|
|
4431
|
-
update:
|
|
4432
|
-
upper:
|
|
4433
|
-
validate:
|
|
4434
|
-
validateWithSchema: $
|
|
4435
|
-
walk:
|
|
4427
|
+
transpile: PA,
|
|
4428
|
+
trim: kk,
|
|
4429
|
+
union: nk,
|
|
4430
|
+
unionAll: mk,
|
|
4431
|
+
update: Vk,
|
|
4432
|
+
upper: Dk,
|
|
4433
|
+
validate: gN,
|
|
4434
|
+
validateWithSchema: $k,
|
|
4435
|
+
walk: f
|
|
4436
4436
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4437
4437
|
export {
|
|
4438
4438
|
sA as CaseBuilder,
|
|
4439
4439
|
oI as DeleteBuilder,
|
|
4440
|
-
|
|
4440
|
+
qA as Dialect,
|
|
4441
4441
|
h as Expr,
|
|
4442
4442
|
MI as InsertBuilder,
|
|
4443
4443
|
yI as MergeBuilder,
|
|
4444
4444
|
m as Polyglot,
|
|
4445
4445
|
wI as SelectBuilder,
|
|
4446
4446
|
$ as SetOpBuilder,
|
|
4447
|
-
|
|
4448
|
-
|
|
4449
|
-
|
|
4447
|
+
NI as UpdateBuilder,
|
|
4448
|
+
AN as ValidationSeverity,
|
|
4449
|
+
hk as abs,
|
|
4450
4450
|
XM as alias,
|
|
4451
4451
|
$M as and,
|
|
4452
|
-
|
|
4453
|
-
|
|
4454
|
-
|
|
4452
|
+
xA as annotateTypes,
|
|
4453
|
+
xM as ast,
|
|
4454
|
+
Bk as avg,
|
|
4455
4455
|
RA as boolean,
|
|
4456
|
-
|
|
4457
|
-
|
|
4458
|
-
|
|
4459
|
-
|
|
4460
|
-
|
|
4456
|
+
rk as caseOf,
|
|
4457
|
+
lk as caseWhen,
|
|
4458
|
+
vM as cast,
|
|
4459
|
+
Lk as ceil,
|
|
4460
|
+
Hk as coalesce,
|
|
4461
4461
|
lM as col,
|
|
4462
|
-
|
|
4462
|
+
Yk as concatWs,
|
|
4463
4463
|
uM as condition,
|
|
4464
|
-
|
|
4465
|
-
|
|
4466
|
-
|
|
4467
|
-
|
|
4468
|
-
|
|
4469
|
-
|
|
4470
|
-
|
|
4471
|
-
|
|
4472
|
-
|
|
4473
|
-
|
|
4474
|
-
|
|
4475
|
-
|
|
4464
|
+
gk as count,
|
|
4465
|
+
Ik as countDistinct,
|
|
4466
|
+
Ok as currentDate,
|
|
4467
|
+
jk as currentTime,
|
|
4468
|
+
Tk as currentTimestamp,
|
|
4469
|
+
DN as default,
|
|
4470
|
+
xk as del,
|
|
4471
|
+
iI as deleteFrom,
|
|
4472
|
+
zk as denseRank,
|
|
4473
|
+
bk as except,
|
|
4474
|
+
ak as exp,
|
|
4475
|
+
tk as extract,
|
|
4476
4476
|
YA as findAll,
|
|
4477
|
-
|
|
4478
|
-
|
|
4479
|
-
|
|
4477
|
+
Jk as floor,
|
|
4478
|
+
dA as format,
|
|
4479
|
+
zA as formatWithOptions,
|
|
4480
4480
|
s as func,
|
|
4481
4481
|
tA as generate,
|
|
4482
4482
|
II as getColumns,
|
|
4483
|
-
|
|
4483
|
+
fA as getDialects,
|
|
4484
4484
|
lg as getInferredType,
|
|
4485
|
-
|
|
4486
|
-
|
|
4487
|
-
|
|
4485
|
+
eA as getVersion,
|
|
4486
|
+
pk as greatest,
|
|
4487
|
+
Sk as ifNull,
|
|
4488
4488
|
RI as init,
|
|
4489
|
-
|
|
4490
|
-
|
|
4491
|
-
|
|
4492
|
-
|
|
4489
|
+
yk as initcap,
|
|
4490
|
+
ek as insert,
|
|
4491
|
+
kI as insertInto,
|
|
4492
|
+
uk as intersect,
|
|
4493
4493
|
ng as isColumn,
|
|
4494
4494
|
ug as isFunction,
|
|
4495
4495
|
sI as isInitialized,
|
|
4496
4496
|
mg as isLiteral,
|
|
4497
4497
|
rg as isSelect,
|
|
4498
|
-
|
|
4499
|
-
|
|
4498
|
+
Pk as least,
|
|
4499
|
+
Mk as length,
|
|
4500
4500
|
rM as lit,
|
|
4501
|
-
|
|
4502
|
-
|
|
4503
|
-
|
|
4504
|
-
|
|
4505
|
-
|
|
4506
|
-
|
|
4507
|
-
|
|
4508
|
-
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
|
|
4512
|
-
|
|
4501
|
+
sk as ln,
|
|
4502
|
+
wk as lower,
|
|
4503
|
+
Nk as ltrim,
|
|
4504
|
+
Ek as max,
|
|
4505
|
+
Wk as mergeInto,
|
|
4506
|
+
Qk as min,
|
|
4507
|
+
bM as not,
|
|
4508
|
+
ck as nullIf,
|
|
4509
|
+
Ak as or,
|
|
4510
|
+
OA as parse,
|
|
4511
|
+
Fk as power,
|
|
4512
|
+
dk as rank,
|
|
4513
4513
|
Xg as renameColumns,
|
|
4514
|
-
|
|
4515
|
-
|
|
4516
|
-
|
|
4517
|
-
|
|
4518
|
-
|
|
4519
|
-
|
|
4520
|
-
|
|
4514
|
+
Gk as replace,
|
|
4515
|
+
ik as reverse,
|
|
4516
|
+
Uk as round,
|
|
4517
|
+
Zk as rowNumber,
|
|
4518
|
+
ok as rtrim,
|
|
4519
|
+
fk as select,
|
|
4520
|
+
qk as sign,
|
|
4521
4521
|
DI as sqlExpr,
|
|
4522
4522
|
nM as sqlNull,
|
|
4523
|
-
|
|
4523
|
+
Rk as sqrt,
|
|
4524
4524
|
EI as star,
|
|
4525
|
-
|
|
4526
|
-
|
|
4525
|
+
Kk as substring,
|
|
4526
|
+
Ck as sum,
|
|
4527
4527
|
mM as table,
|
|
4528
4528
|
GA as transform,
|
|
4529
|
-
|
|
4530
|
-
|
|
4531
|
-
|
|
4532
|
-
|
|
4533
|
-
|
|
4534
|
-
|
|
4535
|
-
|
|
4536
|
-
$
|
|
4537
|
-
|
|
4529
|
+
PA as transpile,
|
|
4530
|
+
kk as trim,
|
|
4531
|
+
nk as union,
|
|
4532
|
+
mk as unionAll,
|
|
4533
|
+
Vk as update,
|
|
4534
|
+
Dk as upper,
|
|
4535
|
+
gN as validate,
|
|
4536
|
+
$k as validateWithSchema,
|
|
4537
|
+
f as walk
|
|
4538
4538
|
};
|