@polyglot-sql/sdk 0.5.0 → 0.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +54 -0
- package/dist/cdn/polyglot.esm.js +1591 -1439
- package/dist/index.cjs +213 -0
- package/dist/index.d.cts +160 -1
- package/dist/index.d.ts +160 -1
- package/dist/index.js +247 -1
- package/dist/index.node.js +207 -0
- package/dist/manual.js +235 -1
- package/dist/polyglot_sql.wasm +0 -0
- package/package.json +1 -1
package/dist/cdn/polyglot.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const RI = new URL("../polyglot_sql.wasm",import.meta.url).href, UI = async (g = {}, A) => {
|
|
2
2
|
let C;
|
|
3
3
|
if (A.startsWith("data:")) {
|
|
4
4
|
const B = A.replace(/^data:.*?base64,/, "");
|
|
@@ -24,10 +24,10 @@ const cI = new URL("../polyglot_sql.wasm",import.meta.url).href, LI = async (g =
|
|
|
24
24
|
}
|
|
25
25
|
return C.instance.exports;
|
|
26
26
|
};
|
|
27
|
-
class
|
|
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 CA {
|
|
|
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.
|
|
@@ -57,11 +57,11 @@ class CA {
|
|
|
57
57
|
H(C, G), I.wasmassignmentarray_push(this.__wbg_ptr, B, Q, C.__wbg_ptr);
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
-
Symbol.dispose && (
|
|
61
|
-
class
|
|
60
|
+
Symbol.dispose && (BA.prototype[Symbol.dispose] = BA.prototype.free);
|
|
61
|
+
class u {
|
|
62
62
|
static __wrap(A) {
|
|
63
63
|
A = A >>> 0;
|
|
64
|
-
const C = Object.create(
|
|
64
|
+
const C = Object.create(u.prototype);
|
|
65
65
|
return C.__wbg_ptr = A, hA.register(C, C.__wbg_ptr, C), C;
|
|
66
66
|
}
|
|
67
67
|
__destroy_into_raw() {
|
|
@@ -82,7 +82,7 @@ class m {
|
|
|
82
82
|
I.wasmcasebuilder_build_expr(Q, this.__wbg_ptr);
|
|
83
83
|
var A = i().getInt32(Q + 0, !0), C = i().getInt32(Q + 4, !0), B = i().getInt32(Q + 8, !0);
|
|
84
84
|
if (B)
|
|
85
|
-
throw
|
|
85
|
+
throw J(C);
|
|
86
86
|
return G.__wrap(A);
|
|
87
87
|
} finally {
|
|
88
88
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
@@ -114,7 +114,7 @@ class m {
|
|
|
114
114
|
I.wasmcasebuilder_to_sql(y, this.__wbg_ptr, h, R);
|
|
115
115
|
var Q = i().getInt32(y + 0, !0), E = i().getInt32(y + 4, !0), D = i().getInt32(y + 8, !0), o = i().getInt32(y + 12, !0), k = Q, K = E;
|
|
116
116
|
if (o)
|
|
117
|
-
throw k = 0, K = 0,
|
|
117
|
+
throw k = 0, K = 0, J(D);
|
|
118
118
|
return C = k, B = K, c(k, K);
|
|
119
119
|
} finally {
|
|
120
120
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
@@ -129,8 +129,8 @@ class m {
|
|
|
129
129
|
H(A, G), H(C, G), I.wasmcasebuilder_when(this.__wbg_ptr, A.__wbg_ptr, C.__wbg_ptr);
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
|
-
Symbol.dispose && (
|
|
133
|
-
class
|
|
132
|
+
Symbol.dispose && (u.prototype[Symbol.dispose] = u.prototype.free);
|
|
133
|
+
class oA {
|
|
134
134
|
__destroy_into_raw() {
|
|
135
135
|
const A = this.__wbg_ptr;
|
|
136
136
|
return this.__wbg_ptr = 0, VA.unregister(this), A;
|
|
@@ -149,8 +149,8 @@ class iA {
|
|
|
149
149
|
I.wasmdeletebuilder_build(Q, this.__wbg_ptr);
|
|
150
150
|
var A = i().getInt32(Q + 0, !0), C = i().getInt32(Q + 4, !0), B = i().getInt32(Q + 8, !0);
|
|
151
151
|
if (B)
|
|
152
|
-
throw
|
|
153
|
-
return
|
|
152
|
+
throw J(C);
|
|
153
|
+
return J(A);
|
|
154
154
|
} finally {
|
|
155
155
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
156
156
|
}
|
|
@@ -175,7 +175,7 @@ class iA {
|
|
|
175
175
|
I.wasmdeletebuilder_to_sql(y, this.__wbg_ptr, h, R);
|
|
176
176
|
var Q = i().getInt32(y + 0, !0), E = i().getInt32(y + 4, !0), D = i().getInt32(y + 8, !0), o = i().getInt32(y + 12, !0), k = Q, K = E;
|
|
177
177
|
if (o)
|
|
178
|
-
throw k = 0, K = 0,
|
|
178
|
+
throw k = 0, K = 0, J(D);
|
|
179
179
|
return C = k, B = K, c(k, K);
|
|
180
180
|
} finally {
|
|
181
181
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
@@ -189,16 +189,16 @@ class iA {
|
|
|
189
189
|
H(A, G), I.wasmdeletebuilder_where_expr(this.__wbg_ptr, A.__wbg_ptr);
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
|
-
Symbol.dispose && (
|
|
192
|
+
Symbol.dispose && (oA.prototype[Symbol.dispose] = oA.prototype.free);
|
|
193
193
|
class G {
|
|
194
194
|
static __wrap(A) {
|
|
195
195
|
A = A >>> 0;
|
|
196
196
|
const C = Object.create(G.prototype);
|
|
197
|
-
return C.__wbg_ptr = A,
|
|
197
|
+
return C.__wbg_ptr = A, lA.register(C, C.__wbg_ptr, C), C;
|
|
198
198
|
}
|
|
199
199
|
__destroy_into_raw() {
|
|
200
200
|
const A = this.__wbg_ptr;
|
|
201
|
-
return this.__wbg_ptr = 0,
|
|
201
|
+
return this.__wbg_ptr = 0, lA.unregister(this), A;
|
|
202
202
|
}
|
|
203
203
|
free() {
|
|
204
204
|
const A = this.__destroy_into_raw();
|
|
@@ -325,7 +325,7 @@ class G {
|
|
|
325
325
|
* @returns {WasmExpr}
|
|
326
326
|
*/
|
|
327
327
|
in_list(A) {
|
|
328
|
-
H(A,
|
|
328
|
+
H(A, P);
|
|
329
329
|
const C = I.wasmexpr_in_list(this.__wbg_ptr, A.__wbg_ptr);
|
|
330
330
|
return G.__wrap(C);
|
|
331
331
|
}
|
|
@@ -409,7 +409,7 @@ class G {
|
|
|
409
409
|
* @returns {WasmExpr}
|
|
410
410
|
*/
|
|
411
411
|
not_in(A) {
|
|
412
|
-
H(A,
|
|
412
|
+
H(A, P);
|
|
413
413
|
const C = I.wasmexpr_not_in(this.__wbg_ptr, A.__wbg_ptr);
|
|
414
414
|
return G.__wrap(C);
|
|
415
415
|
}
|
|
@@ -453,8 +453,8 @@ class G {
|
|
|
453
453
|
I.wasmexpr_to_json(Q, this.__wbg_ptr);
|
|
454
454
|
var A = i().getInt32(Q + 0, !0), C = i().getInt32(Q + 4, !0), B = i().getInt32(Q + 8, !0);
|
|
455
455
|
if (B)
|
|
456
|
-
throw
|
|
457
|
-
return
|
|
456
|
+
throw J(C);
|
|
457
|
+
return J(A);
|
|
458
458
|
} finally {
|
|
459
459
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
460
460
|
}
|
|
@@ -471,7 +471,7 @@ class G {
|
|
|
471
471
|
I.wasmexpr_to_sql(y, this.__wbg_ptr, h, R);
|
|
472
472
|
var Q = i().getInt32(y + 0, !0), E = i().getInt32(y + 4, !0), D = i().getInt32(y + 8, !0), o = i().getInt32(y + 12, !0), k = Q, K = E;
|
|
473
473
|
if (o)
|
|
474
|
-
throw k = 0, K = 0,
|
|
474
|
+
throw k = 0, K = 0, J(D);
|
|
475
475
|
return C = k, B = K, c(k, K);
|
|
476
476
|
} finally {
|
|
477
477
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
@@ -489,10 +489,10 @@ 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
|
-
return this.__wbg_ptr = 0,
|
|
495
|
+
return this.__wbg_ptr = 0, nA.unregister(this), A;
|
|
496
496
|
}
|
|
497
497
|
free() {
|
|
498
498
|
const A = this.__destroy_into_raw();
|
|
@@ -510,7 +510,7 @@ class O {
|
|
|
510
510
|
*/
|
|
511
511
|
constructor() {
|
|
512
512
|
const A = I.wasmassignmentarray_new();
|
|
513
|
-
return this.__wbg_ptr = A >>> 0,
|
|
513
|
+
return this.__wbg_ptr = A >>> 0, nA.register(this, this.__wbg_ptr, this), this;
|
|
514
514
|
}
|
|
515
515
|
/**
|
|
516
516
|
* Push an expression.
|
|
@@ -556,11 +556,11 @@ class O {
|
|
|
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 MA {
|
|
561
561
|
__destroy_into_raw() {
|
|
562
562
|
const A = this.__wbg_ptr;
|
|
563
|
-
return this.__wbg_ptr = 0,
|
|
563
|
+
return this.__wbg_ptr = 0, rA.unregister(this), A;
|
|
564
564
|
}
|
|
565
565
|
free() {
|
|
566
566
|
const A = this.__destroy_into_raw();
|
|
@@ -576,8 +576,8 @@ class oA {
|
|
|
576
576
|
I.wasminsertbuilder_build(Q, this.__wbg_ptr);
|
|
577
577
|
var A = i().getInt32(Q + 0, !0), C = i().getInt32(Q + 4, !0), B = i().getInt32(Q + 8, !0);
|
|
578
578
|
if (B)
|
|
579
|
-
throw
|
|
580
|
-
return
|
|
579
|
+
throw J(C);
|
|
580
|
+
return J(A);
|
|
581
581
|
} finally {
|
|
582
582
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
583
583
|
}
|
|
@@ -587,7 +587,7 @@ class oA {
|
|
|
587
587
|
* @param {string[]} cols
|
|
588
588
|
*/
|
|
589
589
|
columns(A) {
|
|
590
|
-
const C =
|
|
590
|
+
const C = LA(A, I.__wbindgen_export), B = M;
|
|
591
591
|
I.wasminsertbuilder_columns(this.__wbg_ptr, C, B);
|
|
592
592
|
}
|
|
593
593
|
/**
|
|
@@ -596,7 +596,7 @@ class oA {
|
|
|
596
596
|
*/
|
|
597
597
|
constructor(A) {
|
|
598
598
|
const C = N(A, I.__wbindgen_export, I.__wbindgen_export2), B = M, Q = I.wasminsertbuilder_new(C, B);
|
|
599
|
-
return this.__wbg_ptr = Q >>> 0,
|
|
599
|
+
return this.__wbg_ptr = Q >>> 0, rA.register(this, this.__wbg_ptr, this), this;
|
|
600
600
|
}
|
|
601
601
|
/**
|
|
602
602
|
* Set the source query for INSERT ... SELECT.
|
|
@@ -605,10 +605,10 @@ class oA {
|
|
|
605
605
|
query(A) {
|
|
606
606
|
try {
|
|
607
607
|
const Q = I.__wbindgen_add_to_stack_pointer(-16);
|
|
608
|
-
H(A,
|
|
608
|
+
H(A, t), I.wasminsertbuilder_query(Q, this.__wbg_ptr, A.__wbg_ptr);
|
|
609
609
|
var C = i().getInt32(Q + 0, !0), B = i().getInt32(Q + 4, !0);
|
|
610
610
|
if (B)
|
|
611
|
-
throw
|
|
611
|
+
throw J(C);
|
|
612
612
|
} finally {
|
|
613
613
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
614
614
|
}
|
|
@@ -625,7 +625,7 @@ class oA {
|
|
|
625
625
|
I.wasminsertbuilder_to_sql(y, this.__wbg_ptr, h, R);
|
|
626
626
|
var Q = i().getInt32(y + 0, !0), E = i().getInt32(y + 4, !0), D = i().getInt32(y + 8, !0), o = i().getInt32(y + 12, !0), k = Q, K = E;
|
|
627
627
|
if (o)
|
|
628
|
-
throw k = 0, K = 0,
|
|
628
|
+
throw k = 0, K = 0, J(D);
|
|
629
629
|
return C = k, B = K, c(k, K);
|
|
630
630
|
} finally {
|
|
631
631
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
@@ -636,14 +636,14 @@ class oA {
|
|
|
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 && (MA.prototype[Symbol.dispose] = MA.prototype.free);
|
|
643
|
+
class NA {
|
|
644
644
|
__destroy_into_raw() {
|
|
645
645
|
const A = this.__wbg_ptr;
|
|
646
|
-
return this.__wbg_ptr = 0,
|
|
646
|
+
return this.__wbg_ptr = 0, mA.unregister(this), A;
|
|
647
647
|
}
|
|
648
648
|
free() {
|
|
649
649
|
const A = this.__destroy_into_raw();
|
|
@@ -659,8 +659,8 @@ class MA {
|
|
|
659
659
|
I.wasmmergebuilder_build(Q, this.__wbg_ptr);
|
|
660
660
|
var A = i().getInt32(Q + 0, !0), C = i().getInt32(Q + 4, !0), B = i().getInt32(Q + 8, !0);
|
|
661
661
|
if (B)
|
|
662
|
-
throw
|
|
663
|
-
return
|
|
662
|
+
throw J(C);
|
|
663
|
+
return J(A);
|
|
664
664
|
} finally {
|
|
665
665
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
666
666
|
}
|
|
@@ -671,7 +671,7 @@ class MA {
|
|
|
671
671
|
*/
|
|
672
672
|
constructor(A) {
|
|
673
673
|
const C = N(A, I.__wbindgen_export, I.__wbindgen_export2), B = M, Q = I.wasmmergebuilder_new(C, B);
|
|
674
|
-
return this.__wbg_ptr = Q >>> 0,
|
|
674
|
+
return this.__wbg_ptr = Q >>> 0, mA.register(this, this.__wbg_ptr, this), this;
|
|
675
675
|
}
|
|
676
676
|
/**
|
|
677
677
|
* Generate SQL string for the given dialect.
|
|
@@ -685,7 +685,7 @@ class MA {
|
|
|
685
685
|
I.wasmmergebuilder_to_sql(y, this.__wbg_ptr, h, R);
|
|
686
686
|
var Q = i().getInt32(y + 0, !0), E = i().getInt32(y + 4, !0), D = i().getInt32(y + 8, !0), o = i().getInt32(y + 12, !0), k = Q, K = E;
|
|
687
687
|
if (o)
|
|
688
|
-
throw k = 0, K = 0,
|
|
688
|
+
throw k = 0, K = 0, J(D);
|
|
689
689
|
return C = k, B = K, c(k, K);
|
|
690
690
|
} finally {
|
|
691
691
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
@@ -711,7 +711,7 @@ class MA {
|
|
|
711
711
|
* @param {WasmAssignmentArray} assignments
|
|
712
712
|
*/
|
|
713
713
|
when_matched_update(A) {
|
|
714
|
-
H(A,
|
|
714
|
+
H(A, BA), I.wasmmergebuilder_when_matched_update(this.__wbg_ptr, A.__wbg_ptr);
|
|
715
715
|
}
|
|
716
716
|
/**
|
|
717
717
|
* Add a WHEN NOT MATCHED THEN INSERT clause.
|
|
@@ -719,15 +719,15 @@ class MA {
|
|
|
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 = M;
|
|
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 t {
|
|
728
728
|
__destroy_into_raw() {
|
|
729
729
|
const A = this.__wbg_ptr;
|
|
730
|
-
return this.__wbg_ptr = 0,
|
|
730
|
+
return this.__wbg_ptr = 0, uA.unregister(this), A;
|
|
731
731
|
}
|
|
732
732
|
free() {
|
|
733
733
|
const A = this.__destroy_into_raw();
|
|
@@ -743,8 +743,8 @@ class j {
|
|
|
743
743
|
I.wasmselectbuilder_build(Q, this.__wbg_ptr);
|
|
744
744
|
var A = i().getInt32(Q + 0, !0), C = i().getInt32(Q + 4, !0), B = i().getInt32(Q + 8, !0);
|
|
745
745
|
if (B)
|
|
746
|
-
throw
|
|
747
|
-
return
|
|
746
|
+
throw J(C);
|
|
747
|
+
return J(A);
|
|
748
748
|
} finally {
|
|
749
749
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
750
750
|
}
|
|
@@ -768,8 +768,8 @@ class j {
|
|
|
768
768
|
I.wasmselectbuilder_ctas(E, this.__wbg_ptr, D, o);
|
|
769
769
|
var C = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0), Q = i().getInt32(E + 8, !0);
|
|
770
770
|
if (Q)
|
|
771
|
-
throw
|
|
772
|
-
return
|
|
771
|
+
throw J(B);
|
|
772
|
+
return J(C);
|
|
773
773
|
} finally {
|
|
774
774
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
775
775
|
}
|
|
@@ -783,11 +783,11 @@ class j {
|
|
|
783
783
|
ctas_sql(A, C) {
|
|
784
784
|
let B, Q;
|
|
785
785
|
try {
|
|
786
|
-
const h = I.__wbindgen_add_to_stack_pointer(-16), R = N(A, I.__wbindgen_export, I.__wbindgen_export2), q = M,
|
|
787
|
-
I.wasmselectbuilder_ctas_sql(h, this.__wbg_ptr, R, q,
|
|
786
|
+
const h = I.__wbindgen_add_to_stack_pointer(-16), R = N(A, I.__wbindgen_export, I.__wbindgen_export2), q = M, T = N(C, I.__wbindgen_export, I.__wbindgen_export2), e = M;
|
|
787
|
+
I.wasmselectbuilder_ctas_sql(h, this.__wbg_ptr, R, q, T, e);
|
|
788
788
|
var E = i().getInt32(h + 0, !0), D = i().getInt32(h + 4, !0), o = i().getInt32(h + 8, !0), k = i().getInt32(h + 12, !0), K = E, y = D;
|
|
789
789
|
if (k)
|
|
790
|
-
throw K = 0, y = 0,
|
|
790
|
+
throw K = 0, y = 0, J(o);
|
|
791
791
|
return B = K, Q = y, c(K, y);
|
|
792
792
|
} finally {
|
|
793
793
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, Q, 1);
|
|
@@ -807,11 +807,11 @@ class j {
|
|
|
807
807
|
except_(A) {
|
|
808
808
|
try {
|
|
809
809
|
const E = I.__wbindgen_add_to_stack_pointer(-16);
|
|
810
|
-
H(A,
|
|
810
|
+
H(A, t), I.wasmselectbuilder_except_(E, this.__wbg_ptr, A.__wbg_ptr);
|
|
811
811
|
var C = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0), Q = i().getInt32(E + 8, !0);
|
|
812
812
|
if (Q)
|
|
813
|
-
throw
|
|
814
|
-
return
|
|
813
|
+
throw J(B);
|
|
814
|
+
return W.__wrap(C);
|
|
815
815
|
} finally {
|
|
816
816
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
817
817
|
}
|
|
@@ -842,7 +842,7 @@ class j {
|
|
|
842
842
|
* @param {WasmExprArray} cols
|
|
843
843
|
*/
|
|
844
844
|
group_by_cols(A) {
|
|
845
|
-
H(A,
|
|
845
|
+
H(A, P), I.wasmselectbuilder_group_by_cols(this.__wbg_ptr, A.__wbg_ptr);
|
|
846
846
|
}
|
|
847
847
|
/**
|
|
848
848
|
* Set the HAVING clause.
|
|
@@ -867,11 +867,11 @@ class j {
|
|
|
867
867
|
intersect(A) {
|
|
868
868
|
try {
|
|
869
869
|
const E = I.__wbindgen_add_to_stack_pointer(-16);
|
|
870
|
-
H(A,
|
|
870
|
+
H(A, t), I.wasmselectbuilder_intersect(E, this.__wbg_ptr, A.__wbg_ptr);
|
|
871
871
|
var C = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0), Q = i().getInt32(E + 8, !0);
|
|
872
872
|
if (Q)
|
|
873
|
-
throw
|
|
874
|
-
return
|
|
873
|
+
throw J(B);
|
|
874
|
+
return W.__wrap(C);
|
|
875
875
|
} finally {
|
|
876
876
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
877
877
|
}
|
|
@@ -893,7 +893,7 @@ class j {
|
|
|
893
893
|
*/
|
|
894
894
|
lateral_view(A, C, B) {
|
|
895
895
|
H(A, G);
|
|
896
|
-
const Q = N(C, I.__wbindgen_export, I.__wbindgen_export2), E = M, D =
|
|
896
|
+
const Q = N(C, I.__wbindgen_export, I.__wbindgen_export2), E = M, D = LA(B, I.__wbindgen_export), o = M;
|
|
897
897
|
I.wasmselectbuilder_lateral_view(this.__wbg_ptr, A.__wbg_ptr, Q, E, D, o);
|
|
898
898
|
}
|
|
899
899
|
/**
|
|
@@ -917,7 +917,7 @@ class j {
|
|
|
917
917
|
*/
|
|
918
918
|
constructor() {
|
|
919
919
|
const A = I.wasmselectbuilder_new();
|
|
920
|
-
return this.__wbg_ptr = A >>> 0,
|
|
920
|
+
return this.__wbg_ptr = A >>> 0, uA.register(this, this.__wbg_ptr, this), this;
|
|
921
921
|
}
|
|
922
922
|
/**
|
|
923
923
|
* Set the OFFSET clause.
|
|
@@ -931,7 +931,7 @@ class j {
|
|
|
931
931
|
* @param {WasmExprArray} exprs
|
|
932
932
|
*/
|
|
933
933
|
order_by_exprs(A) {
|
|
934
|
-
H(A,
|
|
934
|
+
H(A, P), I.wasmselectbuilder_order_by_exprs(this.__wbg_ptr, A.__wbg_ptr);
|
|
935
935
|
}
|
|
936
936
|
/**
|
|
937
937
|
* Set the QUALIFY clause.
|
|
@@ -969,7 +969,7 @@ class j {
|
|
|
969
969
|
* @param {WasmExprArray} exprs
|
|
970
970
|
*/
|
|
971
971
|
select_exprs(A) {
|
|
972
|
-
H(A,
|
|
972
|
+
H(A, P), I.wasmselectbuilder_select_exprs(this.__wbg_ptr, A.__wbg_ptr);
|
|
973
973
|
}
|
|
974
974
|
/**
|
|
975
975
|
* Add a star (*) to the SELECT list.
|
|
@@ -982,7 +982,7 @@ class j {
|
|
|
982
982
|
* @param {WasmExprArray} exprs
|
|
983
983
|
*/
|
|
984
984
|
sort_by_exprs(A) {
|
|
985
|
-
H(A,
|
|
985
|
+
H(A, P), I.wasmselectbuilder_sort_by_exprs(this.__wbg_ptr, A.__wbg_ptr);
|
|
986
986
|
}
|
|
987
987
|
/**
|
|
988
988
|
* Generate SQL string for the given dialect.
|
|
@@ -996,7 +996,7 @@ class j {
|
|
|
996
996
|
I.wasmselectbuilder_to_sql(y, this.__wbg_ptr, h, R);
|
|
997
997
|
var Q = i().getInt32(y + 0, !0), E = i().getInt32(y + 4, !0), D = i().getInt32(y + 8, !0), o = i().getInt32(y + 12, !0), k = Q, K = E;
|
|
998
998
|
if (o)
|
|
999
|
-
throw k = 0, K = 0,
|
|
999
|
+
throw k = 0, K = 0, J(D);
|
|
1000
1000
|
return C = k, B = K, c(k, K);
|
|
1001
1001
|
} finally {
|
|
1002
1002
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
@@ -1010,11 +1010,11 @@ class j {
|
|
|
1010
1010
|
union(A) {
|
|
1011
1011
|
try {
|
|
1012
1012
|
const E = I.__wbindgen_add_to_stack_pointer(-16);
|
|
1013
|
-
H(A,
|
|
1013
|
+
H(A, t), I.wasmselectbuilder_union(E, this.__wbg_ptr, A.__wbg_ptr);
|
|
1014
1014
|
var C = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0), Q = i().getInt32(E + 8, !0);
|
|
1015
1015
|
if (Q)
|
|
1016
|
-
throw
|
|
1017
|
-
return
|
|
1016
|
+
throw J(B);
|
|
1017
|
+
return W.__wrap(C);
|
|
1018
1018
|
} finally {
|
|
1019
1019
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
1020
1020
|
}
|
|
@@ -1027,11 +1027,11 @@ class j {
|
|
|
1027
1027
|
union_all(A) {
|
|
1028
1028
|
try {
|
|
1029
1029
|
const E = I.__wbindgen_add_to_stack_pointer(-16);
|
|
1030
|
-
H(A,
|
|
1030
|
+
H(A, t), I.wasmselectbuilder_union_all(E, this.__wbg_ptr, A.__wbg_ptr);
|
|
1031
1031
|
var C = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0), Q = i().getInt32(E + 8, !0);
|
|
1032
1032
|
if (Q)
|
|
1033
|
-
throw
|
|
1034
|
-
return
|
|
1033
|
+
throw J(B);
|
|
1034
|
+
return W.__wrap(C);
|
|
1035
1035
|
} finally {
|
|
1036
1036
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
1037
1037
|
}
|
|
@@ -1059,25 +1059,25 @@ class j {
|
|
|
1059
1059
|
window(A, C) {
|
|
1060
1060
|
try {
|
|
1061
1061
|
const E = I.__wbindgen_add_to_stack_pointer(-16), D = N(A, I.__wbindgen_export, I.__wbindgen_export2), o = M;
|
|
1062
|
-
H(C,
|
|
1062
|
+
H(C, QA), I.wasmselectbuilder_window(E, this.__wbg_ptr, D, o, C.__wbg_ptr);
|
|
1063
1063
|
var B = i().getInt32(E + 0, !0), Q = i().getInt32(E + 4, !0);
|
|
1064
1064
|
if (Q)
|
|
1065
|
-
throw
|
|
1065
|
+
throw J(B);
|
|
1066
1066
|
} finally {
|
|
1067
1067
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
1068
1068
|
}
|
|
1069
1069
|
}
|
|
1070
1070
|
}
|
|
1071
|
-
Symbol.dispose && (
|
|
1072
|
-
class
|
|
1071
|
+
Symbol.dispose && (t.prototype[Symbol.dispose] = t.prototype.free);
|
|
1072
|
+
class W {
|
|
1073
1073
|
static __wrap(A) {
|
|
1074
1074
|
A = A >>> 0;
|
|
1075
|
-
const C = Object.create(
|
|
1076
|
-
return C.__wbg_ptr = A,
|
|
1075
|
+
const C = Object.create(W.prototype);
|
|
1076
|
+
return C.__wbg_ptr = A, bA.register(C, C.__wbg_ptr, C), C;
|
|
1077
1077
|
}
|
|
1078
1078
|
__destroy_into_raw() {
|
|
1079
1079
|
const A = this.__wbg_ptr;
|
|
1080
|
-
return this.__wbg_ptr = 0,
|
|
1080
|
+
return this.__wbg_ptr = 0, bA.unregister(this), A;
|
|
1081
1081
|
}
|
|
1082
1082
|
free() {
|
|
1083
1083
|
const A = this.__destroy_into_raw();
|
|
@@ -1093,8 +1093,8 @@ class x {
|
|
|
1093
1093
|
I.wasmsetopbuilder_build(Q, this.__wbg_ptr);
|
|
1094
1094
|
var A = i().getInt32(Q + 0, !0), C = i().getInt32(Q + 4, !0), B = i().getInt32(Q + 8, !0);
|
|
1095
1095
|
if (B)
|
|
1096
|
-
throw
|
|
1097
|
-
return
|
|
1096
|
+
throw J(C);
|
|
1097
|
+
return J(A);
|
|
1098
1098
|
} finally {
|
|
1099
1099
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
1100
1100
|
}
|
|
@@ -1118,7 +1118,7 @@ class x {
|
|
|
1118
1118
|
* @param {WasmExprArray} exprs
|
|
1119
1119
|
*/
|
|
1120
1120
|
order_by_exprs(A) {
|
|
1121
|
-
H(A,
|
|
1121
|
+
H(A, P), I.wasmsetopbuilder_order_by_exprs(this.__wbg_ptr, A.__wbg_ptr);
|
|
1122
1122
|
}
|
|
1123
1123
|
/**
|
|
1124
1124
|
* Generate SQL string for the given dialect.
|
|
@@ -1132,18 +1132,18 @@ class x {
|
|
|
1132
1132
|
I.wasmsetopbuilder_to_sql(y, this.__wbg_ptr, h, R);
|
|
1133
1133
|
var Q = i().getInt32(y + 0, !0), E = i().getInt32(y + 4, !0), D = i().getInt32(y + 8, !0), o = i().getInt32(y + 12, !0), k = Q, K = E;
|
|
1134
1134
|
if (o)
|
|
1135
|
-
throw k = 0, K = 0,
|
|
1135
|
+
throw k = 0, K = 0, J(D);
|
|
1136
1136
|
return C = k, B = K, c(k, K);
|
|
1137
1137
|
} finally {
|
|
1138
1138
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1139
1139
|
}
|
|
1140
1140
|
}
|
|
1141
1141
|
}
|
|
1142
|
-
Symbol.dispose && (
|
|
1143
|
-
class
|
|
1142
|
+
Symbol.dispose && (W.prototype[Symbol.dispose] = W.prototype.free);
|
|
1143
|
+
class kA {
|
|
1144
1144
|
__destroy_into_raw() {
|
|
1145
1145
|
const A = this.__wbg_ptr;
|
|
1146
|
-
return this.__wbg_ptr = 0,
|
|
1146
|
+
return this.__wbg_ptr = 0, vA.unregister(this), A;
|
|
1147
1147
|
}
|
|
1148
1148
|
free() {
|
|
1149
1149
|
const A = this.__destroy_into_raw();
|
|
@@ -1159,8 +1159,8 @@ class NA {
|
|
|
1159
1159
|
I.wasmupdatebuilder_build(Q, this.__wbg_ptr);
|
|
1160
1160
|
var A = i().getInt32(Q + 0, !0), C = i().getInt32(Q + 4, !0), B = i().getInt32(Q + 8, !0);
|
|
1161
1161
|
if (B)
|
|
1162
|
-
throw
|
|
1163
|
-
return
|
|
1162
|
+
throw J(C);
|
|
1163
|
+
return J(A);
|
|
1164
1164
|
} finally {
|
|
1165
1165
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
1166
1166
|
}
|
|
@@ -1179,7 +1179,7 @@ class NA {
|
|
|
1179
1179
|
*/
|
|
1180
1180
|
constructor(A) {
|
|
1181
1181
|
const C = N(A, I.__wbindgen_export, I.__wbindgen_export2), B = M, Q = I.wasmupdatebuilder_new(C, B);
|
|
1182
|
-
return this.__wbg_ptr = Q >>> 0,
|
|
1182
|
+
return this.__wbg_ptr = Q >>> 0, vA.register(this, this.__wbg_ptr, this), this;
|
|
1183
1183
|
}
|
|
1184
1184
|
/**
|
|
1185
1185
|
* Add a SET column = value assignment.
|
|
@@ -1202,7 +1202,7 @@ class NA {
|
|
|
1202
1202
|
I.wasmupdatebuilder_to_sql(y, this.__wbg_ptr, h, R);
|
|
1203
1203
|
var Q = i().getInt32(y + 0, !0), E = i().getInt32(y + 4, !0), D = i().getInt32(y + 8, !0), o = i().getInt32(y + 12, !0), k = Q, K = E;
|
|
1204
1204
|
if (o)
|
|
1205
|
-
throw k = 0, K = 0,
|
|
1205
|
+
throw k = 0, K = 0, J(D);
|
|
1206
1206
|
return C = k, B = K, c(k, K);
|
|
1207
1207
|
} finally {
|
|
1208
1208
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
@@ -1216,11 +1216,11 @@ class NA {
|
|
|
1216
1216
|
H(A, G), I.wasmupdatebuilder_where_expr(this.__wbg_ptr, A.__wbg_ptr);
|
|
1217
1217
|
}
|
|
1218
1218
|
}
|
|
1219
|
-
Symbol.dispose && (
|
|
1220
|
-
class
|
|
1219
|
+
Symbol.dispose && (kA.prototype[Symbol.dispose] = kA.prototype.free);
|
|
1220
|
+
class QA {
|
|
1221
1221
|
__destroy_into_raw() {
|
|
1222
1222
|
const A = this.__wbg_ptr;
|
|
1223
|
-
return this.__wbg_ptr = 0,
|
|
1223
|
+
return this.__wbg_ptr = 0, XA.unregister(this), A;
|
|
1224
1224
|
}
|
|
1225
1225
|
free() {
|
|
1226
1226
|
const A = this.__destroy_into_raw();
|
|
@@ -1231,25 +1231,40 @@ class BA {
|
|
|
1231
1231
|
*/
|
|
1232
1232
|
constructor() {
|
|
1233
1233
|
const A = I.wasmwindowdefbuilder_new();
|
|
1234
|
-
return this.__wbg_ptr = A >>> 0,
|
|
1234
|
+
return this.__wbg_ptr = A >>> 0, XA.register(this, this.__wbg_ptr, this), this;
|
|
1235
1235
|
}
|
|
1236
1236
|
/**
|
|
1237
1237
|
* Set the ORDER BY expressions.
|
|
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
|
-
Symbol.dispose && (
|
|
1252
|
-
function
|
|
1251
|
+
Symbol.dispose && (QA.prototype[Symbol.dispose] = QA.prototype.free);
|
|
1252
|
+
function sI(g, A) {
|
|
1253
|
+
let C, B;
|
|
1254
|
+
try {
|
|
1255
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), o = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = M, K = N(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
1256
|
+
I.analyze_query(D, o, k, K, y);
|
|
1257
|
+
var Q = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
|
|
1258
|
+
return C = Q, B = E, c(Q, E);
|
|
1259
|
+
} finally {
|
|
1260
|
+
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1261
|
+
}
|
|
1262
|
+
}
|
|
1263
|
+
function aI(g, A) {
|
|
1264
|
+
const C = N(g, I.__wbindgen_export, I.__wbindgen_export2), B = M, Q = I.analyze_query_value(C, B, a(A));
|
|
1265
|
+
return J(Q);
|
|
1266
|
+
}
|
|
1267
|
+
function qI(g, A, C) {
|
|
1253
1268
|
let B, Q;
|
|
1254
1269
|
try {
|
|
1255
1270
|
const o = I.__wbindgen_add_to_stack_pointer(-16), k = N(g, I.__wbindgen_export, I.__wbindgen_export2), K = M, y = N(A, I.__wbindgen_export, I.__wbindgen_export2), h = M, R = N(C, I.__wbindgen_export, I.__wbindgen_export2), q = M;
|
|
@@ -1260,11 +1275,11 @@ function UI(g, A, C) {
|
|
|
1260
1275
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, Q, 1);
|
|
1261
1276
|
}
|
|
1262
1277
|
}
|
|
1263
|
-
function
|
|
1278
|
+
function pI(g, A, C) {
|
|
1264
1279
|
const B = N(g, I.__wbindgen_export, I.__wbindgen_export2), Q = M, E = N(A, I.__wbindgen_export, I.__wbindgen_export2), D = M, o = N(C, I.__wbindgen_export, I.__wbindgen_export2), k = M, K = I.annotate_types_value(B, Q, E, D, o, k);
|
|
1265
|
-
return
|
|
1280
|
+
return J(K);
|
|
1266
1281
|
}
|
|
1267
|
-
function
|
|
1282
|
+
function $A(g, A, C) {
|
|
1268
1283
|
let B, Q;
|
|
1269
1284
|
try {
|
|
1270
1285
|
const o = I.__wbindgen_add_to_stack_pointer(-16), k = N(g, I.__wbindgen_export, I.__wbindgen_export2), K = M, y = N(A, I.__wbindgen_export, I.__wbindgen_export2), h = M;
|
|
@@ -1275,7 +1290,7 @@ function bA(g, A, C) {
|
|
|
1275
1290
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, Q, 1);
|
|
1276
1291
|
}
|
|
1277
1292
|
}
|
|
1278
|
-
function
|
|
1293
|
+
function Ag(g) {
|
|
1279
1294
|
let A, C;
|
|
1280
1295
|
try {
|
|
1281
1296
|
const E = I.__wbindgen_add_to_stack_pointer(-16), D = N(g, I.__wbindgen_export, I.__wbindgen_export2), o = M;
|
|
@@ -1286,7 +1301,7 @@ function XA(g) {
|
|
|
1286
1301
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
|
|
1287
1302
|
}
|
|
1288
1303
|
}
|
|
1289
|
-
function
|
|
1304
|
+
function gg(g) {
|
|
1290
1305
|
let A, C;
|
|
1291
1306
|
try {
|
|
1292
1307
|
const E = I.__wbindgen_add_to_stack_pointer(-16), D = N(g, I.__wbindgen_export, I.__wbindgen_export2), o = M;
|
|
@@ -1297,7 +1312,7 @@ function _A(g) {
|
|
|
1297
1312
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
|
|
1298
1313
|
}
|
|
1299
1314
|
}
|
|
1300
|
-
function
|
|
1315
|
+
function Ig(g) {
|
|
1301
1316
|
let A, C;
|
|
1302
1317
|
try {
|
|
1303
1318
|
const E = I.__wbindgen_add_to_stack_pointer(-16), D = N(g, I.__wbindgen_export, I.__wbindgen_export2), o = M;
|
|
@@ -1308,7 +1323,7 @@ function $A(g) {
|
|
|
1308
1323
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
|
|
1309
1324
|
}
|
|
1310
1325
|
}
|
|
1311
|
-
function
|
|
1326
|
+
function Cg(g) {
|
|
1312
1327
|
let A, C;
|
|
1313
1328
|
try {
|
|
1314
1329
|
const E = I.__wbindgen_add_to_stack_pointer(-16), D = N(g, I.__wbindgen_export, I.__wbindgen_export2), o = M;
|
|
@@ -1319,7 +1334,7 @@ function Ag(g) {
|
|
|
1319
1334
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
|
|
1320
1335
|
}
|
|
1321
1336
|
}
|
|
1322
|
-
function
|
|
1337
|
+
function Bg(g) {
|
|
1323
1338
|
let A, C;
|
|
1324
1339
|
try {
|
|
1325
1340
|
const E = I.__wbindgen_add_to_stack_pointer(-16), D = N(g, I.__wbindgen_export, I.__wbindgen_export2), o = M;
|
|
@@ -1330,7 +1345,7 @@ function gg(g) {
|
|
|
1330
1345
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
|
|
1331
1346
|
}
|
|
1332
1347
|
}
|
|
1333
|
-
function
|
|
1348
|
+
function Qg(g) {
|
|
1334
1349
|
let A, C;
|
|
1335
1350
|
try {
|
|
1336
1351
|
const E = I.__wbindgen_add_to_stack_pointer(-16), D = N(g, I.__wbindgen_export, I.__wbindgen_export2), o = M;
|
|
@@ -1341,7 +1356,7 @@ function Ig(g) {
|
|
|
1341
1356
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
|
|
1342
1357
|
}
|
|
1343
1358
|
}
|
|
1344
|
-
function
|
|
1359
|
+
function Eg(g) {
|
|
1345
1360
|
let A, C;
|
|
1346
1361
|
try {
|
|
1347
1362
|
const E = I.__wbindgen_add_to_stack_pointer(-16), D = N(g, I.__wbindgen_export, I.__wbindgen_export2), o = M;
|
|
@@ -1352,7 +1367,7 @@ function Cg(g) {
|
|
|
1352
1367
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
|
|
1353
1368
|
}
|
|
1354
1369
|
}
|
|
1355
|
-
function
|
|
1370
|
+
function Dg(g) {
|
|
1356
1371
|
let A, C;
|
|
1357
1372
|
try {
|
|
1358
1373
|
const E = I.__wbindgen_add_to_stack_pointer(-16), D = N(g, I.__wbindgen_export, I.__wbindgen_export2), o = M;
|
|
@@ -1363,7 +1378,7 @@ function Bg(g) {
|
|
|
1363
1378
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
|
|
1364
1379
|
}
|
|
1365
1380
|
}
|
|
1366
|
-
function
|
|
1381
|
+
function wg(g, A) {
|
|
1367
1382
|
let C, B;
|
|
1368
1383
|
try {
|
|
1369
1384
|
const D = I.__wbindgen_add_to_stack_pointer(-16), o = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = M, K = N(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
@@ -1374,7 +1389,7 @@ function Qg(g, A) {
|
|
|
1374
1389
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1375
1390
|
}
|
|
1376
1391
|
}
|
|
1377
|
-
function
|
|
1392
|
+
function ig(g, A) {
|
|
1378
1393
|
let C, B;
|
|
1379
1394
|
try {
|
|
1380
1395
|
const D = I.__wbindgen_add_to_stack_pointer(-16), o = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = M, K = N(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
@@ -1385,7 +1400,7 @@ function Eg(g, A) {
|
|
|
1385
1400
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1386
1401
|
}
|
|
1387
1402
|
}
|
|
1388
|
-
function
|
|
1403
|
+
function og(g) {
|
|
1389
1404
|
let A, C;
|
|
1390
1405
|
try {
|
|
1391
1406
|
const E = I.__wbindgen_add_to_stack_pointer(-16), D = N(g, I.__wbindgen_export, I.__wbindgen_export2), o = M;
|
|
@@ -1396,7 +1411,7 @@ function Dg(g) {
|
|
|
1396
1411
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
|
|
1397
1412
|
}
|
|
1398
1413
|
}
|
|
1399
|
-
function
|
|
1414
|
+
function Mg(g, A) {
|
|
1400
1415
|
let C, B;
|
|
1401
1416
|
try {
|
|
1402
1417
|
const D = I.__wbindgen_add_to_stack_pointer(-16), o = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = M, K = N(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
@@ -1407,7 +1422,7 @@ function wg(g, A) {
|
|
|
1407
1422
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1408
1423
|
}
|
|
1409
1424
|
}
|
|
1410
|
-
function
|
|
1425
|
+
function Ng(g, A) {
|
|
1411
1426
|
let C, B;
|
|
1412
1427
|
try {
|
|
1413
1428
|
const D = I.__wbindgen_add_to_stack_pointer(-16), o = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = M, K = N(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
@@ -1418,7 +1433,7 @@ function ig(g, A) {
|
|
|
1418
1433
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1419
1434
|
}
|
|
1420
1435
|
}
|
|
1421
|
-
function
|
|
1436
|
+
function kg(g, A, C) {
|
|
1422
1437
|
let B, Q;
|
|
1423
1438
|
try {
|
|
1424
1439
|
const o = I.__wbindgen_add_to_stack_pointer(-16), k = N(g, I.__wbindgen_export, I.__wbindgen_export2), K = M, y = N(A, I.__wbindgen_export, I.__wbindgen_export2), h = M, R = N(C, I.__wbindgen_export, I.__wbindgen_export2), q = M;
|
|
@@ -1429,7 +1444,7 @@ function og(g, A, C) {
|
|
|
1429
1444
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, Q, 1);
|
|
1430
1445
|
}
|
|
1431
1446
|
}
|
|
1432
|
-
function
|
|
1447
|
+
function yg(g, A) {
|
|
1433
1448
|
let C, B;
|
|
1434
1449
|
try {
|
|
1435
1450
|
const D = I.__wbindgen_add_to_stack_pointer(-16), o = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = M;
|
|
@@ -1440,7 +1455,7 @@ function Mg(g, A) {
|
|
|
1440
1455
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1441
1456
|
}
|
|
1442
1457
|
}
|
|
1443
|
-
function
|
|
1458
|
+
function Kg(g, A) {
|
|
1444
1459
|
let C, B;
|
|
1445
1460
|
try {
|
|
1446
1461
|
const D = I.__wbindgen_add_to_stack_pointer(-16), o = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = M;
|
|
@@ -1451,18 +1466,18 @@ function Ng(g, A) {
|
|
|
1451
1466
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1452
1467
|
}
|
|
1453
1468
|
}
|
|
1454
|
-
function
|
|
1469
|
+
function Gg(g, A, C, B, Q, E) {
|
|
1455
1470
|
let D, o;
|
|
1456
1471
|
try {
|
|
1457
|
-
const y = I.__wbindgen_add_to_stack_pointer(-16), h = N(g, I.__wbindgen_export, I.__wbindgen_export2), R = M, q = N(A, I.__wbindgen_export, I.__wbindgen_export2),
|
|
1458
|
-
I.diff_sql(y, h, R, q,
|
|
1472
|
+
const y = I.__wbindgen_add_to_stack_pointer(-16), h = N(g, I.__wbindgen_export, I.__wbindgen_export2), R = M, q = N(A, I.__wbindgen_export, I.__wbindgen_export2), T = M, e = N(C, I.__wbindgen_export, I.__wbindgen_export2), r = M;
|
|
1473
|
+
I.diff_sql(y, h, R, q, T, e, r, B, Q, E);
|
|
1459
1474
|
var k = i().getInt32(y + 0, !0), K = i().getInt32(y + 4, !0);
|
|
1460
1475
|
return D = k, o = K, c(k, K);
|
|
1461
1476
|
} finally {
|
|
1462
1477
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(D, o, 1);
|
|
1463
1478
|
}
|
|
1464
1479
|
}
|
|
1465
|
-
function
|
|
1480
|
+
function PI(g, A) {
|
|
1466
1481
|
let C, B;
|
|
1467
1482
|
try {
|
|
1468
1483
|
const D = I.__wbindgen_add_to_stack_pointer(-16), o = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = M, K = N(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
@@ -1473,11 +1488,11 @@ function RI(g, A) {
|
|
|
1473
1488
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1474
1489
|
}
|
|
1475
1490
|
}
|
|
1476
|
-
function
|
|
1491
|
+
function TI(g, A) {
|
|
1477
1492
|
const C = N(g, I.__wbindgen_export, I.__wbindgen_export2), B = M, Q = N(A, I.__wbindgen_export, I.__wbindgen_export2), E = M, D = I.format_sql_value(C, B, Q, E);
|
|
1478
|
-
return
|
|
1493
|
+
return J(D);
|
|
1479
1494
|
}
|
|
1480
|
-
function
|
|
1495
|
+
function OI(g, A, C) {
|
|
1481
1496
|
let B, Q;
|
|
1482
1497
|
try {
|
|
1483
1498
|
const o = I.__wbindgen_add_to_stack_pointer(-16), k = N(g, I.__wbindgen_export, I.__wbindgen_export2), K = M, y = N(A, I.__wbindgen_export, I.__wbindgen_export2), h = M, R = N(C, I.__wbindgen_export, I.__wbindgen_export2), q = M;
|
|
@@ -1488,11 +1503,11 @@ function sI(g, A, C) {
|
|
|
1488
1503
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, Q, 1);
|
|
1489
1504
|
}
|
|
1490
1505
|
}
|
|
1491
|
-
function
|
|
1506
|
+
function jI(g, A, C) {
|
|
1492
1507
|
const B = N(g, I.__wbindgen_export, I.__wbindgen_export2), Q = M, E = N(A, I.__wbindgen_export, I.__wbindgen_export2), D = M, o = I.format_sql_with_options_value(B, Q, E, D, a(C));
|
|
1493
|
-
return
|
|
1508
|
+
return J(o);
|
|
1494
1509
|
}
|
|
1495
|
-
function
|
|
1510
|
+
function tI(g, A) {
|
|
1496
1511
|
let C, B;
|
|
1497
1512
|
try {
|
|
1498
1513
|
const D = I.__wbindgen_add_to_stack_pointer(-16), o = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = M, K = N(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
@@ -1503,11 +1518,26 @@ function qI(g, A) {
|
|
|
1503
1518
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1504
1519
|
}
|
|
1505
1520
|
}
|
|
1506
|
-
function
|
|
1521
|
+
function fI(g, A) {
|
|
1522
|
+
let C, B;
|
|
1523
|
+
try {
|
|
1524
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), o = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = M, K = N(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
1525
|
+
I.generate_data_type(D, o, k, K, y);
|
|
1526
|
+
var Q = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
|
|
1527
|
+
return C = Q, B = E, c(Q, E);
|
|
1528
|
+
} finally {
|
|
1529
|
+
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1530
|
+
}
|
|
1531
|
+
}
|
|
1532
|
+
function dI(g, A) {
|
|
1533
|
+
const C = N(A, I.__wbindgen_export, I.__wbindgen_export2), B = M, Q = I.generate_data_type_value(a(g), C, B);
|
|
1534
|
+
return J(Q);
|
|
1535
|
+
}
|
|
1536
|
+
function zI(g, A) {
|
|
1507
1537
|
const C = N(A, I.__wbindgen_export, I.__wbindgen_export2), B = M, Q = I.generate_value(a(g), C, B);
|
|
1508
|
-
return
|
|
1538
|
+
return J(Q);
|
|
1509
1539
|
}
|
|
1510
|
-
function
|
|
1540
|
+
function ZI() {
|
|
1511
1541
|
let g, A;
|
|
1512
1542
|
try {
|
|
1513
1543
|
const Q = I.__wbindgen_add_to_stack_pointer(-16);
|
|
@@ -1518,33 +1548,33 @@ function OI() {
|
|
|
1518
1548
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(g, A, 1);
|
|
1519
1549
|
}
|
|
1520
1550
|
}
|
|
1521
|
-
function
|
|
1551
|
+
function eI() {
|
|
1522
1552
|
const g = I.get_dialects_value();
|
|
1523
|
-
return
|
|
1553
|
+
return J(g);
|
|
1524
1554
|
}
|
|
1525
|
-
function
|
|
1555
|
+
function Yg(g, A, C, B) {
|
|
1526
1556
|
let Q, E;
|
|
1527
1557
|
try {
|
|
1528
|
-
const k = I.__wbindgen_add_to_stack_pointer(-16), K = N(g, I.__wbindgen_export, I.__wbindgen_export2), y = M, h = N(A, I.__wbindgen_export, I.__wbindgen_export2), R = M, q = N(C, I.__wbindgen_export, I.__wbindgen_export2),
|
|
1529
|
-
I.lineage_sql(k, K, y, h, R, q,
|
|
1558
|
+
const k = I.__wbindgen_add_to_stack_pointer(-16), K = N(g, I.__wbindgen_export, I.__wbindgen_export2), y = M, h = N(A, I.__wbindgen_export, I.__wbindgen_export2), R = M, q = N(C, I.__wbindgen_export, I.__wbindgen_export2), T = M;
|
|
1559
|
+
I.lineage_sql(k, K, y, h, R, q, T, B);
|
|
1530
1560
|
var D = i().getInt32(k + 0, !0), o = i().getInt32(k + 4, !0);
|
|
1531
1561
|
return Q = D, E = o, c(D, o);
|
|
1532
1562
|
} finally {
|
|
1533
1563
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, E, 1);
|
|
1534
1564
|
}
|
|
1535
1565
|
}
|
|
1536
|
-
function
|
|
1566
|
+
function Hg(g, A, C, B, Q) {
|
|
1537
1567
|
let E, D;
|
|
1538
1568
|
try {
|
|
1539
|
-
const K = I.__wbindgen_add_to_stack_pointer(-16), y = N(g, I.__wbindgen_export, I.__wbindgen_export2), h = M, R = N(A, I.__wbindgen_export, I.__wbindgen_export2), q = M,
|
|
1540
|
-
I.lineage_sql_with_schema(K, y, h, R, q,
|
|
1569
|
+
const K = I.__wbindgen_add_to_stack_pointer(-16), y = N(g, I.__wbindgen_export, I.__wbindgen_export2), h = M, R = N(A, I.__wbindgen_export, I.__wbindgen_export2), q = M, T = N(C, I.__wbindgen_export, I.__wbindgen_export2), e = M, r = N(B, I.__wbindgen_export, I.__wbindgen_export2), LI = M;
|
|
1570
|
+
I.lineage_sql_with_schema(K, y, h, R, q, T, e, r, LI, Q);
|
|
1541
1571
|
var o = i().getInt32(K + 0, !0), k = i().getInt32(K + 4, !0);
|
|
1542
1572
|
return E = o, D = k, c(o, k);
|
|
1543
1573
|
} finally {
|
|
1544
1574
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(E, D, 1);
|
|
1545
1575
|
}
|
|
1546
1576
|
}
|
|
1547
|
-
function
|
|
1577
|
+
function hg(g, A) {
|
|
1548
1578
|
let C, B;
|
|
1549
1579
|
try {
|
|
1550
1580
|
const D = I.__wbindgen_add_to_stack_pointer(-16), o = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = M, K = N(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
@@ -1555,7 +1585,7 @@ function Gg(g, A) {
|
|
|
1555
1585
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1556
1586
|
}
|
|
1557
1587
|
}
|
|
1558
|
-
function
|
|
1588
|
+
function cg(g, A) {
|
|
1559
1589
|
let C, B;
|
|
1560
1590
|
try {
|
|
1561
1591
|
const D = I.__wbindgen_add_to_stack_pointer(-16), o = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = M, K = N(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
@@ -1566,7 +1596,7 @@ function Yg(g, A) {
|
|
|
1566
1596
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1567
1597
|
}
|
|
1568
1598
|
}
|
|
1569
|
-
function
|
|
1599
|
+
function Sg(g, A) {
|
|
1570
1600
|
let C, B;
|
|
1571
1601
|
try {
|
|
1572
1602
|
const D = I.__wbindgen_add_to_stack_pointer(-16), o = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = M, K = N(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
@@ -1577,7 +1607,7 @@ function Hg(g, A) {
|
|
|
1577
1607
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1578
1608
|
}
|
|
1579
1609
|
}
|
|
1580
|
-
function
|
|
1610
|
+
function xI(g, A) {
|
|
1581
1611
|
let C, B;
|
|
1582
1612
|
try {
|
|
1583
1613
|
const D = I.__wbindgen_add_to_stack_pointer(-16), o = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = M, K = N(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
@@ -1588,11 +1618,26 @@ function TI(g, A) {
|
|
|
1588
1618
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1589
1619
|
}
|
|
1590
1620
|
}
|
|
1591
|
-
function
|
|
1621
|
+
function WI(g, A) {
|
|
1622
|
+
let C, B;
|
|
1623
|
+
try {
|
|
1624
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), o = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = M, K = N(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
1625
|
+
I.parse_data_type(D, o, k, K, y);
|
|
1626
|
+
var Q = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
|
|
1627
|
+
return C = Q, B = E, c(Q, E);
|
|
1628
|
+
} finally {
|
|
1629
|
+
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1630
|
+
}
|
|
1631
|
+
}
|
|
1632
|
+
function VI(g, A) {
|
|
1633
|
+
const C = N(g, I.__wbindgen_export, I.__wbindgen_export2), B = M, Q = N(A, I.__wbindgen_export, I.__wbindgen_export2), E = M, D = I.parse_data_type_value(C, B, Q, E);
|
|
1634
|
+
return J(D);
|
|
1635
|
+
}
|
|
1636
|
+
function lI(g, A) {
|
|
1592
1637
|
const C = N(g, I.__wbindgen_export, I.__wbindgen_export2), B = M, Q = N(A, I.__wbindgen_export, I.__wbindgen_export2), E = M, D = I.parse_value(C, B, Q, E);
|
|
1593
|
-
return
|
|
1638
|
+
return J(D);
|
|
1594
1639
|
}
|
|
1595
|
-
function
|
|
1640
|
+
function Fg(g, A) {
|
|
1596
1641
|
let C, B;
|
|
1597
1642
|
try {
|
|
1598
1643
|
const D = I.__wbindgen_add_to_stack_pointer(-16), o = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = M, K = N(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
@@ -1603,7 +1648,7 @@ function hg(g, A) {
|
|
|
1603
1648
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1604
1649
|
}
|
|
1605
1650
|
}
|
|
1606
|
-
function
|
|
1651
|
+
function Jg(g, A, C) {
|
|
1607
1652
|
let B, Q;
|
|
1608
1653
|
try {
|
|
1609
1654
|
const o = I.__wbindgen_add_to_stack_pointer(-16), k = N(g, I.__wbindgen_export, I.__wbindgen_export2), K = M, y = N(A, I.__wbindgen_export, I.__wbindgen_export2), h = M, R = N(C, I.__wbindgen_export, I.__wbindgen_export2), q = M;
|
|
@@ -1614,7 +1659,7 @@ function Sg(g, A, C) {
|
|
|
1614
1659
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, Q, 1);
|
|
1615
1660
|
}
|
|
1616
1661
|
}
|
|
1617
|
-
function
|
|
1662
|
+
function nI(g, A) {
|
|
1618
1663
|
let C, B;
|
|
1619
1664
|
try {
|
|
1620
1665
|
const D = I.__wbindgen_add_to_stack_pointer(-16), o = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = M, K = N(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
@@ -1625,11 +1670,11 @@ function tI(g, A) {
|
|
|
1625
1670
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1626
1671
|
}
|
|
1627
1672
|
}
|
|
1628
|
-
function
|
|
1673
|
+
function rI(g, A) {
|
|
1629
1674
|
const C = N(g, I.__wbindgen_export, I.__wbindgen_export2), B = M, Q = N(A, I.__wbindgen_export, I.__wbindgen_export2), E = M, D = I.tokenize_value(C, B, Q, E);
|
|
1630
|
-
return
|
|
1675
|
+
return J(D);
|
|
1631
1676
|
}
|
|
1632
|
-
function
|
|
1677
|
+
function mI(g, A, C) {
|
|
1633
1678
|
let B, Q;
|
|
1634
1679
|
try {
|
|
1635
1680
|
const o = I.__wbindgen_add_to_stack_pointer(-16), k = N(g, I.__wbindgen_export, I.__wbindgen_export2), K = M, y = N(A, I.__wbindgen_export, I.__wbindgen_export2), h = M, R = N(C, I.__wbindgen_export, I.__wbindgen_export2), q = M;
|
|
@@ -1640,26 +1685,26 @@ function ZI(g, A, C) {
|
|
|
1640
1685
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, Q, 1);
|
|
1641
1686
|
}
|
|
1642
1687
|
}
|
|
1643
|
-
function
|
|
1688
|
+
function uI(g, A, C) {
|
|
1644
1689
|
const B = N(g, I.__wbindgen_export, I.__wbindgen_export2), Q = M, E = N(A, I.__wbindgen_export, I.__wbindgen_export2), D = M, o = N(C, I.__wbindgen_export, I.__wbindgen_export2), k = M, K = I.transpile_value(B, Q, E, D, o, k);
|
|
1645
|
-
return
|
|
1690
|
+
return J(K);
|
|
1646
1691
|
}
|
|
1647
|
-
function
|
|
1692
|
+
function bI(g, A, C, B) {
|
|
1648
1693
|
let Q, E;
|
|
1649
1694
|
try {
|
|
1650
|
-
const k = I.__wbindgen_add_to_stack_pointer(-16), K = N(g, I.__wbindgen_export, I.__wbindgen_export2), y = M, h = N(A, I.__wbindgen_export, I.__wbindgen_export2), R = M, q = N(C, I.__wbindgen_export, I.__wbindgen_export2),
|
|
1651
|
-
I.transpile_with_options(k, K, y, h, R, q,
|
|
1695
|
+
const k = I.__wbindgen_add_to_stack_pointer(-16), K = N(g, I.__wbindgen_export, I.__wbindgen_export2), y = M, h = N(A, I.__wbindgen_export, I.__wbindgen_export2), R = M, q = N(C, I.__wbindgen_export, I.__wbindgen_export2), T = M, e = N(B, I.__wbindgen_export, I.__wbindgen_export2), r = M;
|
|
1696
|
+
I.transpile_with_options(k, K, y, h, R, q, T, e, r);
|
|
1652
1697
|
var D = i().getInt32(k + 0, !0), o = i().getInt32(k + 4, !0);
|
|
1653
1698
|
return Q = D, E = o, c(D, o);
|
|
1654
1699
|
} finally {
|
|
1655
1700
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, E, 1);
|
|
1656
1701
|
}
|
|
1657
1702
|
}
|
|
1658
|
-
function
|
|
1703
|
+
function vI(g, A, C, B) {
|
|
1659
1704
|
const Q = N(g, I.__wbindgen_export, I.__wbindgen_export2), E = M, D = N(A, I.__wbindgen_export, I.__wbindgen_export2), o = M, k = N(C, I.__wbindgen_export, I.__wbindgen_export2), K = M, y = I.transpile_with_options_value(Q, E, D, o, k, K, a(B));
|
|
1660
|
-
return
|
|
1705
|
+
return J(y);
|
|
1661
1706
|
}
|
|
1662
|
-
function
|
|
1707
|
+
function XI(g, A) {
|
|
1663
1708
|
let C, B;
|
|
1664
1709
|
try {
|
|
1665
1710
|
const D = I.__wbindgen_add_to_stack_pointer(-16), o = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = M, K = N(A, I.__wbindgen_export, I.__wbindgen_export2), y = M;
|
|
@@ -1670,7 +1715,7 @@ function xI(g, A) {
|
|
|
1670
1715
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1671
1716
|
}
|
|
1672
1717
|
}
|
|
1673
|
-
function
|
|
1718
|
+
function _I(g, A, C) {
|
|
1674
1719
|
let B, Q;
|
|
1675
1720
|
try {
|
|
1676
1721
|
const o = I.__wbindgen_add_to_stack_pointer(-16), k = N(g, I.__wbindgen_export, I.__wbindgen_export2), K = M, y = N(A, I.__wbindgen_export, I.__wbindgen_export2), h = M, R = N(C, I.__wbindgen_export, I.__wbindgen_export2), q = M;
|
|
@@ -1681,18 +1726,18 @@ function eI(g, A, C) {
|
|
|
1681
1726
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, Q, 1);
|
|
1682
1727
|
}
|
|
1683
1728
|
}
|
|
1684
|
-
function
|
|
1729
|
+
function Lg(g, A, C, B) {
|
|
1685
1730
|
let Q, E;
|
|
1686
1731
|
try {
|
|
1687
|
-
const k = I.__wbindgen_add_to_stack_pointer(-16), K = N(g, I.__wbindgen_export, I.__wbindgen_export2), y = M, h = N(A, I.__wbindgen_export, I.__wbindgen_export2), R = M, q = N(C, I.__wbindgen_export, I.__wbindgen_export2),
|
|
1688
|
-
I.validate_with_schema(k, K, y, h, R, q,
|
|
1732
|
+
const k = I.__wbindgen_add_to_stack_pointer(-16), K = N(g, I.__wbindgen_export, I.__wbindgen_export2), y = M, h = N(A, I.__wbindgen_export, I.__wbindgen_export2), R = M, q = N(C, I.__wbindgen_export, I.__wbindgen_export2), T = M, e = N(B, I.__wbindgen_export, I.__wbindgen_export2), r = M;
|
|
1733
|
+
I.validate_with_schema(k, K, y, h, R, q, T, e, r);
|
|
1689
1734
|
var D = i().getInt32(k + 0, !0), o = i().getInt32(k + 4, !0);
|
|
1690
1735
|
return Q = D, E = o, c(D, o);
|
|
1691
1736
|
} finally {
|
|
1692
1737
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, E, 1);
|
|
1693
1738
|
}
|
|
1694
1739
|
}
|
|
1695
|
-
function
|
|
1740
|
+
function $I() {
|
|
1696
1741
|
let g, A;
|
|
1697
1742
|
try {
|
|
1698
1743
|
const Q = I.__wbindgen_add_to_stack_pointer(-16);
|
|
@@ -1703,7 +1748,7 @@ function WI() {
|
|
|
1703
1748
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(g, A, 1);
|
|
1704
1749
|
}
|
|
1705
1750
|
}
|
|
1706
|
-
function
|
|
1751
|
+
function Rg(g, A) {
|
|
1707
1752
|
H(g, G);
|
|
1708
1753
|
const C = N(A, I.__wbindgen_export, I.__wbindgen_export2), B = M, Q = I.wasm_alias(g.__wbg_ptr, C, B);
|
|
1709
1754
|
return G.__wrap(Q);
|
|
@@ -1713,166 +1758,166 @@ function Ug(g, A) {
|
|
|
1713
1758
|
const C = I.wasm_and(g.__wbg_ptr, A.__wbg_ptr);
|
|
1714
1759
|
return G.__wrap(C);
|
|
1715
1760
|
}
|
|
1716
|
-
function
|
|
1761
|
+
function sg(g) {
|
|
1717
1762
|
const A = I.wasm_boolean(g);
|
|
1718
1763
|
return G.__wrap(A);
|
|
1719
1764
|
}
|
|
1720
|
-
function
|
|
1765
|
+
function ag(g) {
|
|
1721
1766
|
H(g, G);
|
|
1722
1767
|
const A = I.wasm_case_of(g.__wbg_ptr);
|
|
1723
|
-
return
|
|
1768
|
+
return u.__wrap(A);
|
|
1724
1769
|
}
|
|
1725
|
-
function
|
|
1770
|
+
function qg(g, A) {
|
|
1726
1771
|
H(g, G);
|
|
1727
1772
|
const C = N(A, I.__wbindgen_export, I.__wbindgen_export2), B = M, Q = I.wasm_cast(g.__wbg_ptr, C, B);
|
|
1728
1773
|
return G.__wrap(Q);
|
|
1729
1774
|
}
|
|
1730
|
-
function
|
|
1775
|
+
function JA(g) {
|
|
1731
1776
|
const A = N(g, I.__wbindgen_export, I.__wbindgen_export2), C = M, B = I.wasm_col(A, C);
|
|
1732
1777
|
return G.__wrap(B);
|
|
1733
1778
|
}
|
|
1734
|
-
function
|
|
1779
|
+
function pg(g) {
|
|
1735
1780
|
H(g, G);
|
|
1736
1781
|
const A = I.wasm_count_distinct(g.__wbg_ptr);
|
|
1737
1782
|
return G.__wrap(A);
|
|
1738
1783
|
}
|
|
1739
|
-
function
|
|
1784
|
+
function Pg(g, A) {
|
|
1740
1785
|
const C = N(g, I.__wbindgen_export, I.__wbindgen_export2), B = M;
|
|
1741
1786
|
H(A, G);
|
|
1742
1787
|
const Q = I.wasm_extract(C, B, A.__wbg_ptr);
|
|
1743
1788
|
return G.__wrap(Q);
|
|
1744
1789
|
}
|
|
1745
|
-
function
|
|
1790
|
+
function Tg(g, A) {
|
|
1746
1791
|
const C = N(g, I.__wbindgen_export, I.__wbindgen_export2), B = M;
|
|
1747
|
-
H(A,
|
|
1792
|
+
H(A, P);
|
|
1748
1793
|
const Q = I.wasm_func(C, B, A.__wbg_ptr);
|
|
1749
1794
|
return G.__wrap(Q);
|
|
1750
1795
|
}
|
|
1751
|
-
function
|
|
1796
|
+
function yA(g) {
|
|
1752
1797
|
const A = I.wasm_lit(a(g));
|
|
1753
1798
|
return G.__wrap(A);
|
|
1754
1799
|
}
|
|
1755
|
-
function
|
|
1800
|
+
function Og(g) {
|
|
1756
1801
|
H(g, G);
|
|
1757
1802
|
const A = I.wasm_not(g.__wbg_ptr);
|
|
1758
1803
|
return G.__wrap(A);
|
|
1759
1804
|
}
|
|
1760
|
-
function
|
|
1805
|
+
function KA() {
|
|
1761
1806
|
const g = I.wasm_null();
|
|
1762
1807
|
return G.__wrap(g);
|
|
1763
1808
|
}
|
|
1764
|
-
function
|
|
1809
|
+
function jg(g, A) {
|
|
1765
1810
|
H(g, G), H(A, G);
|
|
1766
1811
|
const C = I.wasm_or(g.__wbg_ptr, A.__wbg_ptr);
|
|
1767
1812
|
return G.__wrap(C);
|
|
1768
1813
|
}
|
|
1769
|
-
function
|
|
1814
|
+
function tg(g) {
|
|
1770
1815
|
const A = N(g, I.__wbindgen_export, I.__wbindgen_export2), C = M, B = I.wasm_sql_expr(A, C);
|
|
1771
1816
|
return G.__wrap(B);
|
|
1772
1817
|
}
|
|
1773
|
-
function
|
|
1818
|
+
function fg() {
|
|
1774
1819
|
const g = I.wasm_star();
|
|
1775
1820
|
return G.__wrap(g);
|
|
1776
1821
|
}
|
|
1777
|
-
function
|
|
1822
|
+
function dg(g, A) {
|
|
1778
1823
|
try {
|
|
1779
1824
|
const E = I.__wbindgen_add_to_stack_pointer(-16);
|
|
1780
|
-
H(g,
|
|
1825
|
+
H(g, t);
|
|
1781
1826
|
const D = N(A, I.__wbindgen_export, I.__wbindgen_export2), o = M;
|
|
1782
1827
|
I.wasm_subquery(E, g.__wbg_ptr, D, o);
|
|
1783
1828
|
var C = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0), Q = i().getInt32(E + 8, !0);
|
|
1784
1829
|
if (Q)
|
|
1785
|
-
throw
|
|
1830
|
+
throw J(B);
|
|
1786
1831
|
return G.__wrap(C);
|
|
1787
1832
|
} finally {
|
|
1788
1833
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
1789
1834
|
}
|
|
1790
1835
|
}
|
|
1791
|
-
function
|
|
1836
|
+
function zg(g) {
|
|
1792
1837
|
const A = N(g, I.__wbindgen_export, I.__wbindgen_export2), C = M, B = I.wasm_table(A, C);
|
|
1793
1838
|
return G.__wrap(B);
|
|
1794
1839
|
}
|
|
1795
|
-
function
|
|
1840
|
+
function AC(g, A) {
|
|
1796
1841
|
const C = Error(c(g, A));
|
|
1797
1842
|
return a(C);
|
|
1798
1843
|
}
|
|
1799
|
-
function
|
|
1800
|
-
return Number(
|
|
1844
|
+
function gC(g) {
|
|
1845
|
+
return Number(F(g));
|
|
1801
1846
|
}
|
|
1802
|
-
function
|
|
1803
|
-
const C = String(
|
|
1847
|
+
function IC(g, A) {
|
|
1848
|
+
const C = String(F(A)), B = N(C, I.__wbindgen_export, I.__wbindgen_export2), Q = M;
|
|
1804
1849
|
i().setInt32(g + 4, Q, !0), i().setInt32(g + 0, B, !0);
|
|
1805
1850
|
}
|
|
1806
|
-
function
|
|
1807
|
-
const C =
|
|
1808
|
-
i().setBigInt64(g + 8,
|
|
1851
|
+
function CC(g, A) {
|
|
1852
|
+
const C = F(A), B = typeof C == "bigint" ? C : void 0;
|
|
1853
|
+
i().setBigInt64(g + 8, X(B) ? BigInt(0) : B, !0), i().setInt32(g + 0, !X(B), !0);
|
|
1809
1854
|
}
|
|
1810
|
-
function
|
|
1811
|
-
const A =
|
|
1812
|
-
return
|
|
1855
|
+
function BC(g) {
|
|
1856
|
+
const A = F(g), C = typeof A == "boolean" ? A : void 0;
|
|
1857
|
+
return X(C) ? 16777215 : C ? 1 : 0;
|
|
1813
1858
|
}
|
|
1814
|
-
function
|
|
1815
|
-
const C =
|
|
1859
|
+
function QC(g, A) {
|
|
1860
|
+
const C = SA(F(A)), B = N(C, I.__wbindgen_export, I.__wbindgen_export2), Q = M;
|
|
1816
1861
|
i().setInt32(g + 4, Q, !0), i().setInt32(g + 0, B, !0);
|
|
1817
1862
|
}
|
|
1818
|
-
function
|
|
1819
|
-
return
|
|
1863
|
+
function EC(g, A) {
|
|
1864
|
+
return F(g) in F(A);
|
|
1820
1865
|
}
|
|
1821
|
-
function
|
|
1822
|
-
return typeof
|
|
1866
|
+
function DC(g) {
|
|
1867
|
+
return typeof F(g) == "bigint";
|
|
1823
1868
|
}
|
|
1824
|
-
function
|
|
1825
|
-
return typeof
|
|
1869
|
+
function wC(g) {
|
|
1870
|
+
return typeof F(g) == "function";
|
|
1826
1871
|
}
|
|
1827
|
-
function
|
|
1828
|
-
return
|
|
1872
|
+
function iC(g) {
|
|
1873
|
+
return F(g) === null;
|
|
1829
1874
|
}
|
|
1830
|
-
function
|
|
1831
|
-
const A =
|
|
1875
|
+
function oC(g) {
|
|
1876
|
+
const A = F(g);
|
|
1832
1877
|
return typeof A == "object" && A !== null;
|
|
1833
1878
|
}
|
|
1834
|
-
function
|
|
1835
|
-
return typeof
|
|
1879
|
+
function MC(g) {
|
|
1880
|
+
return typeof F(g) == "string";
|
|
1836
1881
|
}
|
|
1837
|
-
function
|
|
1838
|
-
return
|
|
1882
|
+
function NC(g) {
|
|
1883
|
+
return F(g) === void 0;
|
|
1839
1884
|
}
|
|
1840
|
-
function
|
|
1841
|
-
return
|
|
1885
|
+
function kC(g, A) {
|
|
1886
|
+
return F(g) === F(A);
|
|
1842
1887
|
}
|
|
1843
|
-
function
|
|
1844
|
-
return
|
|
1888
|
+
function yC(g, A) {
|
|
1889
|
+
return F(g) == F(A);
|
|
1845
1890
|
}
|
|
1846
|
-
function
|
|
1847
|
-
const C =
|
|
1848
|
-
i().setFloat64(g + 8,
|
|
1891
|
+
function KC(g, A) {
|
|
1892
|
+
const C = F(A), B = typeof C == "number" ? C : void 0;
|
|
1893
|
+
i().setFloat64(g + 8, X(B) ? 0 : B, !0), i().setInt32(g + 0, !X(B), !0);
|
|
1849
1894
|
}
|
|
1850
|
-
function
|
|
1851
|
-
const C =
|
|
1852
|
-
var Q =
|
|
1895
|
+
function GC(g, A) {
|
|
1896
|
+
const C = F(A), B = typeof C == "string" ? C : void 0;
|
|
1897
|
+
var Q = X(B) ? 0 : N(B, I.__wbindgen_export, I.__wbindgen_export2), E = M;
|
|
1853
1898
|
i().setInt32(g + 4, E, !0), i().setInt32(g + 0, Q, !0);
|
|
1854
1899
|
}
|
|
1855
|
-
function
|
|
1900
|
+
function YC(g, A) {
|
|
1856
1901
|
throw new Error(c(g, A));
|
|
1857
1902
|
}
|
|
1858
|
-
function
|
|
1859
|
-
return
|
|
1860
|
-
const C =
|
|
1903
|
+
function HC() {
|
|
1904
|
+
return GA(function(g, A) {
|
|
1905
|
+
const C = F(g).call(F(A));
|
|
1861
1906
|
return a(C);
|
|
1862
1907
|
}, arguments);
|
|
1863
1908
|
}
|
|
1864
|
-
function
|
|
1865
|
-
const C =
|
|
1909
|
+
function hC(g, A) {
|
|
1910
|
+
const C = F(g).codePointAt(A >>> 0);
|
|
1866
1911
|
return a(C);
|
|
1867
1912
|
}
|
|
1868
|
-
function
|
|
1869
|
-
return
|
|
1913
|
+
function cC(g) {
|
|
1914
|
+
return F(g).done;
|
|
1870
1915
|
}
|
|
1871
|
-
function
|
|
1872
|
-
const A = Object.entries(
|
|
1916
|
+
function SC(g) {
|
|
1917
|
+
const A = Object.entries(F(g));
|
|
1873
1918
|
return a(A);
|
|
1874
1919
|
}
|
|
1875
|
-
function
|
|
1920
|
+
function FC(g, A) {
|
|
1876
1921
|
let C, B;
|
|
1877
1922
|
try {
|
|
1878
1923
|
C = g, B = A, console.error(c(g, A));
|
|
@@ -1880,175 +1925,175 @@ function NC(g, A) {
|
|
|
1880
1925
|
I.__wbindgen_export4(C, B, 1);
|
|
1881
1926
|
}
|
|
1882
1927
|
}
|
|
1883
|
-
function
|
|
1884
|
-
return
|
|
1928
|
+
function JC() {
|
|
1929
|
+
return GA(function(g) {
|
|
1885
1930
|
const A = String.fromCodePoint(g >>> 0);
|
|
1886
1931
|
return a(A);
|
|
1887
1932
|
}, arguments);
|
|
1888
1933
|
}
|
|
1889
|
-
function
|
|
1890
|
-
const C =
|
|
1934
|
+
function LC(g, A) {
|
|
1935
|
+
const C = F(g)[A >>> 0];
|
|
1891
1936
|
return a(C);
|
|
1892
1937
|
}
|
|
1893
|
-
function
|
|
1894
|
-
return
|
|
1895
|
-
const C = Reflect.get(
|
|
1938
|
+
function RC() {
|
|
1939
|
+
return GA(function(g, A) {
|
|
1940
|
+
const C = Reflect.get(F(g), F(A));
|
|
1896
1941
|
return a(C);
|
|
1897
1942
|
}, arguments);
|
|
1898
1943
|
}
|
|
1899
|
-
function
|
|
1900
|
-
const C =
|
|
1944
|
+
function UC(g, A) {
|
|
1945
|
+
const C = F(g)[F(A)];
|
|
1901
1946
|
return a(C);
|
|
1902
1947
|
}
|
|
1903
|
-
function
|
|
1948
|
+
function sC(g) {
|
|
1904
1949
|
let A;
|
|
1905
1950
|
try {
|
|
1906
|
-
A =
|
|
1951
|
+
A = F(g) instanceof ArrayBuffer;
|
|
1907
1952
|
} catch {
|
|
1908
1953
|
A = !1;
|
|
1909
1954
|
}
|
|
1910
1955
|
return A;
|
|
1911
1956
|
}
|
|
1912
|
-
function
|
|
1957
|
+
function aC(g) {
|
|
1913
1958
|
let A;
|
|
1914
1959
|
try {
|
|
1915
|
-
A =
|
|
1960
|
+
A = F(g) instanceof Map;
|
|
1916
1961
|
} catch {
|
|
1917
1962
|
A = !1;
|
|
1918
1963
|
}
|
|
1919
1964
|
return A;
|
|
1920
1965
|
}
|
|
1921
|
-
function
|
|
1966
|
+
function qC(g) {
|
|
1922
1967
|
let A;
|
|
1923
1968
|
try {
|
|
1924
|
-
A =
|
|
1969
|
+
A = F(g) instanceof Uint8Array;
|
|
1925
1970
|
} catch {
|
|
1926
1971
|
A = !1;
|
|
1927
1972
|
}
|
|
1928
1973
|
return A;
|
|
1929
1974
|
}
|
|
1930
|
-
function
|
|
1931
|
-
return Array.isArray(
|
|
1975
|
+
function pC(g) {
|
|
1976
|
+
return Array.isArray(F(g));
|
|
1932
1977
|
}
|
|
1933
|
-
function
|
|
1934
|
-
return Number.isSafeInteger(
|
|
1978
|
+
function PC(g) {
|
|
1979
|
+
return Number.isSafeInteger(F(g));
|
|
1935
1980
|
}
|
|
1936
|
-
function
|
|
1981
|
+
function TC() {
|
|
1937
1982
|
return a(Symbol.iterator);
|
|
1938
1983
|
}
|
|
1939
|
-
function
|
|
1940
|
-
return
|
|
1984
|
+
function OC(g) {
|
|
1985
|
+
return F(g).length;
|
|
1941
1986
|
}
|
|
1942
|
-
function
|
|
1943
|
-
return
|
|
1987
|
+
function jC(g) {
|
|
1988
|
+
return F(g).length;
|
|
1944
1989
|
}
|
|
1945
|
-
function
|
|
1946
|
-
return
|
|
1990
|
+
function tC(g) {
|
|
1991
|
+
return F(g).length;
|
|
1947
1992
|
}
|
|
1948
|
-
function
|
|
1993
|
+
function fC() {
|
|
1949
1994
|
const g = new Object();
|
|
1950
1995
|
return a(g);
|
|
1951
1996
|
}
|
|
1952
|
-
function
|
|
1997
|
+
function dC() {
|
|
1953
1998
|
const g = new Array();
|
|
1954
1999
|
return a(g);
|
|
1955
2000
|
}
|
|
1956
|
-
function
|
|
2001
|
+
function zC() {
|
|
1957
2002
|
const g = new Error();
|
|
1958
2003
|
return a(g);
|
|
1959
2004
|
}
|
|
1960
|
-
function
|
|
2005
|
+
function ZC() {
|
|
1961
2006
|
return a(/* @__PURE__ */ new Map());
|
|
1962
2007
|
}
|
|
1963
|
-
function
|
|
1964
|
-
const A = new Uint8Array(
|
|
2008
|
+
function eC(g) {
|
|
2009
|
+
const A = new Uint8Array(F(g));
|
|
1965
2010
|
return a(A);
|
|
1966
2011
|
}
|
|
1967
|
-
function
|
|
1968
|
-
return
|
|
1969
|
-
const A =
|
|
2012
|
+
function xC() {
|
|
2013
|
+
return GA(function(g) {
|
|
2014
|
+
const A = F(g).next();
|
|
1970
2015
|
return a(A);
|
|
1971
2016
|
}, arguments);
|
|
1972
2017
|
}
|
|
1973
|
-
function
|
|
1974
|
-
const A =
|
|
2018
|
+
function WC(g) {
|
|
2019
|
+
const A = F(g).next;
|
|
1975
2020
|
return a(A);
|
|
1976
2021
|
}
|
|
1977
|
-
function
|
|
1978
|
-
Uint8Array.prototype.set.call(
|
|
2022
|
+
function VC(g, A, C) {
|
|
2023
|
+
Uint8Array.prototype.set.call(IB(g, A), F(C));
|
|
1979
2024
|
}
|
|
1980
|
-
function
|
|
1981
|
-
const B =
|
|
2025
|
+
function lC(g, A, C) {
|
|
2026
|
+
const B = F(g).set(F(A), F(C));
|
|
1982
2027
|
return a(B);
|
|
1983
2028
|
}
|
|
1984
|
-
function
|
|
1985
|
-
|
|
2029
|
+
function nC(g, A, C) {
|
|
2030
|
+
F(g)[J(A)] = J(C);
|
|
1986
2031
|
}
|
|
1987
|
-
function
|
|
1988
|
-
|
|
2032
|
+
function rC(g, A, C) {
|
|
2033
|
+
F(g)[A >>> 0] = J(C);
|
|
1989
2034
|
}
|
|
1990
|
-
function
|
|
1991
|
-
const C =
|
|
2035
|
+
function mC(g, A) {
|
|
2036
|
+
const C = F(A).stack, B = N(C, I.__wbindgen_export, I.__wbindgen_export2), Q = M;
|
|
1992
2037
|
i().setInt32(g + 4, Q, !0), i().setInt32(g + 0, B, !0);
|
|
1993
2038
|
}
|
|
1994
|
-
function
|
|
1995
|
-
const A =
|
|
2039
|
+
function uC(g) {
|
|
2040
|
+
const A = F(g).value;
|
|
1996
2041
|
return a(A);
|
|
1997
2042
|
}
|
|
1998
|
-
function
|
|
2043
|
+
function bC(g) {
|
|
1999
2044
|
return a(g);
|
|
2000
2045
|
}
|
|
2001
|
-
function
|
|
2046
|
+
function vC(g) {
|
|
2002
2047
|
return a(g);
|
|
2003
2048
|
}
|
|
2004
|
-
function
|
|
2049
|
+
function XC(g, A) {
|
|
2005
2050
|
const C = c(g, A);
|
|
2006
2051
|
return a(C);
|
|
2007
2052
|
}
|
|
2008
|
-
function
|
|
2053
|
+
function _C(g) {
|
|
2009
2054
|
const A = BigInt.asUintN(64, g);
|
|
2010
2055
|
return a(A);
|
|
2011
2056
|
}
|
|
2012
|
-
function
|
|
2013
|
-
const A =
|
|
2057
|
+
function $C(g) {
|
|
2058
|
+
const A = F(g);
|
|
2014
2059
|
return a(A);
|
|
2015
2060
|
}
|
|
2016
|
-
function
|
|
2017
|
-
|
|
2061
|
+
function AB(g) {
|
|
2062
|
+
J(g);
|
|
2018
2063
|
}
|
|
2019
|
-
const
|
|
2064
|
+
const WA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
2020
2065
|
}, unregister: () => {
|
|
2021
2066
|
} } : new FinalizationRegistry((g) => I.__wbg_wasmassignmentarray_free(g >>> 0, 1)), hA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
2022
2067
|
}, unregister: () => {
|
|
2023
2068
|
} } : new FinalizationRegistry((g) => I.__wbg_wasmcasebuilder_free(g >>> 0, 1)), VA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
2024
2069
|
}, unregister: () => {
|
|
2025
|
-
} } : new FinalizationRegistry((g) => I.__wbg_wasmdeletebuilder_free(g >>> 0, 1)),
|
|
2070
|
+
} } : new FinalizationRegistry((g) => I.__wbg_wasmdeletebuilder_free(g >>> 0, 1)), lA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
2026
2071
|
}, unregister: () => {
|
|
2027
|
-
} } : new FinalizationRegistry((g) => I.__wbg_wasmexpr_free(g >>> 0, 1)),
|
|
2072
|
+
} } : new FinalizationRegistry((g) => I.__wbg_wasmexpr_free(g >>> 0, 1)), nA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
2028
2073
|
}, unregister: () => {
|
|
2029
|
-
} } : new FinalizationRegistry((g) => I.__wbg_wasmexprarray_free(g >>> 0, 1)),
|
|
2074
|
+
} } : new FinalizationRegistry((g) => I.__wbg_wasmexprarray_free(g >>> 0, 1)), rA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
2030
2075
|
}, unregister: () => {
|
|
2031
|
-
} } : new FinalizationRegistry((g) => I.__wbg_wasminsertbuilder_free(g >>> 0, 1)),
|
|
2076
|
+
} } : new FinalizationRegistry((g) => I.__wbg_wasminsertbuilder_free(g >>> 0, 1)), mA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
2032
2077
|
}, unregister: () => {
|
|
2033
|
-
} } : new FinalizationRegistry((g) => I.__wbg_wasmmergebuilder_free(g >>> 0, 1)),
|
|
2078
|
+
} } : new FinalizationRegistry((g) => I.__wbg_wasmmergebuilder_free(g >>> 0, 1)), uA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
2034
2079
|
}, unregister: () => {
|
|
2035
|
-
} } : new FinalizationRegistry((g) => I.__wbg_wasmselectbuilder_free(g >>> 0, 1)),
|
|
2080
|
+
} } : new FinalizationRegistry((g) => I.__wbg_wasmselectbuilder_free(g >>> 0, 1)), bA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
2036
2081
|
}, unregister: () => {
|
|
2037
|
-
} } : new FinalizationRegistry((g) => I.__wbg_wasmsetopbuilder_free(g >>> 0, 1)),
|
|
2082
|
+
} } : new FinalizationRegistry((g) => I.__wbg_wasmsetopbuilder_free(g >>> 0, 1)), vA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
2038
2083
|
}, unregister: () => {
|
|
2039
|
-
} } : new FinalizationRegistry((g) => I.__wbg_wasmupdatebuilder_free(g >>> 0, 1)),
|
|
2084
|
+
} } : new FinalizationRegistry((g) => I.__wbg_wasmupdatebuilder_free(g >>> 0, 1)), XA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
2040
2085
|
}, unregister: () => {
|
|
2041
2086
|
} } : new FinalizationRegistry((g) => I.__wbg_wasmwindowdefbuilder_free(g >>> 0, 1));
|
|
2042
2087
|
function a(g) {
|
|
2043
|
-
|
|
2044
|
-
const A =
|
|
2045
|
-
return
|
|
2088
|
+
gA === x.length && x.push(x.length + 1);
|
|
2089
|
+
const A = gA;
|
|
2090
|
+
return gA = x[A], x[A] = g, A;
|
|
2046
2091
|
}
|
|
2047
2092
|
function H(g, A) {
|
|
2048
2093
|
if (!(g instanceof A))
|
|
2049
2094
|
throw new Error(`expected instance of ${A.name}`);
|
|
2050
2095
|
}
|
|
2051
|
-
function
|
|
2096
|
+
function SA(g) {
|
|
2052
2097
|
const A = typeof g;
|
|
2053
2098
|
if (A == "number" || A == "boolean" || g == null)
|
|
2054
2099
|
return `${g}`;
|
|
@@ -2065,9 +2110,9 @@ function cA(g) {
|
|
|
2065
2110
|
if (Array.isArray(g)) {
|
|
2066
2111
|
const Q = g.length;
|
|
2067
2112
|
let E = "[";
|
|
2068
|
-
Q > 0 && (E +=
|
|
2113
|
+
Q > 0 && (E += SA(g[0]));
|
|
2069
2114
|
for (let D = 1; D < Q; D++)
|
|
2070
|
-
E += ", " +
|
|
2115
|
+
E += ", " + SA(g[D]);
|
|
2071
2116
|
return E += "]", E;
|
|
2072
2117
|
}
|
|
2073
2118
|
const C = /\[object ([^\]]+)\]/.exec(toString.call(g));
|
|
@@ -2085,40 +2130,40 @@ function cA(g) {
|
|
|
2085
2130
|
return g instanceof Error ? `${g.name}: ${g.message}
|
|
2086
2131
|
${g.stack}` : B;
|
|
2087
2132
|
}
|
|
2088
|
-
function
|
|
2089
|
-
g < 132 || (
|
|
2133
|
+
function gB(g) {
|
|
2134
|
+
g < 132 || (x[g] = gA, gA = g);
|
|
2090
2135
|
}
|
|
2091
|
-
function
|
|
2092
|
-
return g = g >>> 0,
|
|
2136
|
+
function IB(g, A) {
|
|
2137
|
+
return g = g >>> 0, AA().subarray(g / 1, g / 1 + A);
|
|
2093
2138
|
}
|
|
2094
2139
|
let v = null;
|
|
2095
2140
|
function i() {
|
|
2096
2141
|
return (v === null || v.buffer.detached === !0 || v.buffer.detached === void 0 && v.buffer !== I.memory.buffer) && (v = new DataView(I.memory.buffer)), v;
|
|
2097
2142
|
}
|
|
2098
2143
|
function c(g, A) {
|
|
2099
|
-
return g = g >>> 0,
|
|
2144
|
+
return g = g >>> 0, BB(g, A);
|
|
2100
2145
|
}
|
|
2101
|
-
let
|
|
2102
|
-
function
|
|
2103
|
-
return (
|
|
2146
|
+
let DA = null;
|
|
2147
|
+
function AA() {
|
|
2148
|
+
return (DA === null || DA.byteLength === 0) && (DA = new Uint8Array(I.memory.buffer)), DA;
|
|
2104
2149
|
}
|
|
2105
|
-
function
|
|
2106
|
-
return
|
|
2150
|
+
function F(g) {
|
|
2151
|
+
return x[g];
|
|
2107
2152
|
}
|
|
2108
|
-
function
|
|
2153
|
+
function GA(g, A) {
|
|
2109
2154
|
try {
|
|
2110
2155
|
return g.apply(this, A);
|
|
2111
2156
|
} catch (C) {
|
|
2112
2157
|
I.__wbindgen_export3(a(C));
|
|
2113
2158
|
}
|
|
2114
2159
|
}
|
|
2115
|
-
let
|
|
2116
|
-
|
|
2117
|
-
let
|
|
2118
|
-
function
|
|
2160
|
+
let x = new Array(128).fill(void 0);
|
|
2161
|
+
x.push(void 0, null, !0, !1);
|
|
2162
|
+
let gA = x.length;
|
|
2163
|
+
function X(g) {
|
|
2119
2164
|
return g == null;
|
|
2120
2165
|
}
|
|
2121
|
-
function
|
|
2166
|
+
function LA(g, A) {
|
|
2122
2167
|
const C = A(g.length * 4, 4) >>> 0, B = i();
|
|
2123
2168
|
for (let Q = 0; Q < g.length; Q++)
|
|
2124
2169
|
B.setUint32(C + 4 * Q, a(g[Q]), !0);
|
|
@@ -2126,11 +2171,11 @@ function FA(g, A) {
|
|
|
2126
2171
|
}
|
|
2127
2172
|
function N(g, A, C) {
|
|
2128
2173
|
if (C === void 0) {
|
|
2129
|
-
const o =
|
|
2130
|
-
return
|
|
2174
|
+
const o = IA.encode(g), k = A(o.length, 1) >>> 0;
|
|
2175
|
+
return AA().subarray(k, k + o.length).set(o), M = o.length, k;
|
|
2131
2176
|
}
|
|
2132
2177
|
let B = g.length, Q = A(B, 1) >>> 0;
|
|
2133
|
-
const E =
|
|
2178
|
+
const E = AA();
|
|
2134
2179
|
let D = 0;
|
|
2135
2180
|
for (; D < B; D++) {
|
|
2136
2181
|
const o = g.charCodeAt(D);
|
|
@@ -2139,370 +2184,382 @@ function N(g, A, C) {
|
|
|
2139
2184
|
}
|
|
2140
2185
|
if (D !== B) {
|
|
2141
2186
|
D !== 0 && (g = g.slice(D)), Q = C(Q, B, B = D + g.length * 3, 1) >>> 0;
|
|
2142
|
-
const o =
|
|
2187
|
+
const o = AA().subarray(Q + D, Q + B), k = IA.encodeInto(g, o);
|
|
2143
2188
|
D += k.written, Q = C(Q, B, D, 1) >>> 0;
|
|
2144
2189
|
}
|
|
2145
2190
|
return M = D, Q;
|
|
2146
2191
|
}
|
|
2147
|
-
function
|
|
2148
|
-
const A =
|
|
2149
|
-
return
|
|
2192
|
+
function J(g) {
|
|
2193
|
+
const A = F(g);
|
|
2194
|
+
return gB(g), A;
|
|
2150
2195
|
}
|
|
2151
|
-
let
|
|
2152
|
-
|
|
2153
|
-
const
|
|
2154
|
-
let
|
|
2155
|
-
function
|
|
2156
|
-
return
|
|
2196
|
+
let wA = new TextDecoder("utf-8", { ignoreBOM: !0, fatal: !0 });
|
|
2197
|
+
wA.decode();
|
|
2198
|
+
const CB = 2146435072;
|
|
2199
|
+
let cA = 0;
|
|
2200
|
+
function BB(g, A) {
|
|
2201
|
+
return cA += A, cA >= CB && (wA = new TextDecoder("utf-8", { ignoreBOM: !0, fatal: !0 }), wA.decode(), cA = A), wA.decode(AA().subarray(g, g + A));
|
|
2157
2202
|
}
|
|
2158
|
-
const
|
|
2159
|
-
"encodeInto" in
|
|
2160
|
-
const C =
|
|
2203
|
+
const IA = new TextEncoder();
|
|
2204
|
+
"encodeInto" in IA || (IA.encodeInto = function(g, A) {
|
|
2205
|
+
const C = IA.encode(g);
|
|
2161
2206
|
return A.set(C), {
|
|
2162
2207
|
read: g.length,
|
|
2163
2208
|
written: C.length
|
|
2164
2209
|
};
|
|
2165
2210
|
});
|
|
2166
2211
|
let M = 0, I;
|
|
2167
|
-
function
|
|
2212
|
+
function QB(g) {
|
|
2168
2213
|
I = g;
|
|
2169
2214
|
}
|
|
2170
2215
|
URL = globalThis.URL;
|
|
2171
|
-
const w = await
|
|
2172
|
-
__wbindgen_object_drop_ref:
|
|
2173
|
-
__wbindgen_object_clone_ref:
|
|
2174
|
-
__wbg_new_8a6f238a6ece86ea:
|
|
2175
|
-
__wbg_stack_0ed75d68575b0f3c:
|
|
2176
|
-
__wbg_error_7534b8e9a36f1ab4:
|
|
2177
|
-
__wbg_get_with_ref_key_1dc361bd10053bfe:
|
|
2178
|
-
__wbg_set_3f1d0b984ed272ed:
|
|
2179
|
-
__wbg_String_8f0eb39a4a4c2f66:
|
|
2180
|
-
__wbg_new_dd2b680c8bf6ae29:
|
|
2181
|
-
__wbg_length_32ed9a279acd054c:
|
|
2182
|
-
__wbg_prototypesetcall_bdcdcc5842e4d77d:
|
|
2183
|
-
__wbg_done_57b39ecd9addfe81:
|
|
2184
|
-
__wbg_value_0546255b415e96c1:
|
|
2185
|
-
__wbg_instanceof_Map_53af74335dec57f4:
|
|
2186
|
-
__wbg_instanceof_Uint8Array_9b9075935c74707c:
|
|
2187
|
-
__wbg_instanceof_ArrayBuffer_c367199e2fa2aa04:
|
|
2188
|
-
__wbg_new_dca287b076112a51:
|
|
2189
|
-
__wbg_set_1eb0999cf5d27fc8:
|
|
2190
|
-
__wbg_get_9b94d73e6221f75c:
|
|
2191
|
-
__wbg_new_3eb36ae241fe6f44:
|
|
2192
|
-
__wbg_set_f43e577aea94465b:
|
|
2193
|
-
__wbg_length_35a7bace40f36eac:
|
|
2194
|
-
__wbg_isArray_d314bb98fcf08331:
|
|
2195
|
-
__wbg_isSafeInteger_bfbc7332a9768d2a:
|
|
2196
|
-
__wbg_new_361308b2356cecd0:
|
|
2197
|
-
__wbg_entries_58c7934c745daac7:
|
|
2198
|
-
__wbg_iterator_6ff6560ca1568e55:
|
|
2199
|
-
__wbg_get_b3ed3ad4be2bc8ac:
|
|
2200
|
-
__wbg_call_389efe28435a9388:
|
|
2201
|
-
__wbg_next_418f80d8f5303233:
|
|
2202
|
-
__wbg_next_3482f54c49e8af19:
|
|
2203
|
-
__wbg_codePointAt_bf59dbf74d8db275:
|
|
2204
|
-
__wbg_fromCodePoint_22365db7b7d6ac39:
|
|
2205
|
-
__wbg_length_68dc7c5cf1b6d349:
|
|
2206
|
-
__wbg___wbindgen_in_47fa6863be6f2f25:
|
|
2207
|
-
__wbg___wbindgen_throw_be289d5034ed271b:
|
|
2208
|
-
__wbg___wbindgen_is_null_ac34f5003991759a:
|
|
2209
|
-
__wbg___wbindgen_jsval_eq_11888390b0186270:
|
|
2210
|
-
__wbg_Number_04624de7d0e8332d:
|
|
2211
|
-
__wbg_Error_8c4e43fe74559d73:
|
|
2212
|
-
__wbg___wbindgen_is_bigint_31b12575b56f32fc:
|
|
2213
|
-
__wbg___wbindgen_is_object_5ae8e5880f2c1fbd:
|
|
2214
|
-
__wbg___wbindgen_is_string_cd444516edc5b180:
|
|
2215
|
-
__wbg___wbindgen_number_get_8ff4255516ccad3e:
|
|
2216
|
-
__wbg___wbindgen_string_get_72fb696202c56729:
|
|
2217
|
-
__wbg___wbindgen_boolean_get_bbbb1c18aa2f5e25:
|
|
2218
|
-
__wbg___wbindgen_is_function_0095a73b8b156f76:
|
|
2219
|
-
__wbg___wbindgen_is_undefined_9e4d92534c42d778:
|
|
2220
|
-
__wbg___wbindgen_jsval_loose_eq_9dd77d8cd6671811:
|
|
2221
|
-
__wbg___wbindgen_bigint_get_as_i64_8fcf4ce7f1ca72a2:
|
|
2222
|
-
__wbg___wbindgen_debug_string_0bc8482c6e3508ae:
|
|
2223
|
-
__wbindgen_cast_0000000000000001:
|
|
2224
|
-
__wbindgen_cast_0000000000000002:
|
|
2225
|
-
__wbindgen_cast_0000000000000003:
|
|
2226
|
-
__wbindgen_cast_0000000000000004:
|
|
2227
|
-
} },
|
|
2216
|
+
const w = await UI({ "./polyglot_sql_wasm_bg.js": {
|
|
2217
|
+
__wbindgen_object_drop_ref: AB,
|
|
2218
|
+
__wbindgen_object_clone_ref: $C,
|
|
2219
|
+
__wbg_new_8a6f238a6ece86ea: zC,
|
|
2220
|
+
__wbg_stack_0ed75d68575b0f3c: mC,
|
|
2221
|
+
__wbg_error_7534b8e9a36f1ab4: FC,
|
|
2222
|
+
__wbg_get_with_ref_key_1dc361bd10053bfe: UC,
|
|
2223
|
+
__wbg_set_3f1d0b984ed272ed: nC,
|
|
2224
|
+
__wbg_String_8f0eb39a4a4c2f66: IC,
|
|
2225
|
+
__wbg_new_dd2b680c8bf6ae29: eC,
|
|
2226
|
+
__wbg_length_32ed9a279acd054c: OC,
|
|
2227
|
+
__wbg_prototypesetcall_bdcdcc5842e4d77d: VC,
|
|
2228
|
+
__wbg_done_57b39ecd9addfe81: cC,
|
|
2229
|
+
__wbg_value_0546255b415e96c1: uC,
|
|
2230
|
+
__wbg_instanceof_Map_53af74335dec57f4: aC,
|
|
2231
|
+
__wbg_instanceof_Uint8Array_9b9075935c74707c: qC,
|
|
2232
|
+
__wbg_instanceof_ArrayBuffer_c367199e2fa2aa04: sC,
|
|
2233
|
+
__wbg_new_dca287b076112a51: ZC,
|
|
2234
|
+
__wbg_set_1eb0999cf5d27fc8: lC,
|
|
2235
|
+
__wbg_get_9b94d73e6221f75c: LC,
|
|
2236
|
+
__wbg_new_3eb36ae241fe6f44: dC,
|
|
2237
|
+
__wbg_set_f43e577aea94465b: rC,
|
|
2238
|
+
__wbg_length_35a7bace40f36eac: jC,
|
|
2239
|
+
__wbg_isArray_d314bb98fcf08331: pC,
|
|
2240
|
+
__wbg_isSafeInteger_bfbc7332a9768d2a: PC,
|
|
2241
|
+
__wbg_new_361308b2356cecd0: fC,
|
|
2242
|
+
__wbg_entries_58c7934c745daac7: SC,
|
|
2243
|
+
__wbg_iterator_6ff6560ca1568e55: TC,
|
|
2244
|
+
__wbg_get_b3ed3ad4be2bc8ac: RC,
|
|
2245
|
+
__wbg_call_389efe28435a9388: HC,
|
|
2246
|
+
__wbg_next_418f80d8f5303233: WC,
|
|
2247
|
+
__wbg_next_3482f54c49e8af19: xC,
|
|
2248
|
+
__wbg_codePointAt_bf59dbf74d8db275: hC,
|
|
2249
|
+
__wbg_fromCodePoint_22365db7b7d6ac39: JC,
|
|
2250
|
+
__wbg_length_68dc7c5cf1b6d349: tC,
|
|
2251
|
+
__wbg___wbindgen_in_47fa6863be6f2f25: EC,
|
|
2252
|
+
__wbg___wbindgen_throw_be289d5034ed271b: YC,
|
|
2253
|
+
__wbg___wbindgen_is_null_ac34f5003991759a: iC,
|
|
2254
|
+
__wbg___wbindgen_jsval_eq_11888390b0186270: kC,
|
|
2255
|
+
__wbg_Number_04624de7d0e8332d: gC,
|
|
2256
|
+
__wbg_Error_8c4e43fe74559d73: AC,
|
|
2257
|
+
__wbg___wbindgen_is_bigint_31b12575b56f32fc: DC,
|
|
2258
|
+
__wbg___wbindgen_is_object_5ae8e5880f2c1fbd: oC,
|
|
2259
|
+
__wbg___wbindgen_is_string_cd444516edc5b180: MC,
|
|
2260
|
+
__wbg___wbindgen_number_get_8ff4255516ccad3e: KC,
|
|
2261
|
+
__wbg___wbindgen_string_get_72fb696202c56729: GC,
|
|
2262
|
+
__wbg___wbindgen_boolean_get_bbbb1c18aa2f5e25: BC,
|
|
2263
|
+
__wbg___wbindgen_is_function_0095a73b8b156f76: wC,
|
|
2264
|
+
__wbg___wbindgen_is_undefined_9e4d92534c42d778: NC,
|
|
2265
|
+
__wbg___wbindgen_jsval_loose_eq_9dd77d8cd6671811: yC,
|
|
2266
|
+
__wbg___wbindgen_bigint_get_as_i64_8fcf4ce7f1ca72a2: CC,
|
|
2267
|
+
__wbg___wbindgen_debug_string_0bc8482c6e3508ae: QC,
|
|
2268
|
+
__wbindgen_cast_0000000000000001: bC,
|
|
2269
|
+
__wbindgen_cast_0000000000000002: vC,
|
|
2270
|
+
__wbindgen_cast_0000000000000003: XC,
|
|
2271
|
+
__wbindgen_cast_0000000000000004: _C
|
|
2272
|
+
} }, RI), EB = w.memory, DB = w.__wbg_wasmassignmentarray_free, wB = w.__wbg_wasmcasebuilder_free, iB = w.__wbg_wasmdeletebuilder_free, oB = w.__wbg_wasmexpr_free, MB = w.__wbg_wasmexprarray_free, NB = w.__wbg_wasminsertbuilder_free, kB = w.__wbg_wasmmergebuilder_free, yB = w.__wbg_wasmselectbuilder_free, KB = w.__wbg_wasmsetopbuilder_free, GB = w.__wbg_wasmupdatebuilder_free, YB = w.__wbg_wasmwindowdefbuilder_free, HB = w.analyze_query, hB = w.analyze_query_value, cB = w.annotate_types, SB = w.annotate_types_value, FB = w.ast_add_where, JB = w.ast_get_aggregate_functions, LB = w.ast_get_column_names, RB = w.ast_get_functions, UB = w.ast_get_literals, sB = w.ast_get_subqueries, aB = w.ast_get_table_names, qB = w.ast_get_window_functions, pB = w.ast_node_count, PB = w.ast_qualify_columns, TB = w.ast_qualify_tables, OB = w.ast_remove_where, jB = w.ast_rename_columns, tB = w.ast_rename_tables, fB = w.ast_rename_tables_with_options, dB = w.ast_set_distinct, zB = w.ast_set_limit, ZB = w.diff_sql, eB = w.format_sql, xB = w.format_sql_value, WB = w.format_sql_with_options, VB = w.format_sql_with_options_value, lB = w.generate, nB = w.generate_data_type, rB = w.generate_data_type_value, mB = w.generate_value, uB = w.get_dialects, bB = w.get_dialects_value, vB = w.lineage_sql, XB = w.lineage_sql_with_schema, _B = w.openlineage_column_lineage, $B = w.openlineage_job_event, AQ = w.openlineage_run_event, gQ = w.parse, IQ = w.parse_data_type, CQ = w.parse_data_type_value, BQ = w.parse_value, QQ = w.plan, EQ = w.source_tables, DQ = w.tokenize, wQ = w.tokenize_value, iQ = w.transpile, oQ = w.transpile_value, MQ = w.transpile_with_options, NQ = w.transpile_with_options_value, kQ = w.validate, yQ = w.validate_with_options, KQ = w.validate_with_schema, GQ = w.version, YQ = w.wasm_alias, HQ = w.wasm_and, hQ = w.wasm_boolean, cQ = w.wasm_case_of, SQ = w.wasm_cast, FQ = w.wasm_col, JQ = w.wasm_count_distinct, LQ = w.wasm_extract, RQ = w.wasm_func, UQ = w.wasm_lit, sQ = w.wasm_not, aQ = w.wasm_null, qQ = w.wasm_or, pQ = w.wasm_sql_expr, PQ = w.wasm_star, TQ = w.wasm_subquery, OQ = w.wasm_table, jQ = w.wasmassignmentarray_len, tQ = w.wasmassignmentarray_new, fQ = w.wasmassignmentarray_push, dQ = w.wasmcasebuilder_build_expr, zQ = w.wasmcasebuilder_else_, ZQ = w.wasmcasebuilder_new, eQ = w.wasmcasebuilder_to_sql, xQ = w.wasmcasebuilder_when, WQ = w.wasmdeletebuilder_build, VQ = w.wasmdeletebuilder_new, lQ = w.wasmdeletebuilder_to_sql, nQ = w.wasmdeletebuilder_where_expr, rQ = w.wasmexpr_add, mQ = w.wasmexpr_alias, uQ = w.wasmexpr_and, bQ = w.wasmexpr_asc, vQ = w.wasmexpr_between, XQ = w.wasmexpr_cast, _Q = w.wasmexpr_desc, $Q = w.wasmexpr_div, AE = w.wasmexpr_eq, gE = w.wasmexpr_gt, IE = w.wasmexpr_gte, CE = w.wasmexpr_ilike, BE = w.wasmexpr_in_list, QE = w.wasmexpr_is_not_null, EE = w.wasmexpr_is_null, DE = w.wasmexpr_like, wE = w.wasmexpr_lt, iE = w.wasmexpr_lte, oE = w.wasmexpr_mul, ME = w.wasmexpr_neq, NE = w.wasmexpr_not, kE = w.wasmexpr_not_in, yE = w.wasmexpr_or, KE = w.wasmexpr_rlike, GE = w.wasmexpr_sub, YE = w.wasmexpr_to_json, HE = w.wasmexpr_to_sql, hE = w.wasmexpr_xor, cE = w.wasmexprarray_len, SE = w.wasmexprarray_push, FE = w.wasmexprarray_push_col, JE = w.wasmexprarray_push_float, LE = w.wasmexprarray_push_int, RE = w.wasmexprarray_push_star, UE = w.wasmexprarray_push_str, sE = w.wasminsertbuilder_build, aE = w.wasminsertbuilder_columns, qE = w.wasminsertbuilder_new, pE = w.wasminsertbuilder_query, PE = w.wasminsertbuilder_to_sql, TE = w.wasminsertbuilder_values, OE = w.wasmmergebuilder_build, jE = w.wasmmergebuilder_new, tE = w.wasmmergebuilder_to_sql, fE = w.wasmmergebuilder_using, dE = w.wasmmergebuilder_when_matched_delete, zE = w.wasmmergebuilder_when_matched_update, ZE = w.wasmmergebuilder_when_not_matched_insert, eE = w.wasmselectbuilder_build, xE = w.wasmselectbuilder_cross_join, WE = w.wasmselectbuilder_ctas, VE = w.wasmselectbuilder_ctas_sql, lE = w.wasmselectbuilder_distinct, nE = w.wasmselectbuilder_except_, rE = w.wasmselectbuilder_for_update, mE = w.wasmselectbuilder_from, uE = w.wasmselectbuilder_from_expr, bE = w.wasmselectbuilder_group_by_cols, vE = w.wasmselectbuilder_having, XE = w.wasmselectbuilder_hint, _E = w.wasmselectbuilder_intersect, $E = w.wasmselectbuilder_join, AD = w.wasmselectbuilder_lateral_view, gD = w.wasmselectbuilder_left_join, ID = w.wasmselectbuilder_limit, CD = w.wasmselectbuilder_new, BD = w.wasmselectbuilder_offset, QD = w.wasmselectbuilder_order_by_exprs, ED = w.wasmselectbuilder_qualify, DD = w.wasmselectbuilder_right_join, wD = w.wasmselectbuilder_select_col, iD = w.wasmselectbuilder_select_expr, oD = w.wasmselectbuilder_select_exprs, MD = w.wasmselectbuilder_select_star, ND = w.wasmselectbuilder_sort_by_exprs, kD = w.wasmselectbuilder_to_sql, yD = w.wasmselectbuilder_union, KD = w.wasmselectbuilder_union_all, GD = w.wasmselectbuilder_where_expr, YD = w.wasmselectbuilder_where_sql, HD = w.wasmselectbuilder_window, hD = w.wasmsetopbuilder_build, cD = w.wasmsetopbuilder_limit, SD = w.wasmsetopbuilder_offset, FD = w.wasmsetopbuilder_order_by_exprs, JD = w.wasmsetopbuilder_to_sql, LD = w.wasmupdatebuilder_build, RD = w.wasmupdatebuilder_from, UD = w.wasmupdatebuilder_new, sD = w.wasmupdatebuilder_set, aD = w.wasmupdatebuilder_to_sql, qD = w.wasmupdatebuilder_where_expr, pD = w.wasmwindowdefbuilder_new, PD = w.wasmwindowdefbuilder_order_by, TD = w.wasmwindowdefbuilder_partition_by, OD = w.wasmexprarray_new, jD = w.__wbindgen_export, tD = w.__wbindgen_export2, fD = w.__wbindgen_export3, dD = w.__wbindgen_export4, zD = w.__wbindgen_add_to_stack_pointer, ZD = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2228
2273
|
__proto__: null,
|
|
2229
|
-
__wbg_wasmassignmentarray_free:
|
|
2230
|
-
__wbg_wasmcasebuilder_free:
|
|
2231
|
-
__wbg_wasmdeletebuilder_free:
|
|
2232
|
-
__wbg_wasmexpr_free:
|
|
2233
|
-
__wbg_wasmexprarray_free:
|
|
2234
|
-
__wbg_wasminsertbuilder_free:
|
|
2235
|
-
__wbg_wasmmergebuilder_free:
|
|
2236
|
-
__wbg_wasmselectbuilder_free:
|
|
2237
|
-
__wbg_wasmsetopbuilder_free:
|
|
2238
|
-
__wbg_wasmupdatebuilder_free:
|
|
2239
|
-
__wbg_wasmwindowdefbuilder_free:
|
|
2240
|
-
__wbindgen_add_to_stack_pointer:
|
|
2241
|
-
__wbindgen_export:
|
|
2242
|
-
__wbindgen_export2:
|
|
2243
|
-
__wbindgen_export3:
|
|
2244
|
-
__wbindgen_export4:
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2274
|
+
__wbg_wasmassignmentarray_free: DB,
|
|
2275
|
+
__wbg_wasmcasebuilder_free: wB,
|
|
2276
|
+
__wbg_wasmdeletebuilder_free: iB,
|
|
2277
|
+
__wbg_wasmexpr_free: oB,
|
|
2278
|
+
__wbg_wasmexprarray_free: MB,
|
|
2279
|
+
__wbg_wasminsertbuilder_free: NB,
|
|
2280
|
+
__wbg_wasmmergebuilder_free: kB,
|
|
2281
|
+
__wbg_wasmselectbuilder_free: yB,
|
|
2282
|
+
__wbg_wasmsetopbuilder_free: KB,
|
|
2283
|
+
__wbg_wasmupdatebuilder_free: GB,
|
|
2284
|
+
__wbg_wasmwindowdefbuilder_free: YB,
|
|
2285
|
+
__wbindgen_add_to_stack_pointer: zD,
|
|
2286
|
+
__wbindgen_export: jD,
|
|
2287
|
+
__wbindgen_export2: tD,
|
|
2288
|
+
__wbindgen_export3: fD,
|
|
2289
|
+
__wbindgen_export4: dD,
|
|
2290
|
+
analyze_query: HB,
|
|
2291
|
+
analyze_query_value: hB,
|
|
2292
|
+
annotate_types: cB,
|
|
2293
|
+
annotate_types_value: SB,
|
|
2294
|
+
ast_add_where: FB,
|
|
2295
|
+
ast_get_aggregate_functions: JB,
|
|
2296
|
+
ast_get_column_names: LB,
|
|
2297
|
+
ast_get_functions: RB,
|
|
2298
|
+
ast_get_literals: UB,
|
|
2299
|
+
ast_get_subqueries: sB,
|
|
2300
|
+
ast_get_table_names: aB,
|
|
2301
|
+
ast_get_window_functions: qB,
|
|
2302
|
+
ast_node_count: pB,
|
|
2303
|
+
ast_qualify_columns: PB,
|
|
2304
|
+
ast_qualify_tables: TB,
|
|
2305
|
+
ast_remove_where: OB,
|
|
2306
|
+
ast_rename_columns: jB,
|
|
2307
|
+
ast_rename_tables: tB,
|
|
2308
|
+
ast_rename_tables_with_options: fB,
|
|
2309
|
+
ast_set_distinct: dB,
|
|
2310
|
+
ast_set_limit: zB,
|
|
2311
|
+
diff_sql: ZB,
|
|
2312
|
+
format_sql: eB,
|
|
2313
|
+
format_sql_value: xB,
|
|
2314
|
+
format_sql_with_options: WB,
|
|
2315
|
+
format_sql_with_options_value: VB,
|
|
2316
|
+
generate: lB,
|
|
2317
|
+
generate_data_type: nB,
|
|
2318
|
+
generate_data_type_value: rB,
|
|
2319
|
+
generate_value: mB,
|
|
2320
|
+
get_dialects: uB,
|
|
2321
|
+
get_dialects_value: bB,
|
|
2322
|
+
lineage_sql: vB,
|
|
2323
|
+
lineage_sql_with_schema: XB,
|
|
2324
|
+
memory: EB,
|
|
2325
|
+
openlineage_column_lineage: _B,
|
|
2326
|
+
openlineage_job_event: $B,
|
|
2327
|
+
openlineage_run_event: AQ,
|
|
2328
|
+
parse: gQ,
|
|
2329
|
+
parse_data_type: IQ,
|
|
2330
|
+
parse_data_type_value: CQ,
|
|
2331
|
+
parse_value: BQ,
|
|
2332
|
+
plan: QQ,
|
|
2333
|
+
source_tables: EQ,
|
|
2334
|
+
tokenize: DQ,
|
|
2335
|
+
tokenize_value: wQ,
|
|
2336
|
+
transpile: iQ,
|
|
2337
|
+
transpile_value: oQ,
|
|
2338
|
+
transpile_with_options: MQ,
|
|
2339
|
+
transpile_with_options_value: NQ,
|
|
2340
|
+
validate: kQ,
|
|
2341
|
+
validate_with_options: yQ,
|
|
2342
|
+
validate_with_schema: KQ,
|
|
2343
|
+
version: GQ,
|
|
2344
|
+
wasm_alias: YQ,
|
|
2345
|
+
wasm_and: HQ,
|
|
2346
|
+
wasm_boolean: hQ,
|
|
2347
|
+
wasm_case_of: cQ,
|
|
2348
|
+
wasm_cast: SQ,
|
|
2349
|
+
wasm_col: FQ,
|
|
2350
|
+
wasm_count_distinct: JQ,
|
|
2351
|
+
wasm_extract: LQ,
|
|
2352
|
+
wasm_func: RQ,
|
|
2353
|
+
wasm_lit: UQ,
|
|
2354
|
+
wasm_not: sQ,
|
|
2355
|
+
wasm_null: aQ,
|
|
2356
|
+
wasm_or: qQ,
|
|
2357
|
+
wasm_sql_expr: pQ,
|
|
2358
|
+
wasm_star: PQ,
|
|
2359
|
+
wasm_subquery: TQ,
|
|
2360
|
+
wasm_table: OQ,
|
|
2361
|
+
wasmassignmentarray_len: jQ,
|
|
2362
|
+
wasmassignmentarray_new: tQ,
|
|
2363
|
+
wasmassignmentarray_push: fQ,
|
|
2364
|
+
wasmcasebuilder_build_expr: dQ,
|
|
2365
|
+
wasmcasebuilder_else_: zQ,
|
|
2366
|
+
wasmcasebuilder_new: ZQ,
|
|
2367
|
+
wasmcasebuilder_to_sql: eQ,
|
|
2368
|
+
wasmcasebuilder_when: xQ,
|
|
2369
|
+
wasmdeletebuilder_build: WQ,
|
|
2370
|
+
wasmdeletebuilder_new: VQ,
|
|
2371
|
+
wasmdeletebuilder_to_sql: lQ,
|
|
2372
|
+
wasmdeletebuilder_where_expr: nQ,
|
|
2373
|
+
wasmexpr_add: rQ,
|
|
2374
|
+
wasmexpr_alias: mQ,
|
|
2375
|
+
wasmexpr_and: uQ,
|
|
2376
|
+
wasmexpr_asc: bQ,
|
|
2377
|
+
wasmexpr_between: vQ,
|
|
2378
|
+
wasmexpr_cast: XQ,
|
|
2379
|
+
wasmexpr_desc: _Q,
|
|
2380
|
+
wasmexpr_div: $Q,
|
|
2381
|
+
wasmexpr_eq: AE,
|
|
2382
|
+
wasmexpr_gt: gE,
|
|
2383
|
+
wasmexpr_gte: IE,
|
|
2384
|
+
wasmexpr_ilike: CE,
|
|
2385
|
+
wasmexpr_in_list: BE,
|
|
2386
|
+
wasmexpr_is_not_null: QE,
|
|
2387
|
+
wasmexpr_is_null: EE,
|
|
2388
|
+
wasmexpr_like: DE,
|
|
2389
|
+
wasmexpr_lt: wE,
|
|
2390
|
+
wasmexpr_lte: iE,
|
|
2391
|
+
wasmexpr_mul: oE,
|
|
2392
|
+
wasmexpr_neq: ME,
|
|
2393
|
+
wasmexpr_not: NE,
|
|
2394
|
+
wasmexpr_not_in: kE,
|
|
2395
|
+
wasmexpr_or: yE,
|
|
2396
|
+
wasmexpr_rlike: KE,
|
|
2397
|
+
wasmexpr_sub: GE,
|
|
2398
|
+
wasmexpr_to_json: YE,
|
|
2399
|
+
wasmexpr_to_sql: HE,
|
|
2400
|
+
wasmexpr_xor: hE,
|
|
2401
|
+
wasmexprarray_len: cE,
|
|
2402
|
+
wasmexprarray_new: OD,
|
|
2403
|
+
wasmexprarray_push: SE,
|
|
2404
|
+
wasmexprarray_push_col: FE,
|
|
2405
|
+
wasmexprarray_push_float: JE,
|
|
2406
|
+
wasmexprarray_push_int: LE,
|
|
2407
|
+
wasmexprarray_push_star: RE,
|
|
2408
|
+
wasmexprarray_push_str: UE,
|
|
2409
|
+
wasminsertbuilder_build: sE,
|
|
2410
|
+
wasminsertbuilder_columns: aE,
|
|
2411
|
+
wasminsertbuilder_new: qE,
|
|
2412
|
+
wasminsertbuilder_query: pE,
|
|
2413
|
+
wasminsertbuilder_to_sql: PE,
|
|
2414
|
+
wasminsertbuilder_values: TE,
|
|
2415
|
+
wasmmergebuilder_build: OE,
|
|
2416
|
+
wasmmergebuilder_new: jE,
|
|
2417
|
+
wasmmergebuilder_to_sql: tE,
|
|
2418
|
+
wasmmergebuilder_using: fE,
|
|
2419
|
+
wasmmergebuilder_when_matched_delete: dE,
|
|
2420
|
+
wasmmergebuilder_when_matched_update: zE,
|
|
2421
|
+
wasmmergebuilder_when_not_matched_insert: ZE,
|
|
2422
|
+
wasmselectbuilder_build: eE,
|
|
2423
|
+
wasmselectbuilder_cross_join: xE,
|
|
2424
|
+
wasmselectbuilder_ctas: WE,
|
|
2425
|
+
wasmselectbuilder_ctas_sql: VE,
|
|
2426
|
+
wasmselectbuilder_distinct: lE,
|
|
2427
|
+
wasmselectbuilder_except_: nE,
|
|
2428
|
+
wasmselectbuilder_for_update: rE,
|
|
2429
|
+
wasmselectbuilder_from: mE,
|
|
2430
|
+
wasmselectbuilder_from_expr: uE,
|
|
2431
|
+
wasmselectbuilder_group_by_cols: bE,
|
|
2432
|
+
wasmselectbuilder_having: vE,
|
|
2433
|
+
wasmselectbuilder_hint: XE,
|
|
2434
|
+
wasmselectbuilder_intersect: _E,
|
|
2435
|
+
wasmselectbuilder_join: $E,
|
|
2436
|
+
wasmselectbuilder_lateral_view: AD,
|
|
2437
|
+
wasmselectbuilder_left_join: gD,
|
|
2438
|
+
wasmselectbuilder_limit: ID,
|
|
2439
|
+
wasmselectbuilder_new: CD,
|
|
2440
|
+
wasmselectbuilder_offset: BD,
|
|
2441
|
+
wasmselectbuilder_order_by_exprs: QD,
|
|
2442
|
+
wasmselectbuilder_qualify: ED,
|
|
2443
|
+
wasmselectbuilder_right_join: DD,
|
|
2444
|
+
wasmselectbuilder_select_col: wD,
|
|
2445
|
+
wasmselectbuilder_select_expr: iD,
|
|
2446
|
+
wasmselectbuilder_select_exprs: oD,
|
|
2447
|
+
wasmselectbuilder_select_star: MD,
|
|
2448
|
+
wasmselectbuilder_sort_by_exprs: ND,
|
|
2449
|
+
wasmselectbuilder_to_sql: kD,
|
|
2450
|
+
wasmselectbuilder_union: yD,
|
|
2451
|
+
wasmselectbuilder_union_all: KD,
|
|
2452
|
+
wasmselectbuilder_where_expr: GD,
|
|
2453
|
+
wasmselectbuilder_where_sql: YD,
|
|
2454
|
+
wasmselectbuilder_window: HD,
|
|
2455
|
+
wasmsetopbuilder_build: hD,
|
|
2456
|
+
wasmsetopbuilder_limit: cD,
|
|
2457
|
+
wasmsetopbuilder_offset: SD,
|
|
2458
|
+
wasmsetopbuilder_order_by_exprs: FD,
|
|
2459
|
+
wasmsetopbuilder_to_sql: JD,
|
|
2460
|
+
wasmupdatebuilder_build: LD,
|
|
2461
|
+
wasmupdatebuilder_from: RD,
|
|
2462
|
+
wasmupdatebuilder_new: UD,
|
|
2463
|
+
wasmupdatebuilder_set: sD,
|
|
2464
|
+
wasmupdatebuilder_to_sql: aD,
|
|
2465
|
+
wasmupdatebuilder_where_expr: qD,
|
|
2466
|
+
wasmwindowdefbuilder_new: pD,
|
|
2467
|
+
wasmwindowdefbuilder_order_by: PD,
|
|
2468
|
+
wasmwindowdefbuilder_partition_by: TD
|
|
2418
2469
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2419
|
-
|
|
2420
|
-
const
|
|
2470
|
+
QB(ZD);
|
|
2471
|
+
const Zg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2421
2472
|
__proto__: null,
|
|
2422
|
-
WasmAssignmentArray:
|
|
2423
|
-
WasmCaseBuilder:
|
|
2424
|
-
WasmDeleteBuilder:
|
|
2473
|
+
WasmAssignmentArray: BA,
|
|
2474
|
+
WasmCaseBuilder: u,
|
|
2475
|
+
WasmDeleteBuilder: oA,
|
|
2425
2476
|
WasmExpr: G,
|
|
2426
|
-
WasmExprArray:
|
|
2427
|
-
WasmInsertBuilder:
|
|
2428
|
-
WasmMergeBuilder:
|
|
2429
|
-
WasmSelectBuilder:
|
|
2430
|
-
WasmSetOpBuilder:
|
|
2431
|
-
WasmUpdateBuilder:
|
|
2432
|
-
WasmWindowDefBuilder:
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2477
|
+
WasmExprArray: P,
|
|
2478
|
+
WasmInsertBuilder: MA,
|
|
2479
|
+
WasmMergeBuilder: NA,
|
|
2480
|
+
WasmSelectBuilder: t,
|
|
2481
|
+
WasmSetOpBuilder: W,
|
|
2482
|
+
WasmUpdateBuilder: kA,
|
|
2483
|
+
WasmWindowDefBuilder: QA,
|
|
2484
|
+
analyze_query: sI,
|
|
2485
|
+
analyze_query_value: aI,
|
|
2486
|
+
annotate_types: qI,
|
|
2487
|
+
annotate_types_value: pI,
|
|
2488
|
+
ast_add_where: $A,
|
|
2489
|
+
ast_get_aggregate_functions: Ag,
|
|
2490
|
+
ast_get_column_names: gg,
|
|
2491
|
+
ast_get_functions: Ig,
|
|
2492
|
+
ast_get_literals: Cg,
|
|
2493
|
+
ast_get_subqueries: Bg,
|
|
2494
|
+
ast_get_table_names: Qg,
|
|
2495
|
+
ast_get_window_functions: Eg,
|
|
2496
|
+
ast_node_count: Dg,
|
|
2497
|
+
ast_qualify_columns: wg,
|
|
2498
|
+
ast_qualify_tables: ig,
|
|
2499
|
+
ast_remove_where: og,
|
|
2500
|
+
ast_rename_columns: Mg,
|
|
2501
|
+
ast_rename_tables: Ng,
|
|
2502
|
+
ast_rename_tables_with_options: kg,
|
|
2503
|
+
ast_set_distinct: yg,
|
|
2504
|
+
ast_set_limit: Kg,
|
|
2505
|
+
diff_sql: Gg,
|
|
2506
|
+
format_sql: PI,
|
|
2507
|
+
format_sql_value: TI,
|
|
2508
|
+
format_sql_with_options: OI,
|
|
2509
|
+
format_sql_with_options_value: jI,
|
|
2510
|
+
generate: tI,
|
|
2511
|
+
generate_data_type: fI,
|
|
2512
|
+
generate_data_type_value: dI,
|
|
2513
|
+
generate_value: zI,
|
|
2514
|
+
get_dialects: ZI,
|
|
2515
|
+
get_dialects_value: eI,
|
|
2516
|
+
lineage_sql: Yg,
|
|
2517
|
+
lineage_sql_with_schema: Hg,
|
|
2518
|
+
openlineage_column_lineage: hg,
|
|
2519
|
+
openlineage_job_event: cg,
|
|
2520
|
+
openlineage_run_event: Sg,
|
|
2521
|
+
parse: xI,
|
|
2522
|
+
parse_data_type: WI,
|
|
2523
|
+
parse_data_type_value: VI,
|
|
2524
|
+
parse_value: lI,
|
|
2525
|
+
plan: Fg,
|
|
2526
|
+
source_tables: Jg,
|
|
2527
|
+
tokenize: nI,
|
|
2528
|
+
tokenize_value: rI,
|
|
2529
|
+
transpile: mI,
|
|
2530
|
+
transpile_value: uI,
|
|
2531
|
+
transpile_with_options: bI,
|
|
2532
|
+
transpile_with_options_value: vI,
|
|
2533
|
+
validate: XI,
|
|
2534
|
+
validate_with_options: _I,
|
|
2535
|
+
validate_with_schema: Lg,
|
|
2536
|
+
version: $I,
|
|
2537
|
+
wasm_alias: Rg,
|
|
2481
2538
|
wasm_and: Ug,
|
|
2482
|
-
wasm_boolean:
|
|
2483
|
-
wasm_case_of:
|
|
2484
|
-
wasm_cast:
|
|
2485
|
-
wasm_col:
|
|
2486
|
-
wasm_count_distinct:
|
|
2487
|
-
wasm_extract:
|
|
2488
|
-
wasm_func:
|
|
2489
|
-
wasm_lit:
|
|
2490
|
-
wasm_not:
|
|
2491
|
-
wasm_null:
|
|
2492
|
-
wasm_or:
|
|
2493
|
-
wasm_sql_expr:
|
|
2494
|
-
wasm_star:
|
|
2495
|
-
wasm_subquery:
|
|
2496
|
-
wasm_table:
|
|
2539
|
+
wasm_boolean: sg,
|
|
2540
|
+
wasm_case_of: ag,
|
|
2541
|
+
wasm_cast: qg,
|
|
2542
|
+
wasm_col: JA,
|
|
2543
|
+
wasm_count_distinct: pg,
|
|
2544
|
+
wasm_extract: Pg,
|
|
2545
|
+
wasm_func: Tg,
|
|
2546
|
+
wasm_lit: yA,
|
|
2547
|
+
wasm_not: Og,
|
|
2548
|
+
wasm_null: KA,
|
|
2549
|
+
wasm_or: jg,
|
|
2550
|
+
wasm_sql_expr: tg,
|
|
2551
|
+
wasm_star: fg,
|
|
2552
|
+
wasm_subquery: dg,
|
|
2553
|
+
wasm_table: zg
|
|
2497
2554
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2498
2555
|
function p(g) {
|
|
2499
2556
|
return Object.keys(g)[0];
|
|
2500
2557
|
}
|
|
2501
|
-
function
|
|
2558
|
+
function O(g) {
|
|
2502
2559
|
const A = Object.keys(g)[0];
|
|
2503
2560
|
return g[A];
|
|
2504
2561
|
}
|
|
2505
|
-
function
|
|
2562
|
+
function V(g) {
|
|
2506
2563
|
if (typeof g != "object" || g === null || Array.isArray(g))
|
|
2507
2564
|
return !1;
|
|
2508
2565
|
const A = Object.keys(g);
|
|
@@ -2510,11 +2567,11 @@ function e(g) {
|
|
|
2510
2567
|
const C = g[A[0]];
|
|
2511
2568
|
return C === null || typeof C == "object" && !Array.isArray(C);
|
|
2512
2569
|
}
|
|
2513
|
-
function
|
|
2570
|
+
function z(g, A) {
|
|
2514
2571
|
return { [g]: A };
|
|
2515
2572
|
}
|
|
2516
|
-
function
|
|
2517
|
-
const A =
|
|
2573
|
+
function eg(g) {
|
|
2574
|
+
const A = O(g);
|
|
2518
2575
|
if (A && typeof A == "object" && "inferred_type" in A) {
|
|
2519
2576
|
const C = A.inferred_type;
|
|
2520
2577
|
if (C != null)
|
|
@@ -2524,58 +2581,58 @@ function Zg(g) {
|
|
|
2524
2581
|
function Y(g) {
|
|
2525
2582
|
return (A) => g in A;
|
|
2526
2583
|
}
|
|
2527
|
-
const
|
|
2528
|
-
function
|
|
2584
|
+
const xg = Y("select"), eD = Y("insert"), xD = Y("update"), WD = Y("delete"), VD = Y("union"), lD = Y("intersect"), nD = Y("except"), rD = Y("subquery"), mD = Y("identifier"), Wg = Y("column"), uD = Y("table"), bD = Y("star"), Vg = Y("literal"), vD = Y("boolean"), XD = Y("null"), _D = Y("and"), $D = Y("or"), Aw = Y("not"), gw = Y("eq"), Iw = Y("neq"), Cw = Y("lt"), Bw = Y("lte"), Qw = Y("gt"), Ew = Y("gte"), Dw = Y("like"), ww = Y("i_like"), iw = Y("add"), ow = Y("sub"), Mw = Y("mul"), Nw = Y("div"), kw = Y("mod"), yw = Y("concat"), Kw = Y("in"), Gw = Y("between"), Yw = Y("is_null"), Hw = Y("exists"), lg = Y("function"), hw = Y("aggregate_function"), cw = Y("window_function"), Sw = Y("count"), Fw = Y("sum"), Jw = Y("avg"), Lw = Y("min"), Rw = Y("max"), Uw = Y("coalesce"), sw = Y("null_if"), aw = Y("cast"), qw = Y("try_cast"), pw = Y("safe_cast"), Pw = Y("case"), Tw = Y("from"), Ow = Y("join"), jw = Y("where"), tw = Y("group_by"), fw = Y("having"), dw = Y("order_by"), zw = Y("limit"), Zw = Y("offset"), ew = Y("with"), xw = Y("cte"), Ww = Y("alias"), Vw = Y("paren"), lw = Y("ordered"), nw = Y("create_table"), rw = Y("drop_table"), mw = Y("alter_table"), uw = Y("create_index"), bw = Y("drop_index"), vw = Y("create_view"), Xw = Y("drop_view");
|
|
2585
|
+
function _w(g) {
|
|
2529
2586
|
const A = p(g);
|
|
2530
2587
|
return A === "select" || A === "insert" || A === "update" || A === "delete";
|
|
2531
2588
|
}
|
|
2532
|
-
function
|
|
2589
|
+
function $w(g) {
|
|
2533
2590
|
const A = p(g);
|
|
2534
2591
|
return A === "union" || A === "intersect" || A === "except";
|
|
2535
2592
|
}
|
|
2536
|
-
function
|
|
2593
|
+
function Ai(g) {
|
|
2537
2594
|
const A = p(g);
|
|
2538
2595
|
return A === "eq" || A === "neq" || A === "lt" || A === "lte" || A === "gt" || A === "gte" || A === "like" || A === "i_like";
|
|
2539
2596
|
}
|
|
2540
|
-
function
|
|
2597
|
+
function gi(g) {
|
|
2541
2598
|
const A = p(g);
|
|
2542
2599
|
return A === "add" || A === "sub" || A === "mul" || A === "div" || A === "mod";
|
|
2543
2600
|
}
|
|
2544
|
-
function
|
|
2601
|
+
function Ii(g) {
|
|
2545
2602
|
const A = p(g);
|
|
2546
2603
|
return A === "and" || A === "or" || A === "not";
|
|
2547
2604
|
}
|
|
2548
|
-
function
|
|
2605
|
+
function Ci(g) {
|
|
2549
2606
|
const A = p(g);
|
|
2550
2607
|
return A === "create_table" || A === "drop_table" || A === "alter_table" || A === "create_index" || A === "drop_index" || A === "create_view" || A === "drop_view" || A === "create_schema" || A === "drop_schema" || A === "create_database" || A === "drop_database" || A === "create_function" || A === "drop_function" || A === "create_procedure" || A === "drop_procedure" || A === "create_sequence" || A === "drop_sequence" || A === "alter_sequence" || A === "create_trigger" || A === "drop_trigger" || A === "create_type" || A === "drop_type";
|
|
2551
2608
|
}
|
|
2552
|
-
function
|
|
2609
|
+
function Z(g) {
|
|
2553
2610
|
return JSON.stringify(g);
|
|
2554
2611
|
}
|
|
2555
2612
|
function l(g) {
|
|
2556
2613
|
const A = JSON.parse(g);
|
|
2557
2614
|
return A.success ? JSON.parse(A.ast) : null;
|
|
2558
2615
|
}
|
|
2559
|
-
function
|
|
2616
|
+
function ng(g, A, C) {
|
|
2560
2617
|
if (g == null) return g;
|
|
2561
2618
|
if (Array.isArray(g))
|
|
2562
|
-
return g.length > 0 &&
|
|
2563
|
-
(B, Q) =>
|
|
2564
|
-
) : g.length > 0 && Array.isArray(g[0]) ? g.map((B) => Array.isArray(B) ? B.map((Q, E) =>
|
|
2565
|
-
if (
|
|
2566
|
-
return
|
|
2619
|
+
return g.length > 0 && V(g[0]) ? g.map(
|
|
2620
|
+
(B, Q) => iA(B, A, C, null, Q)
|
|
2621
|
+
) : g.length > 0 && Array.isArray(g[0]) ? g.map((B) => Array.isArray(B) ? B.map((Q, E) => V(Q) ? iA(Q, A, C, null, E) : Q) : B) : g;
|
|
2622
|
+
if (V(g))
|
|
2623
|
+
return iA(g, A, C, null, null);
|
|
2567
2624
|
if (typeof g == "object") {
|
|
2568
2625
|
const Q = { ...g };
|
|
2569
2626
|
let E = !1;
|
|
2570
2627
|
for (const [D, o] of Object.entries(Q)) {
|
|
2571
|
-
const k =
|
|
2628
|
+
const k = ng(o, A, C);
|
|
2572
2629
|
k !== o && (Q[D] = k, E = !0);
|
|
2573
2630
|
}
|
|
2574
2631
|
return E ? Q : g;
|
|
2575
2632
|
}
|
|
2576
2633
|
return g;
|
|
2577
2634
|
}
|
|
2578
|
-
function
|
|
2635
|
+
function iA(g, A, C, B, Q) {
|
|
2579
2636
|
let E = g;
|
|
2580
2637
|
if (A.enter) {
|
|
2581
2638
|
const h = A.enter(E, C, B, Q);
|
|
@@ -2590,17 +2647,17 @@ function wA(g, A, C, B, Q) {
|
|
|
2590
2647
|
return E;
|
|
2591
2648
|
h !== void 0 && (E = h);
|
|
2592
2649
|
}
|
|
2593
|
-
const k = p(E), K =
|
|
2650
|
+
const k = p(E), K = O(E);
|
|
2594
2651
|
let y;
|
|
2595
2652
|
if (K == null)
|
|
2596
|
-
y =
|
|
2653
|
+
y = z(k, K);
|
|
2597
2654
|
else {
|
|
2598
2655
|
const h = { ...K };
|
|
2599
2656
|
for (const [R, q] of Object.entries(h)) {
|
|
2600
|
-
const
|
|
2601
|
-
|
|
2657
|
+
const T = ng(q, A, E);
|
|
2658
|
+
T !== q && (h[R] = T);
|
|
2602
2659
|
}
|
|
2603
|
-
y =
|
|
2660
|
+
y = z(k, h);
|
|
2604
2661
|
}
|
|
2605
2662
|
if (A.leave) {
|
|
2606
2663
|
const h = A.leave(y, C, B, Q);
|
|
@@ -2609,258 +2666,258 @@ function wA(g, A, C, B, Q) {
|
|
|
2609
2666
|
}
|
|
2610
2667
|
return y;
|
|
2611
2668
|
}
|
|
2612
|
-
function
|
|
2613
|
-
return
|
|
2669
|
+
function YA(g, A) {
|
|
2670
|
+
return iA(g, A, null, null, null);
|
|
2614
2671
|
}
|
|
2615
|
-
function
|
|
2616
|
-
return
|
|
2672
|
+
function rg(g, A, C) {
|
|
2673
|
+
return YA(g, {
|
|
2617
2674
|
enter: (B, Q) => {
|
|
2618
2675
|
if (A(B, Q))
|
|
2619
2676
|
return typeof C == "function" ? C(B) : C;
|
|
2620
2677
|
}
|
|
2621
2678
|
});
|
|
2622
2679
|
}
|
|
2623
|
-
function
|
|
2624
|
-
return
|
|
2680
|
+
function Bi(g, A, C) {
|
|
2681
|
+
return rg(
|
|
2625
2682
|
g,
|
|
2626
2683
|
(B) => p(B) === A,
|
|
2627
2684
|
typeof C == "function" ? (B) => C(B) : C
|
|
2628
2685
|
);
|
|
2629
2686
|
}
|
|
2630
|
-
function
|
|
2687
|
+
function mg(g, A) {
|
|
2631
2688
|
return l(
|
|
2632
|
-
|
|
2689
|
+
Mg(Z(g), JSON.stringify(A))
|
|
2633
2690
|
) ?? g;
|
|
2634
2691
|
}
|
|
2635
|
-
function
|
|
2692
|
+
function Qi(g, A, C) {
|
|
2636
2693
|
return l(
|
|
2637
|
-
C ?
|
|
2638
|
-
|
|
2694
|
+
C ? kg(
|
|
2695
|
+
Z(g),
|
|
2639
2696
|
JSON.stringify(A),
|
|
2640
2697
|
JSON.stringify(C)
|
|
2641
|
-
) :
|
|
2698
|
+
) : Ng(Z(g), JSON.stringify(A))
|
|
2642
2699
|
) ?? g;
|
|
2643
2700
|
}
|
|
2644
|
-
function
|
|
2701
|
+
function Ei(g, A) {
|
|
2645
2702
|
return l(
|
|
2646
|
-
|
|
2703
|
+
wg(Z(g), A)
|
|
2647
2704
|
) ?? g;
|
|
2648
2705
|
}
|
|
2649
|
-
function
|
|
2706
|
+
function Di(g, A = {}) {
|
|
2650
2707
|
return l(
|
|
2651
|
-
|
|
2708
|
+
ig(Z(g), JSON.stringify(A))
|
|
2652
2709
|
) ?? g;
|
|
2653
2710
|
}
|
|
2654
|
-
function
|
|
2711
|
+
function wi(g, A, C = "and") {
|
|
2655
2712
|
return l(
|
|
2656
|
-
|
|
2713
|
+
$A(Z(g), Z(A), C === "or")
|
|
2657
2714
|
) ?? g;
|
|
2658
2715
|
}
|
|
2659
|
-
function
|
|
2660
|
-
return l(
|
|
2716
|
+
function ii(g) {
|
|
2717
|
+
return l(og(Z(g))) ?? g;
|
|
2661
2718
|
}
|
|
2662
|
-
function
|
|
2719
|
+
function oi(g, ...A) {
|
|
2663
2720
|
if (p(g) !== "select")
|
|
2664
2721
|
return g;
|
|
2665
|
-
const C =
|
|
2666
|
-
return
|
|
2722
|
+
const C = O(g);
|
|
2723
|
+
return z("select", {
|
|
2667
2724
|
...C,
|
|
2668
2725
|
expressions: [...C.expressions, ...A]
|
|
2669
2726
|
});
|
|
2670
2727
|
}
|
|
2671
|
-
function
|
|
2728
|
+
function Mi(g, A) {
|
|
2672
2729
|
if (p(g) !== "select")
|
|
2673
2730
|
return g;
|
|
2674
|
-
const C =
|
|
2675
|
-
return
|
|
2731
|
+
const C = O(g);
|
|
2732
|
+
return z("select", {
|
|
2676
2733
|
...C,
|
|
2677
2734
|
expressions: C.expressions.filter((B) => !A(B))
|
|
2678
2735
|
});
|
|
2679
2736
|
}
|
|
2680
|
-
function
|
|
2737
|
+
function Ni(g, A) {
|
|
2681
2738
|
if (typeof A == "number")
|
|
2682
|
-
return l(
|
|
2739
|
+
return l(Kg(Z(g), A)) ?? g;
|
|
2683
2740
|
if (p(g) !== "select")
|
|
2684
2741
|
return g;
|
|
2685
|
-
const C =
|
|
2686
|
-
return
|
|
2742
|
+
const C = O(g);
|
|
2743
|
+
return z("select", {
|
|
2687
2744
|
...C,
|
|
2688
2745
|
limit: { this: A }
|
|
2689
2746
|
});
|
|
2690
2747
|
}
|
|
2691
|
-
function
|
|
2748
|
+
function ki(g, A) {
|
|
2692
2749
|
if (p(g) !== "select")
|
|
2693
2750
|
return g;
|
|
2694
|
-
const C =
|
|
2695
|
-
return
|
|
2751
|
+
const C = O(g), B = typeof A == "number" ? z("literal", { literal_type: "number", value: String(A) }) : A;
|
|
2752
|
+
return z("select", {
|
|
2696
2753
|
...C,
|
|
2697
2754
|
offset: { this: B }
|
|
2698
2755
|
});
|
|
2699
2756
|
}
|
|
2700
|
-
function
|
|
2757
|
+
function yi(g) {
|
|
2701
2758
|
if (p(g) !== "select")
|
|
2702
2759
|
return g;
|
|
2703
|
-
const A =
|
|
2704
|
-
return
|
|
2760
|
+
const A = O(g);
|
|
2761
|
+
return z("select", {
|
|
2705
2762
|
...A,
|
|
2706
2763
|
limit: null,
|
|
2707
2764
|
offset: null
|
|
2708
2765
|
});
|
|
2709
2766
|
}
|
|
2710
|
-
function
|
|
2711
|
-
return l(
|
|
2767
|
+
function Ki(g, A = !0) {
|
|
2768
|
+
return l(yg(Z(g), A)) ?? g;
|
|
2712
2769
|
}
|
|
2713
|
-
function
|
|
2714
|
-
return
|
|
2770
|
+
function Gi(g) {
|
|
2771
|
+
return YA(g, {});
|
|
2715
2772
|
}
|
|
2716
|
-
function
|
|
2773
|
+
function ug(g, A, C) {
|
|
2717
2774
|
if (g == null) return g;
|
|
2718
2775
|
if (Array.isArray(g))
|
|
2719
|
-
return g.length > 0 &&
|
|
2720
|
-
if (
|
|
2721
|
-
return
|
|
2776
|
+
return g.length > 0 && V(g[0]) ? g.filter((B) => !A(B, C)).map((B) => FA(B, A)) : g;
|
|
2777
|
+
if (V(g))
|
|
2778
|
+
return FA(g, A);
|
|
2722
2779
|
if (typeof g == "object") {
|
|
2723
2780
|
const Q = { ...g };
|
|
2724
2781
|
let E = !1;
|
|
2725
2782
|
for (const [D, o] of Object.entries(Q)) {
|
|
2726
|
-
const k =
|
|
2783
|
+
const k = ug(o, A, C);
|
|
2727
2784
|
k !== o && (Q[D] = k, E = !0);
|
|
2728
2785
|
}
|
|
2729
2786
|
return E ? Q : g;
|
|
2730
2787
|
}
|
|
2731
2788
|
return g;
|
|
2732
2789
|
}
|
|
2733
|
-
function
|
|
2734
|
-
const C = p(g), Q = { ...
|
|
2790
|
+
function FA(g, A) {
|
|
2791
|
+
const C = p(g), Q = { ...O(g) };
|
|
2735
2792
|
for (const [E, D] of Object.entries(Q)) {
|
|
2736
|
-
const o =
|
|
2793
|
+
const o = ug(D, A, g);
|
|
2737
2794
|
o !== D && (Q[E] = o);
|
|
2738
2795
|
}
|
|
2739
|
-
return
|
|
2796
|
+
return z(C, Q);
|
|
2740
2797
|
}
|
|
2741
2798
|
function n(g) {
|
|
2742
2799
|
return JSON.stringify(g);
|
|
2743
2800
|
}
|
|
2744
|
-
function
|
|
2801
|
+
function bg(g, A, C) {
|
|
2745
2802
|
if (g != null) {
|
|
2746
2803
|
if (Array.isArray(g)) {
|
|
2747
|
-
if (g.length > 0 &&
|
|
2804
|
+
if (g.length > 0 && V(g[0]))
|
|
2748
2805
|
C.push({ key: A, value: g });
|
|
2749
2806
|
else if (g.length > 0 && Array.isArray(g[0])) {
|
|
2750
2807
|
for (const B of g)
|
|
2751
2808
|
if (Array.isArray(B))
|
|
2752
2809
|
for (const Q of B)
|
|
2753
|
-
|
|
2810
|
+
V(Q) && C.push({ key: A, value: Q });
|
|
2754
2811
|
}
|
|
2755
|
-
} else if (
|
|
2812
|
+
} else if (V(g))
|
|
2756
2813
|
C.push({ key: A, value: g });
|
|
2757
2814
|
else if (typeof g == "object")
|
|
2758
2815
|
for (const [, B] of Object.entries(
|
|
2759
2816
|
g
|
|
2760
2817
|
))
|
|
2761
|
-
|
|
2818
|
+
bg(B, A, C);
|
|
2762
2819
|
}
|
|
2763
2820
|
}
|
|
2764
|
-
function
|
|
2765
|
-
const A = [], C =
|
|
2821
|
+
function vg(g) {
|
|
2822
|
+
const A = [], C = O(g);
|
|
2766
2823
|
if (!C || typeof C != "object") return A;
|
|
2767
2824
|
for (const [B, Q] of Object.entries(C))
|
|
2768
|
-
|
|
2825
|
+
bg(Q, B, A);
|
|
2769
2826
|
return A;
|
|
2770
2827
|
}
|
|
2771
|
-
function
|
|
2828
|
+
function d(g, A, C = null, B = null, Q = null) {
|
|
2772
2829
|
A.enter && A.enter(g, C, B, Q);
|
|
2773
2830
|
const E = p(g), D = A[E];
|
|
2774
2831
|
D && D(g, C, B, Q);
|
|
2775
|
-
const o =
|
|
2832
|
+
const o = vg(g);
|
|
2776
2833
|
for (const k of o)
|
|
2777
2834
|
Array.isArray(k.value) ? k.value.forEach((K, y) => {
|
|
2778
|
-
|
|
2779
|
-
}) :
|
|
2835
|
+
d(K, A, g, k.key, y);
|
|
2836
|
+
}) : d(k.value, A, g, k.key, null);
|
|
2780
2837
|
A.leave && A.leave(g, C, B, Q);
|
|
2781
2838
|
}
|
|
2782
|
-
function
|
|
2839
|
+
function HA(g, A) {
|
|
2783
2840
|
const C = [];
|
|
2784
|
-
return
|
|
2841
|
+
return d(g, {
|
|
2785
2842
|
enter: (B, Q) => {
|
|
2786
2843
|
A(B, Q) && C.push(B);
|
|
2787
2844
|
}
|
|
2788
2845
|
}), C;
|
|
2789
2846
|
}
|
|
2790
|
-
function
|
|
2791
|
-
return
|
|
2847
|
+
function EA(g, A) {
|
|
2848
|
+
return HA(g, (C) => p(C) === A);
|
|
2792
2849
|
}
|
|
2793
|
-
function
|
|
2850
|
+
function Xg(g, A) {
|
|
2794
2851
|
let C, B = !1;
|
|
2795
|
-
return
|
|
2852
|
+
return d(g, {
|
|
2796
2853
|
enter: (Q, E) => {
|
|
2797
2854
|
!B && A(Q, E) && (C = Q, B = !0);
|
|
2798
2855
|
}
|
|
2799
2856
|
}), C;
|
|
2800
2857
|
}
|
|
2801
|
-
function
|
|
2802
|
-
return
|
|
2858
|
+
function Yi(g, A) {
|
|
2859
|
+
return Xg(g, A) !== void 0;
|
|
2803
2860
|
}
|
|
2804
|
-
function
|
|
2861
|
+
function Hi(g, A) {
|
|
2805
2862
|
let C = !0;
|
|
2806
|
-
return
|
|
2863
|
+
return d(g, {
|
|
2807
2864
|
enter: (B, Q) => {
|
|
2808
2865
|
A(B, Q) || (C = !1);
|
|
2809
2866
|
}
|
|
2810
2867
|
}), C;
|
|
2811
2868
|
}
|
|
2812
|
-
function
|
|
2813
|
-
return
|
|
2869
|
+
function hi(g, A) {
|
|
2870
|
+
return HA(g, A).length;
|
|
2814
2871
|
}
|
|
2815
|
-
function
|
|
2816
|
-
return
|
|
2872
|
+
function _g(g) {
|
|
2873
|
+
return EA(g, "column");
|
|
2817
2874
|
}
|
|
2818
|
-
function
|
|
2819
|
-
return
|
|
2875
|
+
function ci(g) {
|
|
2876
|
+
return EA(g, "table");
|
|
2820
2877
|
}
|
|
2821
|
-
function
|
|
2822
|
-
return
|
|
2878
|
+
function Si(g) {
|
|
2879
|
+
return EA(g, "identifier");
|
|
2823
2880
|
}
|
|
2824
|
-
function
|
|
2825
|
-
const A = JSON.parse(
|
|
2881
|
+
function Fi(g) {
|
|
2882
|
+
const A = JSON.parse(Ig(n(g)));
|
|
2826
2883
|
return A.success ? JSON.parse(A.ast) : [];
|
|
2827
2884
|
}
|
|
2828
|
-
function
|
|
2829
|
-
const A = JSON.parse(
|
|
2885
|
+
function CA(g) {
|
|
2886
|
+
const A = JSON.parse(Ag(n(g)));
|
|
2830
2887
|
return A.success ? JSON.parse(A.ast) : [];
|
|
2831
2888
|
}
|
|
2832
|
-
function
|
|
2833
|
-
const A = JSON.parse(
|
|
2889
|
+
function $g(g) {
|
|
2890
|
+
const A = JSON.parse(Eg(n(g)));
|
|
2834
2891
|
return A.success ? JSON.parse(A.ast) : [];
|
|
2835
2892
|
}
|
|
2836
|
-
function
|
|
2837
|
-
const A = JSON.parse(
|
|
2893
|
+
function AI(g) {
|
|
2894
|
+
const A = JSON.parse(Bg(n(g)));
|
|
2838
2895
|
return A.success ? JSON.parse(A.ast) : [];
|
|
2839
2896
|
}
|
|
2840
|
-
function
|
|
2841
|
-
const A = JSON.parse(
|
|
2897
|
+
function Ji(g) {
|
|
2898
|
+
const A = JSON.parse(Cg(n(g)));
|
|
2842
2899
|
return A.success ? JSON.parse(A.ast) : [];
|
|
2843
2900
|
}
|
|
2844
|
-
function
|
|
2845
|
-
const A = JSON.parse(
|
|
2901
|
+
function Li(g) {
|
|
2902
|
+
const A = JSON.parse(gg(n(g)));
|
|
2846
2903
|
return A.success ? A.result : [];
|
|
2847
2904
|
}
|
|
2848
|
-
function
|
|
2849
|
-
const A = JSON.parse(
|
|
2905
|
+
function Ri(g) {
|
|
2906
|
+
const A = JSON.parse(Qg(n(g)));
|
|
2850
2907
|
return A.success ? A.result : [];
|
|
2851
2908
|
}
|
|
2852
|
-
function
|
|
2853
|
-
return
|
|
2909
|
+
function gI(g) {
|
|
2910
|
+
return CA(g).length > 0;
|
|
2854
2911
|
}
|
|
2855
|
-
function
|
|
2856
|
-
return
|
|
2912
|
+
function Ui(g) {
|
|
2913
|
+
return $g(g).length > 0;
|
|
2857
2914
|
}
|
|
2858
|
-
function
|
|
2859
|
-
return
|
|
2915
|
+
function si(g) {
|
|
2916
|
+
return AI(g).length > 0;
|
|
2860
2917
|
}
|
|
2861
|
-
function
|
|
2918
|
+
function ai(g) {
|
|
2862
2919
|
let A = 0, C = 0;
|
|
2863
|
-
return
|
|
2920
|
+
return d(g, {
|
|
2864
2921
|
enter: () => {
|
|
2865
2922
|
C++, A = Math.max(A, C);
|
|
2866
2923
|
},
|
|
@@ -2869,22 +2926,22 @@ function Ni(g) {
|
|
|
2869
2926
|
}
|
|
2870
2927
|
}), A;
|
|
2871
2928
|
}
|
|
2872
|
-
function
|
|
2873
|
-
const A = JSON.parse(
|
|
2929
|
+
function qi(g) {
|
|
2930
|
+
const A = JSON.parse(Dg(n(g)));
|
|
2874
2931
|
return A.success ? A.result : 0;
|
|
2875
2932
|
}
|
|
2876
|
-
function
|
|
2933
|
+
function pi(g, A) {
|
|
2877
2934
|
let C = null;
|
|
2878
|
-
return
|
|
2935
|
+
return d(g, {
|
|
2879
2936
|
enter: (B, Q) => {
|
|
2880
2937
|
B === A && (C = Q);
|
|
2881
2938
|
}
|
|
2882
2939
|
}), C;
|
|
2883
2940
|
}
|
|
2884
|
-
function
|
|
2941
|
+
function Pi(g, A, C) {
|
|
2885
2942
|
const B = [];
|
|
2886
2943
|
let Q = null;
|
|
2887
|
-
return
|
|
2944
|
+
return d(g, {
|
|
2888
2945
|
enter: (E) => {
|
|
2889
2946
|
if (Q === null) {
|
|
2890
2947
|
if (E === A)
|
|
@@ -2903,9 +2960,9 @@ function Ki(g, A, C) {
|
|
|
2903
2960
|
}
|
|
2904
2961
|
}), Q;
|
|
2905
2962
|
}
|
|
2906
|
-
function
|
|
2963
|
+
function Ti(g, A) {
|
|
2907
2964
|
let C = 0, B = 0;
|
|
2908
|
-
return
|
|
2965
|
+
return d(g, {
|
|
2909
2966
|
enter: (Q) => {
|
|
2910
2967
|
B++, Q === A && (C = B);
|
|
2911
2968
|
},
|
|
@@ -2914,140 +2971,140 @@ function Gi(g, A) {
|
|
|
2914
2971
|
}
|
|
2915
2972
|
}), C;
|
|
2916
2973
|
}
|
|
2917
|
-
const
|
|
2974
|
+
const Oi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2918
2975
|
__proto__: null,
|
|
2919
|
-
addSelectColumns:
|
|
2920
|
-
addWhere:
|
|
2921
|
-
clone:
|
|
2922
|
-
countNodes:
|
|
2923
|
-
every:
|
|
2924
|
-
findAll:
|
|
2925
|
-
findAncestor:
|
|
2926
|
-
findByType:
|
|
2927
|
-
findFirst:
|
|
2928
|
-
getAggregateFunctions:
|
|
2929
|
-
getChildren:
|
|
2930
|
-
getColumnNames:
|
|
2931
|
-
getColumns:
|
|
2932
|
-
getDepth:
|
|
2933
|
-
getExprData:
|
|
2976
|
+
addSelectColumns: oi,
|
|
2977
|
+
addWhere: wi,
|
|
2978
|
+
clone: Gi,
|
|
2979
|
+
countNodes: hi,
|
|
2980
|
+
every: Hi,
|
|
2981
|
+
findAll: HA,
|
|
2982
|
+
findAncestor: Pi,
|
|
2983
|
+
findByType: EA,
|
|
2984
|
+
findFirst: Xg,
|
|
2985
|
+
getAggregateFunctions: CA,
|
|
2986
|
+
getChildren: vg,
|
|
2987
|
+
getColumnNames: Li,
|
|
2988
|
+
getColumns: _g,
|
|
2989
|
+
getDepth: ai,
|
|
2990
|
+
getExprData: O,
|
|
2934
2991
|
getExprType: p,
|
|
2935
|
-
getFunctions:
|
|
2936
|
-
getIdentifiers:
|
|
2937
|
-
getInferredType:
|
|
2938
|
-
getLiterals:
|
|
2939
|
-
getNodeDepth:
|
|
2940
|
-
getParent:
|
|
2941
|
-
getSubqueries:
|
|
2942
|
-
getTableNames:
|
|
2943
|
-
getTables:
|
|
2944
|
-
getWindowFunctions:
|
|
2945
|
-
hasAggregates:
|
|
2946
|
-
hasSubqueries:
|
|
2947
|
-
hasWindowFunctions:
|
|
2948
|
-
isAdd:
|
|
2949
|
-
isAggregateFunction:
|
|
2950
|
-
isAlias:
|
|
2951
|
-
isAlterTable:
|
|
2952
|
-
isAnd:
|
|
2953
|
-
isArithmetic:
|
|
2954
|
-
isAvg:
|
|
2955
|
-
isBetween:
|
|
2956
|
-
isBoolean:
|
|
2957
|
-
isCase:
|
|
2958
|
-
isCast:
|
|
2959
|
-
isCoalesce:
|
|
2960
|
-
isColumn:
|
|
2961
|
-
isComparison:
|
|
2962
|
-
isConcat:
|
|
2963
|
-
isCount:
|
|
2964
|
-
isCreateIndex:
|
|
2965
|
-
isCreateTable:
|
|
2966
|
-
isCreateView:
|
|
2967
|
-
isCte:
|
|
2968
|
-
isDDL:
|
|
2969
|
-
isDelete:
|
|
2970
|
-
isDiv:
|
|
2971
|
-
isDropIndex:
|
|
2972
|
-
isDropTable:
|
|
2973
|
-
isDropView:
|
|
2974
|
-
isEq:
|
|
2975
|
-
isExcept:
|
|
2976
|
-
isExists:
|
|
2977
|
-
isExpressionValue:
|
|
2978
|
-
isFrom:
|
|
2979
|
-
isFunction:
|
|
2980
|
-
isGroupBy:
|
|
2981
|
-
isGt:
|
|
2982
|
-
isGte:
|
|
2983
|
-
isHaving:
|
|
2984
|
-
isILike:
|
|
2985
|
-
isIdentifier:
|
|
2986
|
-
isIn:
|
|
2987
|
-
isInsert:
|
|
2988
|
-
isIntersect:
|
|
2989
|
-
isIsNull:
|
|
2990
|
-
isJoin:
|
|
2991
|
-
isLike:
|
|
2992
|
-
isLimit:
|
|
2992
|
+
getFunctions: Fi,
|
|
2993
|
+
getIdentifiers: Si,
|
|
2994
|
+
getInferredType: eg,
|
|
2995
|
+
getLiterals: Ji,
|
|
2996
|
+
getNodeDepth: Ti,
|
|
2997
|
+
getParent: pi,
|
|
2998
|
+
getSubqueries: AI,
|
|
2999
|
+
getTableNames: Ri,
|
|
3000
|
+
getTables: ci,
|
|
3001
|
+
getWindowFunctions: $g,
|
|
3002
|
+
hasAggregates: gI,
|
|
3003
|
+
hasSubqueries: si,
|
|
3004
|
+
hasWindowFunctions: Ui,
|
|
3005
|
+
isAdd: iw,
|
|
3006
|
+
isAggregateFunction: hw,
|
|
3007
|
+
isAlias: Ww,
|
|
3008
|
+
isAlterTable: mw,
|
|
3009
|
+
isAnd: _D,
|
|
3010
|
+
isArithmetic: gi,
|
|
3011
|
+
isAvg: Jw,
|
|
3012
|
+
isBetween: Gw,
|
|
3013
|
+
isBoolean: vD,
|
|
3014
|
+
isCase: Pw,
|
|
3015
|
+
isCast: aw,
|
|
3016
|
+
isCoalesce: Uw,
|
|
3017
|
+
isColumn: Wg,
|
|
3018
|
+
isComparison: Ai,
|
|
3019
|
+
isConcat: yw,
|
|
3020
|
+
isCount: Sw,
|
|
3021
|
+
isCreateIndex: uw,
|
|
3022
|
+
isCreateTable: nw,
|
|
3023
|
+
isCreateView: vw,
|
|
3024
|
+
isCte: xw,
|
|
3025
|
+
isDDL: Ci,
|
|
3026
|
+
isDelete: WD,
|
|
3027
|
+
isDiv: Nw,
|
|
3028
|
+
isDropIndex: bw,
|
|
3029
|
+
isDropTable: rw,
|
|
3030
|
+
isDropView: Xw,
|
|
3031
|
+
isEq: gw,
|
|
3032
|
+
isExcept: nD,
|
|
3033
|
+
isExists: Hw,
|
|
3034
|
+
isExpressionValue: V,
|
|
3035
|
+
isFrom: Tw,
|
|
3036
|
+
isFunction: lg,
|
|
3037
|
+
isGroupBy: tw,
|
|
3038
|
+
isGt: Qw,
|
|
3039
|
+
isGte: Ew,
|
|
3040
|
+
isHaving: fw,
|
|
3041
|
+
isILike: ww,
|
|
3042
|
+
isIdentifier: mD,
|
|
3043
|
+
isIn: Kw,
|
|
3044
|
+
isInsert: eD,
|
|
3045
|
+
isIntersect: lD,
|
|
3046
|
+
isIsNull: Yw,
|
|
3047
|
+
isJoin: Ow,
|
|
3048
|
+
isLike: Dw,
|
|
3049
|
+
isLimit: zw,
|
|
2993
3050
|
isLiteral: Vg,
|
|
2994
|
-
isLogical:
|
|
2995
|
-
isLt:
|
|
2996
|
-
isLte:
|
|
2997
|
-
isMax:
|
|
2998
|
-
isMin:
|
|
2999
|
-
isMod:
|
|
3000
|
-
isMul:
|
|
3001
|
-
isNeq:
|
|
3002
|
-
isNot:
|
|
3003
|
-
isNullIf:
|
|
3004
|
-
isNullLiteral:
|
|
3005
|
-
isOffset:
|
|
3006
|
-
isOr:
|
|
3007
|
-
isOrderBy:
|
|
3008
|
-
isOrdered:
|
|
3009
|
-
isParen:
|
|
3010
|
-
isQuery:
|
|
3011
|
-
isSafeCast:
|
|
3012
|
-
isSelect:
|
|
3013
|
-
isSetOperation:
|
|
3014
|
-
isStar:
|
|
3015
|
-
isSub:
|
|
3016
|
-
isSubquery:
|
|
3017
|
-
isSum:
|
|
3018
|
-
isTable:
|
|
3019
|
-
isTryCast:
|
|
3020
|
-
isUnion:
|
|
3021
|
-
isUpdate:
|
|
3022
|
-
isWhere:
|
|
3023
|
-
isWindowFunction:
|
|
3024
|
-
isWith:
|
|
3025
|
-
makeExpr:
|
|
3026
|
-
nodeCount:
|
|
3027
|
-
qualifyColumns:
|
|
3028
|
-
qualifyTables:
|
|
3029
|
-
remove:
|
|
3030
|
-
removeLimitOffset:
|
|
3031
|
-
removeSelectColumns:
|
|
3032
|
-
removeWhere:
|
|
3033
|
-
renameColumns:
|
|
3034
|
-
renameTables:
|
|
3035
|
-
replaceByType:
|
|
3036
|
-
replaceNodes:
|
|
3037
|
-
setDistinct:
|
|
3038
|
-
setLimit:
|
|
3039
|
-
setOffset:
|
|
3040
|
-
some:
|
|
3041
|
-
transform:
|
|
3042
|
-
walk:
|
|
3051
|
+
isLogical: Ii,
|
|
3052
|
+
isLt: Cw,
|
|
3053
|
+
isLte: Bw,
|
|
3054
|
+
isMax: Rw,
|
|
3055
|
+
isMin: Lw,
|
|
3056
|
+
isMod: kw,
|
|
3057
|
+
isMul: Mw,
|
|
3058
|
+
isNeq: Iw,
|
|
3059
|
+
isNot: Aw,
|
|
3060
|
+
isNullIf: sw,
|
|
3061
|
+
isNullLiteral: XD,
|
|
3062
|
+
isOffset: Zw,
|
|
3063
|
+
isOr: $D,
|
|
3064
|
+
isOrderBy: dw,
|
|
3065
|
+
isOrdered: lw,
|
|
3066
|
+
isParen: Vw,
|
|
3067
|
+
isQuery: _w,
|
|
3068
|
+
isSafeCast: pw,
|
|
3069
|
+
isSelect: xg,
|
|
3070
|
+
isSetOperation: $w,
|
|
3071
|
+
isStar: bD,
|
|
3072
|
+
isSub: ow,
|
|
3073
|
+
isSubquery: rD,
|
|
3074
|
+
isSum: Fw,
|
|
3075
|
+
isTable: uD,
|
|
3076
|
+
isTryCast: qw,
|
|
3077
|
+
isUnion: VD,
|
|
3078
|
+
isUpdate: xD,
|
|
3079
|
+
isWhere: jw,
|
|
3080
|
+
isWindowFunction: cw,
|
|
3081
|
+
isWith: ew,
|
|
3082
|
+
makeExpr: z,
|
|
3083
|
+
nodeCount: qi,
|
|
3084
|
+
qualifyColumns: Ei,
|
|
3085
|
+
qualifyTables: Di,
|
|
3086
|
+
remove: FA,
|
|
3087
|
+
removeLimitOffset: yi,
|
|
3088
|
+
removeSelectColumns: Mi,
|
|
3089
|
+
removeWhere: ii,
|
|
3090
|
+
renameColumns: mg,
|
|
3091
|
+
renameTables: Qi,
|
|
3092
|
+
replaceByType: Bi,
|
|
3093
|
+
replaceNodes: rg,
|
|
3094
|
+
setDistinct: Ki,
|
|
3095
|
+
setLimit: Ni,
|
|
3096
|
+
setOffset: ki,
|
|
3097
|
+
some: Yi,
|
|
3098
|
+
transform: YA,
|
|
3099
|
+
walk: d
|
|
3043
3100
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
3044
|
-
function
|
|
3045
|
-
return g instanceof S ? g._w : typeof g == "string" ?
|
|
3101
|
+
function L(g) {
|
|
3102
|
+
return g instanceof S ? g._w : typeof g == "string" ? JA(g) : typeof g == "number" || typeof g == "boolean" || g === null ? yA(g) : KA();
|
|
3046
3103
|
}
|
|
3047
|
-
function
|
|
3048
|
-
const A = new
|
|
3104
|
+
function f(g) {
|
|
3105
|
+
const A = new P();
|
|
3049
3106
|
for (const C of g)
|
|
3050
|
-
C instanceof S ? A.push(C._w) : typeof C == "string" ? A.push_col(C) : typeof C == "number" ? Number.isInteger(C) ? A.push_int(C) : A.push_float(C) : typeof C == "boolean" || C === null ? A.push(
|
|
3107
|
+
C instanceof S ? A.push(C._w) : typeof C == "string" ? A.push_col(C) : typeof C == "number" ? Number.isInteger(C) ? A.push_int(C) : A.push_float(C) : typeof C == "boolean" || C === null ? A.push(yA(C)) : A.push(KA());
|
|
3051
3108
|
return A;
|
|
3052
3109
|
}
|
|
3053
3110
|
class S {
|
|
@@ -3059,58 +3116,58 @@ class S {
|
|
|
3059
3116
|
}
|
|
3060
3117
|
// -- Comparison --
|
|
3061
3118
|
eq(A) {
|
|
3062
|
-
return new S(this._w.eq(
|
|
3119
|
+
return new S(this._w.eq(L(A)));
|
|
3063
3120
|
}
|
|
3064
3121
|
neq(A) {
|
|
3065
|
-
return new S(this._w.neq(
|
|
3122
|
+
return new S(this._w.neq(L(A)));
|
|
3066
3123
|
}
|
|
3067
3124
|
lt(A) {
|
|
3068
|
-
return new S(this._w.lt(
|
|
3125
|
+
return new S(this._w.lt(L(A)));
|
|
3069
3126
|
}
|
|
3070
3127
|
lte(A) {
|
|
3071
|
-
return new S(this._w.lte(
|
|
3128
|
+
return new S(this._w.lte(L(A)));
|
|
3072
3129
|
}
|
|
3073
3130
|
gt(A) {
|
|
3074
|
-
return new S(this._w.gt(
|
|
3131
|
+
return new S(this._w.gt(L(A)));
|
|
3075
3132
|
}
|
|
3076
3133
|
gte(A) {
|
|
3077
|
-
return new S(this._w.gte(
|
|
3134
|
+
return new S(this._w.gte(L(A)));
|
|
3078
3135
|
}
|
|
3079
3136
|
// -- Logical --
|
|
3080
3137
|
and(A) {
|
|
3081
|
-
return new S(this._w.and(
|
|
3138
|
+
return new S(this._w.and(L(A)));
|
|
3082
3139
|
}
|
|
3083
3140
|
or(A) {
|
|
3084
|
-
return new S(this._w.or(
|
|
3141
|
+
return new S(this._w.or(L(A)));
|
|
3085
3142
|
}
|
|
3086
3143
|
not() {
|
|
3087
3144
|
return new S(this._w.not());
|
|
3088
3145
|
}
|
|
3089
3146
|
xor(A) {
|
|
3090
|
-
return new S(this._w.xor(
|
|
3147
|
+
return new S(this._w.xor(L(A)));
|
|
3091
3148
|
}
|
|
3092
3149
|
// -- Arithmetic --
|
|
3093
3150
|
add(A) {
|
|
3094
|
-
return new S(this._w.add(
|
|
3151
|
+
return new S(this._w.add(L(A)));
|
|
3095
3152
|
}
|
|
3096
3153
|
sub(A) {
|
|
3097
|
-
return new S(this._w.sub(
|
|
3154
|
+
return new S(this._w.sub(L(A)));
|
|
3098
3155
|
}
|
|
3099
3156
|
mul(A) {
|
|
3100
|
-
return new S(this._w.mul(
|
|
3157
|
+
return new S(this._w.mul(L(A)));
|
|
3101
3158
|
}
|
|
3102
3159
|
div(A) {
|
|
3103
|
-
return new S(this._w.div(
|
|
3160
|
+
return new S(this._w.div(L(A)));
|
|
3104
3161
|
}
|
|
3105
3162
|
// -- Pattern matching --
|
|
3106
3163
|
like(A) {
|
|
3107
|
-
return new S(this._w.like(
|
|
3164
|
+
return new S(this._w.like(L(A)));
|
|
3108
3165
|
}
|
|
3109
3166
|
ilike(A) {
|
|
3110
|
-
return new S(this._w.ilike(
|
|
3167
|
+
return new S(this._w.ilike(L(A)));
|
|
3111
3168
|
}
|
|
3112
3169
|
rlike(A) {
|
|
3113
|
-
return new S(this._w.rlike(
|
|
3170
|
+
return new S(this._w.rlike(L(A)));
|
|
3114
3171
|
}
|
|
3115
3172
|
// -- Predicates --
|
|
3116
3173
|
isNull() {
|
|
@@ -3120,13 +3177,13 @@ class S {
|
|
|
3120
3177
|
return new S(this._w.is_not_null());
|
|
3121
3178
|
}
|
|
3122
3179
|
between(A, C) {
|
|
3123
|
-
return new S(this._w.between(
|
|
3180
|
+
return new S(this._w.between(L(A), L(C)));
|
|
3124
3181
|
}
|
|
3125
3182
|
inList(...A) {
|
|
3126
|
-
return new S(this._w.in_list(
|
|
3183
|
+
return new S(this._w.in_list(f(A)));
|
|
3127
3184
|
}
|
|
3128
3185
|
notIn(...A) {
|
|
3129
|
-
return new S(this._w.not_in(
|
|
3186
|
+
return new S(this._w.not_in(f(A)));
|
|
3130
3187
|
}
|
|
3131
3188
|
// -- Transform --
|
|
3132
3189
|
alias(A) {
|
|
@@ -3158,206 +3215,206 @@ class S {
|
|
|
3158
3215
|
this._w.free();
|
|
3159
3216
|
}
|
|
3160
3217
|
}
|
|
3161
|
-
class
|
|
3218
|
+
class ji {
|
|
3162
3219
|
/** @internal WASM handle */
|
|
3163
3220
|
_w;
|
|
3164
3221
|
constructor() {
|
|
3165
|
-
this._w = new
|
|
3222
|
+
this._w = new QA();
|
|
3166
3223
|
}
|
|
3167
3224
|
/** Set the PARTITION BY expressions. */
|
|
3168
3225
|
partitionBy(...A) {
|
|
3169
|
-
return this._w.partition_by(
|
|
3226
|
+
return this._w.partition_by(f(A)), this;
|
|
3170
3227
|
}
|
|
3171
3228
|
/** Set the ORDER BY expressions. */
|
|
3172
3229
|
orderBy(...A) {
|
|
3173
|
-
return this._w.order_by(
|
|
3230
|
+
return this._w.order_by(f(A)), this;
|
|
3174
3231
|
}
|
|
3175
3232
|
/** Free the underlying WASM handle. */
|
|
3176
3233
|
free() {
|
|
3177
3234
|
this._w.free();
|
|
3178
3235
|
}
|
|
3179
3236
|
}
|
|
3180
|
-
function
|
|
3181
|
-
return new S(
|
|
3237
|
+
function ti(g) {
|
|
3238
|
+
return new S(JA(g));
|
|
3182
3239
|
}
|
|
3183
|
-
function
|
|
3184
|
-
return new S(
|
|
3240
|
+
function fi(g) {
|
|
3241
|
+
return new S(yA(g));
|
|
3185
3242
|
}
|
|
3186
|
-
function
|
|
3187
|
-
return new S(
|
|
3243
|
+
function II() {
|
|
3244
|
+
return new S(fg());
|
|
3188
3245
|
}
|
|
3189
|
-
function
|
|
3190
|
-
return new S(
|
|
3246
|
+
function di() {
|
|
3247
|
+
return new S(KA());
|
|
3191
3248
|
}
|
|
3192
3249
|
function RA(g) {
|
|
3193
|
-
return new S(
|
|
3250
|
+
return new S(sg(g));
|
|
3194
3251
|
}
|
|
3195
|
-
function
|
|
3196
|
-
return new S(
|
|
3252
|
+
function zi(g) {
|
|
3253
|
+
return new S(zg(g));
|
|
3197
3254
|
}
|
|
3198
|
-
function
|
|
3199
|
-
return new S(
|
|
3255
|
+
function CI(g) {
|
|
3256
|
+
return new S(tg(g));
|
|
3200
3257
|
}
|
|
3201
|
-
function
|
|
3202
|
-
return
|
|
3258
|
+
function Zi(g) {
|
|
3259
|
+
return CI(g);
|
|
3203
3260
|
}
|
|
3204
|
-
function
|
|
3205
|
-
return new S(
|
|
3261
|
+
function s(g, ...A) {
|
|
3262
|
+
return new S(Tg(g, f(A)));
|
|
3206
3263
|
}
|
|
3207
|
-
function
|
|
3208
|
-
return new S(
|
|
3264
|
+
function ei(g) {
|
|
3265
|
+
return new S(Og(L(g)));
|
|
3209
3266
|
}
|
|
3210
|
-
function
|
|
3211
|
-
return new S(
|
|
3267
|
+
function xi(g, A) {
|
|
3268
|
+
return new S(qg(L(g), A));
|
|
3212
3269
|
}
|
|
3213
|
-
function
|
|
3214
|
-
return new S(
|
|
3270
|
+
function Wi(g, A) {
|
|
3271
|
+
return new S(Rg(L(g), A));
|
|
3215
3272
|
}
|
|
3216
|
-
function
|
|
3217
|
-
return new S(
|
|
3273
|
+
function Vi(g, A) {
|
|
3274
|
+
return new S(dg(g._w, A));
|
|
3218
3275
|
}
|
|
3219
|
-
function
|
|
3276
|
+
function li(...g) {
|
|
3220
3277
|
if (g.length === 0) return RA(!0);
|
|
3221
3278
|
if (g.length === 1)
|
|
3222
|
-
return g[0] instanceof S ? g[0] : new S(
|
|
3223
|
-
let A =
|
|
3279
|
+
return g[0] instanceof S ? g[0] : new S(L(g[0]));
|
|
3280
|
+
let A = L(g[0]);
|
|
3224
3281
|
for (let C = 1; C < g.length; C++)
|
|
3225
|
-
A = Ug(A,
|
|
3282
|
+
A = Ug(A, L(g[C]));
|
|
3226
3283
|
return new S(A);
|
|
3227
3284
|
}
|
|
3228
|
-
function
|
|
3285
|
+
function ni(...g) {
|
|
3229
3286
|
if (g.length === 0) return RA(!1);
|
|
3230
3287
|
if (g.length === 1)
|
|
3231
|
-
return g[0] instanceof S ? g[0] : new S(
|
|
3232
|
-
let A =
|
|
3288
|
+
return g[0] instanceof S ? g[0] : new S(L(g[0]));
|
|
3289
|
+
let A = L(g[0]);
|
|
3233
3290
|
for (let C = 1; C < g.length; C++)
|
|
3234
|
-
A =
|
|
3291
|
+
A = jg(A, L(g[C]));
|
|
3235
3292
|
return new S(A);
|
|
3236
3293
|
}
|
|
3237
|
-
function
|
|
3238
|
-
return g !== void 0 ?
|
|
3294
|
+
function ri(g) {
|
|
3295
|
+
return g !== void 0 ? s("COUNT", g) : s("COUNT", II());
|
|
3239
3296
|
}
|
|
3240
|
-
function
|
|
3241
|
-
return new S(
|
|
3297
|
+
function mi(g) {
|
|
3298
|
+
return new S(pg(L(g)));
|
|
3242
3299
|
}
|
|
3243
|
-
function
|
|
3244
|
-
return
|
|
3300
|
+
function ui(g) {
|
|
3301
|
+
return s("SUM", g);
|
|
3245
3302
|
}
|
|
3246
|
-
function
|
|
3247
|
-
return
|
|
3303
|
+
function bi(g) {
|
|
3304
|
+
return s("AVG", g);
|
|
3248
3305
|
}
|
|
3249
|
-
function
|
|
3250
|
-
return
|
|
3306
|
+
function vi(g) {
|
|
3307
|
+
return s("MIN", g);
|
|
3251
3308
|
}
|
|
3252
|
-
function
|
|
3253
|
-
return
|
|
3309
|
+
function Xi(g) {
|
|
3310
|
+
return s("MAX", g);
|
|
3254
3311
|
}
|
|
3255
|
-
function
|
|
3256
|
-
return
|
|
3312
|
+
function _i(g) {
|
|
3313
|
+
return s("UPPER", g);
|
|
3257
3314
|
}
|
|
3258
|
-
function
|
|
3259
|
-
return
|
|
3315
|
+
function $i(g) {
|
|
3316
|
+
return s("LOWER", g);
|
|
3260
3317
|
}
|
|
3261
|
-
function
|
|
3262
|
-
return
|
|
3318
|
+
function Ao(g) {
|
|
3319
|
+
return s("LENGTH", g);
|
|
3263
3320
|
}
|
|
3264
|
-
function
|
|
3265
|
-
return
|
|
3321
|
+
function go(g) {
|
|
3322
|
+
return s("TRIM", g);
|
|
3266
3323
|
}
|
|
3267
|
-
function
|
|
3268
|
-
return
|
|
3324
|
+
function Io(g) {
|
|
3325
|
+
return s("LTRIM", g);
|
|
3269
3326
|
}
|
|
3270
|
-
function
|
|
3271
|
-
return
|
|
3327
|
+
function Co(g) {
|
|
3328
|
+
return s("RTRIM", g);
|
|
3272
3329
|
}
|
|
3273
|
-
function
|
|
3274
|
-
return
|
|
3330
|
+
function Bo(g) {
|
|
3331
|
+
return s("REVERSE", g);
|
|
3275
3332
|
}
|
|
3276
|
-
function
|
|
3277
|
-
return
|
|
3333
|
+
function Qo(g) {
|
|
3334
|
+
return s("INITCAP", g);
|
|
3278
3335
|
}
|
|
3279
|
-
function
|
|
3280
|
-
return C !== void 0 ?
|
|
3336
|
+
function Eo(g, A, C) {
|
|
3337
|
+
return C !== void 0 ? s("SUBSTRING", g, A, C) : s("SUBSTRING", g, A);
|
|
3281
3338
|
}
|
|
3282
|
-
function
|
|
3283
|
-
return
|
|
3339
|
+
function Do(g, A, C) {
|
|
3340
|
+
return s("REPLACE", g, A, C);
|
|
3284
3341
|
}
|
|
3285
|
-
function
|
|
3286
|
-
return
|
|
3342
|
+
function wo(g, ...A) {
|
|
3343
|
+
return s("CONCAT_WS", g, ...A);
|
|
3287
3344
|
}
|
|
3288
|
-
function
|
|
3289
|
-
return
|
|
3345
|
+
function io(...g) {
|
|
3346
|
+
return s("COALESCE", ...g);
|
|
3290
3347
|
}
|
|
3291
|
-
function
|
|
3292
|
-
return
|
|
3348
|
+
function oo(g, A) {
|
|
3349
|
+
return s("NULLIF", g, A);
|
|
3293
3350
|
}
|
|
3294
|
-
function
|
|
3295
|
-
return
|
|
3351
|
+
function Mo(g, A) {
|
|
3352
|
+
return s("IFNULL", g, A);
|
|
3296
3353
|
}
|
|
3297
|
-
function
|
|
3298
|
-
return
|
|
3354
|
+
function No(g) {
|
|
3355
|
+
return s("ABS", g);
|
|
3299
3356
|
}
|
|
3300
|
-
function
|
|
3301
|
-
return A !== void 0 ?
|
|
3357
|
+
function ko(g, A) {
|
|
3358
|
+
return A !== void 0 ? s("ROUND", g, A) : s("ROUND", g);
|
|
3302
3359
|
}
|
|
3303
|
-
function
|
|
3304
|
-
return
|
|
3360
|
+
function yo(g) {
|
|
3361
|
+
return s("FLOOR", g);
|
|
3305
3362
|
}
|
|
3306
|
-
function
|
|
3307
|
-
return
|
|
3363
|
+
function Ko(g) {
|
|
3364
|
+
return s("CEIL", g);
|
|
3308
3365
|
}
|
|
3309
|
-
function
|
|
3310
|
-
return
|
|
3366
|
+
function Go(g, A) {
|
|
3367
|
+
return s("POWER", g, A);
|
|
3311
3368
|
}
|
|
3312
|
-
function
|
|
3313
|
-
return
|
|
3369
|
+
function Yo(g) {
|
|
3370
|
+
return s("SQRT", g);
|
|
3314
3371
|
}
|
|
3315
|
-
function
|
|
3316
|
-
return
|
|
3372
|
+
function Ho(g) {
|
|
3373
|
+
return s("LN", g);
|
|
3317
3374
|
}
|
|
3318
|
-
function
|
|
3319
|
-
return
|
|
3375
|
+
function ho(g) {
|
|
3376
|
+
return s("EXP", g);
|
|
3320
3377
|
}
|
|
3321
|
-
function
|
|
3322
|
-
return
|
|
3378
|
+
function co(g) {
|
|
3379
|
+
return s("SIGN", g);
|
|
3323
3380
|
}
|
|
3324
|
-
function
|
|
3325
|
-
return
|
|
3381
|
+
function So(...g) {
|
|
3382
|
+
return s("GREATEST", ...g);
|
|
3326
3383
|
}
|
|
3327
|
-
function
|
|
3328
|
-
return
|
|
3384
|
+
function Fo(...g) {
|
|
3385
|
+
return s("LEAST", ...g);
|
|
3329
3386
|
}
|
|
3330
|
-
function
|
|
3331
|
-
return
|
|
3387
|
+
function Jo() {
|
|
3388
|
+
return s("CURRENT_DATE");
|
|
3332
3389
|
}
|
|
3333
|
-
function
|
|
3334
|
-
return
|
|
3390
|
+
function Lo() {
|
|
3391
|
+
return s("CURRENT_TIME");
|
|
3335
3392
|
}
|
|
3336
|
-
function
|
|
3337
|
-
return
|
|
3393
|
+
function Ro() {
|
|
3394
|
+
return s("CURRENT_TIMESTAMP");
|
|
3338
3395
|
}
|
|
3339
|
-
function
|
|
3340
|
-
return new S(
|
|
3396
|
+
function Uo(g, A) {
|
|
3397
|
+
return new S(Pg(g, L(A)));
|
|
3341
3398
|
}
|
|
3342
|
-
function
|
|
3343
|
-
return
|
|
3399
|
+
function so() {
|
|
3400
|
+
return s("ROW_NUMBER");
|
|
3344
3401
|
}
|
|
3345
|
-
function
|
|
3346
|
-
return
|
|
3402
|
+
function ao() {
|
|
3403
|
+
return s("RANK");
|
|
3347
3404
|
}
|
|
3348
|
-
function
|
|
3349
|
-
return
|
|
3405
|
+
function qo() {
|
|
3406
|
+
return s("DENSE_RANK");
|
|
3350
3407
|
}
|
|
3351
|
-
class
|
|
3408
|
+
class BI {
|
|
3352
3409
|
/** @internal */
|
|
3353
3410
|
_w;
|
|
3354
3411
|
constructor() {
|
|
3355
|
-
this._w = new
|
|
3412
|
+
this._w = new t();
|
|
3356
3413
|
}
|
|
3357
3414
|
/** Add columns to the SELECT list. Accepts Expr, strings (→ col), or '*'. */
|
|
3358
3415
|
select(...A) {
|
|
3359
3416
|
for (const C of A)
|
|
3360
|
-
C === "*" ? this._w.select_star() : C instanceof S ? this._w.select_expr(C._w) : typeof C == "string" ? this._w.select_col(C) : this._w.select_expr(
|
|
3417
|
+
C === "*" ? this._w.select_star() : C instanceof S ? this._w.select_expr(C._w) : typeof C == "string" ? this._w.select_col(C) : this._w.select_expr(L(C));
|
|
3361
3418
|
return this;
|
|
3362
3419
|
}
|
|
3363
3420
|
/** Set the FROM clause. */
|
|
@@ -3366,15 +3423,15 @@ class gI {
|
|
|
3366
3423
|
}
|
|
3367
3424
|
/** Add an INNER JOIN. */
|
|
3368
3425
|
join(A, C) {
|
|
3369
|
-
return this._w.join(A,
|
|
3426
|
+
return this._w.join(A, L(C)), this;
|
|
3370
3427
|
}
|
|
3371
3428
|
/** Add a LEFT JOIN. */
|
|
3372
3429
|
leftJoin(A, C) {
|
|
3373
|
-
return this._w.left_join(A,
|
|
3430
|
+
return this._w.left_join(A, L(C)), this;
|
|
3374
3431
|
}
|
|
3375
3432
|
/** Add a RIGHT JOIN. */
|
|
3376
3433
|
rightJoin(A, C) {
|
|
3377
|
-
return this._w.right_join(A,
|
|
3434
|
+
return this._w.right_join(A, L(C)), this;
|
|
3378
3435
|
}
|
|
3379
3436
|
/** Add a CROSS JOIN. */
|
|
3380
3437
|
crossJoin(A) {
|
|
@@ -3382,19 +3439,19 @@ class gI {
|
|
|
3382
3439
|
}
|
|
3383
3440
|
/** Set the WHERE clause. Accepts an Expr or a raw SQL string. */
|
|
3384
3441
|
where(A) {
|
|
3385
|
-
return typeof A == "string" ? this._w.where_sql(A) : A instanceof S ? this._w.where_expr(A._w) : this._w.where_expr(
|
|
3442
|
+
return typeof A == "string" ? this._w.where_sql(A) : A instanceof S ? this._w.where_expr(A._w) : this._w.where_expr(L(A)), this;
|
|
3386
3443
|
}
|
|
3387
3444
|
/** Set the GROUP BY clause. */
|
|
3388
3445
|
groupBy(...A) {
|
|
3389
|
-
return this._w.group_by_cols(
|
|
3446
|
+
return this._w.group_by_cols(f(A)), this;
|
|
3390
3447
|
}
|
|
3391
3448
|
/** Set the HAVING clause. */
|
|
3392
3449
|
having(A) {
|
|
3393
|
-
return this._w.having(
|
|
3450
|
+
return this._w.having(L(A)), this;
|
|
3394
3451
|
}
|
|
3395
3452
|
/** Set the ORDER BY clause. */
|
|
3396
3453
|
orderBy(...A) {
|
|
3397
|
-
return this._w.order_by_exprs(
|
|
3454
|
+
return this._w.order_by_exprs(f(A)), this;
|
|
3398
3455
|
}
|
|
3399
3456
|
/** Set the LIMIT. */
|
|
3400
3457
|
limit(A) {
|
|
@@ -3410,11 +3467,11 @@ class gI {
|
|
|
3410
3467
|
}
|
|
3411
3468
|
/** Set the QUALIFY clause (Snowflake/BigQuery/DuckDB). */
|
|
3412
3469
|
qualify(A) {
|
|
3413
|
-
return this._w.qualify(
|
|
3470
|
+
return this._w.qualify(L(A)), this;
|
|
3414
3471
|
}
|
|
3415
3472
|
/** Set the SORT BY clause (Hive/Spark — sorts within each partition). */
|
|
3416
3473
|
sortBy(...A) {
|
|
3417
|
-
return this._w.sort_by_exprs(
|
|
3474
|
+
return this._w.sort_by_exprs(f(A)), this;
|
|
3418
3475
|
}
|
|
3419
3476
|
/** Add a named WINDOW clause definition. */
|
|
3420
3477
|
window(A, C) {
|
|
@@ -3448,19 +3505,19 @@ class gI {
|
|
|
3448
3505
|
}
|
|
3449
3506
|
/** Combine with UNION. */
|
|
3450
3507
|
union(A) {
|
|
3451
|
-
return new
|
|
3508
|
+
return new $(this._w.union(A._w));
|
|
3452
3509
|
}
|
|
3453
3510
|
/** Combine with UNION ALL. */
|
|
3454
3511
|
unionAll(A) {
|
|
3455
|
-
return new
|
|
3512
|
+
return new $(this._w.union_all(A._w));
|
|
3456
3513
|
}
|
|
3457
3514
|
/** Combine with INTERSECT. */
|
|
3458
3515
|
intersect(A) {
|
|
3459
|
-
return new
|
|
3516
|
+
return new $(this._w.intersect(A._w));
|
|
3460
3517
|
}
|
|
3461
3518
|
/** Combine with EXCEPT. */
|
|
3462
3519
|
except(A) {
|
|
3463
|
-
return new
|
|
3520
|
+
return new $(this._w.except_(A._w));
|
|
3464
3521
|
}
|
|
3465
3522
|
/** Generate SQL string. Defaults to generic dialect. */
|
|
3466
3523
|
toSql(A = "generic") {
|
|
@@ -3475,15 +3532,15 @@ class gI {
|
|
|
3475
3532
|
this._w.free();
|
|
3476
3533
|
}
|
|
3477
3534
|
}
|
|
3478
|
-
function
|
|
3479
|
-
const A = new
|
|
3535
|
+
function po(...g) {
|
|
3536
|
+
const A = new BI();
|
|
3480
3537
|
return g.length > 0 && A.select(...g), A;
|
|
3481
3538
|
}
|
|
3482
|
-
class
|
|
3539
|
+
class QI {
|
|
3483
3540
|
/** @internal */
|
|
3484
3541
|
_w;
|
|
3485
3542
|
constructor(A) {
|
|
3486
|
-
this._w = new
|
|
3543
|
+
this._w = new MA(A);
|
|
3487
3544
|
}
|
|
3488
3545
|
/** Set the target column names. */
|
|
3489
3546
|
columns(...A) {
|
|
@@ -3491,7 +3548,7 @@ class II {
|
|
|
3491
3548
|
}
|
|
3492
3549
|
/** Append a row of values. Call multiple times for multiple rows. */
|
|
3493
3550
|
values(...A) {
|
|
3494
|
-
return this._w.values(
|
|
3551
|
+
return this._w.values(f(A)), this;
|
|
3495
3552
|
}
|
|
3496
3553
|
/** Set the source query for INSERT ... SELECT. */
|
|
3497
3554
|
query(A) {
|
|
@@ -3510,25 +3567,25 @@ class II {
|
|
|
3510
3567
|
this._w.free();
|
|
3511
3568
|
}
|
|
3512
3569
|
}
|
|
3513
|
-
function
|
|
3514
|
-
return new
|
|
3570
|
+
function EI(g) {
|
|
3571
|
+
return new QI(g);
|
|
3515
3572
|
}
|
|
3516
|
-
function
|
|
3517
|
-
return
|
|
3573
|
+
function Po(g) {
|
|
3574
|
+
return EI(g);
|
|
3518
3575
|
}
|
|
3519
|
-
class
|
|
3576
|
+
class DI {
|
|
3520
3577
|
/** @internal */
|
|
3521
3578
|
_w;
|
|
3522
3579
|
constructor(A) {
|
|
3523
|
-
this._w = new
|
|
3580
|
+
this._w = new kA(A);
|
|
3524
3581
|
}
|
|
3525
3582
|
/** Add a SET column = value assignment. */
|
|
3526
3583
|
set(A, C) {
|
|
3527
|
-
return this._w.set(A,
|
|
3584
|
+
return this._w.set(A, L(C)), this;
|
|
3528
3585
|
}
|
|
3529
3586
|
/** Set the WHERE clause. */
|
|
3530
3587
|
where(A) {
|
|
3531
|
-
return this._w.where_expr(
|
|
3588
|
+
return this._w.where_expr(L(A)), this;
|
|
3532
3589
|
}
|
|
3533
3590
|
/** Set the FROM clause (PostgreSQL/Snowflake UPDATE ... FROM). */
|
|
3534
3591
|
from(A) {
|
|
@@ -3547,18 +3604,18 @@ class BI {
|
|
|
3547
3604
|
this._w.free();
|
|
3548
3605
|
}
|
|
3549
3606
|
}
|
|
3550
|
-
function
|
|
3551
|
-
return new
|
|
3607
|
+
function To(g) {
|
|
3608
|
+
return new DI(g);
|
|
3552
3609
|
}
|
|
3553
|
-
class
|
|
3610
|
+
class wI {
|
|
3554
3611
|
/** @internal */
|
|
3555
3612
|
_w;
|
|
3556
3613
|
constructor(A) {
|
|
3557
|
-
this._w = new
|
|
3614
|
+
this._w = new oA(A);
|
|
3558
3615
|
}
|
|
3559
3616
|
/** Set the WHERE clause. */
|
|
3560
3617
|
where(A) {
|
|
3561
|
-
return this._w.where_expr(
|
|
3618
|
+
return this._w.where_expr(L(A)), this;
|
|
3562
3619
|
}
|
|
3563
3620
|
/** Generate SQL string. Defaults to generic dialect. */
|
|
3564
3621
|
toSql(A = "generic") {
|
|
@@ -3573,27 +3630,27 @@ class QI {
|
|
|
3573
3630
|
this._w.free();
|
|
3574
3631
|
}
|
|
3575
3632
|
}
|
|
3576
|
-
function
|
|
3577
|
-
return new
|
|
3633
|
+
function iI(g) {
|
|
3634
|
+
return new wI(g);
|
|
3578
3635
|
}
|
|
3579
|
-
function
|
|
3580
|
-
return
|
|
3636
|
+
function Oo(g) {
|
|
3637
|
+
return iI(g);
|
|
3581
3638
|
}
|
|
3582
|
-
class
|
|
3639
|
+
class oI {
|
|
3583
3640
|
/** @internal */
|
|
3584
3641
|
_w;
|
|
3585
3642
|
constructor(A) {
|
|
3586
|
-
this._w = new
|
|
3643
|
+
this._w = new NA(A);
|
|
3587
3644
|
}
|
|
3588
3645
|
/** Set the source table and ON condition. */
|
|
3589
3646
|
using(A, C) {
|
|
3590
|
-
return this._w.using(A,
|
|
3647
|
+
return this._w.using(A, L(C)), this;
|
|
3591
3648
|
}
|
|
3592
3649
|
/** Add a WHEN MATCHED THEN UPDATE SET clause. */
|
|
3593
3650
|
whenMatchedUpdate(A) {
|
|
3594
|
-
const C = new
|
|
3651
|
+
const C = new BA();
|
|
3595
3652
|
for (const [B, Q] of Object.entries(A))
|
|
3596
|
-
C.push(B,
|
|
3653
|
+
C.push(B, L(Q));
|
|
3597
3654
|
return this._w.when_matched_update(C), this;
|
|
3598
3655
|
}
|
|
3599
3656
|
/** Add a WHEN MATCHED THEN DELETE clause. */
|
|
@@ -3602,7 +3659,7 @@ class DI {
|
|
|
3602
3659
|
}
|
|
3603
3660
|
/** Add a WHEN NOT MATCHED THEN INSERT clause. */
|
|
3604
3661
|
whenNotMatchedInsert(A, C) {
|
|
3605
|
-
return this._w.when_not_matched_insert(A,
|
|
3662
|
+
return this._w.when_not_matched_insert(A, f(C)), this;
|
|
3606
3663
|
}
|
|
3607
3664
|
/** Generate SQL string. Defaults to generic dialect. */
|
|
3608
3665
|
toSql(A = "generic") {
|
|
@@ -3617,10 +3674,10 @@ class DI {
|
|
|
3617
3674
|
this._w.free();
|
|
3618
3675
|
}
|
|
3619
3676
|
}
|
|
3620
|
-
function
|
|
3621
|
-
return new
|
|
3677
|
+
function jo(g) {
|
|
3678
|
+
return new oI(g);
|
|
3622
3679
|
}
|
|
3623
|
-
class
|
|
3680
|
+
class UA {
|
|
3624
3681
|
/** @internal */
|
|
3625
3682
|
_w;
|
|
3626
3683
|
/** @internal */
|
|
@@ -3629,11 +3686,11 @@ class JA {
|
|
|
3629
3686
|
}
|
|
3630
3687
|
/** Add a WHEN condition THEN result branch. */
|
|
3631
3688
|
when(A, C) {
|
|
3632
|
-
return this._w.when(
|
|
3689
|
+
return this._w.when(L(A), L(C)), this;
|
|
3633
3690
|
}
|
|
3634
3691
|
/** Set the ELSE result. */
|
|
3635
3692
|
else_(A) {
|
|
3636
|
-
return this._w.else_(
|
|
3693
|
+
return this._w.else_(L(A)), this;
|
|
3637
3694
|
}
|
|
3638
3695
|
/** Build the CASE expression as an Expr. */
|
|
3639
3696
|
build() {
|
|
@@ -3644,13 +3701,13 @@ class JA {
|
|
|
3644
3701
|
return this._w.to_sql(A);
|
|
3645
3702
|
}
|
|
3646
3703
|
}
|
|
3647
|
-
function
|
|
3648
|
-
return new
|
|
3704
|
+
function to() {
|
|
3705
|
+
return new UA(new u());
|
|
3649
3706
|
}
|
|
3650
|
-
function
|
|
3651
|
-
return new
|
|
3707
|
+
function fo(g) {
|
|
3708
|
+
return new UA(ag(L(g)));
|
|
3652
3709
|
}
|
|
3653
|
-
class
|
|
3710
|
+
class $ {
|
|
3654
3711
|
/** @internal */
|
|
3655
3712
|
_w;
|
|
3656
3713
|
/** @internal */
|
|
@@ -3659,7 +3716,7 @@ class _ {
|
|
|
3659
3716
|
}
|
|
3660
3717
|
/** Set the ORDER BY clause. */
|
|
3661
3718
|
orderBy(...A) {
|
|
3662
|
-
return this._w.order_by_exprs(
|
|
3719
|
+
return this._w.order_by_exprs(f(A)), this;
|
|
3663
3720
|
}
|
|
3664
3721
|
/** Set the LIMIT. */
|
|
3665
3722
|
limit(A) {
|
|
@@ -3682,34 +3739,34 @@ class _ {
|
|
|
3682
3739
|
this._w.free();
|
|
3683
3740
|
}
|
|
3684
3741
|
}
|
|
3685
|
-
function
|
|
3742
|
+
function zo(g, A) {
|
|
3686
3743
|
return g.union(A);
|
|
3687
3744
|
}
|
|
3688
|
-
function
|
|
3745
|
+
function Zo(g, A) {
|
|
3689
3746
|
return g.unionAll(A);
|
|
3690
3747
|
}
|
|
3691
|
-
function
|
|
3748
|
+
function eo(g, A) {
|
|
3692
3749
|
return g.intersect(A);
|
|
3693
3750
|
}
|
|
3694
|
-
function
|
|
3751
|
+
function xo(g, A) {
|
|
3695
3752
|
return g.except(A);
|
|
3696
3753
|
}
|
|
3697
|
-
function
|
|
3698
|
-
const { deltaOnly: Q = !1, f: E = 0.6, t: D = 0.6 } = B, o =
|
|
3754
|
+
function MI(g, A, C = "generic", B = {}) {
|
|
3755
|
+
const { deltaOnly: Q = !1, f: E = 0.6, t: D = 0.6 } = B, o = Gg(g, A, C, Q, E, D);
|
|
3699
3756
|
return JSON.parse(o);
|
|
3700
3757
|
}
|
|
3701
|
-
function
|
|
3758
|
+
function NI(g) {
|
|
3702
3759
|
return g.some((A) => A.type !== "keep");
|
|
3703
3760
|
}
|
|
3704
|
-
function
|
|
3761
|
+
function kI(g) {
|
|
3705
3762
|
return g.filter((A) => A.type !== "keep");
|
|
3706
3763
|
}
|
|
3707
|
-
function
|
|
3708
|
-
const Q =
|
|
3764
|
+
function yI(g, A, C = "generic", B = !1) {
|
|
3765
|
+
const Q = Yg(A, g, C, B);
|
|
3709
3766
|
return JSON.parse(Q);
|
|
3710
3767
|
}
|
|
3711
|
-
function
|
|
3712
|
-
const E =
|
|
3768
|
+
function KI(g, A, C, B = "generic", Q = !1) {
|
|
3769
|
+
const E = Hg(
|
|
3713
3770
|
A,
|
|
3714
3771
|
g,
|
|
3715
3772
|
JSON.stringify(C),
|
|
@@ -3718,8 +3775,8 @@ function NI(g, A, C, B = "generic", Q = !1) {
|
|
|
3718
3775
|
);
|
|
3719
3776
|
return JSON.parse(E);
|
|
3720
3777
|
}
|
|
3721
|
-
function
|
|
3722
|
-
const B =
|
|
3778
|
+
function GI(g, A, C = "generic") {
|
|
3779
|
+
const B = Jg(A, g, C);
|
|
3723
3780
|
return JSON.parse(B);
|
|
3724
3781
|
}
|
|
3725
3782
|
function sA(g) {
|
|
@@ -3729,39 +3786,39 @@ function sA(g) {
|
|
|
3729
3786
|
...g
|
|
3730
3787
|
};
|
|
3731
3788
|
}
|
|
3732
|
-
function
|
|
3733
|
-
const C =
|
|
3789
|
+
function YI(g, A) {
|
|
3790
|
+
const C = hg(
|
|
3734
3791
|
g,
|
|
3735
3792
|
JSON.stringify(sA(A))
|
|
3736
3793
|
);
|
|
3737
3794
|
return JSON.parse(C);
|
|
3738
3795
|
}
|
|
3739
|
-
function
|
|
3740
|
-
const C =
|
|
3796
|
+
function HI(g, A) {
|
|
3797
|
+
const C = cg(
|
|
3741
3798
|
g,
|
|
3742
3799
|
JSON.stringify(sA(A))
|
|
3743
3800
|
);
|
|
3744
3801
|
return JSON.parse(C);
|
|
3745
3802
|
}
|
|
3746
|
-
function
|
|
3747
|
-
const C =
|
|
3803
|
+
function hI(g, A) {
|
|
3804
|
+
const C = Sg(
|
|
3748
3805
|
g,
|
|
3749
3806
|
JSON.stringify(sA(A))
|
|
3750
3807
|
);
|
|
3751
3808
|
return JSON.parse(C);
|
|
3752
3809
|
}
|
|
3753
|
-
function
|
|
3754
|
-
const C =
|
|
3810
|
+
function cI(g, A = "generic") {
|
|
3811
|
+
const C = Fg(g, A);
|
|
3755
3812
|
return JSON.parse(C);
|
|
3756
3813
|
}
|
|
3757
|
-
function
|
|
3814
|
+
function Wo(g, A) {
|
|
3758
3815
|
const C = [];
|
|
3759
|
-
return p(g) === "select" && C.push(...
|
|
3816
|
+
return p(g) === "select" && C.push(...Vo(g)), C;
|
|
3760
3817
|
}
|
|
3761
|
-
function
|
|
3762
|
-
const C = [], B =
|
|
3818
|
+
function Vo(g, A) {
|
|
3819
|
+
const C = [], B = EA(g, "star");
|
|
3763
3820
|
if (B.length > 0) {
|
|
3764
|
-
const D =
|
|
3821
|
+
const D = O(B[0])?.span;
|
|
3765
3822
|
C.push({
|
|
3766
3823
|
message: "SELECT * is discouraged; specify columns explicitly for better performance and maintainability",
|
|
3767
3824
|
severity: "warning",
|
|
@@ -3772,17 +3829,17 @@ function Jo(g, A) {
|
|
|
3772
3829
|
end: D?.end
|
|
3773
3830
|
});
|
|
3774
3831
|
}
|
|
3775
|
-
const Q =
|
|
3776
|
-
if (
|
|
3777
|
-
const E =
|
|
3832
|
+
const Q = O(g);
|
|
3833
|
+
if (gI(g) && !Q.group_by) {
|
|
3834
|
+
const E = CA(g), D = Q.expressions || [];
|
|
3778
3835
|
if (D.some((k) => {
|
|
3779
3836
|
const K = p(k);
|
|
3780
|
-
return K === "column" || K === "identifier" ?
|
|
3837
|
+
return K === "column" || K === "identifier" ? CA(k).length === 0 : !1;
|
|
3781
3838
|
}) && E.length > 0) {
|
|
3782
3839
|
const k = D.find((y) => {
|
|
3783
3840
|
const h = p(y);
|
|
3784
|
-
return h === "column" || h === "identifier" ?
|
|
3785
|
-
}), K = k ?
|
|
3841
|
+
return h === "column" || h === "identifier" ? CA(y).length === 0 : !1;
|
|
3842
|
+
}), K = k ? O(k)?.span : void 0;
|
|
3786
3843
|
C.push({
|
|
3787
3844
|
message: "Mixing aggregate functions with non-aggregated columns without GROUP BY may cause errors in strict SQL mode",
|
|
3788
3845
|
severity: "warning",
|
|
@@ -3799,7 +3856,7 @@ function Jo(g, A) {
|
|
|
3799
3856
|
severity: "warning",
|
|
3800
3857
|
code: "W003"
|
|
3801
3858
|
}), Q.limit && !Q.order_by) {
|
|
3802
|
-
const E = Q.limit, D = E ?
|
|
3859
|
+
const E = Q.limit, D = E ? O(E)?.span : void 0;
|
|
3803
3860
|
C.push({
|
|
3804
3861
|
message: "LIMIT without ORDER BY produces non-deterministic results",
|
|
3805
3862
|
severity: "warning",
|
|
@@ -3812,7 +3869,7 @@ function Jo(g, A) {
|
|
|
3812
3869
|
}
|
|
3813
3870
|
return C;
|
|
3814
3871
|
}
|
|
3815
|
-
function
|
|
3872
|
+
function lo(g) {
|
|
3816
3873
|
try {
|
|
3817
3874
|
return JSON.parse(g);
|
|
3818
3875
|
} catch {
|
|
@@ -3828,46 +3885,46 @@ function so(g) {
|
|
|
3828
3885
|
};
|
|
3829
3886
|
}
|
|
3830
3887
|
}
|
|
3831
|
-
function
|
|
3888
|
+
function no(g, A, C = "generic", B = {}) {
|
|
3832
3889
|
const Q = B.strict ?? A.strict ?? !0, E = {
|
|
3833
3890
|
check_types: B.checkTypes ?? !1,
|
|
3834
3891
|
check_references: B.checkReferences ?? !1,
|
|
3835
3892
|
strict: Q,
|
|
3836
3893
|
semantic: B.semantic ?? !1,
|
|
3837
3894
|
strict_syntax: B.strictSyntax ?? !1
|
|
3838
|
-
}, D =
|
|
3895
|
+
}, D = Lg(
|
|
3839
3896
|
g,
|
|
3840
3897
|
JSON.stringify(A),
|
|
3841
3898
|
C,
|
|
3842
3899
|
JSON.stringify(E)
|
|
3843
3900
|
);
|
|
3844
|
-
return
|
|
3901
|
+
return lo(D);
|
|
3845
3902
|
}
|
|
3846
|
-
const
|
|
3903
|
+
const ro = {
|
|
3847
3904
|
Error: "error",
|
|
3848
3905
|
Warning: "warning"
|
|
3849
|
-
},
|
|
3850
|
-
function
|
|
3906
|
+
}, _ = Zg;
|
|
3907
|
+
function _A(g) {
|
|
3851
3908
|
return typeof g == "string" ? JSON.parse(g) : g;
|
|
3852
3909
|
}
|
|
3853
|
-
function
|
|
3854
|
-
const B = C.strictSyntax ?
|
|
3910
|
+
function mo(g, A = "generic", C = {}) {
|
|
3911
|
+
const B = C.strictSyntax ? _.validate_with_options(
|
|
3855
3912
|
g,
|
|
3856
3913
|
A,
|
|
3857
3914
|
JSON.stringify({ strictSyntax: !0 })
|
|
3858
|
-
) :
|
|
3915
|
+
) : _.validate(g, A), Q = JSON.parse(B);
|
|
3859
3916
|
if (!Q.valid || !C.semantic)
|
|
3860
3917
|
return Q;
|
|
3861
|
-
const E = typeof
|
|
3862
|
-
|
|
3863
|
-
) :
|
|
3864
|
-
|
|
3918
|
+
const E = typeof _.parse_value == "function" ? _A(
|
|
3919
|
+
_.parse_value(g, A)
|
|
3920
|
+
) : _A(
|
|
3921
|
+
_.parse(g, A)
|
|
3865
3922
|
);
|
|
3866
3923
|
if (!E.success || !E.ast)
|
|
3867
3924
|
return Q;
|
|
3868
3925
|
const D = typeof E.ast == "string" ? JSON.parse(E.ast) : E.ast, o = [...Q.errors];
|
|
3869
3926
|
for (const K of D) {
|
|
3870
|
-
const y =
|
|
3927
|
+
const y = Wo(K);
|
|
3871
3928
|
o.push(...y);
|
|
3872
3929
|
}
|
|
3873
3930
|
return {
|
|
@@ -3876,118 +3933,192 @@ function po(g, A = "generic", C = {}) {
|
|
|
3876
3933
|
};
|
|
3877
3934
|
}
|
|
3878
3935
|
var aA = /* @__PURE__ */ ((g) => (g.Generic = "generic", g.PostgreSQL = "postgresql", g.MySQL = "mysql", g.BigQuery = "bigquery", g.Snowflake = "snowflake", g.DuckDB = "duckdb", g.SQLite = "sqlite", g.Hive = "hive", g.Spark = "spark", g.Trino = "trino", g.Presto = "presto", g.Redshift = "redshift", g.TSQL = "tsql", g.Oracle = "oracle", g.ClickHouse = "clickhouse", g.Databricks = "databricks", g.Athena = "athena", g.Teradata = "teradata", g.Doris = "doris", g.StarRocks = "starrocks", g.Materialize = "materialize", g.RisingWave = "risingwave", g.SingleStore = "singlestore", g.CockroachDB = "cockroachdb", g.TiDB = "tidb", g.Druid = "druid", g.Solr = "solr", g.Tableau = "tableau", g.Dune = "dune", g.Fabric = "fabric", g.Drill = "drill", g.Dremio = "dremio", g.Exasol = "exasol", g.DataFusion = "datafusion", g))(aA || {});
|
|
3879
|
-
const
|
|
3880
|
-
function
|
|
3936
|
+
const U = Zg;
|
|
3937
|
+
function b(g) {
|
|
3881
3938
|
return g instanceof Error && g.message ? g.message : typeof g == "string" ? g : String(g);
|
|
3882
3939
|
}
|
|
3883
3940
|
function qA(g, A) {
|
|
3884
3941
|
return {
|
|
3885
3942
|
success: !1,
|
|
3886
3943
|
sql: void 0,
|
|
3887
|
-
error: `WASM ${g} failed: ${
|
|
3944
|
+
error: `WASM ${g} failed: ${b(A)}`,
|
|
3888
3945
|
errorLine: void 0,
|
|
3889
3946
|
errorColumn: void 0
|
|
3890
3947
|
};
|
|
3891
3948
|
}
|
|
3892
|
-
function
|
|
3949
|
+
function uo(g, A) {
|
|
3893
3950
|
return {
|
|
3894
3951
|
success: !1,
|
|
3895
3952
|
ast: void 0,
|
|
3896
|
-
error: `WASM ${g} failed: ${
|
|
3953
|
+
error: `WASM ${g} failed: ${b(A)}`,
|
|
3954
|
+
errorLine: void 0,
|
|
3955
|
+
errorColumn: void 0
|
|
3956
|
+
};
|
|
3957
|
+
}
|
|
3958
|
+
function bo(g, A) {
|
|
3959
|
+
return {
|
|
3960
|
+
success: !1,
|
|
3961
|
+
dataType: void 0,
|
|
3962
|
+
error: `WASM ${g} failed: ${b(A)}`,
|
|
3897
3963
|
errorLine: void 0,
|
|
3898
3964
|
errorColumn: void 0
|
|
3899
3965
|
};
|
|
3900
3966
|
}
|
|
3901
|
-
function
|
|
3967
|
+
function vo(g, A) {
|
|
3968
|
+
return {
|
|
3969
|
+
success: !1,
|
|
3970
|
+
sql: void 0,
|
|
3971
|
+
error: `WASM ${g} failed: ${b(A)}`,
|
|
3972
|
+
errorLine: void 0,
|
|
3973
|
+
errorColumn: void 0
|
|
3974
|
+
};
|
|
3975
|
+
}
|
|
3976
|
+
function j(g) {
|
|
3902
3977
|
return typeof g == "string" ? JSON.parse(g) : g;
|
|
3903
3978
|
}
|
|
3904
|
-
|
|
3979
|
+
function Xo(g, A) {
|
|
3980
|
+
return {
|
|
3981
|
+
success: !1,
|
|
3982
|
+
analysis: void 0,
|
|
3983
|
+
error: `WASM ${g} failed: ${b(A)}`
|
|
3984
|
+
};
|
|
3985
|
+
}
|
|
3986
|
+
function SI(g = {}) {
|
|
3987
|
+
return typeof g == "string" ? { dialect: g } : {
|
|
3988
|
+
dialect: "generic",
|
|
3989
|
+
...g
|
|
3990
|
+
};
|
|
3991
|
+
}
|
|
3992
|
+
async function FI() {
|
|
3905
3993
|
return Promise.resolve();
|
|
3906
3994
|
}
|
|
3907
|
-
function
|
|
3995
|
+
function JI() {
|
|
3908
3996
|
return !0;
|
|
3909
3997
|
}
|
|
3910
3998
|
function pA(g, A, C, B) {
|
|
3911
3999
|
try {
|
|
3912
|
-
return B && Object.keys(B).length > 0 ? typeof
|
|
3913
|
-
|
|
3914
|
-
) : typeof
|
|
3915
|
-
|
|
4000
|
+
return B && Object.keys(B).length > 0 ? typeof U.transpile_with_options_value == "function" ? j(
|
|
4001
|
+
U.transpile_with_options_value(g, A, C, B)
|
|
4002
|
+
) : typeof U.transpile_with_options == "function" ? JSON.parse(
|
|
4003
|
+
U.transpile_with_options(g, A, C, JSON.stringify(B))
|
|
3916
4004
|
) : {
|
|
3917
4005
|
success: !1,
|
|
3918
4006
|
sql: void 0,
|
|
3919
4007
|
error: "WASM transpile options are not available in this build"
|
|
3920
|
-
} : typeof
|
|
3921
|
-
|
|
3922
|
-
) : JSON.parse(
|
|
4008
|
+
} : typeof U.transpile_value == "function" ? j(
|
|
4009
|
+
U.transpile_value(g, A, C)
|
|
4010
|
+
) : JSON.parse(U.transpile(g, A, C));
|
|
3923
4011
|
} catch (Q) {
|
|
3924
4012
|
return qA("transpile", Q);
|
|
3925
4013
|
}
|
|
3926
4014
|
}
|
|
3927
|
-
function
|
|
4015
|
+
function PA(g, A = "generic") {
|
|
3928
4016
|
try {
|
|
3929
|
-
if (typeof
|
|
3930
|
-
return
|
|
3931
|
-
const C = JSON.parse(
|
|
4017
|
+
if (typeof U.parse_value == "function")
|
|
4018
|
+
return j(U.parse_value(g, A));
|
|
4019
|
+
const C = JSON.parse(U.parse(g, A));
|
|
3932
4020
|
return C.success && typeof C.ast == "string" && (C.ast = JSON.parse(C.ast)), C;
|
|
3933
4021
|
} catch (C) {
|
|
3934
|
-
return
|
|
4022
|
+
return uo("parse", C);
|
|
3935
4023
|
}
|
|
3936
4024
|
}
|
|
3937
|
-
function
|
|
4025
|
+
function TA(g, A = "generic") {
|
|
4026
|
+
try {
|
|
4027
|
+
if (typeof U.parse_data_type_value == "function")
|
|
4028
|
+
return j(
|
|
4029
|
+
U.parse_data_type_value(g, A)
|
|
4030
|
+
);
|
|
4031
|
+
const C = JSON.parse(
|
|
4032
|
+
U.parse_data_type(g, A)
|
|
4033
|
+
);
|
|
4034
|
+
return C.success && typeof C.dataType == "string" && (C.dataType = JSON.parse(C.dataType)), C;
|
|
4035
|
+
} catch (C) {
|
|
4036
|
+
return bo("parseDataType", C);
|
|
4037
|
+
}
|
|
4038
|
+
}
|
|
4039
|
+
function OA(g, A = "generic") {
|
|
3938
4040
|
try {
|
|
3939
|
-
return typeof
|
|
3940
|
-
|
|
3941
|
-
) : JSON.parse(
|
|
4041
|
+
return typeof U.tokenize_value == "function" ? j(
|
|
4042
|
+
U.tokenize_value(g, A)
|
|
4043
|
+
) : JSON.parse(U.tokenize(g, A));
|
|
3942
4044
|
} catch (C) {
|
|
3943
4045
|
return {
|
|
3944
4046
|
success: !1,
|
|
3945
4047
|
tokens: void 0,
|
|
3946
|
-
error: `WASM tokenize failed: ${
|
|
4048
|
+
error: `WASM tokenize failed: ${b(C)}`
|
|
3947
4049
|
};
|
|
3948
4050
|
}
|
|
3949
4051
|
}
|
|
3950
|
-
function
|
|
4052
|
+
function jA(g, A = "generic") {
|
|
3951
4053
|
try {
|
|
3952
|
-
if (typeof
|
|
3953
|
-
return
|
|
3954
|
-
|
|
4054
|
+
if (typeof U.generate_value == "function" && Array.isArray(g))
|
|
4055
|
+
return j(
|
|
4056
|
+
U.generate_value(g, A)
|
|
3955
4057
|
);
|
|
3956
4058
|
const C = JSON.stringify(g);
|
|
3957
|
-
return JSON.parse(
|
|
4059
|
+
return JSON.parse(U.generate(C, A));
|
|
3958
4060
|
} catch (C) {
|
|
3959
4061
|
return qA("generate", C);
|
|
3960
4062
|
}
|
|
3961
4063
|
}
|
|
3962
|
-
function
|
|
3963
|
-
|
|
4064
|
+
function tA(g, A = "generic") {
|
|
4065
|
+
try {
|
|
4066
|
+
if (typeof U.generate_data_type_value == "function")
|
|
4067
|
+
return j(
|
|
4068
|
+
U.generate_data_type_value(g, A)
|
|
4069
|
+
);
|
|
4070
|
+
const C = JSON.stringify(g);
|
|
4071
|
+
return JSON.parse(
|
|
4072
|
+
U.generate_data_type(C, A)
|
|
4073
|
+
);
|
|
4074
|
+
} catch (C) {
|
|
4075
|
+
return vo("generateDataType", C);
|
|
4076
|
+
}
|
|
3964
4077
|
}
|
|
3965
|
-
function
|
|
4078
|
+
function fA(g, A = "generic") {
|
|
4079
|
+
return dA(g, A, {});
|
|
4080
|
+
}
|
|
4081
|
+
function dA(g, A = "generic", C = {}) {
|
|
3966
4082
|
try {
|
|
3967
|
-
return typeof
|
|
3968
|
-
|
|
3969
|
-
) : typeof
|
|
3970
|
-
|
|
3971
|
-
) : typeof
|
|
3972
|
-
|
|
3973
|
-
) : JSON.parse(
|
|
4083
|
+
return typeof U.format_sql_with_options_value == "function" ? j(
|
|
4084
|
+
U.format_sql_with_options_value(g, A, C)
|
|
4085
|
+
) : typeof U.format_sql_with_options == "function" ? JSON.parse(
|
|
4086
|
+
U.format_sql_with_options(g, A, JSON.stringify(C))
|
|
4087
|
+
) : typeof U.format_sql_value == "function" ? j(
|
|
4088
|
+
U.format_sql_value(g, A)
|
|
4089
|
+
) : JSON.parse(U.format_sql(g, A));
|
|
3974
4090
|
} catch (B) {
|
|
3975
4091
|
return qA("format", B);
|
|
3976
4092
|
}
|
|
3977
4093
|
}
|
|
3978
|
-
function
|
|
3979
|
-
return typeof
|
|
4094
|
+
function zA() {
|
|
4095
|
+
return typeof U.get_dialects_value == "function" ? j(U.get_dialects_value()) : JSON.parse(U.get_dialects());
|
|
3980
4096
|
}
|
|
3981
4097
|
function ZA() {
|
|
3982
|
-
return
|
|
4098
|
+
return U.version();
|
|
4099
|
+
}
|
|
4100
|
+
function eA(g, A = {}) {
|
|
4101
|
+
try {
|
|
4102
|
+
const C = SI(A);
|
|
4103
|
+
return typeof U.analyze_query_value == "function" ? j(
|
|
4104
|
+
U.analyze_query_value(g, C)
|
|
4105
|
+
) : typeof U.analyze_query == "function" ? JSON.parse(
|
|
4106
|
+
U.analyze_query(g, JSON.stringify(C))
|
|
4107
|
+
) : {
|
|
4108
|
+
success: !1,
|
|
4109
|
+
error: "analyze_query not available in this WASM build"
|
|
4110
|
+
};
|
|
4111
|
+
} catch (C) {
|
|
4112
|
+
return Xo("analyzeQuery", C);
|
|
4113
|
+
}
|
|
3983
4114
|
}
|
|
3984
|
-
function
|
|
4115
|
+
function xA(g, A = "generic", C) {
|
|
3985
4116
|
try {
|
|
3986
4117
|
const B = C ? JSON.stringify(C) : "";
|
|
3987
|
-
return typeof
|
|
3988
|
-
|
|
3989
|
-
) : typeof
|
|
3990
|
-
|
|
4118
|
+
return typeof U.annotate_types_value == "function" ? j(
|
|
4119
|
+
U.annotate_types_value(g, A, B)
|
|
4120
|
+
) : typeof U.annotate_types == "function" ? JSON.parse(
|
|
4121
|
+
U.annotate_types(g, A, B)
|
|
3991
4122
|
) : {
|
|
3992
4123
|
success: !1,
|
|
3993
4124
|
error: "annotate_types not available in this WASM build"
|
|
@@ -3995,11 +4126,11 @@ function dA(g, A = "generic", C) {
|
|
|
3995
4126
|
} catch (B) {
|
|
3996
4127
|
return {
|
|
3997
4128
|
success: !1,
|
|
3998
|
-
error: `WASM annotate_types failed: ${
|
|
4129
|
+
error: `WASM annotate_types failed: ${b(B)}`
|
|
3999
4130
|
};
|
|
4000
4131
|
}
|
|
4001
4132
|
}
|
|
4002
|
-
class
|
|
4133
|
+
class m {
|
|
4003
4134
|
static instance = null;
|
|
4004
4135
|
constructor() {
|
|
4005
4136
|
}
|
|
@@ -4008,7 +4139,7 @@ class u {
|
|
|
4008
4139
|
* The WASM module is automatically initialized on import.
|
|
4009
4140
|
*/
|
|
4010
4141
|
static getInstance() {
|
|
4011
|
-
return
|
|
4142
|
+
return m.instance || (m.instance = new m()), m.instance;
|
|
4012
4143
|
}
|
|
4013
4144
|
/**
|
|
4014
4145
|
* Transpile SQL from one dialect to another.
|
|
@@ -4024,38 +4155,50 @@ class u {
|
|
|
4024
4155
|
* Parse SQL into an AST.
|
|
4025
4156
|
*/
|
|
4026
4157
|
parse(A, C = "generic") {
|
|
4027
|
-
return
|
|
4158
|
+
return PA(A, C);
|
|
4159
|
+
}
|
|
4160
|
+
/**
|
|
4161
|
+
* Parse a standalone SQL data type.
|
|
4162
|
+
*/
|
|
4163
|
+
parseDataType(A, C = "generic") {
|
|
4164
|
+
return TA(A, C);
|
|
4028
4165
|
}
|
|
4029
4166
|
/**
|
|
4030
4167
|
* Tokenize SQL into a token stream.
|
|
4031
4168
|
*/
|
|
4032
4169
|
tokenize(A, C = "generic") {
|
|
4033
|
-
return
|
|
4170
|
+
return OA(A, C);
|
|
4034
4171
|
}
|
|
4035
4172
|
/**
|
|
4036
4173
|
* Generate SQL from an AST.
|
|
4037
4174
|
*/
|
|
4038
4175
|
generate(A, C = "generic") {
|
|
4039
|
-
return
|
|
4176
|
+
return jA(A, C);
|
|
4177
|
+
}
|
|
4178
|
+
/**
|
|
4179
|
+
* Generate SQL from a standalone DataType AST node.
|
|
4180
|
+
*/
|
|
4181
|
+
generateDataType(A, C = "generic") {
|
|
4182
|
+
return tA(A, C);
|
|
4040
4183
|
}
|
|
4041
4184
|
/**
|
|
4042
4185
|
* Format SQL.
|
|
4043
4186
|
*/
|
|
4044
4187
|
format(A, C = "generic") {
|
|
4045
|
-
return
|
|
4188
|
+
return fA(A, C);
|
|
4046
4189
|
}
|
|
4047
4190
|
/**
|
|
4048
4191
|
* Format SQL with explicit guard limits.
|
|
4049
4192
|
*/
|
|
4050
4193
|
formatWithOptions(A, C = "generic", B = {}) {
|
|
4051
|
-
return
|
|
4194
|
+
return dA(A, C, B);
|
|
4052
4195
|
}
|
|
4053
4196
|
/**
|
|
4054
4197
|
* Get supported dialects in this build.
|
|
4055
4198
|
* Per-dialect builds return only `"generic"` and the selected dialect.
|
|
4056
4199
|
*/
|
|
4057
4200
|
getDialects() {
|
|
4058
|
-
return
|
|
4201
|
+
return zA();
|
|
4059
4202
|
}
|
|
4060
4203
|
/**
|
|
4061
4204
|
* Get library version.
|
|
@@ -4067,247 +4210,256 @@ class u {
|
|
|
4067
4210
|
* Parse SQL and annotate the AST with inferred type information.
|
|
4068
4211
|
*/
|
|
4069
4212
|
annotateTypes(A, C = "generic", B) {
|
|
4070
|
-
return
|
|
4213
|
+
return xA(A, C, B);
|
|
4214
|
+
}
|
|
4215
|
+
analyzeQuery(A, C = {}) {
|
|
4216
|
+
return eA(A, SI(C));
|
|
4071
4217
|
}
|
|
4072
4218
|
}
|
|
4073
|
-
const
|
|
4074
|
-
init:
|
|
4075
|
-
isInitialized:
|
|
4219
|
+
const _o = {
|
|
4220
|
+
init: FI,
|
|
4221
|
+
isInitialized: JI,
|
|
4076
4222
|
transpile: pA,
|
|
4077
|
-
parse:
|
|
4078
|
-
|
|
4079
|
-
|
|
4080
|
-
|
|
4081
|
-
|
|
4082
|
-
|
|
4223
|
+
parse: PA,
|
|
4224
|
+
parseDataType: TA,
|
|
4225
|
+
tokenize: OA,
|
|
4226
|
+
generate: jA,
|
|
4227
|
+
generateDataType: tA,
|
|
4228
|
+
format: fA,
|
|
4229
|
+
annotateTypes: xA,
|
|
4230
|
+
analyzeQuery: eA,
|
|
4231
|
+
getDialects: zA,
|
|
4083
4232
|
getVersion: ZA,
|
|
4084
|
-
lineage:
|
|
4085
|
-
lineageWithSchema:
|
|
4086
|
-
getSourceTables:
|
|
4087
|
-
openLineageColumnLineage:
|
|
4088
|
-
openLineageJobEvent:
|
|
4089
|
-
openLineageRunEvent:
|
|
4090
|
-
diff:
|
|
4091
|
-
hasChanges:
|
|
4092
|
-
changesOnly:
|
|
4093
|
-
plan:
|
|
4233
|
+
lineage: yI,
|
|
4234
|
+
lineageWithSchema: KI,
|
|
4235
|
+
getSourceTables: GI,
|
|
4236
|
+
openLineageColumnLineage: YI,
|
|
4237
|
+
openLineageJobEvent: HI,
|
|
4238
|
+
openLineageRunEvent: hI,
|
|
4239
|
+
diff: MI,
|
|
4240
|
+
hasChanges: NI,
|
|
4241
|
+
changesOnly: kI,
|
|
4242
|
+
plan: cI,
|
|
4094
4243
|
Dialect: aA,
|
|
4095
|
-
Polyglot:
|
|
4096
|
-
},
|
|
4244
|
+
Polyglot: m
|
|
4245
|
+
}, $o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4097
4246
|
__proto__: null,
|
|
4098
|
-
CaseBuilder:
|
|
4099
|
-
DeleteBuilder:
|
|
4247
|
+
CaseBuilder: UA,
|
|
4248
|
+
DeleteBuilder: wI,
|
|
4100
4249
|
Dialect: aA,
|
|
4101
4250
|
Expr: S,
|
|
4102
|
-
InsertBuilder:
|
|
4103
|
-
MergeBuilder:
|
|
4104
|
-
Polyglot:
|
|
4105
|
-
SelectBuilder:
|
|
4106
|
-
SetOpBuilder:
|
|
4107
|
-
UpdateBuilder:
|
|
4108
|
-
ValidationSeverity:
|
|
4109
|
-
WindowDefBuilder:
|
|
4110
|
-
abs:
|
|
4111
|
-
alias:
|
|
4112
|
-
|
|
4113
|
-
|
|
4114
|
-
|
|
4115
|
-
|
|
4251
|
+
InsertBuilder: QI,
|
|
4252
|
+
MergeBuilder: oI,
|
|
4253
|
+
Polyglot: m,
|
|
4254
|
+
SelectBuilder: BI,
|
|
4255
|
+
SetOpBuilder: $,
|
|
4256
|
+
UpdateBuilder: DI,
|
|
4257
|
+
ValidationSeverity: ro,
|
|
4258
|
+
WindowDefBuilder: ji,
|
|
4259
|
+
abs: No,
|
|
4260
|
+
alias: Wi,
|
|
4261
|
+
analyzeQuery: eA,
|
|
4262
|
+
and: li,
|
|
4263
|
+
annotateTypes: xA,
|
|
4264
|
+
ast: Oi,
|
|
4265
|
+
avg: bi,
|
|
4116
4266
|
boolean: RA,
|
|
4117
|
-
caseOf:
|
|
4118
|
-
caseWhen:
|
|
4119
|
-
cast:
|
|
4120
|
-
ceil:
|
|
4121
|
-
changesOnly:
|
|
4122
|
-
coalesce:
|
|
4123
|
-
col:
|
|
4124
|
-
concatWs:
|
|
4125
|
-
condition:
|
|
4126
|
-
count:
|
|
4127
|
-
countDistinct:
|
|
4128
|
-
currentDate:
|
|
4129
|
-
currentTime:
|
|
4130
|
-
currentTimestamp:
|
|
4131
|
-
default:
|
|
4132
|
-
del:
|
|
4133
|
-
deleteFrom:
|
|
4134
|
-
denseRank:
|
|
4135
|
-
diff:
|
|
4136
|
-
except:
|
|
4137
|
-
exp:
|
|
4138
|
-
extract:
|
|
4139
|
-
findAll:
|
|
4140
|
-
floor:
|
|
4141
|
-
format:
|
|
4142
|
-
formatWithOptions:
|
|
4143
|
-
func:
|
|
4144
|
-
generate:
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4148
|
-
|
|
4267
|
+
caseOf: fo,
|
|
4268
|
+
caseWhen: to,
|
|
4269
|
+
cast: xi,
|
|
4270
|
+
ceil: Ko,
|
|
4271
|
+
changesOnly: kI,
|
|
4272
|
+
coalesce: io,
|
|
4273
|
+
col: ti,
|
|
4274
|
+
concatWs: wo,
|
|
4275
|
+
condition: Zi,
|
|
4276
|
+
count: ri,
|
|
4277
|
+
countDistinct: mi,
|
|
4278
|
+
currentDate: Jo,
|
|
4279
|
+
currentTime: Lo,
|
|
4280
|
+
currentTimestamp: Ro,
|
|
4281
|
+
default: _o,
|
|
4282
|
+
del: Oo,
|
|
4283
|
+
deleteFrom: iI,
|
|
4284
|
+
denseRank: qo,
|
|
4285
|
+
diff: MI,
|
|
4286
|
+
except: xo,
|
|
4287
|
+
exp: ho,
|
|
4288
|
+
extract: Uo,
|
|
4289
|
+
findAll: HA,
|
|
4290
|
+
floor: yo,
|
|
4291
|
+
format: fA,
|
|
4292
|
+
formatWithOptions: dA,
|
|
4293
|
+
func: s,
|
|
4294
|
+
generate: jA,
|
|
4295
|
+
generateDataType: tA,
|
|
4296
|
+
getColumns: _g,
|
|
4297
|
+
getDialects: zA,
|
|
4298
|
+
getInferredType: eg,
|
|
4299
|
+
getSourceTables: GI,
|
|
4149
4300
|
getVersion: ZA,
|
|
4150
|
-
greatest:
|
|
4151
|
-
hasChanges:
|
|
4152
|
-
ifNull:
|
|
4153
|
-
init:
|
|
4154
|
-
initcap:
|
|
4155
|
-
insert:
|
|
4156
|
-
insertInto:
|
|
4157
|
-
intersect:
|
|
4158
|
-
isColumn:
|
|
4159
|
-
isFunction:
|
|
4160
|
-
isInitialized:
|
|
4301
|
+
greatest: So,
|
|
4302
|
+
hasChanges: NI,
|
|
4303
|
+
ifNull: Mo,
|
|
4304
|
+
init: FI,
|
|
4305
|
+
initcap: Qo,
|
|
4306
|
+
insert: Po,
|
|
4307
|
+
insertInto: EI,
|
|
4308
|
+
intersect: eo,
|
|
4309
|
+
isColumn: Wg,
|
|
4310
|
+
isFunction: lg,
|
|
4311
|
+
isInitialized: JI,
|
|
4161
4312
|
isLiteral: Vg,
|
|
4162
|
-
isSelect:
|
|
4163
|
-
least:
|
|
4164
|
-
length:
|
|
4165
|
-
lineage:
|
|
4166
|
-
lineageWithSchema:
|
|
4167
|
-
lit:
|
|
4168
|
-
ln:
|
|
4169
|
-
lower:
|
|
4170
|
-
ltrim:
|
|
4171
|
-
max:
|
|
4172
|
-
mergeInto:
|
|
4173
|
-
min:
|
|
4174
|
-
not:
|
|
4175
|
-
nullIf:
|
|
4176
|
-
openLineageColumnLineage:
|
|
4177
|
-
openLineageJobEvent:
|
|
4178
|
-
openLineageRunEvent:
|
|
4179
|
-
or:
|
|
4180
|
-
parse:
|
|
4181
|
-
|
|
4182
|
-
|
|
4183
|
-
|
|
4184
|
-
|
|
4185
|
-
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
|
|
4197
|
-
|
|
4198
|
-
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
|
|
4313
|
+
isSelect: xg,
|
|
4314
|
+
least: Fo,
|
|
4315
|
+
length: Ao,
|
|
4316
|
+
lineage: yI,
|
|
4317
|
+
lineageWithSchema: KI,
|
|
4318
|
+
lit: fi,
|
|
4319
|
+
ln: Ho,
|
|
4320
|
+
lower: $i,
|
|
4321
|
+
ltrim: Io,
|
|
4322
|
+
max: Xi,
|
|
4323
|
+
mergeInto: jo,
|
|
4324
|
+
min: vi,
|
|
4325
|
+
not: ei,
|
|
4326
|
+
nullIf: oo,
|
|
4327
|
+
openLineageColumnLineage: YI,
|
|
4328
|
+
openLineageJobEvent: HI,
|
|
4329
|
+
openLineageRunEvent: hI,
|
|
4330
|
+
or: ni,
|
|
4331
|
+
parse: PA,
|
|
4332
|
+
parseDataType: TA,
|
|
4333
|
+
plan: cI,
|
|
4334
|
+
power: Go,
|
|
4335
|
+
rank: ao,
|
|
4336
|
+
renameColumns: mg,
|
|
4337
|
+
replace: Do,
|
|
4338
|
+
reverse: Bo,
|
|
4339
|
+
round: ko,
|
|
4340
|
+
rowNumber: so,
|
|
4341
|
+
rtrim: Co,
|
|
4342
|
+
select: po,
|
|
4343
|
+
sign: co,
|
|
4344
|
+
sqlExpr: CI,
|
|
4345
|
+
sqlNull: di,
|
|
4346
|
+
sqrt: Yo,
|
|
4347
|
+
star: II,
|
|
4348
|
+
subquery: Vi,
|
|
4349
|
+
substring: Eo,
|
|
4350
|
+
sum: ui,
|
|
4351
|
+
table: zi,
|
|
4352
|
+
tokenize: OA,
|
|
4353
|
+
transform: YA,
|
|
4202
4354
|
transpile: pA,
|
|
4203
|
-
trim:
|
|
4204
|
-
union:
|
|
4205
|
-
unionAll:
|
|
4206
|
-
update:
|
|
4207
|
-
upper:
|
|
4208
|
-
validate:
|
|
4209
|
-
validateWithSchema:
|
|
4210
|
-
walk:
|
|
4355
|
+
trim: go,
|
|
4356
|
+
union: zo,
|
|
4357
|
+
unionAll: Zo,
|
|
4358
|
+
update: To,
|
|
4359
|
+
upper: _i,
|
|
4360
|
+
validate: mo,
|
|
4361
|
+
validateWithSchema: no,
|
|
4362
|
+
walk: d
|
|
4211
4363
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4212
4364
|
export {
|
|
4213
|
-
|
|
4214
|
-
|
|
4365
|
+
UA as CaseBuilder,
|
|
4366
|
+
wI as DeleteBuilder,
|
|
4215
4367
|
aA as Dialect,
|
|
4216
4368
|
S as Expr,
|
|
4217
|
-
|
|
4218
|
-
|
|
4219
|
-
|
|
4220
|
-
|
|
4221
|
-
|
|
4222
|
-
|
|
4223
|
-
|
|
4224
|
-
|
|
4225
|
-
|
|
4226
|
-
|
|
4227
|
-
|
|
4228
|
-
|
|
4229
|
-
|
|
4369
|
+
QI as InsertBuilder,
|
|
4370
|
+
oI as MergeBuilder,
|
|
4371
|
+
m as Polyglot,
|
|
4372
|
+
BI as SelectBuilder,
|
|
4373
|
+
$ as SetOpBuilder,
|
|
4374
|
+
DI as UpdateBuilder,
|
|
4375
|
+
ro as ValidationSeverity,
|
|
4376
|
+
No as abs,
|
|
4377
|
+
Wi as alias,
|
|
4378
|
+
li as and,
|
|
4379
|
+
xA as annotateTypes,
|
|
4380
|
+
Oi as ast,
|
|
4381
|
+
bi as avg,
|
|
4230
4382
|
RA as boolean,
|
|
4231
|
-
|
|
4232
|
-
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
|
|
4242
|
-
|
|
4243
|
-
|
|
4244
|
-
|
|
4245
|
-
|
|
4246
|
-
|
|
4247
|
-
|
|
4248
|
-
|
|
4249
|
-
|
|
4250
|
-
|
|
4251
|
-
|
|
4252
|
-
|
|
4253
|
-
|
|
4254
|
-
|
|
4255
|
-
|
|
4256
|
-
|
|
4257
|
-
|
|
4258
|
-
|
|
4259
|
-
|
|
4383
|
+
fo as caseOf,
|
|
4384
|
+
to as caseWhen,
|
|
4385
|
+
xi as cast,
|
|
4386
|
+
Ko as ceil,
|
|
4387
|
+
io as coalesce,
|
|
4388
|
+
ti as col,
|
|
4389
|
+
wo as concatWs,
|
|
4390
|
+
Zi as condition,
|
|
4391
|
+
ri as count,
|
|
4392
|
+
mi as countDistinct,
|
|
4393
|
+
Jo as currentDate,
|
|
4394
|
+
Lo as currentTime,
|
|
4395
|
+
Ro as currentTimestamp,
|
|
4396
|
+
$o as default,
|
|
4397
|
+
Oo as del,
|
|
4398
|
+
iI as deleteFrom,
|
|
4399
|
+
qo as denseRank,
|
|
4400
|
+
xo as except,
|
|
4401
|
+
ho as exp,
|
|
4402
|
+
Uo as extract,
|
|
4403
|
+
HA as findAll,
|
|
4404
|
+
yo as floor,
|
|
4405
|
+
fA as format,
|
|
4406
|
+
dA as formatWithOptions,
|
|
4407
|
+
s as func,
|
|
4408
|
+
jA as generate,
|
|
4409
|
+
_g as getColumns,
|
|
4410
|
+
zA as getDialects,
|
|
4411
|
+
eg as getInferredType,
|
|
4260
4412
|
ZA as getVersion,
|
|
4261
|
-
|
|
4262
|
-
|
|
4263
|
-
|
|
4264
|
-
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
|
|
4268
|
-
|
|
4269
|
-
|
|
4270
|
-
|
|
4413
|
+
So as greatest,
|
|
4414
|
+
Mo as ifNull,
|
|
4415
|
+
FI as init,
|
|
4416
|
+
Qo as initcap,
|
|
4417
|
+
Po as insert,
|
|
4418
|
+
EI as insertInto,
|
|
4419
|
+
eo as intersect,
|
|
4420
|
+
Wg as isColumn,
|
|
4421
|
+
lg as isFunction,
|
|
4422
|
+
JI as isInitialized,
|
|
4271
4423
|
Vg as isLiteral,
|
|
4272
|
-
|
|
4273
|
-
|
|
4274
|
-
|
|
4275
|
-
|
|
4276
|
-
|
|
4277
|
-
|
|
4278
|
-
|
|
4279
|
-
|
|
4280
|
-
|
|
4281
|
-
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
|
|
4285
|
-
|
|
4286
|
-
|
|
4287
|
-
|
|
4288
|
-
|
|
4289
|
-
|
|
4290
|
-
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
|
|
4295
|
-
|
|
4296
|
-
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
-
|
|
4302
|
-
|
|
4303
|
-
|
|
4424
|
+
xg as isSelect,
|
|
4425
|
+
Fo as least,
|
|
4426
|
+
Ao as length,
|
|
4427
|
+
fi as lit,
|
|
4428
|
+
Ho as ln,
|
|
4429
|
+
$i as lower,
|
|
4430
|
+
Io as ltrim,
|
|
4431
|
+
Xi as max,
|
|
4432
|
+
jo as mergeInto,
|
|
4433
|
+
vi as min,
|
|
4434
|
+
ei as not,
|
|
4435
|
+
oo as nullIf,
|
|
4436
|
+
ni as or,
|
|
4437
|
+
PA as parse,
|
|
4438
|
+
Go as power,
|
|
4439
|
+
ao as rank,
|
|
4440
|
+
mg as renameColumns,
|
|
4441
|
+
Do as replace,
|
|
4442
|
+
Bo as reverse,
|
|
4443
|
+
ko as round,
|
|
4444
|
+
so as rowNumber,
|
|
4445
|
+
Co as rtrim,
|
|
4446
|
+
po as select,
|
|
4447
|
+
co as sign,
|
|
4448
|
+
CI as sqlExpr,
|
|
4449
|
+
di as sqlNull,
|
|
4450
|
+
Yo as sqrt,
|
|
4451
|
+
II as star,
|
|
4452
|
+
Eo as substring,
|
|
4453
|
+
ui as sum,
|
|
4454
|
+
zi as table,
|
|
4455
|
+
YA as transform,
|
|
4304
4456
|
pA as transpile,
|
|
4305
|
-
|
|
4306
|
-
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
|
|
4311
|
-
|
|
4312
|
-
|
|
4457
|
+
go as trim,
|
|
4458
|
+
zo as union,
|
|
4459
|
+
Zo as unionAll,
|
|
4460
|
+
To as update,
|
|
4461
|
+
_i as upper,
|
|
4462
|
+
mo as validate,
|
|
4463
|
+
no as validateWithSchema,
|
|
4464
|
+
d as walk
|
|
4313
4465
|
};
|