@polyglot-sql/sdk 0.3.9 → 0.3.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/polyglot.esm.js +1388 -1350
- package/dist/index.cjs +101 -34
- package/dist/index.d.cts +40 -9
- package/dist/index.d.ts +40 -9
- package/dist/index.js +112 -32
- package/dist/polyglot_sql_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/dist/cdn/polyglot.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
(()=>{if(typeof globalThis.process<"u"&&globalThis.process.versions?.node){const _f=globalThis.fetch;globalThis.fetch=async function(u,...a){if(typeof u==="string"&&u.startsWith("file:")||u instanceof URL&&u.protocol==="file:"){const{readFileSync:r}=await import("node:fs");const{fileURLToPath:p}=await import("node:url");const b=r(p(typeof u==="string"?u:u.href));return new Response(b,{headers:{"Content-Type":"application/wasm"}})}return _f(u,...a)}}})();
|
|
2
|
-
const
|
|
2
|
+
const yI = new URL("../polyglot_sql_wasm_bg.wasm",import.meta.url).href, GI = async (g = {}, A) => {
|
|
3
3
|
let C;
|
|
4
4
|
if (A.startsWith("data:")) {
|
|
5
5
|
const B = A.replace(/^data:.*?base64,/, "");
|
|
@@ -54,15 +54,15 @@ class CA {
|
|
|
54
54
|
* @param {WasmExpr} value
|
|
55
55
|
*/
|
|
56
56
|
push(A, C) {
|
|
57
|
-
const B =
|
|
57
|
+
const B = N(A, I.__wbindgen_export, I.__wbindgen_export2), Q = o;
|
|
58
58
|
S(C, K), I.wasmassignmentarray_push(this.__wbg_ptr, B, Q, C.__wbg_ptr);
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
Symbol.dispose && (CA.prototype[Symbol.dispose] = CA.prototype.free);
|
|
62
|
-
class
|
|
62
|
+
class l {
|
|
63
63
|
static __wrap(A) {
|
|
64
64
|
A = A >>> 0;
|
|
65
|
-
const C = Object.create(
|
|
65
|
+
const C = Object.create(l.prototype);
|
|
66
66
|
return C.__wbg_ptr = A, hA.register(C, C.__wbg_ptr, C), C;
|
|
67
67
|
}
|
|
68
68
|
__destroy_into_raw() {
|
|
@@ -104,20 +104,21 @@ class n {
|
|
|
104
104
|
return this.__wbg_ptr = A >>> 0, hA.register(this, this.__wbg_ptr, this), this;
|
|
105
105
|
}
|
|
106
106
|
/**
|
|
107
|
-
* Generate SQL string
|
|
107
|
+
* Generate SQL string for the given dialect.
|
|
108
|
+
* @param {string} dialect
|
|
108
109
|
* @returns {string}
|
|
109
110
|
*/
|
|
110
|
-
to_sql() {
|
|
111
|
-
let
|
|
111
|
+
to_sql(A) {
|
|
112
|
+
let C, B;
|
|
112
113
|
try {
|
|
113
|
-
const y = I.__wbindgen_add_to_stack_pointer(-16);
|
|
114
|
-
I.wasmcasebuilder_to_sql(y, this.__wbg_ptr);
|
|
115
|
-
var
|
|
116
|
-
if (
|
|
117
|
-
throw
|
|
118
|
-
return
|
|
114
|
+
const y = I.__wbindgen_add_to_stack_pointer(-16), h = N(A, I.__wbindgen_export, I.__wbindgen_export2), J = o;
|
|
115
|
+
I.wasmcasebuilder_to_sql(y, this.__wbg_ptr, h, J);
|
|
116
|
+
var Q = M().getInt32(y + 0, !0), E = M().getInt32(y + 4, !0), D = M().getInt32(y + 8, !0), i = M().getInt32(y + 12, !0), k = Q, G = E;
|
|
117
|
+
if (i)
|
|
118
|
+
throw k = 0, G = 0, F(D);
|
|
119
|
+
return C = k, B = G, U(k, G);
|
|
119
120
|
} finally {
|
|
120
|
-
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(
|
|
121
|
+
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
121
122
|
}
|
|
122
123
|
}
|
|
123
124
|
/**
|
|
@@ -129,11 +130,11 @@ class n {
|
|
|
129
130
|
S(A, K), S(C, K), I.wasmcasebuilder_when(this.__wbg_ptr, A.__wbg_ptr, C.__wbg_ptr);
|
|
130
131
|
}
|
|
131
132
|
}
|
|
132
|
-
Symbol.dispose && (
|
|
133
|
+
Symbol.dispose && (l.prototype[Symbol.dispose] = l.prototype.free);
|
|
133
134
|
class MA {
|
|
134
135
|
__destroy_into_raw() {
|
|
135
136
|
const A = this.__wbg_ptr;
|
|
136
|
-
return this.__wbg_ptr = 0,
|
|
137
|
+
return this.__wbg_ptr = 0, VA.unregister(this), A;
|
|
137
138
|
}
|
|
138
139
|
free() {
|
|
139
140
|
const A = this.__destroy_into_raw();
|
|
@@ -160,8 +161,8 @@ class MA {
|
|
|
160
161
|
* @param {string} table_name
|
|
161
162
|
*/
|
|
162
163
|
constructor(A) {
|
|
163
|
-
const C =
|
|
164
|
-
return this.__wbg_ptr = Q >>> 0,
|
|
164
|
+
const C = N(A, I.__wbindgen_export, I.__wbindgen_export2), B = o, Q = I.wasmdeletebuilder_new(C, B);
|
|
165
|
+
return this.__wbg_ptr = Q >>> 0, VA.register(this, this.__wbg_ptr, this), this;
|
|
165
166
|
}
|
|
166
167
|
/**
|
|
167
168
|
* Generate SQL string for the given dialect.
|
|
@@ -171,12 +172,12 @@ class MA {
|
|
|
171
172
|
to_sql(A) {
|
|
172
173
|
let C, B;
|
|
173
174
|
try {
|
|
174
|
-
const
|
|
175
|
-
I.wasmdeletebuilder_to_sql(
|
|
176
|
-
var Q = M().getInt32(
|
|
175
|
+
const y = I.__wbindgen_add_to_stack_pointer(-16), h = N(A, I.__wbindgen_export, I.__wbindgen_export2), J = o;
|
|
176
|
+
I.wasmdeletebuilder_to_sql(y, this.__wbg_ptr, h, J);
|
|
177
|
+
var Q = M().getInt32(y + 0, !0), E = M().getInt32(y + 4, !0), D = M().getInt32(y + 8, !0), i = M().getInt32(y + 12, !0), k = Q, G = E;
|
|
177
178
|
if (i)
|
|
178
|
-
throw
|
|
179
|
-
return C =
|
|
179
|
+
throw k = 0, G = 0, F(D);
|
|
180
|
+
return C = k, B = G, U(k, G);
|
|
180
181
|
} finally {
|
|
181
182
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
182
183
|
}
|
|
@@ -194,11 +195,11 @@ class K {
|
|
|
194
195
|
static __wrap(A) {
|
|
195
196
|
A = A >>> 0;
|
|
196
197
|
const C = Object.create(K.prototype);
|
|
197
|
-
return C.__wbg_ptr = A,
|
|
198
|
+
return C.__wbg_ptr = A, fA.register(C, C.__wbg_ptr, C), C;
|
|
198
199
|
}
|
|
199
200
|
__destroy_into_raw() {
|
|
200
201
|
const A = this.__wbg_ptr;
|
|
201
|
-
return this.__wbg_ptr = 0,
|
|
202
|
+
return this.__wbg_ptr = 0, fA.unregister(this), A;
|
|
202
203
|
}
|
|
203
204
|
free() {
|
|
204
205
|
const A = this.__destroy_into_raw();
|
|
@@ -220,7 +221,7 @@ class K {
|
|
|
220
221
|
* @returns {WasmExpr}
|
|
221
222
|
*/
|
|
222
223
|
alias(A) {
|
|
223
|
-
const C =
|
|
224
|
+
const C = N(A, I.__wbindgen_export, I.__wbindgen_export2), B = o, Q = I.wasmexpr_alias(this.__wbg_ptr, C, B);
|
|
224
225
|
return K.__wrap(Q);
|
|
225
226
|
}
|
|
226
227
|
/**
|
|
@@ -258,7 +259,7 @@ class K {
|
|
|
258
259
|
* @returns {WasmExpr}
|
|
259
260
|
*/
|
|
260
261
|
cast(A) {
|
|
261
|
-
const C =
|
|
262
|
+
const C = N(A, I.__wbindgen_export, I.__wbindgen_export2), B = o, Q = I.wasmexpr_cast(this.__wbg_ptr, C, B);
|
|
262
263
|
return K.__wrap(Q);
|
|
263
264
|
}
|
|
264
265
|
/**
|
|
@@ -460,20 +461,21 @@ class K {
|
|
|
460
461
|
}
|
|
461
462
|
}
|
|
462
463
|
/**
|
|
463
|
-
* Generate SQL string
|
|
464
|
+
* Generate SQL string for the given dialect.
|
|
465
|
+
* @param {string} dialect
|
|
464
466
|
* @returns {string}
|
|
465
467
|
*/
|
|
466
|
-
to_sql() {
|
|
467
|
-
let
|
|
468
|
+
to_sql(A) {
|
|
469
|
+
let C, B;
|
|
468
470
|
try {
|
|
469
|
-
const y = I.__wbindgen_add_to_stack_pointer(-16);
|
|
470
|
-
I.wasmexpr_to_sql(y, this.__wbg_ptr);
|
|
471
|
-
var
|
|
472
|
-
if (
|
|
473
|
-
throw
|
|
474
|
-
return
|
|
471
|
+
const y = I.__wbindgen_add_to_stack_pointer(-16), h = N(A, I.__wbindgen_export, I.__wbindgen_export2), J = o;
|
|
472
|
+
I.wasmexpr_to_sql(y, this.__wbg_ptr, h, J);
|
|
473
|
+
var Q = M().getInt32(y + 0, !0), E = M().getInt32(y + 4, !0), D = M().getInt32(y + 8, !0), i = M().getInt32(y + 12, !0), k = Q, G = E;
|
|
474
|
+
if (i)
|
|
475
|
+
throw k = 0, G = 0, F(D);
|
|
476
|
+
return C = k, B = G, U(k, G);
|
|
475
477
|
} finally {
|
|
476
|
-
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(
|
|
478
|
+
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
477
479
|
}
|
|
478
480
|
}
|
|
479
481
|
/**
|
|
@@ -491,7 +493,7 @@ Symbol.dispose && (K.prototype[Symbol.dispose] = K.prototype.free);
|
|
|
491
493
|
class T {
|
|
492
494
|
__destroy_into_raw() {
|
|
493
495
|
const A = this.__wbg_ptr;
|
|
494
|
-
return this.__wbg_ptr = 0,
|
|
496
|
+
return this.__wbg_ptr = 0, xA.unregister(this), A;
|
|
495
497
|
}
|
|
496
498
|
free() {
|
|
497
499
|
const A = this.__destroy_into_raw();
|
|
@@ -509,7 +511,7 @@ class T {
|
|
|
509
511
|
*/
|
|
510
512
|
constructor() {
|
|
511
513
|
const A = I.wasmassignmentarray_new();
|
|
512
|
-
return this.__wbg_ptr = A >>> 0,
|
|
514
|
+
return this.__wbg_ptr = A >>> 0, xA.register(this, this.__wbg_ptr, this), this;
|
|
513
515
|
}
|
|
514
516
|
/**
|
|
515
517
|
* Push an expression.
|
|
@@ -523,7 +525,7 @@ class T {
|
|
|
523
525
|
* @param {string} name
|
|
524
526
|
*/
|
|
525
527
|
push_col(A) {
|
|
526
|
-
const C =
|
|
528
|
+
const C = N(A, I.__wbindgen_export, I.__wbindgen_export2), B = o;
|
|
527
529
|
I.wasmexprarray_push_col(this.__wbg_ptr, C, B);
|
|
528
530
|
}
|
|
529
531
|
/**
|
|
@@ -551,7 +553,7 @@ class T {
|
|
|
551
553
|
* @param {string} value
|
|
552
554
|
*/
|
|
553
555
|
push_str(A) {
|
|
554
|
-
const C =
|
|
556
|
+
const C = N(A, I.__wbindgen_export, I.__wbindgen_export2), B = o;
|
|
555
557
|
I.wasmexprarray_push_str(this.__wbg_ptr, C, B);
|
|
556
558
|
}
|
|
557
559
|
}
|
|
@@ -586,7 +588,7 @@ class iA {
|
|
|
586
588
|
* @param {string[]} cols
|
|
587
589
|
*/
|
|
588
590
|
columns(A) {
|
|
589
|
-
const C =
|
|
591
|
+
const C = FA(A, I.__wbindgen_export), B = o;
|
|
590
592
|
I.wasminsertbuilder_columns(this.__wbg_ptr, C, B);
|
|
591
593
|
}
|
|
592
594
|
/**
|
|
@@ -594,7 +596,7 @@ class iA {
|
|
|
594
596
|
* @param {string} table_name
|
|
595
597
|
*/
|
|
596
598
|
constructor(A) {
|
|
597
|
-
const C =
|
|
599
|
+
const C = N(A, I.__wbindgen_export, I.__wbindgen_export2), B = o, Q = I.wasminsertbuilder_new(C, B);
|
|
598
600
|
return this.__wbg_ptr = Q >>> 0, WA.register(this, this.__wbg_ptr, this), this;
|
|
599
601
|
}
|
|
600
602
|
/**
|
|
@@ -604,7 +606,7 @@ class iA {
|
|
|
604
606
|
query(A) {
|
|
605
607
|
try {
|
|
606
608
|
const Q = I.__wbindgen_add_to_stack_pointer(-16);
|
|
607
|
-
S(A,
|
|
609
|
+
S(A, j), I.wasminsertbuilder_query(Q, this.__wbg_ptr, A.__wbg_ptr);
|
|
608
610
|
var C = M().getInt32(Q + 0, !0), B = M().getInt32(Q + 4, !0);
|
|
609
611
|
if (B)
|
|
610
612
|
throw F(C);
|
|
@@ -620,12 +622,12 @@ class iA {
|
|
|
620
622
|
to_sql(A) {
|
|
621
623
|
let C, B;
|
|
622
624
|
try {
|
|
623
|
-
const
|
|
624
|
-
I.wasminsertbuilder_to_sql(
|
|
625
|
-
var Q = M().getInt32(
|
|
625
|
+
const y = I.__wbindgen_add_to_stack_pointer(-16), h = N(A, I.__wbindgen_export, I.__wbindgen_export2), J = o;
|
|
626
|
+
I.wasminsertbuilder_to_sql(y, this.__wbg_ptr, h, J);
|
|
627
|
+
var Q = M().getInt32(y + 0, !0), E = M().getInt32(y + 4, !0), D = M().getInt32(y + 8, !0), i = M().getInt32(y + 12, !0), k = Q, G = E;
|
|
626
628
|
if (i)
|
|
627
|
-
throw
|
|
628
|
-
return C =
|
|
629
|
+
throw k = 0, G = 0, F(D);
|
|
630
|
+
return C = k, B = G, U(k, G);
|
|
629
631
|
} finally {
|
|
630
632
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
631
633
|
}
|
|
@@ -669,7 +671,7 @@ class oA {
|
|
|
669
671
|
* @param {string} target
|
|
670
672
|
*/
|
|
671
673
|
constructor(A) {
|
|
672
|
-
const C =
|
|
674
|
+
const C = N(A, I.__wbindgen_export, I.__wbindgen_export2), B = o, Q = I.wasmmergebuilder_new(C, B);
|
|
673
675
|
return this.__wbg_ptr = Q >>> 0, eA.register(this, this.__wbg_ptr, this), this;
|
|
674
676
|
}
|
|
675
677
|
/**
|
|
@@ -680,12 +682,12 @@ class oA {
|
|
|
680
682
|
to_sql(A) {
|
|
681
683
|
let C, B;
|
|
682
684
|
try {
|
|
683
|
-
const
|
|
684
|
-
I.wasmmergebuilder_to_sql(
|
|
685
|
-
var Q = M().getInt32(
|
|
685
|
+
const y = I.__wbindgen_add_to_stack_pointer(-16), h = N(A, I.__wbindgen_export, I.__wbindgen_export2), J = o;
|
|
686
|
+
I.wasmmergebuilder_to_sql(y, this.__wbg_ptr, h, J);
|
|
687
|
+
var Q = M().getInt32(y + 0, !0), E = M().getInt32(y + 4, !0), D = M().getInt32(y + 8, !0), i = M().getInt32(y + 12, !0), k = Q, G = E;
|
|
686
688
|
if (i)
|
|
687
|
-
throw
|
|
688
|
-
return C =
|
|
689
|
+
throw k = 0, G = 0, F(D);
|
|
690
|
+
return C = k, B = G, U(k, G);
|
|
689
691
|
} finally {
|
|
690
692
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
691
693
|
}
|
|
@@ -696,7 +698,7 @@ class oA {
|
|
|
696
698
|
* @param {WasmExpr} on
|
|
697
699
|
*/
|
|
698
700
|
using(A, C) {
|
|
699
|
-
const B =
|
|
701
|
+
const B = N(A, I.__wbindgen_export, I.__wbindgen_export2), Q = o;
|
|
700
702
|
S(C, K), I.wasmmergebuilder_using(this.__wbg_ptr, B, Q, C.__wbg_ptr);
|
|
701
703
|
}
|
|
702
704
|
/**
|
|
@@ -718,15 +720,15 @@ class oA {
|
|
|
718
720
|
* @param {WasmExprArray} values
|
|
719
721
|
*/
|
|
720
722
|
when_not_matched_insert(A, C) {
|
|
721
|
-
const B =
|
|
723
|
+
const B = FA(A, I.__wbindgen_export), Q = o;
|
|
722
724
|
S(C, T), I.wasmmergebuilder_when_not_matched_insert(this.__wbg_ptr, B, Q, C.__wbg_ptr);
|
|
723
725
|
}
|
|
724
726
|
}
|
|
725
727
|
Symbol.dispose && (oA.prototype[Symbol.dispose] = oA.prototype.free);
|
|
726
|
-
class
|
|
728
|
+
class j {
|
|
727
729
|
__destroy_into_raw() {
|
|
728
730
|
const A = this.__wbg_ptr;
|
|
729
|
-
return this.__wbg_ptr = 0,
|
|
731
|
+
return this.__wbg_ptr = 0, uA.unregister(this), A;
|
|
730
732
|
}
|
|
731
733
|
free() {
|
|
732
734
|
const A = this.__destroy_into_raw();
|
|
@@ -753,7 +755,7 @@ class P {
|
|
|
753
755
|
* @param {string} table
|
|
754
756
|
*/
|
|
755
757
|
cross_join(A) {
|
|
756
|
-
const C =
|
|
758
|
+
const C = N(A, I.__wbindgen_export, I.__wbindgen_export2), B = o;
|
|
757
759
|
I.wasmselectbuilder_cross_join(this.__wbg_ptr, C, B);
|
|
758
760
|
}
|
|
759
761
|
/**
|
|
@@ -763,7 +765,7 @@ class P {
|
|
|
763
765
|
*/
|
|
764
766
|
ctas(A) {
|
|
765
767
|
try {
|
|
766
|
-
const E = I.__wbindgen_add_to_stack_pointer(-16), D =
|
|
768
|
+
const E = I.__wbindgen_add_to_stack_pointer(-16), D = N(A, I.__wbindgen_export, I.__wbindgen_export2), i = o;
|
|
767
769
|
I.wasmselectbuilder_ctas(E, this.__wbg_ptr, D, i);
|
|
768
770
|
var C = M().getInt32(E + 0, !0), B = M().getInt32(E + 4, !0), Q = M().getInt32(E + 8, !0);
|
|
769
771
|
if (Q)
|
|
@@ -782,12 +784,12 @@ class P {
|
|
|
782
784
|
ctas_sql(A, C) {
|
|
783
785
|
let B, Q;
|
|
784
786
|
try {
|
|
785
|
-
const h = I.__wbindgen_add_to_stack_pointer(-16),
|
|
786
|
-
I.wasmselectbuilder_ctas_sql(h, this.__wbg_ptr,
|
|
787
|
-
var E = M().getInt32(h + 0, !0), D = M().getInt32(h + 4, !0), i = M().getInt32(h + 8, !0),
|
|
788
|
-
if (
|
|
789
|
-
throw
|
|
790
|
-
return B =
|
|
787
|
+
const h = I.__wbindgen_add_to_stack_pointer(-16), J = N(A, I.__wbindgen_export, I.__wbindgen_export2), q = o, P = N(C, I.__wbindgen_export, I.__wbindgen_export2), r = o;
|
|
788
|
+
I.wasmselectbuilder_ctas_sql(h, this.__wbg_ptr, J, q, P, r);
|
|
789
|
+
var E = M().getInt32(h + 0, !0), D = M().getInt32(h + 4, !0), i = M().getInt32(h + 8, !0), k = M().getInt32(h + 12, !0), G = E, y = D;
|
|
790
|
+
if (k)
|
|
791
|
+
throw G = 0, y = 0, F(i);
|
|
792
|
+
return B = G, Q = y, U(G, y);
|
|
791
793
|
} finally {
|
|
792
794
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, Q, 1);
|
|
793
795
|
}
|
|
@@ -806,11 +808,11 @@ class P {
|
|
|
806
808
|
except_(A) {
|
|
807
809
|
try {
|
|
808
810
|
const E = I.__wbindgen_add_to_stack_pointer(-16);
|
|
809
|
-
S(A,
|
|
811
|
+
S(A, j), I.wasmselectbuilder_except_(E, this.__wbg_ptr, A.__wbg_ptr);
|
|
810
812
|
var C = M().getInt32(E + 0, !0), B = M().getInt32(E + 4, !0), Q = M().getInt32(E + 8, !0);
|
|
811
813
|
if (Q)
|
|
812
814
|
throw F(B);
|
|
813
|
-
return
|
|
815
|
+
return f.__wrap(C);
|
|
814
816
|
} finally {
|
|
815
817
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
816
818
|
}
|
|
@@ -826,7 +828,7 @@ class P {
|
|
|
826
828
|
* @param {string} table
|
|
827
829
|
*/
|
|
828
830
|
from(A) {
|
|
829
|
-
const C =
|
|
831
|
+
const C = N(A, I.__wbindgen_export, I.__wbindgen_export2), B = o;
|
|
830
832
|
I.wasmselectbuilder_from(this.__wbg_ptr, C, B);
|
|
831
833
|
}
|
|
832
834
|
/**
|
|
@@ -855,7 +857,7 @@ class P {
|
|
|
855
857
|
* @param {string} hint_text
|
|
856
858
|
*/
|
|
857
859
|
hint(A) {
|
|
858
|
-
const C =
|
|
860
|
+
const C = N(A, I.__wbindgen_export, I.__wbindgen_export2), B = o;
|
|
859
861
|
I.wasmselectbuilder_hint(this.__wbg_ptr, C, B);
|
|
860
862
|
}
|
|
861
863
|
/**
|
|
@@ -866,11 +868,11 @@ class P {
|
|
|
866
868
|
intersect(A) {
|
|
867
869
|
try {
|
|
868
870
|
const E = I.__wbindgen_add_to_stack_pointer(-16);
|
|
869
|
-
S(A,
|
|
871
|
+
S(A, j), I.wasmselectbuilder_intersect(E, this.__wbg_ptr, A.__wbg_ptr);
|
|
870
872
|
var C = M().getInt32(E + 0, !0), B = M().getInt32(E + 4, !0), Q = M().getInt32(E + 8, !0);
|
|
871
873
|
if (Q)
|
|
872
874
|
throw F(B);
|
|
873
|
-
return
|
|
875
|
+
return f.__wrap(C);
|
|
874
876
|
} finally {
|
|
875
877
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
876
878
|
}
|
|
@@ -881,7 +883,7 @@ class P {
|
|
|
881
883
|
* @param {WasmExpr} on
|
|
882
884
|
*/
|
|
883
885
|
join(A, C) {
|
|
884
|
-
const B =
|
|
886
|
+
const B = N(A, I.__wbindgen_export, I.__wbindgen_export2), Q = o;
|
|
885
887
|
S(C, K), I.wasmselectbuilder_join(this.__wbg_ptr, B, Q, C.__wbg_ptr);
|
|
886
888
|
}
|
|
887
889
|
/**
|
|
@@ -892,7 +894,7 @@ class P {
|
|
|
892
894
|
*/
|
|
893
895
|
lateral_view(A, C, B) {
|
|
894
896
|
S(A, K);
|
|
895
|
-
const Q =
|
|
897
|
+
const Q = N(C, I.__wbindgen_export, I.__wbindgen_export2), E = o, D = FA(B, I.__wbindgen_export), i = o;
|
|
896
898
|
I.wasmselectbuilder_lateral_view(this.__wbg_ptr, A.__wbg_ptr, Q, E, D, i);
|
|
897
899
|
}
|
|
898
900
|
/**
|
|
@@ -901,7 +903,7 @@ class P {
|
|
|
901
903
|
* @param {WasmExpr} on
|
|
902
904
|
*/
|
|
903
905
|
left_join(A, C) {
|
|
904
|
-
const B =
|
|
906
|
+
const B = N(A, I.__wbindgen_export, I.__wbindgen_export2), Q = o;
|
|
905
907
|
S(C, K), I.wasmselectbuilder_left_join(this.__wbg_ptr, B, Q, C.__wbg_ptr);
|
|
906
908
|
}
|
|
907
909
|
/**
|
|
@@ -916,7 +918,7 @@ class P {
|
|
|
916
918
|
*/
|
|
917
919
|
constructor() {
|
|
918
920
|
const A = I.wasmselectbuilder_new();
|
|
919
|
-
return this.__wbg_ptr = A >>> 0,
|
|
921
|
+
return this.__wbg_ptr = A >>> 0, uA.register(this, this.__wbg_ptr, this), this;
|
|
920
922
|
}
|
|
921
923
|
/**
|
|
922
924
|
* Set the OFFSET clause.
|
|
@@ -945,7 +947,7 @@ class P {
|
|
|
945
947
|
* @param {WasmExpr} on
|
|
946
948
|
*/
|
|
947
949
|
right_join(A, C) {
|
|
948
|
-
const B =
|
|
950
|
+
const B = N(A, I.__wbindgen_export, I.__wbindgen_export2), Q = o;
|
|
949
951
|
S(C, K), I.wasmselectbuilder_right_join(this.__wbg_ptr, B, Q, C.__wbg_ptr);
|
|
950
952
|
}
|
|
951
953
|
/**
|
|
@@ -953,7 +955,7 @@ class P {
|
|
|
953
955
|
* @param {string} name
|
|
954
956
|
*/
|
|
955
957
|
select_col(A) {
|
|
956
|
-
const C =
|
|
958
|
+
const C = N(A, I.__wbindgen_export, I.__wbindgen_export2), B = o;
|
|
957
959
|
I.wasmselectbuilder_select_col(this.__wbg_ptr, C, B);
|
|
958
960
|
}
|
|
959
961
|
/**
|
|
@@ -991,12 +993,12 @@ class P {
|
|
|
991
993
|
to_sql(A) {
|
|
992
994
|
let C, B;
|
|
993
995
|
try {
|
|
994
|
-
const
|
|
995
|
-
I.wasmselectbuilder_to_sql(
|
|
996
|
-
var Q = M().getInt32(
|
|
996
|
+
const y = I.__wbindgen_add_to_stack_pointer(-16), h = N(A, I.__wbindgen_export, I.__wbindgen_export2), J = o;
|
|
997
|
+
I.wasmselectbuilder_to_sql(y, this.__wbg_ptr, h, J);
|
|
998
|
+
var Q = M().getInt32(y + 0, !0), E = M().getInt32(y + 4, !0), D = M().getInt32(y + 8, !0), i = M().getInt32(y + 12, !0), k = Q, G = E;
|
|
997
999
|
if (i)
|
|
998
|
-
throw
|
|
999
|
-
return C =
|
|
1000
|
+
throw k = 0, G = 0, F(D);
|
|
1001
|
+
return C = k, B = G, U(k, G);
|
|
1000
1002
|
} finally {
|
|
1001
1003
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1002
1004
|
}
|
|
@@ -1009,11 +1011,11 @@ class P {
|
|
|
1009
1011
|
union(A) {
|
|
1010
1012
|
try {
|
|
1011
1013
|
const E = I.__wbindgen_add_to_stack_pointer(-16);
|
|
1012
|
-
S(A,
|
|
1014
|
+
S(A, j), I.wasmselectbuilder_union(E, this.__wbg_ptr, A.__wbg_ptr);
|
|
1013
1015
|
var C = M().getInt32(E + 0, !0), B = M().getInt32(E + 4, !0), Q = M().getInt32(E + 8, !0);
|
|
1014
1016
|
if (Q)
|
|
1015
1017
|
throw F(B);
|
|
1016
|
-
return
|
|
1018
|
+
return f.__wrap(C);
|
|
1017
1019
|
} finally {
|
|
1018
1020
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
1019
1021
|
}
|
|
@@ -1026,11 +1028,11 @@ class P {
|
|
|
1026
1028
|
union_all(A) {
|
|
1027
1029
|
try {
|
|
1028
1030
|
const E = I.__wbindgen_add_to_stack_pointer(-16);
|
|
1029
|
-
S(A,
|
|
1031
|
+
S(A, j), I.wasmselectbuilder_union_all(E, this.__wbg_ptr, A.__wbg_ptr);
|
|
1030
1032
|
var C = M().getInt32(E + 0, !0), B = M().getInt32(E + 4, !0), Q = M().getInt32(E + 8, !0);
|
|
1031
1033
|
if (Q)
|
|
1032
1034
|
throw F(B);
|
|
1033
|
-
return
|
|
1035
|
+
return f.__wrap(C);
|
|
1034
1036
|
} finally {
|
|
1035
1037
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
1036
1038
|
}
|
|
@@ -1047,7 +1049,7 @@ class P {
|
|
|
1047
1049
|
* @param {string} sql
|
|
1048
1050
|
*/
|
|
1049
1051
|
where_sql(A) {
|
|
1050
|
-
const C =
|
|
1052
|
+
const C = N(A, I.__wbindgen_export, I.__wbindgen_export2), B = o;
|
|
1051
1053
|
I.wasmselectbuilder_where_sql(this.__wbg_ptr, C, B);
|
|
1052
1054
|
}
|
|
1053
1055
|
/**
|
|
@@ -1057,7 +1059,7 @@ class P {
|
|
|
1057
1059
|
*/
|
|
1058
1060
|
window(A, C) {
|
|
1059
1061
|
try {
|
|
1060
|
-
const E = I.__wbindgen_add_to_stack_pointer(-16), D =
|
|
1062
|
+
const E = I.__wbindgen_add_to_stack_pointer(-16), D = N(A, I.__wbindgen_export, I.__wbindgen_export2), i = o;
|
|
1061
1063
|
S(C, BA), I.wasmselectbuilder_window(E, this.__wbg_ptr, D, i, C.__wbg_ptr);
|
|
1062
1064
|
var B = M().getInt32(E + 0, !0), Q = M().getInt32(E + 4, !0);
|
|
1063
1065
|
if (Q)
|
|
@@ -1067,16 +1069,16 @@ class P {
|
|
|
1067
1069
|
}
|
|
1068
1070
|
}
|
|
1069
1071
|
}
|
|
1070
|
-
Symbol.dispose && (
|
|
1071
|
-
class
|
|
1072
|
+
Symbol.dispose && (j.prototype[Symbol.dispose] = j.prototype.free);
|
|
1073
|
+
class f {
|
|
1072
1074
|
static __wrap(A) {
|
|
1073
1075
|
A = A >>> 0;
|
|
1074
|
-
const C = Object.create(
|
|
1075
|
-
return C.__wbg_ptr = A,
|
|
1076
|
+
const C = Object.create(f.prototype);
|
|
1077
|
+
return C.__wbg_ptr = A, rA.register(C, C.__wbg_ptr, C), C;
|
|
1076
1078
|
}
|
|
1077
1079
|
__destroy_into_raw() {
|
|
1078
1080
|
const A = this.__wbg_ptr;
|
|
1079
|
-
return this.__wbg_ptr = 0,
|
|
1081
|
+
return this.__wbg_ptr = 0, rA.unregister(this), A;
|
|
1080
1082
|
}
|
|
1081
1083
|
free() {
|
|
1082
1084
|
const A = this.__destroy_into_raw();
|
|
@@ -1127,19 +1129,19 @@ class z {
|
|
|
1127
1129
|
to_sql(A) {
|
|
1128
1130
|
let C, B;
|
|
1129
1131
|
try {
|
|
1130
|
-
const
|
|
1131
|
-
I.wasmsetopbuilder_to_sql(
|
|
1132
|
-
var Q = M().getInt32(
|
|
1132
|
+
const y = I.__wbindgen_add_to_stack_pointer(-16), h = N(A, I.__wbindgen_export, I.__wbindgen_export2), J = o;
|
|
1133
|
+
I.wasmsetopbuilder_to_sql(y, this.__wbg_ptr, h, J);
|
|
1134
|
+
var Q = M().getInt32(y + 0, !0), E = M().getInt32(y + 4, !0), D = M().getInt32(y + 8, !0), i = M().getInt32(y + 12, !0), k = Q, G = E;
|
|
1133
1135
|
if (i)
|
|
1134
|
-
throw
|
|
1135
|
-
return C =
|
|
1136
|
+
throw k = 0, G = 0, F(D);
|
|
1137
|
+
return C = k, B = G, U(k, G);
|
|
1136
1138
|
} finally {
|
|
1137
1139
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1138
1140
|
}
|
|
1139
1141
|
}
|
|
1140
1142
|
}
|
|
1141
|
-
Symbol.dispose && (
|
|
1142
|
-
class
|
|
1143
|
+
Symbol.dispose && (f.prototype[Symbol.dispose] = f.prototype.free);
|
|
1144
|
+
class NA {
|
|
1143
1145
|
__destroy_into_raw() {
|
|
1144
1146
|
const A = this.__wbg_ptr;
|
|
1145
1147
|
return this.__wbg_ptr = 0, nA.unregister(this), A;
|
|
@@ -1169,7 +1171,7 @@ class kA {
|
|
|
1169
1171
|
* @param {string} table
|
|
1170
1172
|
*/
|
|
1171
1173
|
from(A) {
|
|
1172
|
-
const C =
|
|
1174
|
+
const C = N(A, I.__wbindgen_export, I.__wbindgen_export2), B = o;
|
|
1173
1175
|
I.wasmupdatebuilder_from(this.__wbg_ptr, C, B);
|
|
1174
1176
|
}
|
|
1175
1177
|
/**
|
|
@@ -1177,7 +1179,7 @@ class kA {
|
|
|
1177
1179
|
* @param {string} table_name
|
|
1178
1180
|
*/
|
|
1179
1181
|
constructor(A) {
|
|
1180
|
-
const C =
|
|
1182
|
+
const C = N(A, I.__wbindgen_export, I.__wbindgen_export2), B = o, Q = I.wasmupdatebuilder_new(C, B);
|
|
1181
1183
|
return this.__wbg_ptr = Q >>> 0, nA.register(this, this.__wbg_ptr, this), this;
|
|
1182
1184
|
}
|
|
1183
1185
|
/**
|
|
@@ -1186,7 +1188,7 @@ class kA {
|
|
|
1186
1188
|
* @param {WasmExpr} value
|
|
1187
1189
|
*/
|
|
1188
1190
|
set(A, C) {
|
|
1189
|
-
const B =
|
|
1191
|
+
const B = N(A, I.__wbindgen_export, I.__wbindgen_export2), Q = o;
|
|
1190
1192
|
S(C, K), I.wasmupdatebuilder_set(this.__wbg_ptr, B, Q, C.__wbg_ptr);
|
|
1191
1193
|
}
|
|
1192
1194
|
/**
|
|
@@ -1197,12 +1199,12 @@ class kA {
|
|
|
1197
1199
|
to_sql(A) {
|
|
1198
1200
|
let C, B;
|
|
1199
1201
|
try {
|
|
1200
|
-
const
|
|
1201
|
-
I.wasmupdatebuilder_to_sql(
|
|
1202
|
-
var Q = M().getInt32(
|
|
1202
|
+
const y = I.__wbindgen_add_to_stack_pointer(-16), h = N(A, I.__wbindgen_export, I.__wbindgen_export2), J = o;
|
|
1203
|
+
I.wasmupdatebuilder_to_sql(y, this.__wbg_ptr, h, J);
|
|
1204
|
+
var Q = M().getInt32(y + 0, !0), E = M().getInt32(y + 4, !0), D = M().getInt32(y + 8, !0), i = M().getInt32(y + 12, !0), k = Q, G = E;
|
|
1203
1205
|
if (i)
|
|
1204
|
-
throw
|
|
1205
|
-
return C =
|
|
1206
|
+
throw k = 0, G = 0, F(D);
|
|
1207
|
+
return C = k, B = G, U(k, G);
|
|
1206
1208
|
} finally {
|
|
1207
1209
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1208
1210
|
}
|
|
@@ -1215,7 +1217,7 @@ class kA {
|
|
|
1215
1217
|
S(A, K), I.wasmupdatebuilder_where_expr(this.__wbg_ptr, A.__wbg_ptr);
|
|
1216
1218
|
}
|
|
1217
1219
|
}
|
|
1218
|
-
Symbol.dispose && (
|
|
1220
|
+
Symbol.dispose && (NA.prototype[Symbol.dispose] = NA.prototype.free);
|
|
1219
1221
|
class BA {
|
|
1220
1222
|
__destroy_into_raw() {
|
|
1221
1223
|
const A = this.__wbg_ptr;
|
|
@@ -1248,39 +1250,39 @@ class BA {
|
|
|
1248
1250
|
}
|
|
1249
1251
|
}
|
|
1250
1252
|
Symbol.dispose && (BA.prototype[Symbol.dispose] = BA.prototype.free);
|
|
1251
|
-
function
|
|
1253
|
+
function KI(g, A, C) {
|
|
1252
1254
|
let B, Q;
|
|
1253
1255
|
try {
|
|
1254
|
-
const i = I.__wbindgen_add_to_stack_pointer(-16),
|
|
1255
|
-
I.annotate_types(i,
|
|
1256
|
+
const i = I.__wbindgen_add_to_stack_pointer(-16), k = N(g, I.__wbindgen_export, I.__wbindgen_export2), G = o, y = N(A, I.__wbindgen_export, I.__wbindgen_export2), h = o, J = N(C, I.__wbindgen_export, I.__wbindgen_export2), q = o;
|
|
1257
|
+
I.annotate_types(i, k, G, y, h, J, q);
|
|
1256
1258
|
var E = M().getInt32(i + 0, !0), D = M().getInt32(i + 4, !0);
|
|
1257
|
-
return B = E, Q = D,
|
|
1259
|
+
return B = E, Q = D, U(E, D);
|
|
1258
1260
|
} finally {
|
|
1259
1261
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, Q, 1);
|
|
1260
1262
|
}
|
|
1261
1263
|
}
|
|
1262
|
-
function
|
|
1263
|
-
const B =
|
|
1264
|
-
return F(
|
|
1264
|
+
function YI(g, A, C) {
|
|
1265
|
+
const B = N(g, I.__wbindgen_export, I.__wbindgen_export2), Q = o, E = N(A, I.__wbindgen_export, I.__wbindgen_export2), D = o, i = N(C, I.__wbindgen_export, I.__wbindgen_export2), k = o, G = I.annotate_types_value(B, Q, E, D, i, k);
|
|
1266
|
+
return F(G);
|
|
1265
1267
|
}
|
|
1266
|
-
function
|
|
1268
|
+
function bA(g, A, C) {
|
|
1267
1269
|
let B, Q;
|
|
1268
1270
|
try {
|
|
1269
|
-
const i = I.__wbindgen_add_to_stack_pointer(-16),
|
|
1270
|
-
I.ast_add_where(i,
|
|
1271
|
+
const i = I.__wbindgen_add_to_stack_pointer(-16), k = N(g, I.__wbindgen_export, I.__wbindgen_export2), G = o, y = N(A, I.__wbindgen_export, I.__wbindgen_export2), h = o;
|
|
1272
|
+
I.ast_add_where(i, k, G, y, h, C);
|
|
1271
1273
|
var E = M().getInt32(i + 0, !0), D = M().getInt32(i + 4, !0);
|
|
1272
|
-
return B = E, Q = D,
|
|
1274
|
+
return B = E, Q = D, U(E, D);
|
|
1273
1275
|
} finally {
|
|
1274
1276
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, Q, 1);
|
|
1275
1277
|
}
|
|
1276
1278
|
}
|
|
1277
|
-
function
|
|
1279
|
+
function vA(g) {
|
|
1278
1280
|
let A, C;
|
|
1279
1281
|
try {
|
|
1280
|
-
const E = I.__wbindgen_add_to_stack_pointer(-16), D =
|
|
1282
|
+
const E = I.__wbindgen_add_to_stack_pointer(-16), D = N(g, I.__wbindgen_export, I.__wbindgen_export2), i = o;
|
|
1281
1283
|
I.ast_get_aggregate_functions(E, D, i);
|
|
1282
1284
|
var B = M().getInt32(E + 0, !0), Q = M().getInt32(E + 4, !0);
|
|
1283
|
-
return A = B, C = Q,
|
|
1285
|
+
return A = B, C = Q, U(B, Q);
|
|
1284
1286
|
} finally {
|
|
1285
1287
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
|
|
1286
1288
|
}
|
|
@@ -1288,10 +1290,10 @@ function bA(g) {
|
|
|
1288
1290
|
function XA(g) {
|
|
1289
1291
|
let A, C;
|
|
1290
1292
|
try {
|
|
1291
|
-
const E = I.__wbindgen_add_to_stack_pointer(-16), D =
|
|
1293
|
+
const E = I.__wbindgen_add_to_stack_pointer(-16), D = N(g, I.__wbindgen_export, I.__wbindgen_export2), i = o;
|
|
1292
1294
|
I.ast_get_column_names(E, D, i);
|
|
1293
1295
|
var B = M().getInt32(E + 0, !0), Q = M().getInt32(E + 4, !0);
|
|
1294
|
-
return A = B, C = Q,
|
|
1296
|
+
return A = B, C = Q, U(B, Q);
|
|
1295
1297
|
} finally {
|
|
1296
1298
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
|
|
1297
1299
|
}
|
|
@@ -1299,10 +1301,10 @@ function XA(g) {
|
|
|
1299
1301
|
function _A(g) {
|
|
1300
1302
|
let A, C;
|
|
1301
1303
|
try {
|
|
1302
|
-
const E = I.__wbindgen_add_to_stack_pointer(-16), D =
|
|
1304
|
+
const E = I.__wbindgen_add_to_stack_pointer(-16), D = N(g, I.__wbindgen_export, I.__wbindgen_export2), i = o;
|
|
1303
1305
|
I.ast_get_functions(E, D, i);
|
|
1304
1306
|
var B = M().getInt32(E + 0, !0), Q = M().getInt32(E + 4, !0);
|
|
1305
|
-
return A = B, C = Q,
|
|
1307
|
+
return A = B, C = Q, U(B, Q);
|
|
1306
1308
|
} finally {
|
|
1307
1309
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
|
|
1308
1310
|
}
|
|
@@ -1310,10 +1312,10 @@ function _A(g) {
|
|
|
1310
1312
|
function $A(g) {
|
|
1311
1313
|
let A, C;
|
|
1312
1314
|
try {
|
|
1313
|
-
const E = I.__wbindgen_add_to_stack_pointer(-16), D =
|
|
1315
|
+
const E = I.__wbindgen_add_to_stack_pointer(-16), D = N(g, I.__wbindgen_export, I.__wbindgen_export2), i = o;
|
|
1314
1316
|
I.ast_get_literals(E, D, i);
|
|
1315
1317
|
var B = M().getInt32(E + 0, !0), Q = M().getInt32(E + 4, !0);
|
|
1316
|
-
return A = B, C = Q,
|
|
1318
|
+
return A = B, C = Q, U(B, Q);
|
|
1317
1319
|
} finally {
|
|
1318
1320
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
|
|
1319
1321
|
}
|
|
@@ -1321,10 +1323,10 @@ function $A(g) {
|
|
|
1321
1323
|
function Ag(g) {
|
|
1322
1324
|
let A, C;
|
|
1323
1325
|
try {
|
|
1324
|
-
const E = I.__wbindgen_add_to_stack_pointer(-16), D =
|
|
1326
|
+
const E = I.__wbindgen_add_to_stack_pointer(-16), D = N(g, I.__wbindgen_export, I.__wbindgen_export2), i = o;
|
|
1325
1327
|
I.ast_get_subqueries(E, D, i);
|
|
1326
1328
|
var B = M().getInt32(E + 0, !0), Q = M().getInt32(E + 4, !0);
|
|
1327
|
-
return A = B, C = Q,
|
|
1329
|
+
return A = B, C = Q, U(B, Q);
|
|
1328
1330
|
} finally {
|
|
1329
1331
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
|
|
1330
1332
|
}
|
|
@@ -1332,10 +1334,10 @@ function Ag(g) {
|
|
|
1332
1334
|
function gg(g) {
|
|
1333
1335
|
let A, C;
|
|
1334
1336
|
try {
|
|
1335
|
-
const E = I.__wbindgen_add_to_stack_pointer(-16), D =
|
|
1337
|
+
const E = I.__wbindgen_add_to_stack_pointer(-16), D = N(g, I.__wbindgen_export, I.__wbindgen_export2), i = o;
|
|
1336
1338
|
I.ast_get_table_names(E, D, i);
|
|
1337
1339
|
var B = M().getInt32(E + 0, !0), Q = M().getInt32(E + 4, !0);
|
|
1338
|
-
return A = B, C = Q,
|
|
1340
|
+
return A = B, C = Q, U(B, Q);
|
|
1339
1341
|
} finally {
|
|
1340
1342
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
|
|
1341
1343
|
}
|
|
@@ -1343,10 +1345,10 @@ function gg(g) {
|
|
|
1343
1345
|
function Ig(g) {
|
|
1344
1346
|
let A, C;
|
|
1345
1347
|
try {
|
|
1346
|
-
const E = I.__wbindgen_add_to_stack_pointer(-16), D =
|
|
1348
|
+
const E = I.__wbindgen_add_to_stack_pointer(-16), D = N(g, I.__wbindgen_export, I.__wbindgen_export2), i = o;
|
|
1347
1349
|
I.ast_get_window_functions(E, D, i);
|
|
1348
1350
|
var B = M().getInt32(E + 0, !0), Q = M().getInt32(E + 4, !0);
|
|
1349
|
-
return A = B, C = Q,
|
|
1351
|
+
return A = B, C = Q, U(B, Q);
|
|
1350
1352
|
} finally {
|
|
1351
1353
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
|
|
1352
1354
|
}
|
|
@@ -1354,10 +1356,10 @@ function Ig(g) {
|
|
|
1354
1356
|
function Cg(g) {
|
|
1355
1357
|
let A, C;
|
|
1356
1358
|
try {
|
|
1357
|
-
const E = I.__wbindgen_add_to_stack_pointer(-16), D =
|
|
1359
|
+
const E = I.__wbindgen_add_to_stack_pointer(-16), D = N(g, I.__wbindgen_export, I.__wbindgen_export2), i = o;
|
|
1358
1360
|
I.ast_node_count(E, D, i);
|
|
1359
1361
|
var B = M().getInt32(E + 0, !0), Q = M().getInt32(E + 4, !0);
|
|
1360
|
-
return A = B, C = Q,
|
|
1362
|
+
return A = B, C = Q, U(B, Q);
|
|
1361
1363
|
} finally {
|
|
1362
1364
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
|
|
1363
1365
|
}
|
|
@@ -1365,323 +1367,345 @@ function Cg(g) {
|
|
|
1365
1367
|
function Bg(g, A) {
|
|
1366
1368
|
let C, B;
|
|
1367
1369
|
try {
|
|
1368
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16), i =
|
|
1369
|
-
I.ast_qualify_columns(D, i,
|
|
1370
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), i = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = o, G = N(A, I.__wbindgen_export, I.__wbindgen_export2), y = o;
|
|
1371
|
+
I.ast_qualify_columns(D, i, k, G, y);
|
|
1370
1372
|
var Q = M().getInt32(D + 0, !0), E = M().getInt32(D + 4, !0);
|
|
1371
|
-
return C = Q, B = E,
|
|
1373
|
+
return C = Q, B = E, U(Q, E);
|
|
1372
1374
|
} finally {
|
|
1373
1375
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1374
1376
|
}
|
|
1375
1377
|
}
|
|
1376
|
-
function Qg(g) {
|
|
1378
|
+
function Qg(g, A) {
|
|
1379
|
+
let C, B;
|
|
1380
|
+
try {
|
|
1381
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), i = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = o, G = N(A, I.__wbindgen_export, I.__wbindgen_export2), y = o;
|
|
1382
|
+
I.ast_qualify_tables(D, i, k, G, y);
|
|
1383
|
+
var Q = M().getInt32(D + 0, !0), E = M().getInt32(D + 4, !0);
|
|
1384
|
+
return C = Q, B = E, U(Q, E);
|
|
1385
|
+
} finally {
|
|
1386
|
+
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1387
|
+
}
|
|
1388
|
+
}
|
|
1389
|
+
function Eg(g) {
|
|
1377
1390
|
let A, C;
|
|
1378
1391
|
try {
|
|
1379
|
-
const E = I.__wbindgen_add_to_stack_pointer(-16), D =
|
|
1392
|
+
const E = I.__wbindgen_add_to_stack_pointer(-16), D = N(g, I.__wbindgen_export, I.__wbindgen_export2), i = o;
|
|
1380
1393
|
I.ast_remove_where(E, D, i);
|
|
1381
1394
|
var B = M().getInt32(E + 0, !0), Q = M().getInt32(E + 4, !0);
|
|
1382
|
-
return A = B, C = Q,
|
|
1395
|
+
return A = B, C = Q, U(B, Q);
|
|
1383
1396
|
} finally {
|
|
1384
1397
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
|
|
1385
1398
|
}
|
|
1386
1399
|
}
|
|
1387
|
-
function
|
|
1400
|
+
function Dg(g, A) {
|
|
1388
1401
|
let C, B;
|
|
1389
1402
|
try {
|
|
1390
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16), i =
|
|
1391
|
-
I.ast_rename_columns(D, i,
|
|
1403
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), i = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = o, G = N(A, I.__wbindgen_export, I.__wbindgen_export2), y = o;
|
|
1404
|
+
I.ast_rename_columns(D, i, k, G, y);
|
|
1392
1405
|
var Q = M().getInt32(D + 0, !0), E = M().getInt32(D + 4, !0);
|
|
1393
|
-
return C = Q, B = E,
|
|
1406
|
+
return C = Q, B = E, U(Q, E);
|
|
1394
1407
|
} finally {
|
|
1395
1408
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1396
1409
|
}
|
|
1397
1410
|
}
|
|
1398
|
-
function
|
|
1411
|
+
function wg(g, A) {
|
|
1399
1412
|
let C, B;
|
|
1400
1413
|
try {
|
|
1401
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16), i =
|
|
1402
|
-
I.ast_rename_tables(D, i,
|
|
1414
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), i = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = o, G = N(A, I.__wbindgen_export, I.__wbindgen_export2), y = o;
|
|
1415
|
+
I.ast_rename_tables(D, i, k, G, y);
|
|
1403
1416
|
var Q = M().getInt32(D + 0, !0), E = M().getInt32(D + 4, !0);
|
|
1404
|
-
return C = Q, B = E,
|
|
1417
|
+
return C = Q, B = E, U(Q, E);
|
|
1405
1418
|
} finally {
|
|
1406
1419
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1407
1420
|
}
|
|
1408
1421
|
}
|
|
1409
|
-
function
|
|
1422
|
+
function Mg(g, A, C) {
|
|
1423
|
+
let B, Q;
|
|
1424
|
+
try {
|
|
1425
|
+
const i = I.__wbindgen_add_to_stack_pointer(-16), k = N(g, I.__wbindgen_export, I.__wbindgen_export2), G = o, y = N(A, I.__wbindgen_export, I.__wbindgen_export2), h = o, J = N(C, I.__wbindgen_export, I.__wbindgen_export2), q = o;
|
|
1426
|
+
I.ast_rename_tables_with_options(i, k, G, y, h, J, q);
|
|
1427
|
+
var E = M().getInt32(i + 0, !0), D = M().getInt32(i + 4, !0);
|
|
1428
|
+
return B = E, Q = D, U(E, D);
|
|
1429
|
+
} finally {
|
|
1430
|
+
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, Q, 1);
|
|
1431
|
+
}
|
|
1432
|
+
}
|
|
1433
|
+
function ig(g, A) {
|
|
1410
1434
|
let C, B;
|
|
1411
1435
|
try {
|
|
1412
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16), i =
|
|
1413
|
-
I.ast_set_distinct(D, i,
|
|
1436
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), i = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = o;
|
|
1437
|
+
I.ast_set_distinct(D, i, k, A);
|
|
1414
1438
|
var Q = M().getInt32(D + 0, !0), E = M().getInt32(D + 4, !0);
|
|
1415
|
-
return C = Q, B = E,
|
|
1439
|
+
return C = Q, B = E, U(Q, E);
|
|
1416
1440
|
} finally {
|
|
1417
1441
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1418
1442
|
}
|
|
1419
1443
|
}
|
|
1420
|
-
function
|
|
1444
|
+
function og(g, A) {
|
|
1421
1445
|
let C, B;
|
|
1422
1446
|
try {
|
|
1423
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16), i =
|
|
1424
|
-
I.ast_set_limit(D, i,
|
|
1447
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), i = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = o;
|
|
1448
|
+
I.ast_set_limit(D, i, k, A);
|
|
1425
1449
|
var Q = M().getInt32(D + 0, !0), E = M().getInt32(D + 4, !0);
|
|
1426
|
-
return C = Q, B = E,
|
|
1450
|
+
return C = Q, B = E, U(Q, E);
|
|
1427
1451
|
} finally {
|
|
1428
1452
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1429
1453
|
}
|
|
1430
1454
|
}
|
|
1431
|
-
function
|
|
1455
|
+
function Ng(g, A, C, B, Q, E) {
|
|
1432
1456
|
let D, i;
|
|
1433
1457
|
try {
|
|
1434
|
-
const
|
|
1435
|
-
I.diff_sql(
|
|
1436
|
-
var
|
|
1437
|
-
return D =
|
|
1458
|
+
const y = I.__wbindgen_add_to_stack_pointer(-16), h = N(g, I.__wbindgen_export, I.__wbindgen_export2), J = o, q = N(A, I.__wbindgen_export, I.__wbindgen_export2), P = o, r = N(C, I.__wbindgen_export, I.__wbindgen_export2), v = o;
|
|
1459
|
+
I.diff_sql(y, h, J, q, P, r, v, B, Q, E);
|
|
1460
|
+
var k = M().getInt32(y + 0, !0), G = M().getInt32(y + 4, !0);
|
|
1461
|
+
return D = k, i = G, U(k, G);
|
|
1438
1462
|
} finally {
|
|
1439
1463
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(D, i, 1);
|
|
1440
1464
|
}
|
|
1441
1465
|
}
|
|
1442
|
-
function
|
|
1466
|
+
function SI(g, A) {
|
|
1443
1467
|
let C, B;
|
|
1444
1468
|
try {
|
|
1445
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16), i =
|
|
1446
|
-
I.format_sql(D, i,
|
|
1469
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), i = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = o, G = N(A, I.__wbindgen_export, I.__wbindgen_export2), y = o;
|
|
1470
|
+
I.format_sql(D, i, k, G, y);
|
|
1447
1471
|
var Q = M().getInt32(D + 0, !0), E = M().getInt32(D + 4, !0);
|
|
1448
|
-
return C = Q, B = E,
|
|
1472
|
+
return C = Q, B = E, U(Q, E);
|
|
1449
1473
|
} finally {
|
|
1450
1474
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1451
1475
|
}
|
|
1452
1476
|
}
|
|
1453
|
-
function
|
|
1454
|
-
const C =
|
|
1477
|
+
function hI(g, A) {
|
|
1478
|
+
const C = N(g, I.__wbindgen_export, I.__wbindgen_export2), B = o, Q = N(A, I.__wbindgen_export, I.__wbindgen_export2), E = o, D = I.format_sql_value(C, B, Q, E);
|
|
1455
1479
|
return F(D);
|
|
1456
1480
|
}
|
|
1457
|
-
function
|
|
1481
|
+
function HI(g, A, C) {
|
|
1458
1482
|
let B, Q;
|
|
1459
1483
|
try {
|
|
1460
|
-
const i = I.__wbindgen_add_to_stack_pointer(-16),
|
|
1461
|
-
I.format_sql_with_options(i,
|
|
1484
|
+
const i = I.__wbindgen_add_to_stack_pointer(-16), k = N(g, I.__wbindgen_export, I.__wbindgen_export2), G = o, y = N(A, I.__wbindgen_export, I.__wbindgen_export2), h = o, J = N(C, I.__wbindgen_export, I.__wbindgen_export2), q = o;
|
|
1485
|
+
I.format_sql_with_options(i, k, G, y, h, J, q);
|
|
1462
1486
|
var E = M().getInt32(i + 0, !0), D = M().getInt32(i + 4, !0);
|
|
1463
|
-
return B = E, Q = D,
|
|
1487
|
+
return B = E, Q = D, U(E, D);
|
|
1464
1488
|
} finally {
|
|
1465
1489
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, Q, 1);
|
|
1466
1490
|
}
|
|
1467
1491
|
}
|
|
1468
|
-
function
|
|
1469
|
-
const B =
|
|
1492
|
+
function LI(g, A, C) {
|
|
1493
|
+
const B = N(g, I.__wbindgen_export, I.__wbindgen_export2), Q = o, E = N(A, I.__wbindgen_export, I.__wbindgen_export2), D = o, i = I.format_sql_with_options_value(B, Q, E, D, s(C));
|
|
1470
1494
|
return F(i);
|
|
1471
1495
|
}
|
|
1472
|
-
function
|
|
1496
|
+
function UI(g, A) {
|
|
1473
1497
|
let C, B;
|
|
1474
1498
|
try {
|
|
1475
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16), i =
|
|
1476
|
-
I.generate(D, i,
|
|
1499
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), i = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = o, G = N(A, I.__wbindgen_export, I.__wbindgen_export2), y = o;
|
|
1500
|
+
I.generate(D, i, k, G, y);
|
|
1477
1501
|
var Q = M().getInt32(D + 0, !0), E = M().getInt32(D + 4, !0);
|
|
1478
|
-
return C = Q, B = E,
|
|
1502
|
+
return C = Q, B = E, U(Q, E);
|
|
1479
1503
|
} finally {
|
|
1480
1504
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1481
1505
|
}
|
|
1482
1506
|
}
|
|
1483
|
-
function
|
|
1484
|
-
const C =
|
|
1507
|
+
function cI(g, A) {
|
|
1508
|
+
const C = N(A, I.__wbindgen_export, I.__wbindgen_export2), B = o, Q = I.generate_value(s(g), C, B);
|
|
1485
1509
|
return F(Q);
|
|
1486
1510
|
}
|
|
1487
|
-
function
|
|
1511
|
+
function FI() {
|
|
1488
1512
|
let g, A;
|
|
1489
1513
|
try {
|
|
1490
1514
|
const Q = I.__wbindgen_add_to_stack_pointer(-16);
|
|
1491
1515
|
I.get_dialects(Q);
|
|
1492
1516
|
var C = M().getInt32(Q + 0, !0), B = M().getInt32(Q + 4, !0);
|
|
1493
|
-
return g = C, A = B,
|
|
1517
|
+
return g = C, A = B, U(C, B);
|
|
1494
1518
|
} finally {
|
|
1495
1519
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(g, A, 1);
|
|
1496
1520
|
}
|
|
1497
1521
|
}
|
|
1498
|
-
function
|
|
1522
|
+
function RI() {
|
|
1499
1523
|
const g = I.get_dialects_value();
|
|
1500
1524
|
return F(g);
|
|
1501
1525
|
}
|
|
1502
|
-
function
|
|
1526
|
+
function kg(g, A, C, B) {
|
|
1503
1527
|
let Q, E;
|
|
1504
1528
|
try {
|
|
1505
|
-
const
|
|
1506
|
-
I.lineage_sql(
|
|
1507
|
-
var D = M().getInt32(
|
|
1508
|
-
return Q = D, E = i,
|
|
1529
|
+
const k = I.__wbindgen_add_to_stack_pointer(-16), G = N(g, I.__wbindgen_export, I.__wbindgen_export2), y = o, h = N(A, I.__wbindgen_export, I.__wbindgen_export2), J = o, q = N(C, I.__wbindgen_export, I.__wbindgen_export2), P = o;
|
|
1530
|
+
I.lineage_sql(k, G, y, h, J, q, P, B);
|
|
1531
|
+
var D = M().getInt32(k + 0, !0), i = M().getInt32(k + 4, !0);
|
|
1532
|
+
return Q = D, E = i, U(D, i);
|
|
1509
1533
|
} finally {
|
|
1510
1534
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, E, 1);
|
|
1511
1535
|
}
|
|
1512
1536
|
}
|
|
1513
|
-
function
|
|
1537
|
+
function yg(g, A, C, B, Q) {
|
|
1514
1538
|
let E, D;
|
|
1515
1539
|
try {
|
|
1516
|
-
const
|
|
1517
|
-
I.lineage_sql_with_schema(
|
|
1518
|
-
var i = M().getInt32(
|
|
1519
|
-
return E = i, D =
|
|
1540
|
+
const G = I.__wbindgen_add_to_stack_pointer(-16), y = N(g, I.__wbindgen_export, I.__wbindgen_export2), h = o, J = N(A, I.__wbindgen_export, I.__wbindgen_export2), q = o, P = N(C, I.__wbindgen_export, I.__wbindgen_export2), r = o, v = N(B, I.__wbindgen_export, I.__wbindgen_export2), kI = o;
|
|
1541
|
+
I.lineage_sql_with_schema(G, y, h, J, q, P, r, v, kI, Q);
|
|
1542
|
+
var i = M().getInt32(G + 0, !0), k = M().getInt32(G + 4, !0);
|
|
1543
|
+
return E = i, D = k, U(i, k);
|
|
1520
1544
|
} finally {
|
|
1521
1545
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(E, D, 1);
|
|
1522
1546
|
}
|
|
1523
1547
|
}
|
|
1524
|
-
function
|
|
1548
|
+
function JI(g, A) {
|
|
1525
1549
|
let C, B;
|
|
1526
1550
|
try {
|
|
1527
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16), i =
|
|
1528
|
-
I.parse(D, i,
|
|
1551
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), i = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = o, G = N(A, I.__wbindgen_export, I.__wbindgen_export2), y = o;
|
|
1552
|
+
I.parse(D, i, k, G, y);
|
|
1529
1553
|
var Q = M().getInt32(D + 0, !0), E = M().getInt32(D + 4, !0);
|
|
1530
|
-
return C = Q, B = E,
|
|
1554
|
+
return C = Q, B = E, U(Q, E);
|
|
1531
1555
|
} finally {
|
|
1532
1556
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1533
1557
|
}
|
|
1534
1558
|
}
|
|
1535
|
-
function
|
|
1536
|
-
const C =
|
|
1559
|
+
function sI(g, A) {
|
|
1560
|
+
const C = N(g, I.__wbindgen_export, I.__wbindgen_export2), B = o, Q = N(A, I.__wbindgen_export, I.__wbindgen_export2), E = o, D = I.parse_value(C, B, Q, E);
|
|
1537
1561
|
return F(D);
|
|
1538
1562
|
}
|
|
1539
|
-
function
|
|
1563
|
+
function Gg(g, A) {
|
|
1540
1564
|
let C, B;
|
|
1541
1565
|
try {
|
|
1542
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16), i =
|
|
1543
|
-
I.plan(D, i,
|
|
1566
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), i = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = o, G = N(A, I.__wbindgen_export, I.__wbindgen_export2), y = o;
|
|
1567
|
+
I.plan(D, i, k, G, y);
|
|
1544
1568
|
var Q = M().getInt32(D + 0, !0), E = M().getInt32(D + 4, !0);
|
|
1545
|
-
return C = Q, B = E,
|
|
1569
|
+
return C = Q, B = E, U(Q, E);
|
|
1546
1570
|
} finally {
|
|
1547
1571
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1548
1572
|
}
|
|
1549
1573
|
}
|
|
1550
|
-
function
|
|
1574
|
+
function Kg(g, A, C) {
|
|
1551
1575
|
let B, Q;
|
|
1552
1576
|
try {
|
|
1553
|
-
const i = I.__wbindgen_add_to_stack_pointer(-16),
|
|
1554
|
-
I.source_tables(i,
|
|
1577
|
+
const i = I.__wbindgen_add_to_stack_pointer(-16), k = N(g, I.__wbindgen_export, I.__wbindgen_export2), G = o, y = N(A, I.__wbindgen_export, I.__wbindgen_export2), h = o, J = N(C, I.__wbindgen_export, I.__wbindgen_export2), q = o;
|
|
1578
|
+
I.source_tables(i, k, G, y, h, J, q);
|
|
1555
1579
|
var E = M().getInt32(i + 0, !0), D = M().getInt32(i + 4, !0);
|
|
1556
|
-
return B = E, Q = D,
|
|
1580
|
+
return B = E, Q = D, U(E, D);
|
|
1557
1581
|
} finally {
|
|
1558
1582
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, Q, 1);
|
|
1559
1583
|
}
|
|
1560
1584
|
}
|
|
1561
|
-
function
|
|
1585
|
+
function aI(g, A) {
|
|
1562
1586
|
let C, B;
|
|
1563
1587
|
try {
|
|
1564
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16), i =
|
|
1565
|
-
I.tokenize(D, i,
|
|
1588
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), i = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = o, G = N(A, I.__wbindgen_export, I.__wbindgen_export2), y = o;
|
|
1589
|
+
I.tokenize(D, i, k, G, y);
|
|
1566
1590
|
var Q = M().getInt32(D + 0, !0), E = M().getInt32(D + 4, !0);
|
|
1567
|
-
return C = Q, B = E,
|
|
1591
|
+
return C = Q, B = E, U(Q, E);
|
|
1568
1592
|
} finally {
|
|
1569
1593
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1570
1594
|
}
|
|
1571
1595
|
}
|
|
1572
|
-
function
|
|
1573
|
-
const C =
|
|
1596
|
+
function qI(g, A) {
|
|
1597
|
+
const C = N(g, I.__wbindgen_export, I.__wbindgen_export2), B = o, Q = N(A, I.__wbindgen_export, I.__wbindgen_export2), E = o, D = I.tokenize_value(C, B, Q, E);
|
|
1574
1598
|
return F(D);
|
|
1575
1599
|
}
|
|
1576
|
-
function
|
|
1600
|
+
function pI(g, A, C) {
|
|
1577
1601
|
let B, Q;
|
|
1578
1602
|
try {
|
|
1579
|
-
const i = I.__wbindgen_add_to_stack_pointer(-16),
|
|
1580
|
-
I.transpile(i,
|
|
1603
|
+
const i = I.__wbindgen_add_to_stack_pointer(-16), k = N(g, I.__wbindgen_export, I.__wbindgen_export2), G = o, y = N(A, I.__wbindgen_export, I.__wbindgen_export2), h = o, J = N(C, I.__wbindgen_export, I.__wbindgen_export2), q = o;
|
|
1604
|
+
I.transpile(i, k, G, y, h, J, q);
|
|
1581
1605
|
var E = M().getInt32(i + 0, !0), D = M().getInt32(i + 4, !0);
|
|
1582
|
-
return B = E, Q = D,
|
|
1606
|
+
return B = E, Q = D, U(E, D);
|
|
1583
1607
|
} finally {
|
|
1584
1608
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, Q, 1);
|
|
1585
1609
|
}
|
|
1586
1610
|
}
|
|
1587
|
-
function
|
|
1588
|
-
const B =
|
|
1589
|
-
return F(
|
|
1611
|
+
function TI(g, A, C) {
|
|
1612
|
+
const B = N(g, I.__wbindgen_export, I.__wbindgen_export2), Q = o, E = N(A, I.__wbindgen_export, I.__wbindgen_export2), D = o, i = N(C, I.__wbindgen_export, I.__wbindgen_export2), k = o, G = I.transpile_value(B, Q, E, D, i, k);
|
|
1613
|
+
return F(G);
|
|
1590
1614
|
}
|
|
1591
|
-
function
|
|
1615
|
+
function OI(g, A) {
|
|
1592
1616
|
let C, B;
|
|
1593
1617
|
try {
|
|
1594
|
-
const D = I.__wbindgen_add_to_stack_pointer(-16), i =
|
|
1595
|
-
I.validate(D, i,
|
|
1618
|
+
const D = I.__wbindgen_add_to_stack_pointer(-16), i = N(g, I.__wbindgen_export, I.__wbindgen_export2), k = o, G = N(A, I.__wbindgen_export, I.__wbindgen_export2), y = o;
|
|
1619
|
+
I.validate(D, i, k, G, y);
|
|
1596
1620
|
var Q = M().getInt32(D + 0, !0), E = M().getInt32(D + 4, !0);
|
|
1597
|
-
return C = Q, B = E,
|
|
1621
|
+
return C = Q, B = E, U(Q, E);
|
|
1598
1622
|
} finally {
|
|
1599
1623
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
|
|
1600
1624
|
}
|
|
1601
1625
|
}
|
|
1602
|
-
function
|
|
1626
|
+
function PI(g, A, C) {
|
|
1603
1627
|
let B, Q;
|
|
1604
1628
|
try {
|
|
1605
|
-
const i = I.__wbindgen_add_to_stack_pointer(-16),
|
|
1606
|
-
I.validate_with_options(i,
|
|
1629
|
+
const i = I.__wbindgen_add_to_stack_pointer(-16), k = N(g, I.__wbindgen_export, I.__wbindgen_export2), G = o, y = N(A, I.__wbindgen_export, I.__wbindgen_export2), h = o, J = N(C, I.__wbindgen_export, I.__wbindgen_export2), q = o;
|
|
1630
|
+
I.validate_with_options(i, k, G, y, h, J, q);
|
|
1607
1631
|
var E = M().getInt32(i + 0, !0), D = M().getInt32(i + 4, !0);
|
|
1608
|
-
return B = E, Q = D,
|
|
1632
|
+
return B = E, Q = D, U(E, D);
|
|
1609
1633
|
} finally {
|
|
1610
1634
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, Q, 1);
|
|
1611
1635
|
}
|
|
1612
1636
|
}
|
|
1613
|
-
function
|
|
1637
|
+
function Yg(g, A, C, B) {
|
|
1614
1638
|
let Q, E;
|
|
1615
1639
|
try {
|
|
1616
|
-
const
|
|
1617
|
-
I.validate_with_schema(
|
|
1618
|
-
var D = M().getInt32(
|
|
1619
|
-
return Q = D, E = i,
|
|
1640
|
+
const k = I.__wbindgen_add_to_stack_pointer(-16), G = N(g, I.__wbindgen_export, I.__wbindgen_export2), y = o, h = N(A, I.__wbindgen_export, I.__wbindgen_export2), J = o, q = N(C, I.__wbindgen_export, I.__wbindgen_export2), P = o, r = N(B, I.__wbindgen_export, I.__wbindgen_export2), v = o;
|
|
1641
|
+
I.validate_with_schema(k, G, y, h, J, q, P, r, v);
|
|
1642
|
+
var D = M().getInt32(k + 0, !0), i = M().getInt32(k + 4, !0);
|
|
1643
|
+
return Q = D, E = i, U(D, i);
|
|
1620
1644
|
} finally {
|
|
1621
1645
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, E, 1);
|
|
1622
1646
|
}
|
|
1623
1647
|
}
|
|
1624
|
-
function
|
|
1648
|
+
function jI() {
|
|
1625
1649
|
let g, A;
|
|
1626
1650
|
try {
|
|
1627
1651
|
const Q = I.__wbindgen_add_to_stack_pointer(-16);
|
|
1628
1652
|
I.version(Q);
|
|
1629
1653
|
var C = M().getInt32(Q + 0, !0), B = M().getInt32(Q + 4, !0);
|
|
1630
|
-
return g = C, A = B,
|
|
1654
|
+
return g = C, A = B, U(C, B);
|
|
1631
1655
|
} finally {
|
|
1632
1656
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(g, A, 1);
|
|
1633
1657
|
}
|
|
1634
1658
|
}
|
|
1635
|
-
function
|
|
1659
|
+
function Sg(g, A) {
|
|
1636
1660
|
S(g, K);
|
|
1637
|
-
const C =
|
|
1661
|
+
const C = N(A, I.__wbindgen_export, I.__wbindgen_export2), B = o, Q = I.wasm_alias(g.__wbg_ptr, C, B);
|
|
1638
1662
|
return K.__wrap(Q);
|
|
1639
1663
|
}
|
|
1640
|
-
function
|
|
1664
|
+
function hg(g, A) {
|
|
1641
1665
|
S(g, K), S(A, K);
|
|
1642
1666
|
const C = I.wasm_and(g.__wbg_ptr, A.__wbg_ptr);
|
|
1643
1667
|
return K.__wrap(C);
|
|
1644
1668
|
}
|
|
1645
|
-
function
|
|
1669
|
+
function Hg(g) {
|
|
1646
1670
|
const A = I.wasm_boolean(g);
|
|
1647
1671
|
return K.__wrap(A);
|
|
1648
1672
|
}
|
|
1649
|
-
function
|
|
1673
|
+
function Lg(g) {
|
|
1650
1674
|
S(g, K);
|
|
1651
1675
|
const A = I.wasm_case_of(g.__wbg_ptr);
|
|
1652
|
-
return
|
|
1676
|
+
return l.__wrap(A);
|
|
1653
1677
|
}
|
|
1654
|
-
function
|
|
1678
|
+
function Ug(g, A) {
|
|
1655
1679
|
S(g, K);
|
|
1656
|
-
const C =
|
|
1680
|
+
const C = N(A, I.__wbindgen_export, I.__wbindgen_export2), B = o, Q = I.wasm_cast(g.__wbg_ptr, C, B);
|
|
1657
1681
|
return K.__wrap(Q);
|
|
1658
1682
|
}
|
|
1659
|
-
function
|
|
1660
|
-
const A =
|
|
1683
|
+
function cA(g) {
|
|
1684
|
+
const A = N(g, I.__wbindgen_export, I.__wbindgen_export2), C = o, B = I.wasm_col(A, C);
|
|
1661
1685
|
return K.__wrap(B);
|
|
1662
1686
|
}
|
|
1663
|
-
function
|
|
1687
|
+
function cg(g) {
|
|
1664
1688
|
S(g, K);
|
|
1665
1689
|
const A = I.wasm_count_distinct(g.__wbg_ptr);
|
|
1666
1690
|
return K.__wrap(A);
|
|
1667
1691
|
}
|
|
1668
|
-
function
|
|
1669
|
-
const C =
|
|
1692
|
+
function Fg(g, A) {
|
|
1693
|
+
const C = N(g, I.__wbindgen_export, I.__wbindgen_export2), B = o;
|
|
1670
1694
|
S(A, K);
|
|
1671
1695
|
const Q = I.wasm_extract(C, B, A.__wbg_ptr);
|
|
1672
1696
|
return K.__wrap(Q);
|
|
1673
1697
|
}
|
|
1674
|
-
function
|
|
1675
|
-
const C =
|
|
1698
|
+
function Rg(g, A) {
|
|
1699
|
+
const C = N(g, I.__wbindgen_export, I.__wbindgen_export2), B = o;
|
|
1676
1700
|
S(A, T);
|
|
1677
1701
|
const Q = I.wasm_func(C, B, A.__wbg_ptr);
|
|
1678
1702
|
return K.__wrap(Q);
|
|
1679
1703
|
}
|
|
1680
|
-
function
|
|
1704
|
+
function kA(g) {
|
|
1681
1705
|
const A = I.wasm_lit(s(g));
|
|
1682
1706
|
return K.__wrap(A);
|
|
1683
1707
|
}
|
|
1684
|
-
function
|
|
1708
|
+
function Jg(g) {
|
|
1685
1709
|
S(g, K);
|
|
1686
1710
|
const A = I.wasm_not(g.__wbg_ptr);
|
|
1687
1711
|
return K.__wrap(A);
|
|
@@ -1690,24 +1714,24 @@ function yA() {
|
|
|
1690
1714
|
const g = I.wasm_null();
|
|
1691
1715
|
return K.__wrap(g);
|
|
1692
1716
|
}
|
|
1693
|
-
function
|
|
1717
|
+
function sg(g, A) {
|
|
1694
1718
|
S(g, K), S(A, K);
|
|
1695
1719
|
const C = I.wasm_or(g.__wbg_ptr, A.__wbg_ptr);
|
|
1696
1720
|
return K.__wrap(C);
|
|
1697
1721
|
}
|
|
1698
|
-
function
|
|
1699
|
-
const A =
|
|
1722
|
+
function ag(g) {
|
|
1723
|
+
const A = N(g, I.__wbindgen_export, I.__wbindgen_export2), C = o, B = I.wasm_sql_expr(A, C);
|
|
1700
1724
|
return K.__wrap(B);
|
|
1701
1725
|
}
|
|
1702
|
-
function
|
|
1726
|
+
function qg() {
|
|
1703
1727
|
const g = I.wasm_star();
|
|
1704
1728
|
return K.__wrap(g);
|
|
1705
1729
|
}
|
|
1706
|
-
function
|
|
1730
|
+
function pg(g, A) {
|
|
1707
1731
|
try {
|
|
1708
1732
|
const E = I.__wbindgen_add_to_stack_pointer(-16);
|
|
1709
|
-
S(g,
|
|
1710
|
-
const D =
|
|
1733
|
+
S(g, j);
|
|
1734
|
+
const D = N(A, I.__wbindgen_export, I.__wbindgen_export2), i = o;
|
|
1711
1735
|
I.wasm_subquery(E, g.__wbg_ptr, D, i);
|
|
1712
1736
|
var C = M().getInt32(E + 0, !0), B = M().getInt32(E + 4, !0), Q = M().getInt32(E + 8, !0);
|
|
1713
1737
|
if (Q)
|
|
@@ -1717,251 +1741,251 @@ function ag(g, A) {
|
|
|
1717
1741
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
1718
1742
|
}
|
|
1719
1743
|
}
|
|
1720
|
-
function
|
|
1721
|
-
const A =
|
|
1744
|
+
function Tg(g) {
|
|
1745
|
+
const A = N(g, I.__wbindgen_export, I.__wbindgen_export2), C = o, B = I.wasm_table(A, C);
|
|
1722
1746
|
return K.__wrap(B);
|
|
1723
1747
|
}
|
|
1724
|
-
function
|
|
1725
|
-
const C = Error(
|
|
1748
|
+
function dI(g, A) {
|
|
1749
|
+
const C = Error(U(g, A));
|
|
1726
1750
|
return s(C);
|
|
1727
1751
|
}
|
|
1728
|
-
function
|
|
1729
|
-
return Number(
|
|
1752
|
+
function tI(g) {
|
|
1753
|
+
return Number(L(g));
|
|
1730
1754
|
}
|
|
1731
|
-
function
|
|
1732
|
-
const C = String(
|
|
1755
|
+
function zI(g, A) {
|
|
1756
|
+
const C = String(L(A)), B = N(C, I.__wbindgen_export, I.__wbindgen_export2), Q = o;
|
|
1733
1757
|
M().setInt32(g + 4, Q, !0), M().setInt32(g + 0, B, !0);
|
|
1734
1758
|
}
|
|
1735
|
-
function
|
|
1736
|
-
const C =
|
|
1737
|
-
M().setBigInt64(g + 8,
|
|
1759
|
+
function ZI(g, A) {
|
|
1760
|
+
const C = L(A), B = typeof C == "bigint" ? C : void 0;
|
|
1761
|
+
M().setBigInt64(g + 8, b(B) ? BigInt(0) : B, !0), M().setInt32(g + 0, !b(B), !0);
|
|
1738
1762
|
}
|
|
1739
1763
|
function VI(g) {
|
|
1740
|
-
const A =
|
|
1741
|
-
return
|
|
1764
|
+
const A = L(g), C = typeof A == "boolean" ? A : void 0;
|
|
1765
|
+
return b(C) ? 16777215 : C ? 1 : 0;
|
|
1742
1766
|
}
|
|
1743
|
-
function
|
|
1744
|
-
const C =
|
|
1767
|
+
function fI(g, A) {
|
|
1768
|
+
const C = LA(L(A)), B = N(C, I.__wbindgen_export, I.__wbindgen_export2), Q = o;
|
|
1745
1769
|
M().setInt32(g + 4, Q, !0), M().setInt32(g + 0, B, !0);
|
|
1746
1770
|
}
|
|
1747
|
-
function
|
|
1748
|
-
return
|
|
1749
|
-
}
|
|
1750
|
-
function xI(g) {
|
|
1751
|
-
return typeof U(g) == "bigint";
|
|
1752
|
-
}
|
|
1753
|
-
function fI(g) {
|
|
1754
|
-
return typeof U(g) == "function";
|
|
1771
|
+
function xI(g, A) {
|
|
1772
|
+
return L(g) in L(A);
|
|
1755
1773
|
}
|
|
1756
1774
|
function WI(g) {
|
|
1757
|
-
return
|
|
1775
|
+
return typeof L(g) == "bigint";
|
|
1758
1776
|
}
|
|
1759
1777
|
function eI(g) {
|
|
1760
|
-
|
|
1761
|
-
return typeof A == "object" && A !== null;
|
|
1762
|
-
}
|
|
1763
|
-
function rI(g) {
|
|
1764
|
-
return typeof U(g) == "string";
|
|
1778
|
+
return typeof L(g) == "function";
|
|
1765
1779
|
}
|
|
1766
1780
|
function uI(g) {
|
|
1767
|
-
return
|
|
1781
|
+
return L(g) === null;
|
|
1782
|
+
}
|
|
1783
|
+
function rI(g) {
|
|
1784
|
+
const A = L(g);
|
|
1785
|
+
return typeof A == "object" && A !== null;
|
|
1768
1786
|
}
|
|
1769
|
-
function nI(g
|
|
1770
|
-
return
|
|
1787
|
+
function nI(g) {
|
|
1788
|
+
return typeof L(g) == "string";
|
|
1771
1789
|
}
|
|
1772
|
-
function lI(g
|
|
1773
|
-
return
|
|
1790
|
+
function lI(g) {
|
|
1791
|
+
return L(g) === void 0;
|
|
1774
1792
|
}
|
|
1775
1793
|
function mI(g, A) {
|
|
1776
|
-
|
|
1777
|
-
|
|
1794
|
+
return L(g) === L(A);
|
|
1795
|
+
}
|
|
1796
|
+
function bI(g, A) {
|
|
1797
|
+
return L(g) == L(A);
|
|
1778
1798
|
}
|
|
1779
1799
|
function vI(g, A) {
|
|
1780
|
-
const C =
|
|
1781
|
-
|
|
1800
|
+
const C = L(A), B = typeof C == "number" ? C : void 0;
|
|
1801
|
+
M().setFloat64(g + 8, b(B) ? 0 : B, !0), M().setInt32(g + 0, !b(B), !0);
|
|
1802
|
+
}
|
|
1803
|
+
function XI(g, A) {
|
|
1804
|
+
const C = L(A), B = typeof C == "string" ? C : void 0;
|
|
1805
|
+
var Q = b(B) ? 0 : N(B, I.__wbindgen_export, I.__wbindgen_export2), E = o;
|
|
1782
1806
|
M().setInt32(g + 4, E, !0), M().setInt32(g + 0, Q, !0);
|
|
1783
1807
|
}
|
|
1784
|
-
function
|
|
1785
|
-
throw new Error(
|
|
1808
|
+
function _I(g, A) {
|
|
1809
|
+
throw new Error(U(g, A));
|
|
1786
1810
|
}
|
|
1787
|
-
function
|
|
1788
|
-
return
|
|
1789
|
-
const C =
|
|
1811
|
+
function $I() {
|
|
1812
|
+
return GA(function(g, A) {
|
|
1813
|
+
const C = L(g).call(L(A));
|
|
1790
1814
|
return s(C);
|
|
1791
1815
|
}, arguments);
|
|
1792
1816
|
}
|
|
1793
|
-
function
|
|
1794
|
-
const C =
|
|
1817
|
+
function AC(g, A) {
|
|
1818
|
+
const C = L(g).codePointAt(A >>> 0);
|
|
1795
1819
|
return s(C);
|
|
1796
1820
|
}
|
|
1797
|
-
function
|
|
1798
|
-
return
|
|
1821
|
+
function gC(g) {
|
|
1822
|
+
return L(g).done;
|
|
1799
1823
|
}
|
|
1800
|
-
function
|
|
1801
|
-
const A = Object.entries(
|
|
1824
|
+
function IC(g) {
|
|
1825
|
+
const A = Object.entries(L(g));
|
|
1802
1826
|
return s(A);
|
|
1803
1827
|
}
|
|
1804
|
-
function
|
|
1828
|
+
function CC(g, A) {
|
|
1805
1829
|
let C, B;
|
|
1806
1830
|
try {
|
|
1807
|
-
C = g, B = A, console.error(
|
|
1831
|
+
C = g, B = A, console.error(U(g, A));
|
|
1808
1832
|
} finally {
|
|
1809
1833
|
I.__wbindgen_export4(C, B, 1);
|
|
1810
1834
|
}
|
|
1811
1835
|
}
|
|
1812
|
-
function
|
|
1813
|
-
return
|
|
1836
|
+
function BC() {
|
|
1837
|
+
return GA(function(g) {
|
|
1814
1838
|
const A = String.fromCodePoint(g >>> 0);
|
|
1815
1839
|
return s(A);
|
|
1816
1840
|
}, arguments);
|
|
1817
1841
|
}
|
|
1818
|
-
function
|
|
1819
|
-
const C =
|
|
1842
|
+
function QC(g, A) {
|
|
1843
|
+
const C = L(g)[A >>> 0];
|
|
1820
1844
|
return s(C);
|
|
1821
1845
|
}
|
|
1822
|
-
function
|
|
1823
|
-
return
|
|
1824
|
-
const C = Reflect.get(
|
|
1846
|
+
function EC() {
|
|
1847
|
+
return GA(function(g, A) {
|
|
1848
|
+
const C = Reflect.get(L(g), L(A));
|
|
1825
1849
|
return s(C);
|
|
1826
1850
|
}, arguments);
|
|
1827
1851
|
}
|
|
1828
|
-
function
|
|
1829
|
-
const C =
|
|
1852
|
+
function DC(g, A) {
|
|
1853
|
+
const C = L(g)[L(A)];
|
|
1830
1854
|
return s(C);
|
|
1831
1855
|
}
|
|
1832
|
-
function
|
|
1856
|
+
function wC(g) {
|
|
1833
1857
|
let A;
|
|
1834
1858
|
try {
|
|
1835
|
-
A =
|
|
1859
|
+
A = L(g) instanceof ArrayBuffer;
|
|
1836
1860
|
} catch {
|
|
1837
1861
|
A = !1;
|
|
1838
1862
|
}
|
|
1839
1863
|
return A;
|
|
1840
1864
|
}
|
|
1841
|
-
function
|
|
1865
|
+
function MC(g) {
|
|
1842
1866
|
let A;
|
|
1843
1867
|
try {
|
|
1844
|
-
A =
|
|
1868
|
+
A = L(g) instanceof Map;
|
|
1845
1869
|
} catch {
|
|
1846
1870
|
A = !1;
|
|
1847
1871
|
}
|
|
1848
1872
|
return A;
|
|
1849
1873
|
}
|
|
1850
|
-
function
|
|
1874
|
+
function iC(g) {
|
|
1851
1875
|
let A;
|
|
1852
1876
|
try {
|
|
1853
|
-
A =
|
|
1877
|
+
A = L(g) instanceof Uint8Array;
|
|
1854
1878
|
} catch {
|
|
1855
1879
|
A = !1;
|
|
1856
1880
|
}
|
|
1857
1881
|
return A;
|
|
1858
1882
|
}
|
|
1859
|
-
function
|
|
1860
|
-
return Array.isArray(
|
|
1883
|
+
function oC(g) {
|
|
1884
|
+
return Array.isArray(L(g));
|
|
1861
1885
|
}
|
|
1862
|
-
function
|
|
1863
|
-
return Number.isSafeInteger(
|
|
1886
|
+
function NC(g) {
|
|
1887
|
+
return Number.isSafeInteger(L(g));
|
|
1864
1888
|
}
|
|
1865
|
-
function
|
|
1889
|
+
function kC() {
|
|
1866
1890
|
return s(Symbol.iterator);
|
|
1867
1891
|
}
|
|
1868
|
-
function
|
|
1869
|
-
return
|
|
1892
|
+
function yC(g) {
|
|
1893
|
+
return L(g).length;
|
|
1870
1894
|
}
|
|
1871
|
-
function
|
|
1872
|
-
return
|
|
1895
|
+
function GC(g) {
|
|
1896
|
+
return L(g).length;
|
|
1873
1897
|
}
|
|
1874
|
-
function
|
|
1875
|
-
return
|
|
1898
|
+
function KC(g) {
|
|
1899
|
+
return L(g).length;
|
|
1876
1900
|
}
|
|
1877
|
-
function
|
|
1901
|
+
function YC() {
|
|
1878
1902
|
const g = new Object();
|
|
1879
1903
|
return s(g);
|
|
1880
1904
|
}
|
|
1881
|
-
function
|
|
1905
|
+
function SC() {
|
|
1882
1906
|
const g = new Array();
|
|
1883
1907
|
return s(g);
|
|
1884
1908
|
}
|
|
1885
|
-
function
|
|
1909
|
+
function hC() {
|
|
1886
1910
|
const g = new Error();
|
|
1887
1911
|
return s(g);
|
|
1888
1912
|
}
|
|
1889
|
-
function
|
|
1913
|
+
function HC() {
|
|
1890
1914
|
return s(/* @__PURE__ */ new Map());
|
|
1891
1915
|
}
|
|
1892
|
-
function
|
|
1893
|
-
const A = new Uint8Array(
|
|
1916
|
+
function LC(g) {
|
|
1917
|
+
const A = new Uint8Array(L(g));
|
|
1894
1918
|
return s(A);
|
|
1895
1919
|
}
|
|
1896
|
-
function
|
|
1897
|
-
return
|
|
1898
|
-
const A =
|
|
1920
|
+
function UC() {
|
|
1921
|
+
return GA(function(g) {
|
|
1922
|
+
const A = L(g).next();
|
|
1899
1923
|
return s(A);
|
|
1900
1924
|
}, arguments);
|
|
1901
1925
|
}
|
|
1902
|
-
function
|
|
1903
|
-
const A =
|
|
1926
|
+
function cC(g) {
|
|
1927
|
+
const A = L(g).next;
|
|
1904
1928
|
return s(A);
|
|
1905
1929
|
}
|
|
1906
|
-
function LC(g, A, C) {
|
|
1907
|
-
Uint8Array.prototype.set.call(dC(g, A), U(C));
|
|
1908
|
-
}
|
|
1909
1930
|
function FC(g, A, C) {
|
|
1910
|
-
|
|
1911
|
-
return s(B);
|
|
1931
|
+
Uint8Array.prototype.set.call(zC(g, A), L(C));
|
|
1912
1932
|
}
|
|
1913
|
-
function
|
|
1914
|
-
|
|
1933
|
+
function RC(g, A, C) {
|
|
1934
|
+
const B = L(g).set(L(A), L(C));
|
|
1935
|
+
return s(B);
|
|
1915
1936
|
}
|
|
1916
1937
|
function JC(g, A, C) {
|
|
1917
|
-
|
|
1938
|
+
L(g)[F(A)] = F(C);
|
|
1939
|
+
}
|
|
1940
|
+
function sC(g, A, C) {
|
|
1941
|
+
L(g)[A >>> 0] = F(C);
|
|
1918
1942
|
}
|
|
1919
|
-
function
|
|
1920
|
-
const C =
|
|
1943
|
+
function aC(g, A) {
|
|
1944
|
+
const C = L(A).stack, B = N(C, I.__wbindgen_export, I.__wbindgen_export2), Q = o;
|
|
1921
1945
|
M().setInt32(g + 4, Q, !0), M().setInt32(g + 0, B, !0);
|
|
1922
1946
|
}
|
|
1923
|
-
function
|
|
1924
|
-
const A =
|
|
1947
|
+
function qC(g) {
|
|
1948
|
+
const A = L(g).value;
|
|
1925
1949
|
return s(A);
|
|
1926
1950
|
}
|
|
1927
|
-
function
|
|
1951
|
+
function pC(g) {
|
|
1928
1952
|
return s(g);
|
|
1929
1953
|
}
|
|
1930
|
-
function
|
|
1954
|
+
function TC(g) {
|
|
1931
1955
|
return s(g);
|
|
1932
1956
|
}
|
|
1933
|
-
function
|
|
1934
|
-
const C =
|
|
1957
|
+
function OC(g, A) {
|
|
1958
|
+
const C = U(g, A);
|
|
1935
1959
|
return s(C);
|
|
1936
1960
|
}
|
|
1937
|
-
function
|
|
1961
|
+
function PC(g) {
|
|
1938
1962
|
const A = BigInt.asUintN(64, g);
|
|
1939
1963
|
return s(A);
|
|
1940
1964
|
}
|
|
1941
|
-
function
|
|
1942
|
-
const A =
|
|
1965
|
+
function jC(g) {
|
|
1966
|
+
const A = L(g);
|
|
1943
1967
|
return s(A);
|
|
1944
1968
|
}
|
|
1945
|
-
function
|
|
1969
|
+
function dC(g) {
|
|
1946
1970
|
F(g);
|
|
1947
1971
|
}
|
|
1948
1972
|
const ZA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
1949
1973
|
}, unregister: () => {
|
|
1950
1974
|
} } : new FinalizationRegistry((g) => I.__wbg_wasmassignmentarray_free(g >>> 0, 1)), hA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
1951
1975
|
}, unregister: () => {
|
|
1952
|
-
} } : new FinalizationRegistry((g) => I.__wbg_wasmcasebuilder_free(g >>> 0, 1)),
|
|
1976
|
+
} } : new FinalizationRegistry((g) => I.__wbg_wasmcasebuilder_free(g >>> 0, 1)), VA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
1953
1977
|
}, unregister: () => {
|
|
1954
|
-
} } : new FinalizationRegistry((g) => I.__wbg_wasmdeletebuilder_free(g >>> 0, 1)),
|
|
1978
|
+
} } : new FinalizationRegistry((g) => I.__wbg_wasmdeletebuilder_free(g >>> 0, 1)), fA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
1955
1979
|
}, unregister: () => {
|
|
1956
|
-
} } : new FinalizationRegistry((g) => I.__wbg_wasmexpr_free(g >>> 0, 1)),
|
|
1980
|
+
} } : new FinalizationRegistry((g) => I.__wbg_wasmexpr_free(g >>> 0, 1)), xA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
1957
1981
|
}, unregister: () => {
|
|
1958
1982
|
} } : new FinalizationRegistry((g) => I.__wbg_wasmexprarray_free(g >>> 0, 1)), WA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
1959
1983
|
}, unregister: () => {
|
|
1960
1984
|
} } : new FinalizationRegistry((g) => I.__wbg_wasminsertbuilder_free(g >>> 0, 1)), eA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
1961
1985
|
}, unregister: () => {
|
|
1962
|
-
} } : new FinalizationRegistry((g) => I.__wbg_wasmmergebuilder_free(g >>> 0, 1)),
|
|
1986
|
+
} } : new FinalizationRegistry((g) => I.__wbg_wasmmergebuilder_free(g >>> 0, 1)), uA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
1963
1987
|
}, unregister: () => {
|
|
1964
|
-
} } : new FinalizationRegistry((g) => I.__wbg_wasmselectbuilder_free(g >>> 0, 1)),
|
|
1988
|
+
} } : new FinalizationRegistry((g) => I.__wbg_wasmselectbuilder_free(g >>> 0, 1)), rA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
1965
1989
|
}, unregister: () => {
|
|
1966
1990
|
} } : new FinalizationRegistry((g) => I.__wbg_wasmsetopbuilder_free(g >>> 0, 1)), nA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
1967
1991
|
}, unregister: () => {
|
|
@@ -1969,15 +1993,15 @@ const ZA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
|
1969
1993
|
}, unregister: () => {
|
|
1970
1994
|
} } : new FinalizationRegistry((g) => I.__wbg_wasmwindowdefbuilder_free(g >>> 0, 1));
|
|
1971
1995
|
function s(g) {
|
|
1972
|
-
AA ===
|
|
1996
|
+
AA === V.length && V.push(V.length + 1);
|
|
1973
1997
|
const A = AA;
|
|
1974
|
-
return AA =
|
|
1998
|
+
return AA = V[A], V[A] = g, A;
|
|
1975
1999
|
}
|
|
1976
2000
|
function S(g, A) {
|
|
1977
2001
|
if (!(g instanceof A))
|
|
1978
2002
|
throw new Error(`expected instance of ${A.name}`);
|
|
1979
2003
|
}
|
|
1980
|
-
function
|
|
2004
|
+
function LA(g) {
|
|
1981
2005
|
const A = typeof g;
|
|
1982
2006
|
if (A == "number" || A == "boolean" || g == null)
|
|
1983
2007
|
return `${g}`;
|
|
@@ -1994,9 +2018,9 @@ function UA(g) {
|
|
|
1994
2018
|
if (Array.isArray(g)) {
|
|
1995
2019
|
const Q = g.length;
|
|
1996
2020
|
let E = "[";
|
|
1997
|
-
Q > 0 && (E +=
|
|
2021
|
+
Q > 0 && (E += LA(g[0]));
|
|
1998
2022
|
for (let D = 1; D < Q; D++)
|
|
1999
|
-
E += ", " +
|
|
2023
|
+
E += ", " + LA(g[D]);
|
|
2000
2024
|
return E += "]", E;
|
|
2001
2025
|
}
|
|
2002
2026
|
const C = /\[object ([^\]]+)\]/.exec(toString.call(g));
|
|
@@ -2014,49 +2038,49 @@ function UA(g) {
|
|
|
2014
2038
|
return g instanceof Error ? `${g.name}: ${g.message}
|
|
2015
2039
|
${g.stack}` : B;
|
|
2016
2040
|
}
|
|
2017
|
-
function
|
|
2018
|
-
g < 132 || (
|
|
2041
|
+
function tC(g) {
|
|
2042
|
+
g < 132 || (V[g] = AA, AA = g);
|
|
2019
2043
|
}
|
|
2020
|
-
function
|
|
2044
|
+
function zC(g, A) {
|
|
2021
2045
|
return g = g >>> 0, $().subarray(g / 1, g / 1 + A);
|
|
2022
2046
|
}
|
|
2023
2047
|
let m = null;
|
|
2024
2048
|
function M() {
|
|
2025
2049
|
return (m === null || m.buffer.detached === !0 || m.buffer.detached === void 0 && m.buffer !== I.memory.buffer) && (m = new DataView(I.memory.buffer)), m;
|
|
2026
2050
|
}
|
|
2027
|
-
function
|
|
2051
|
+
function U(g, A) {
|
|
2028
2052
|
return g = g >>> 0, VC(g, A);
|
|
2029
2053
|
}
|
|
2030
2054
|
let EA = null;
|
|
2031
2055
|
function $() {
|
|
2032
2056
|
return (EA === null || EA.byteLength === 0) && (EA = new Uint8Array(I.memory.buffer)), EA;
|
|
2033
2057
|
}
|
|
2034
|
-
function
|
|
2035
|
-
return
|
|
2058
|
+
function L(g) {
|
|
2059
|
+
return V[g];
|
|
2036
2060
|
}
|
|
2037
|
-
function
|
|
2061
|
+
function GA(g, A) {
|
|
2038
2062
|
try {
|
|
2039
2063
|
return g.apply(this, A);
|
|
2040
2064
|
} catch (C) {
|
|
2041
2065
|
I.__wbindgen_export3(s(C));
|
|
2042
2066
|
}
|
|
2043
2067
|
}
|
|
2044
|
-
let
|
|
2045
|
-
|
|
2046
|
-
let AA =
|
|
2047
|
-
function
|
|
2068
|
+
let V = new Array(128).fill(void 0);
|
|
2069
|
+
V.push(void 0, null, !0, !1);
|
|
2070
|
+
let AA = V.length;
|
|
2071
|
+
function b(g) {
|
|
2048
2072
|
return g == null;
|
|
2049
2073
|
}
|
|
2050
|
-
function
|
|
2074
|
+
function FA(g, A) {
|
|
2051
2075
|
const C = A(g.length * 4, 4) >>> 0, B = M();
|
|
2052
2076
|
for (let Q = 0; Q < g.length; Q++)
|
|
2053
2077
|
B.setUint32(C + 4 * Q, s(g[Q]), !0);
|
|
2054
2078
|
return o = g.length, C;
|
|
2055
2079
|
}
|
|
2056
|
-
function
|
|
2080
|
+
function N(g, A, C) {
|
|
2057
2081
|
if (C === void 0) {
|
|
2058
|
-
const i = gA.encode(g),
|
|
2059
|
-
return $().subarray(
|
|
2082
|
+
const i = gA.encode(g), k = A(i.length, 1) >>> 0;
|
|
2083
|
+
return $().subarray(k, k + i.length).set(i), o = i.length, k;
|
|
2060
2084
|
}
|
|
2061
2085
|
let B = g.length, Q = A(B, 1) >>> 0;
|
|
2062
2086
|
const E = $();
|
|
@@ -2068,21 +2092,21 @@ function k(g, A, C) {
|
|
|
2068
2092
|
}
|
|
2069
2093
|
if (D !== B) {
|
|
2070
2094
|
D !== 0 && (g = g.slice(D)), Q = C(Q, B, B = D + g.length * 3, 1) >>> 0;
|
|
2071
|
-
const i = $().subarray(Q + D, Q + B),
|
|
2072
|
-
D +=
|
|
2095
|
+
const i = $().subarray(Q + D, Q + B), k = gA.encodeInto(g, i);
|
|
2096
|
+
D += k.written, Q = C(Q, B, D, 1) >>> 0;
|
|
2073
2097
|
}
|
|
2074
2098
|
return o = D, Q;
|
|
2075
2099
|
}
|
|
2076
2100
|
function F(g) {
|
|
2077
|
-
const A =
|
|
2078
|
-
return
|
|
2101
|
+
const A = L(g);
|
|
2102
|
+
return tC(g), A;
|
|
2079
2103
|
}
|
|
2080
2104
|
let DA = new TextDecoder("utf-8", { ignoreBOM: !0, fatal: !0 });
|
|
2081
2105
|
DA.decode();
|
|
2082
|
-
const
|
|
2106
|
+
const ZC = 2146435072;
|
|
2083
2107
|
let HA = 0;
|
|
2084
2108
|
function VC(g, A) {
|
|
2085
|
-
return HA += A, HA >=
|
|
2109
|
+
return HA += A, HA >= ZC && (DA = new TextDecoder("utf-8", { ignoreBOM: !0, fatal: !0 }), DA.decode(), HA = A), DA.decode($().subarray(g, g + A));
|
|
2086
2110
|
}
|
|
2087
2111
|
const gA = new TextEncoder();
|
|
2088
2112
|
"encodeInto" in gA || (gA.encodeInto = function(g, A) {
|
|
@@ -2093,269 +2117,271 @@ const gA = new TextEncoder();
|
|
|
2093
2117
|
};
|
|
2094
2118
|
});
|
|
2095
2119
|
let o = 0, I;
|
|
2096
|
-
function
|
|
2120
|
+
function fC(g) {
|
|
2097
2121
|
I = g;
|
|
2098
2122
|
}
|
|
2099
2123
|
URL = globalThis.URL;
|
|
2100
|
-
const w = await
|
|
2101
|
-
__wbindgen_object_drop_ref:
|
|
2102
|
-
__wbindgen_object_clone_ref:
|
|
2103
|
-
__wbg_new_8a6f238a6ece86ea:
|
|
2104
|
-
__wbg_stack_0ed75d68575b0f3c:
|
|
2105
|
-
__wbg_error_7534b8e9a36f1ab4:
|
|
2106
|
-
__wbg_get_with_ref_key_1dc361bd10053bfe:
|
|
2107
|
-
__wbg_set_3f1d0b984ed272ed:
|
|
2108
|
-
__wbg_String_8f0eb39a4a4c2f66:
|
|
2109
|
-
__wbg_new_dd2b680c8bf6ae29:
|
|
2110
|
-
__wbg_length_32ed9a279acd054c:
|
|
2111
|
-
__wbg_prototypesetcall_bdcdcc5842e4d77d:
|
|
2112
|
-
__wbg_done_57b39ecd9addfe81:
|
|
2113
|
-
__wbg_value_0546255b415e96c1:
|
|
2114
|
-
__wbg_instanceof_Map_53af74335dec57f4:
|
|
2115
|
-
__wbg_instanceof_Uint8Array_9b9075935c74707c:
|
|
2116
|
-
__wbg_instanceof_ArrayBuffer_c367199e2fa2aa04:
|
|
2117
|
-
__wbg_new_dca287b076112a51:
|
|
2118
|
-
__wbg_set_1eb0999cf5d27fc8:
|
|
2119
|
-
__wbg_get_9b94d73e6221f75c:
|
|
2120
|
-
__wbg_new_3eb36ae241fe6f44:
|
|
2121
|
-
__wbg_set_f43e577aea94465b:
|
|
2122
|
-
__wbg_length_35a7bace40f36eac:
|
|
2123
|
-
__wbg_isArray_d314bb98fcf08331:
|
|
2124
|
-
__wbg_isSafeInteger_bfbc7332a9768d2a:
|
|
2125
|
-
__wbg_new_361308b2356cecd0:
|
|
2126
|
-
__wbg_entries_58c7934c745daac7:
|
|
2127
|
-
__wbg_iterator_6ff6560ca1568e55:
|
|
2128
|
-
__wbg_get_b3ed3ad4be2bc8ac:
|
|
2129
|
-
__wbg_call_389efe28435a9388:
|
|
2130
|
-
__wbg_next_418f80d8f5303233:
|
|
2131
|
-
__wbg_next_3482f54c49e8af19:
|
|
2132
|
-
__wbg_codePointAt_bf59dbf74d8db275:
|
|
2133
|
-
__wbg_fromCodePoint_22365db7b7d6ac39:
|
|
2134
|
-
__wbg_length_68dc7c5cf1b6d349:
|
|
2135
|
-
__wbg___wbindgen_in_47fa6863be6f2f25:
|
|
2136
|
-
__wbg___wbindgen_throw_be289d5034ed271b:
|
|
2137
|
-
__wbg___wbindgen_is_null_ac34f5003991759a:
|
|
2138
|
-
__wbg___wbindgen_jsval_eq_11888390b0186270:
|
|
2139
|
-
__wbg_Number_04624de7d0e8332d:
|
|
2140
|
-
__wbg_Error_8c4e43fe74559d73:
|
|
2141
|
-
__wbg___wbindgen_is_bigint_31b12575b56f32fc:
|
|
2142
|
-
__wbg___wbindgen_is_object_5ae8e5880f2c1fbd:
|
|
2143
|
-
__wbg___wbindgen_is_string_cd444516edc5b180:
|
|
2144
|
-
__wbg___wbindgen_number_get_8ff4255516ccad3e:
|
|
2145
|
-
__wbg___wbindgen_string_get_72fb696202c56729:
|
|
2124
|
+
const w = await GI({ "./polyglot_sql_wasm_bg.js": {
|
|
2125
|
+
__wbindgen_object_drop_ref: dC,
|
|
2126
|
+
__wbindgen_object_clone_ref: jC,
|
|
2127
|
+
__wbg_new_8a6f238a6ece86ea: hC,
|
|
2128
|
+
__wbg_stack_0ed75d68575b0f3c: aC,
|
|
2129
|
+
__wbg_error_7534b8e9a36f1ab4: CC,
|
|
2130
|
+
__wbg_get_with_ref_key_1dc361bd10053bfe: DC,
|
|
2131
|
+
__wbg_set_3f1d0b984ed272ed: JC,
|
|
2132
|
+
__wbg_String_8f0eb39a4a4c2f66: zI,
|
|
2133
|
+
__wbg_new_dd2b680c8bf6ae29: LC,
|
|
2134
|
+
__wbg_length_32ed9a279acd054c: yC,
|
|
2135
|
+
__wbg_prototypesetcall_bdcdcc5842e4d77d: FC,
|
|
2136
|
+
__wbg_done_57b39ecd9addfe81: gC,
|
|
2137
|
+
__wbg_value_0546255b415e96c1: qC,
|
|
2138
|
+
__wbg_instanceof_Map_53af74335dec57f4: MC,
|
|
2139
|
+
__wbg_instanceof_Uint8Array_9b9075935c74707c: iC,
|
|
2140
|
+
__wbg_instanceof_ArrayBuffer_c367199e2fa2aa04: wC,
|
|
2141
|
+
__wbg_new_dca287b076112a51: HC,
|
|
2142
|
+
__wbg_set_1eb0999cf5d27fc8: RC,
|
|
2143
|
+
__wbg_get_9b94d73e6221f75c: QC,
|
|
2144
|
+
__wbg_new_3eb36ae241fe6f44: SC,
|
|
2145
|
+
__wbg_set_f43e577aea94465b: sC,
|
|
2146
|
+
__wbg_length_35a7bace40f36eac: GC,
|
|
2147
|
+
__wbg_isArray_d314bb98fcf08331: oC,
|
|
2148
|
+
__wbg_isSafeInteger_bfbc7332a9768d2a: NC,
|
|
2149
|
+
__wbg_new_361308b2356cecd0: YC,
|
|
2150
|
+
__wbg_entries_58c7934c745daac7: IC,
|
|
2151
|
+
__wbg_iterator_6ff6560ca1568e55: kC,
|
|
2152
|
+
__wbg_get_b3ed3ad4be2bc8ac: EC,
|
|
2153
|
+
__wbg_call_389efe28435a9388: $I,
|
|
2154
|
+
__wbg_next_418f80d8f5303233: cC,
|
|
2155
|
+
__wbg_next_3482f54c49e8af19: UC,
|
|
2156
|
+
__wbg_codePointAt_bf59dbf74d8db275: AC,
|
|
2157
|
+
__wbg_fromCodePoint_22365db7b7d6ac39: BC,
|
|
2158
|
+
__wbg_length_68dc7c5cf1b6d349: KC,
|
|
2159
|
+
__wbg___wbindgen_in_47fa6863be6f2f25: xI,
|
|
2160
|
+
__wbg___wbindgen_throw_be289d5034ed271b: _I,
|
|
2161
|
+
__wbg___wbindgen_is_null_ac34f5003991759a: uI,
|
|
2162
|
+
__wbg___wbindgen_jsval_eq_11888390b0186270: mI,
|
|
2163
|
+
__wbg_Number_04624de7d0e8332d: tI,
|
|
2164
|
+
__wbg_Error_8c4e43fe74559d73: dI,
|
|
2165
|
+
__wbg___wbindgen_is_bigint_31b12575b56f32fc: WI,
|
|
2166
|
+
__wbg___wbindgen_is_object_5ae8e5880f2c1fbd: rI,
|
|
2167
|
+
__wbg___wbindgen_is_string_cd444516edc5b180: nI,
|
|
2168
|
+
__wbg___wbindgen_number_get_8ff4255516ccad3e: vI,
|
|
2169
|
+
__wbg___wbindgen_string_get_72fb696202c56729: XI,
|
|
2146
2170
|
__wbg___wbindgen_boolean_get_bbbb1c18aa2f5e25: VI,
|
|
2147
|
-
__wbg___wbindgen_is_function_0095a73b8b156f76:
|
|
2148
|
-
__wbg___wbindgen_is_undefined_9e4d92534c42d778:
|
|
2149
|
-
__wbg___wbindgen_jsval_loose_eq_9dd77d8cd6671811:
|
|
2150
|
-
__wbg___wbindgen_bigint_get_as_i64_8fcf4ce7f1ca72a2:
|
|
2151
|
-
__wbg___wbindgen_debug_string_0bc8482c6e3508ae:
|
|
2152
|
-
__wbindgen_cast_0000000000000001:
|
|
2153
|
-
__wbindgen_cast_0000000000000002:
|
|
2154
|
-
__wbindgen_cast_0000000000000003:
|
|
2155
|
-
__wbindgen_cast_0000000000000004:
|
|
2156
|
-
} },
|
|
2171
|
+
__wbg___wbindgen_is_function_0095a73b8b156f76: eI,
|
|
2172
|
+
__wbg___wbindgen_is_undefined_9e4d92534c42d778: lI,
|
|
2173
|
+
__wbg___wbindgen_jsval_loose_eq_9dd77d8cd6671811: bI,
|
|
2174
|
+
__wbg___wbindgen_bigint_get_as_i64_8fcf4ce7f1ca72a2: ZI,
|
|
2175
|
+
__wbg___wbindgen_debug_string_0bc8482c6e3508ae: fI,
|
|
2176
|
+
__wbindgen_cast_0000000000000001: pC,
|
|
2177
|
+
__wbindgen_cast_0000000000000002: TC,
|
|
2178
|
+
__wbindgen_cast_0000000000000003: OC,
|
|
2179
|
+
__wbindgen_cast_0000000000000004: PC
|
|
2180
|
+
} }, yI), xC = w.memory, WC = w.__wbg_wasmassignmentarray_free, eC = w.__wbg_wasmcasebuilder_free, uC = w.__wbg_wasmdeletebuilder_free, rC = w.__wbg_wasmexpr_free, nC = w.__wbg_wasmexprarray_free, lC = w.__wbg_wasminsertbuilder_free, mC = w.__wbg_wasmmergebuilder_free, bC = w.__wbg_wasmselectbuilder_free, vC = w.__wbg_wasmsetopbuilder_free, XC = w.__wbg_wasmupdatebuilder_free, _C = w.__wbg_wasmwindowdefbuilder_free, $C = w.annotate_types, AB = w.annotate_types_value, gB = w.ast_add_where, IB = w.ast_get_aggregate_functions, CB = w.ast_get_column_names, BB = w.ast_get_functions, QB = w.ast_get_literals, EB = w.ast_get_subqueries, DB = w.ast_get_table_names, wB = w.ast_get_window_functions, MB = w.ast_node_count, iB = w.ast_qualify_columns, oB = w.ast_qualify_tables, NB = w.ast_remove_where, kB = w.ast_rename_columns, yB = w.ast_rename_tables, GB = w.ast_rename_tables_with_options, KB = w.ast_set_distinct, YB = w.ast_set_limit, SB = w.diff_sql, hB = w.format_sql, HB = w.format_sql_value, LB = w.format_sql_with_options, UB = w.format_sql_with_options_value, cB = w.generate, FB = w.generate_value, RB = w.get_dialects, JB = w.get_dialects_value, sB = w.lineage_sql, aB = w.lineage_sql_with_schema, qB = w.parse, pB = w.parse_value, TB = w.plan, OB = w.source_tables, PB = w.tokenize, jB = w.tokenize_value, dB = w.transpile, tB = w.transpile_value, zB = w.validate, ZB = w.validate_with_options, VB = w.validate_with_schema, fB = w.version, xB = w.wasm_alias, WB = w.wasm_and, eB = w.wasm_boolean, uB = w.wasm_case_of, rB = w.wasm_cast, nB = w.wasm_col, lB = w.wasm_count_distinct, mB = w.wasm_extract, bB = w.wasm_func, vB = w.wasm_lit, XB = w.wasm_not, _B = w.wasm_null, $B = w.wasm_or, AQ = w.wasm_sql_expr, gQ = w.wasm_star, IQ = w.wasm_subquery, CQ = w.wasm_table, BQ = w.wasmassignmentarray_len, QQ = w.wasmassignmentarray_new, EQ = w.wasmassignmentarray_push, DQ = w.wasmcasebuilder_build_expr, wQ = w.wasmcasebuilder_else_, MQ = w.wasmcasebuilder_new, iQ = w.wasmcasebuilder_to_sql, oQ = w.wasmcasebuilder_when, NQ = w.wasmdeletebuilder_build, kQ = w.wasmdeletebuilder_new, yQ = w.wasmdeletebuilder_to_sql, GQ = w.wasmdeletebuilder_where_expr, KQ = w.wasmexpr_add, YQ = w.wasmexpr_alias, SQ = w.wasmexpr_and, hQ = w.wasmexpr_asc, HQ = w.wasmexpr_between, LQ = w.wasmexpr_cast, UQ = w.wasmexpr_desc, cQ = w.wasmexpr_div, FQ = w.wasmexpr_eq, RQ = w.wasmexpr_gt, JQ = w.wasmexpr_gte, sQ = w.wasmexpr_ilike, aQ = w.wasmexpr_in_list, qQ = w.wasmexpr_is_not_null, pQ = w.wasmexpr_is_null, TQ = w.wasmexpr_like, OQ = w.wasmexpr_lt, PQ = w.wasmexpr_lte, jQ = w.wasmexpr_mul, dQ = w.wasmexpr_neq, tQ = w.wasmexpr_not, zQ = w.wasmexpr_not_in, ZQ = w.wasmexpr_or, VQ = w.wasmexpr_rlike, fQ = w.wasmexpr_sub, xQ = w.wasmexpr_to_json, WQ = w.wasmexpr_to_sql, eQ = w.wasmexpr_xor, uQ = w.wasmexprarray_len, rQ = w.wasmexprarray_push, nQ = w.wasmexprarray_push_col, lQ = w.wasmexprarray_push_float, mQ = w.wasmexprarray_push_int, bQ = w.wasmexprarray_push_star, vQ = w.wasmexprarray_push_str, XQ = w.wasminsertbuilder_build, _Q = w.wasminsertbuilder_columns, $Q = w.wasminsertbuilder_new, AE = w.wasminsertbuilder_query, gE = w.wasminsertbuilder_to_sql, IE = w.wasminsertbuilder_values, CE = w.wasmmergebuilder_build, BE = w.wasmmergebuilder_new, QE = w.wasmmergebuilder_to_sql, EE = w.wasmmergebuilder_using, DE = w.wasmmergebuilder_when_matched_delete, wE = w.wasmmergebuilder_when_matched_update, ME = w.wasmmergebuilder_when_not_matched_insert, iE = w.wasmselectbuilder_build, oE = w.wasmselectbuilder_cross_join, NE = w.wasmselectbuilder_ctas, kE = w.wasmselectbuilder_ctas_sql, yE = w.wasmselectbuilder_distinct, GE = w.wasmselectbuilder_except_, KE = w.wasmselectbuilder_for_update, YE = w.wasmselectbuilder_from, SE = w.wasmselectbuilder_from_expr, hE = w.wasmselectbuilder_group_by_cols, HE = w.wasmselectbuilder_having, LE = w.wasmselectbuilder_hint, UE = w.wasmselectbuilder_intersect, cE = w.wasmselectbuilder_join, FE = w.wasmselectbuilder_lateral_view, RE = w.wasmselectbuilder_left_join, JE = w.wasmselectbuilder_limit, sE = w.wasmselectbuilder_new, aE = w.wasmselectbuilder_offset, qE = w.wasmselectbuilder_order_by_exprs, pE = w.wasmselectbuilder_qualify, TE = w.wasmselectbuilder_right_join, OE = w.wasmselectbuilder_select_col, PE = w.wasmselectbuilder_select_expr, jE = w.wasmselectbuilder_select_exprs, dE = w.wasmselectbuilder_select_star, tE = w.wasmselectbuilder_sort_by_exprs, zE = w.wasmselectbuilder_to_sql, ZE = w.wasmselectbuilder_union, VE = w.wasmselectbuilder_union_all, fE = w.wasmselectbuilder_where_expr, xE = w.wasmselectbuilder_where_sql, WE = w.wasmselectbuilder_window, eE = w.wasmsetopbuilder_build, uE = w.wasmsetopbuilder_limit, rE = w.wasmsetopbuilder_offset, nE = w.wasmsetopbuilder_order_by_exprs, lE = w.wasmsetopbuilder_to_sql, mE = w.wasmupdatebuilder_build, bE = w.wasmupdatebuilder_from, vE = w.wasmupdatebuilder_new, XE = w.wasmupdatebuilder_set, _E = w.wasmupdatebuilder_to_sql, $E = w.wasmupdatebuilder_where_expr, AD = w.wasmwindowdefbuilder_new, gD = w.wasmwindowdefbuilder_order_by, ID = w.wasmwindowdefbuilder_partition_by, CD = w.wasmexprarray_new, BD = w.__wbindgen_export, QD = w.__wbindgen_export2, ED = w.__wbindgen_export3, DD = w.__wbindgen_export4, wD = w.__wbindgen_add_to_stack_pointer, MD = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2157
2181
|
__proto__: null,
|
|
2158
|
-
__wbg_wasmassignmentarray_free:
|
|
2159
|
-
__wbg_wasmcasebuilder_free:
|
|
2160
|
-
__wbg_wasmdeletebuilder_free:
|
|
2161
|
-
__wbg_wasmexpr_free:
|
|
2162
|
-
__wbg_wasmexprarray_free:
|
|
2163
|
-
__wbg_wasminsertbuilder_free:
|
|
2164
|
-
__wbg_wasmmergebuilder_free:
|
|
2165
|
-
__wbg_wasmselectbuilder_free:
|
|
2166
|
-
__wbg_wasmsetopbuilder_free:
|
|
2167
|
-
__wbg_wasmupdatebuilder_free:
|
|
2168
|
-
__wbg_wasmwindowdefbuilder_free:
|
|
2169
|
-
__wbindgen_add_to_stack_pointer:
|
|
2170
|
-
__wbindgen_export:
|
|
2171
|
-
__wbindgen_export2:
|
|
2172
|
-
__wbindgen_export3:
|
|
2173
|
-
__wbindgen_export4:
|
|
2174
|
-
annotate_types:
|
|
2175
|
-
annotate_types_value:
|
|
2176
|
-
ast_add_where:
|
|
2177
|
-
ast_get_aggregate_functions:
|
|
2178
|
-
ast_get_column_names:
|
|
2179
|
-
ast_get_functions:
|
|
2180
|
-
ast_get_literals:
|
|
2181
|
-
ast_get_subqueries:
|
|
2182
|
-
ast_get_table_names:
|
|
2183
|
-
ast_get_window_functions:
|
|
2184
|
-
ast_node_count:
|
|
2185
|
-
ast_qualify_columns:
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
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
|
-
|
|
2182
|
+
__wbg_wasmassignmentarray_free: WC,
|
|
2183
|
+
__wbg_wasmcasebuilder_free: eC,
|
|
2184
|
+
__wbg_wasmdeletebuilder_free: uC,
|
|
2185
|
+
__wbg_wasmexpr_free: rC,
|
|
2186
|
+
__wbg_wasmexprarray_free: nC,
|
|
2187
|
+
__wbg_wasminsertbuilder_free: lC,
|
|
2188
|
+
__wbg_wasmmergebuilder_free: mC,
|
|
2189
|
+
__wbg_wasmselectbuilder_free: bC,
|
|
2190
|
+
__wbg_wasmsetopbuilder_free: vC,
|
|
2191
|
+
__wbg_wasmupdatebuilder_free: XC,
|
|
2192
|
+
__wbg_wasmwindowdefbuilder_free: _C,
|
|
2193
|
+
__wbindgen_add_to_stack_pointer: wD,
|
|
2194
|
+
__wbindgen_export: BD,
|
|
2195
|
+
__wbindgen_export2: QD,
|
|
2196
|
+
__wbindgen_export3: ED,
|
|
2197
|
+
__wbindgen_export4: DD,
|
|
2198
|
+
annotate_types: $C,
|
|
2199
|
+
annotate_types_value: AB,
|
|
2200
|
+
ast_add_where: gB,
|
|
2201
|
+
ast_get_aggregate_functions: IB,
|
|
2202
|
+
ast_get_column_names: CB,
|
|
2203
|
+
ast_get_functions: BB,
|
|
2204
|
+
ast_get_literals: QB,
|
|
2205
|
+
ast_get_subqueries: EB,
|
|
2206
|
+
ast_get_table_names: DB,
|
|
2207
|
+
ast_get_window_functions: wB,
|
|
2208
|
+
ast_node_count: MB,
|
|
2209
|
+
ast_qualify_columns: iB,
|
|
2210
|
+
ast_qualify_tables: oB,
|
|
2211
|
+
ast_remove_where: NB,
|
|
2212
|
+
ast_rename_columns: kB,
|
|
2213
|
+
ast_rename_tables: yB,
|
|
2214
|
+
ast_rename_tables_with_options: GB,
|
|
2215
|
+
ast_set_distinct: KB,
|
|
2216
|
+
ast_set_limit: YB,
|
|
2217
|
+
diff_sql: SB,
|
|
2218
|
+
format_sql: hB,
|
|
2219
|
+
format_sql_value: HB,
|
|
2220
|
+
format_sql_with_options: LB,
|
|
2221
|
+
format_sql_with_options_value: UB,
|
|
2222
|
+
generate: cB,
|
|
2223
|
+
generate_value: FB,
|
|
2224
|
+
get_dialects: RB,
|
|
2225
|
+
get_dialects_value: JB,
|
|
2226
|
+
lineage_sql: sB,
|
|
2227
|
+
lineage_sql_with_schema: aB,
|
|
2228
|
+
memory: xC,
|
|
2229
|
+
parse: qB,
|
|
2230
|
+
parse_value: pB,
|
|
2231
|
+
plan: TB,
|
|
2232
|
+
source_tables: OB,
|
|
2233
|
+
tokenize: PB,
|
|
2234
|
+
tokenize_value: jB,
|
|
2235
|
+
transpile: dB,
|
|
2236
|
+
transpile_value: tB,
|
|
2237
|
+
validate: zB,
|
|
2238
|
+
validate_with_options: ZB,
|
|
2239
|
+
validate_with_schema: VB,
|
|
2240
|
+
version: fB,
|
|
2241
|
+
wasm_alias: xB,
|
|
2242
|
+
wasm_and: WB,
|
|
2243
|
+
wasm_boolean: eB,
|
|
2244
|
+
wasm_case_of: uB,
|
|
2245
|
+
wasm_cast: rB,
|
|
2246
|
+
wasm_col: nB,
|
|
2247
|
+
wasm_count_distinct: lB,
|
|
2248
|
+
wasm_extract: mB,
|
|
2249
|
+
wasm_func: bB,
|
|
2250
|
+
wasm_lit: vB,
|
|
2251
|
+
wasm_not: XB,
|
|
2252
|
+
wasm_null: _B,
|
|
2253
|
+
wasm_or: $B,
|
|
2254
|
+
wasm_sql_expr: AQ,
|
|
2255
|
+
wasm_star: gQ,
|
|
2256
|
+
wasm_subquery: IQ,
|
|
2257
|
+
wasm_table: CQ,
|
|
2258
|
+
wasmassignmentarray_len: BQ,
|
|
2259
|
+
wasmassignmentarray_new: QQ,
|
|
2260
|
+
wasmassignmentarray_push: EQ,
|
|
2261
|
+
wasmcasebuilder_build_expr: DQ,
|
|
2262
|
+
wasmcasebuilder_else_: wQ,
|
|
2263
|
+
wasmcasebuilder_new: MQ,
|
|
2264
|
+
wasmcasebuilder_to_sql: iQ,
|
|
2265
|
+
wasmcasebuilder_when: oQ,
|
|
2266
|
+
wasmdeletebuilder_build: NQ,
|
|
2267
|
+
wasmdeletebuilder_new: kQ,
|
|
2268
|
+
wasmdeletebuilder_to_sql: yQ,
|
|
2269
|
+
wasmdeletebuilder_where_expr: GQ,
|
|
2270
|
+
wasmexpr_add: KQ,
|
|
2271
|
+
wasmexpr_alias: YQ,
|
|
2272
|
+
wasmexpr_and: SQ,
|
|
2273
|
+
wasmexpr_asc: hQ,
|
|
2274
|
+
wasmexpr_between: HQ,
|
|
2275
|
+
wasmexpr_cast: LQ,
|
|
2276
|
+
wasmexpr_desc: UQ,
|
|
2277
|
+
wasmexpr_div: cQ,
|
|
2278
|
+
wasmexpr_eq: FQ,
|
|
2279
|
+
wasmexpr_gt: RQ,
|
|
2280
|
+
wasmexpr_gte: JQ,
|
|
2281
|
+
wasmexpr_ilike: sQ,
|
|
2282
|
+
wasmexpr_in_list: aQ,
|
|
2283
|
+
wasmexpr_is_not_null: qQ,
|
|
2284
|
+
wasmexpr_is_null: pQ,
|
|
2285
|
+
wasmexpr_like: TQ,
|
|
2286
|
+
wasmexpr_lt: OQ,
|
|
2287
|
+
wasmexpr_lte: PQ,
|
|
2288
|
+
wasmexpr_mul: jQ,
|
|
2289
|
+
wasmexpr_neq: dQ,
|
|
2290
|
+
wasmexpr_not: tQ,
|
|
2291
|
+
wasmexpr_not_in: zQ,
|
|
2292
|
+
wasmexpr_or: ZQ,
|
|
2293
|
+
wasmexpr_rlike: VQ,
|
|
2294
|
+
wasmexpr_sub: fQ,
|
|
2295
|
+
wasmexpr_to_json: xQ,
|
|
2296
|
+
wasmexpr_to_sql: WQ,
|
|
2297
|
+
wasmexpr_xor: eQ,
|
|
2298
|
+
wasmexprarray_len: uQ,
|
|
2299
|
+
wasmexprarray_new: CD,
|
|
2300
|
+
wasmexprarray_push: rQ,
|
|
2301
|
+
wasmexprarray_push_col: nQ,
|
|
2302
|
+
wasmexprarray_push_float: lQ,
|
|
2303
|
+
wasmexprarray_push_int: mQ,
|
|
2304
|
+
wasmexprarray_push_star: bQ,
|
|
2305
|
+
wasmexprarray_push_str: vQ,
|
|
2306
|
+
wasminsertbuilder_build: XQ,
|
|
2307
|
+
wasminsertbuilder_columns: _Q,
|
|
2308
|
+
wasminsertbuilder_new: $Q,
|
|
2309
|
+
wasminsertbuilder_query: AE,
|
|
2310
|
+
wasminsertbuilder_to_sql: gE,
|
|
2311
|
+
wasminsertbuilder_values: IE,
|
|
2312
|
+
wasmmergebuilder_build: CE,
|
|
2313
|
+
wasmmergebuilder_new: BE,
|
|
2314
|
+
wasmmergebuilder_to_sql: QE,
|
|
2315
|
+
wasmmergebuilder_using: EE,
|
|
2316
|
+
wasmmergebuilder_when_matched_delete: DE,
|
|
2317
|
+
wasmmergebuilder_when_matched_update: wE,
|
|
2318
|
+
wasmmergebuilder_when_not_matched_insert: ME,
|
|
2319
|
+
wasmselectbuilder_build: iE,
|
|
2320
|
+
wasmselectbuilder_cross_join: oE,
|
|
2321
|
+
wasmselectbuilder_ctas: NE,
|
|
2322
|
+
wasmselectbuilder_ctas_sql: kE,
|
|
2323
|
+
wasmselectbuilder_distinct: yE,
|
|
2324
|
+
wasmselectbuilder_except_: GE,
|
|
2325
|
+
wasmselectbuilder_for_update: KE,
|
|
2326
|
+
wasmselectbuilder_from: YE,
|
|
2327
|
+
wasmselectbuilder_from_expr: SE,
|
|
2328
|
+
wasmselectbuilder_group_by_cols: hE,
|
|
2329
|
+
wasmselectbuilder_having: HE,
|
|
2330
|
+
wasmselectbuilder_hint: LE,
|
|
2331
|
+
wasmselectbuilder_intersect: UE,
|
|
2332
|
+
wasmselectbuilder_join: cE,
|
|
2333
|
+
wasmselectbuilder_lateral_view: FE,
|
|
2334
|
+
wasmselectbuilder_left_join: RE,
|
|
2335
|
+
wasmselectbuilder_limit: JE,
|
|
2336
|
+
wasmselectbuilder_new: sE,
|
|
2337
|
+
wasmselectbuilder_offset: aE,
|
|
2338
|
+
wasmselectbuilder_order_by_exprs: qE,
|
|
2339
|
+
wasmselectbuilder_qualify: pE,
|
|
2340
|
+
wasmselectbuilder_right_join: TE,
|
|
2341
|
+
wasmselectbuilder_select_col: OE,
|
|
2342
|
+
wasmselectbuilder_select_expr: PE,
|
|
2343
|
+
wasmselectbuilder_select_exprs: jE,
|
|
2344
|
+
wasmselectbuilder_select_star: dE,
|
|
2345
|
+
wasmselectbuilder_sort_by_exprs: tE,
|
|
2346
|
+
wasmselectbuilder_to_sql: zE,
|
|
2347
|
+
wasmselectbuilder_union: ZE,
|
|
2348
|
+
wasmselectbuilder_union_all: VE,
|
|
2349
|
+
wasmselectbuilder_where_expr: fE,
|
|
2350
|
+
wasmselectbuilder_where_sql: xE,
|
|
2351
|
+
wasmselectbuilder_window: WE,
|
|
2352
|
+
wasmsetopbuilder_build: eE,
|
|
2353
|
+
wasmsetopbuilder_limit: uE,
|
|
2354
|
+
wasmsetopbuilder_offset: rE,
|
|
2355
|
+
wasmsetopbuilder_order_by_exprs: nE,
|
|
2356
|
+
wasmsetopbuilder_to_sql: lE,
|
|
2357
|
+
wasmupdatebuilder_build: mE,
|
|
2358
|
+
wasmupdatebuilder_from: bE,
|
|
2359
|
+
wasmupdatebuilder_new: vE,
|
|
2360
|
+
wasmupdatebuilder_set: XE,
|
|
2361
|
+
wasmupdatebuilder_to_sql: _E,
|
|
2362
|
+
wasmupdatebuilder_where_expr: $E,
|
|
2363
|
+
wasmwindowdefbuilder_new: AD,
|
|
2364
|
+
wasmwindowdefbuilder_order_by: gD,
|
|
2365
|
+
wasmwindowdefbuilder_partition_by: ID
|
|
2340
2366
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2341
|
-
|
|
2342
|
-
const
|
|
2367
|
+
fC(MD);
|
|
2368
|
+
const Og = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2343
2369
|
__proto__: null,
|
|
2344
2370
|
WasmAssignmentArray: CA,
|
|
2345
|
-
WasmCaseBuilder:
|
|
2371
|
+
WasmCaseBuilder: l,
|
|
2346
2372
|
WasmDeleteBuilder: MA,
|
|
2347
2373
|
WasmExpr: K,
|
|
2348
2374
|
WasmExprArray: T,
|
|
2349
2375
|
WasmInsertBuilder: iA,
|
|
2350
2376
|
WasmMergeBuilder: oA,
|
|
2351
|
-
WasmSelectBuilder:
|
|
2352
|
-
WasmSetOpBuilder:
|
|
2353
|
-
WasmUpdateBuilder:
|
|
2377
|
+
WasmSelectBuilder: j,
|
|
2378
|
+
WasmSetOpBuilder: f,
|
|
2379
|
+
WasmUpdateBuilder: NA,
|
|
2354
2380
|
WasmWindowDefBuilder: BA,
|
|
2355
|
-
annotate_types:
|
|
2356
|
-
annotate_types_value:
|
|
2357
|
-
ast_add_where:
|
|
2358
|
-
ast_get_aggregate_functions:
|
|
2381
|
+
annotate_types: KI,
|
|
2382
|
+
annotate_types_value: YI,
|
|
2383
|
+
ast_add_where: bA,
|
|
2384
|
+
ast_get_aggregate_functions: vA,
|
|
2359
2385
|
ast_get_column_names: XA,
|
|
2360
2386
|
ast_get_functions: _A,
|
|
2361
2387
|
ast_get_literals: $A,
|
|
@@ -2364,51 +2390,53 @@ const pg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2364
2390
|
ast_get_window_functions: Ig,
|
|
2365
2391
|
ast_node_count: Cg,
|
|
2366
2392
|
ast_qualify_columns: Bg,
|
|
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
|
-
|
|
2393
|
+
ast_qualify_tables: Qg,
|
|
2394
|
+
ast_remove_where: Eg,
|
|
2395
|
+
ast_rename_columns: Dg,
|
|
2396
|
+
ast_rename_tables: wg,
|
|
2397
|
+
ast_rename_tables_with_options: Mg,
|
|
2398
|
+
ast_set_distinct: ig,
|
|
2399
|
+
ast_set_limit: og,
|
|
2400
|
+
diff_sql: Ng,
|
|
2401
|
+
format_sql: SI,
|
|
2402
|
+
format_sql_value: hI,
|
|
2403
|
+
format_sql_with_options: HI,
|
|
2404
|
+
format_sql_with_options_value: LI,
|
|
2405
|
+
generate: UI,
|
|
2406
|
+
generate_value: cI,
|
|
2407
|
+
get_dialects: FI,
|
|
2408
|
+
get_dialects_value: RI,
|
|
2409
|
+
lineage_sql: kg,
|
|
2410
|
+
lineage_sql_with_schema: yg,
|
|
2411
|
+
parse: JI,
|
|
2412
|
+
parse_value: sI,
|
|
2413
|
+
plan: Gg,
|
|
2414
|
+
source_tables: Kg,
|
|
2415
|
+
tokenize: aI,
|
|
2416
|
+
tokenize_value: qI,
|
|
2417
|
+
transpile: pI,
|
|
2418
|
+
transpile_value: TI,
|
|
2419
|
+
validate: OI,
|
|
2420
|
+
validate_with_options: PI,
|
|
2421
|
+
validate_with_schema: Yg,
|
|
2422
|
+
version: jI,
|
|
2423
|
+
wasm_alias: Sg,
|
|
2424
|
+
wasm_and: hg,
|
|
2425
|
+
wasm_boolean: Hg,
|
|
2426
|
+
wasm_case_of: Lg,
|
|
2427
|
+
wasm_cast: Ug,
|
|
2428
|
+
wasm_col: cA,
|
|
2429
|
+
wasm_count_distinct: cg,
|
|
2430
|
+
wasm_extract: Fg,
|
|
2431
|
+
wasm_func: Rg,
|
|
2432
|
+
wasm_lit: kA,
|
|
2433
|
+
wasm_not: Jg,
|
|
2406
2434
|
wasm_null: yA,
|
|
2407
|
-
wasm_or:
|
|
2408
|
-
wasm_sql_expr:
|
|
2409
|
-
wasm_star:
|
|
2410
|
-
wasm_subquery:
|
|
2411
|
-
wasm_table:
|
|
2435
|
+
wasm_or: sg,
|
|
2436
|
+
wasm_sql_expr: ag,
|
|
2437
|
+
wasm_star: qg,
|
|
2438
|
+
wasm_subquery: pg,
|
|
2439
|
+
wasm_table: Tg
|
|
2412
2440
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2413
2441
|
function p(g) {
|
|
2414
2442
|
return Object.keys(g)[0];
|
|
@@ -2425,10 +2453,10 @@ function x(g) {
|
|
|
2425
2453
|
const C = g[A[0]];
|
|
2426
2454
|
return C === null || typeof C == "object" && !Array.isArray(C);
|
|
2427
2455
|
}
|
|
2428
|
-
function
|
|
2456
|
+
function z(g, A) {
|
|
2429
2457
|
return { [g]: A };
|
|
2430
2458
|
}
|
|
2431
|
-
function
|
|
2459
|
+
function Pg(g) {
|
|
2432
2460
|
const A = O(g);
|
|
2433
2461
|
if (A && typeof A == "object" && "inferred_type" in A) {
|
|
2434
2462
|
const C = A.inferred_type;
|
|
@@ -2439,39 +2467,39 @@ function Tg(g) {
|
|
|
2439
2467
|
function Y(g) {
|
|
2440
2468
|
return (A) => g in A;
|
|
2441
2469
|
}
|
|
2442
|
-
const
|
|
2443
|
-
function
|
|
2470
|
+
const jg = Y("select"), iD = Y("insert"), oD = Y("update"), ND = Y("delete"), kD = Y("union"), yD = Y("intersect"), GD = Y("except"), KD = Y("subquery"), YD = Y("identifier"), dg = Y("column"), SD = Y("table"), hD = Y("star"), tg = Y("literal"), HD = Y("boolean"), LD = Y("null"), UD = Y("and"), cD = Y("or"), FD = Y("not"), RD = Y("eq"), JD = Y("neq"), sD = Y("lt"), aD = Y("lte"), qD = Y("gt"), pD = Y("gte"), TD = Y("like"), OD = Y("i_like"), PD = Y("add"), jD = Y("sub"), dD = Y("mul"), tD = Y("div"), zD = Y("mod"), ZD = Y("concat"), VD = Y("in"), fD = Y("between"), xD = Y("is_null"), WD = Y("exists"), zg = Y("function"), eD = Y("aggregate_function"), uD = Y("window_function"), rD = Y("count"), nD = Y("sum"), lD = Y("avg"), mD = Y("min"), bD = Y("max"), vD = Y("coalesce"), XD = Y("null_if"), _D = Y("cast"), $D = Y("try_cast"), Aw = Y("safe_cast"), gw = Y("case"), Iw = Y("from"), Cw = Y("join"), Bw = Y("where"), Qw = Y("group_by"), Ew = Y("having"), Dw = Y("order_by"), ww = Y("limit"), Mw = Y("offset"), iw = Y("with"), ow = Y("cte"), Nw = Y("alias"), kw = Y("paren"), yw = Y("ordered"), Gw = Y("create_table"), Kw = Y("drop_table"), Yw = Y("alter_table"), Sw = Y("create_index"), hw = Y("drop_index"), Hw = Y("create_view"), Lw = Y("drop_view");
|
|
2471
|
+
function Uw(g) {
|
|
2444
2472
|
const A = p(g);
|
|
2445
2473
|
return A === "select" || A === "insert" || A === "update" || A === "delete";
|
|
2446
2474
|
}
|
|
2447
|
-
function
|
|
2475
|
+
function cw(g) {
|
|
2448
2476
|
const A = p(g);
|
|
2449
2477
|
return A === "union" || A === "intersect" || A === "except";
|
|
2450
2478
|
}
|
|
2451
|
-
function
|
|
2479
|
+
function Fw(g) {
|
|
2452
2480
|
const A = p(g);
|
|
2453
2481
|
return A === "eq" || A === "neq" || A === "lt" || A === "lte" || A === "gt" || A === "gte" || A === "like" || A === "i_like";
|
|
2454
2482
|
}
|
|
2455
|
-
function
|
|
2483
|
+
function Rw(g) {
|
|
2456
2484
|
const A = p(g);
|
|
2457
2485
|
return A === "add" || A === "sub" || A === "mul" || A === "div" || A === "mod";
|
|
2458
2486
|
}
|
|
2459
|
-
function
|
|
2487
|
+
function Jw(g) {
|
|
2460
2488
|
const A = p(g);
|
|
2461
2489
|
return A === "and" || A === "or" || A === "not";
|
|
2462
2490
|
}
|
|
2463
|
-
function
|
|
2491
|
+
function sw(g) {
|
|
2464
2492
|
const A = p(g);
|
|
2465
2493
|
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";
|
|
2466
2494
|
}
|
|
2467
|
-
function
|
|
2495
|
+
function Z(g) {
|
|
2468
2496
|
return JSON.stringify(g);
|
|
2469
2497
|
}
|
|
2470
|
-
function
|
|
2498
|
+
function e(g) {
|
|
2471
2499
|
const A = JSON.parse(g);
|
|
2472
2500
|
return A.success ? JSON.parse(A.ast) : null;
|
|
2473
2501
|
}
|
|
2474
|
-
function
|
|
2502
|
+
function Zg(g, A, C) {
|
|
2475
2503
|
if (g == null) return g;
|
|
2476
2504
|
if (Array.isArray(g))
|
|
2477
2505
|
return g.length > 0 && x(g[0]) ? g.map(
|
|
@@ -2483,8 +2511,8 @@ function tg(g, A, C) {
|
|
|
2483
2511
|
const Q = { ...g };
|
|
2484
2512
|
let E = !1;
|
|
2485
2513
|
for (const [D, i] of Object.entries(Q)) {
|
|
2486
|
-
const
|
|
2487
|
-
|
|
2514
|
+
const k = Zg(i, A, C);
|
|
2515
|
+
k !== i && (Q[D] = k, E = !0);
|
|
2488
2516
|
}
|
|
2489
2517
|
return E ? Q : g;
|
|
2490
2518
|
}
|
|
@@ -2505,149 +2533,158 @@ function wA(g, A, C, B, Q) {
|
|
|
2505
2533
|
return E;
|
|
2506
2534
|
h !== void 0 && (E = h);
|
|
2507
2535
|
}
|
|
2508
|
-
const
|
|
2509
|
-
let
|
|
2510
|
-
if (
|
|
2511
|
-
|
|
2536
|
+
const k = p(E), G = O(E);
|
|
2537
|
+
let y;
|
|
2538
|
+
if (G == null)
|
|
2539
|
+
y = z(k, G);
|
|
2512
2540
|
else {
|
|
2513
|
-
const h = { ...
|
|
2514
|
-
for (const [
|
|
2515
|
-
const
|
|
2516
|
-
|
|
2541
|
+
const h = { ...G };
|
|
2542
|
+
for (const [J, q] of Object.entries(h)) {
|
|
2543
|
+
const P = Zg(q, A, E);
|
|
2544
|
+
P !== q && (h[J] = P);
|
|
2517
2545
|
}
|
|
2518
|
-
|
|
2546
|
+
y = z(k, h);
|
|
2519
2547
|
}
|
|
2520
2548
|
if (A.leave) {
|
|
2521
|
-
const h = A.leave(
|
|
2549
|
+
const h = A.leave(y, C, B, Q);
|
|
2522
2550
|
if (h != null)
|
|
2523
2551
|
return h;
|
|
2524
2552
|
}
|
|
2525
|
-
return
|
|
2553
|
+
return y;
|
|
2526
2554
|
}
|
|
2527
|
-
function
|
|
2555
|
+
function KA(g, A) {
|
|
2528
2556
|
return wA(g, A, null, null, null);
|
|
2529
2557
|
}
|
|
2530
2558
|
function Vg(g, A, C) {
|
|
2531
|
-
return
|
|
2559
|
+
return KA(g, {
|
|
2532
2560
|
enter: (B, Q) => {
|
|
2533
2561
|
if (A(B, Q))
|
|
2534
2562
|
return typeof C == "function" ? C(B) : C;
|
|
2535
2563
|
}
|
|
2536
2564
|
});
|
|
2537
2565
|
}
|
|
2538
|
-
function
|
|
2566
|
+
function aw(g, A, C) {
|
|
2539
2567
|
return Vg(
|
|
2540
2568
|
g,
|
|
2541
2569
|
(B) => p(B) === A,
|
|
2542
2570
|
typeof C == "function" ? (B) => C(B) : C
|
|
2543
2571
|
);
|
|
2544
2572
|
}
|
|
2545
|
-
function
|
|
2546
|
-
return
|
|
2547
|
-
|
|
2573
|
+
function fg(g, A) {
|
|
2574
|
+
return e(
|
|
2575
|
+
Dg(Z(g), JSON.stringify(A))
|
|
2548
2576
|
) ?? g;
|
|
2549
2577
|
}
|
|
2550
|
-
function
|
|
2551
|
-
return
|
|
2552
|
-
|
|
2578
|
+
function qw(g, A, C) {
|
|
2579
|
+
return e(
|
|
2580
|
+
C ? Mg(
|
|
2581
|
+
Z(g),
|
|
2582
|
+
JSON.stringify(A),
|
|
2583
|
+
JSON.stringify(C)
|
|
2584
|
+
) : wg(Z(g), JSON.stringify(A))
|
|
2585
|
+
) ?? g;
|
|
2586
|
+
}
|
|
2587
|
+
function pw(g, A) {
|
|
2588
|
+
return e(
|
|
2589
|
+
Bg(Z(g), A)
|
|
2553
2590
|
) ?? g;
|
|
2554
2591
|
}
|
|
2555
|
-
function
|
|
2556
|
-
return
|
|
2557
|
-
|
|
2592
|
+
function Tw(g, A = {}) {
|
|
2593
|
+
return e(
|
|
2594
|
+
Qg(Z(g), JSON.stringify(A))
|
|
2558
2595
|
) ?? g;
|
|
2559
2596
|
}
|
|
2560
|
-
function
|
|
2561
|
-
return
|
|
2562
|
-
|
|
2597
|
+
function Ow(g, A, C = "and") {
|
|
2598
|
+
return e(
|
|
2599
|
+
bA(Z(g), Z(A), C === "or")
|
|
2563
2600
|
) ?? g;
|
|
2564
2601
|
}
|
|
2565
|
-
function
|
|
2566
|
-
return
|
|
2602
|
+
function Pw(g) {
|
|
2603
|
+
return e(Eg(Z(g))) ?? g;
|
|
2567
2604
|
}
|
|
2568
|
-
function
|
|
2605
|
+
function jw(g, ...A) {
|
|
2569
2606
|
if (p(g) !== "select")
|
|
2570
2607
|
return g;
|
|
2571
2608
|
const C = O(g);
|
|
2572
|
-
return
|
|
2609
|
+
return z("select", {
|
|
2573
2610
|
...C,
|
|
2574
2611
|
expressions: [...C.expressions, ...A]
|
|
2575
2612
|
});
|
|
2576
2613
|
}
|
|
2577
|
-
function
|
|
2614
|
+
function dw(g, A) {
|
|
2578
2615
|
if (p(g) !== "select")
|
|
2579
2616
|
return g;
|
|
2580
2617
|
const C = O(g);
|
|
2581
|
-
return
|
|
2618
|
+
return z("select", {
|
|
2582
2619
|
...C,
|
|
2583
2620
|
expressions: C.expressions.filter((B) => !A(B))
|
|
2584
2621
|
});
|
|
2585
2622
|
}
|
|
2586
|
-
function
|
|
2623
|
+
function tw(g, A) {
|
|
2587
2624
|
if (typeof A == "number")
|
|
2588
|
-
return
|
|
2625
|
+
return e(og(Z(g), A)) ?? g;
|
|
2589
2626
|
if (p(g) !== "select")
|
|
2590
2627
|
return g;
|
|
2591
2628
|
const C = O(g);
|
|
2592
|
-
return
|
|
2629
|
+
return z("select", {
|
|
2593
2630
|
...C,
|
|
2594
2631
|
limit: { this: A }
|
|
2595
2632
|
});
|
|
2596
2633
|
}
|
|
2597
|
-
function
|
|
2634
|
+
function zw(g, A) {
|
|
2598
2635
|
if (p(g) !== "select")
|
|
2599
2636
|
return g;
|
|
2600
|
-
const C = O(g), B = typeof A == "number" ?
|
|
2601
|
-
return
|
|
2637
|
+
const C = O(g), B = typeof A == "number" ? z("literal", { literal_type: "number", value: String(A) }) : A;
|
|
2638
|
+
return z("select", {
|
|
2602
2639
|
...C,
|
|
2603
2640
|
offset: { this: B }
|
|
2604
2641
|
});
|
|
2605
2642
|
}
|
|
2606
|
-
function
|
|
2643
|
+
function Zw(g) {
|
|
2607
2644
|
if (p(g) !== "select")
|
|
2608
2645
|
return g;
|
|
2609
2646
|
const A = O(g);
|
|
2610
|
-
return
|
|
2647
|
+
return z("select", {
|
|
2611
2648
|
...A,
|
|
2612
2649
|
limit: null,
|
|
2613
2650
|
offset: null
|
|
2614
2651
|
});
|
|
2615
2652
|
}
|
|
2616
|
-
function
|
|
2617
|
-
return
|
|
2653
|
+
function Vw(g, A = !0) {
|
|
2654
|
+
return e(ig(Z(g), A)) ?? g;
|
|
2618
2655
|
}
|
|
2619
|
-
function
|
|
2620
|
-
return
|
|
2656
|
+
function fw(g) {
|
|
2657
|
+
return KA(g, {});
|
|
2621
2658
|
}
|
|
2622
|
-
function
|
|
2659
|
+
function xg(g, A, C) {
|
|
2623
2660
|
if (g == null) return g;
|
|
2624
2661
|
if (Array.isArray(g))
|
|
2625
|
-
return g.length > 0 && x(g[0]) ? g.filter((B) => !A(B, C)).map((B) =>
|
|
2662
|
+
return g.length > 0 && x(g[0]) ? g.filter((B) => !A(B, C)).map((B) => UA(B, A)) : g;
|
|
2626
2663
|
if (x(g))
|
|
2627
|
-
return
|
|
2664
|
+
return UA(g, A);
|
|
2628
2665
|
if (typeof g == "object") {
|
|
2629
2666
|
const Q = { ...g };
|
|
2630
2667
|
let E = !1;
|
|
2631
2668
|
for (const [D, i] of Object.entries(Q)) {
|
|
2632
|
-
const
|
|
2633
|
-
|
|
2669
|
+
const k = xg(i, A, C);
|
|
2670
|
+
k !== i && (Q[D] = k, E = !0);
|
|
2634
2671
|
}
|
|
2635
2672
|
return E ? Q : g;
|
|
2636
2673
|
}
|
|
2637
2674
|
return g;
|
|
2638
2675
|
}
|
|
2639
|
-
function
|
|
2676
|
+
function UA(g, A) {
|
|
2640
2677
|
const C = p(g), Q = { ...O(g) };
|
|
2641
2678
|
for (const [E, D] of Object.entries(Q)) {
|
|
2642
|
-
const i =
|
|
2679
|
+
const i = xg(D, A, g);
|
|
2643
2680
|
i !== D && (Q[E] = i);
|
|
2644
2681
|
}
|
|
2645
|
-
return
|
|
2682
|
+
return z(C, Q);
|
|
2646
2683
|
}
|
|
2647
|
-
function
|
|
2684
|
+
function u(g) {
|
|
2648
2685
|
return JSON.stringify(g);
|
|
2649
2686
|
}
|
|
2650
|
-
function
|
|
2687
|
+
function Wg(g, A, C) {
|
|
2651
2688
|
if (g != null) {
|
|
2652
2689
|
if (Array.isArray(g)) {
|
|
2653
2690
|
if (g.length > 0 && x(g[0]))
|
|
@@ -2664,25 +2701,25 @@ function xg(g, A, C) {
|
|
|
2664
2701
|
for (const [, B] of Object.entries(
|
|
2665
2702
|
g
|
|
2666
2703
|
))
|
|
2667
|
-
|
|
2704
|
+
Wg(B, A, C);
|
|
2668
2705
|
}
|
|
2669
2706
|
}
|
|
2670
|
-
function
|
|
2707
|
+
function eg(g) {
|
|
2671
2708
|
const A = [], C = O(g);
|
|
2672
2709
|
if (!C || typeof C != "object") return A;
|
|
2673
2710
|
for (const [B, Q] of Object.entries(C))
|
|
2674
|
-
|
|
2711
|
+
Wg(Q, B, A);
|
|
2675
2712
|
return A;
|
|
2676
2713
|
}
|
|
2677
2714
|
function t(g, A, C = null, B = null, Q = null) {
|
|
2678
2715
|
A.enter && A.enter(g, C, B, Q);
|
|
2679
2716
|
const E = p(g), D = A[E];
|
|
2680
2717
|
D && D(g, C, B, Q);
|
|
2681
|
-
const i =
|
|
2682
|
-
for (const
|
|
2683
|
-
Array.isArray(
|
|
2684
|
-
t(
|
|
2685
|
-
}) : t(
|
|
2718
|
+
const i = eg(g);
|
|
2719
|
+
for (const k of i)
|
|
2720
|
+
Array.isArray(k.value) ? k.value.forEach((G, y) => {
|
|
2721
|
+
t(G, A, g, k.key, y);
|
|
2722
|
+
}) : t(k.value, A, g, k.key, null);
|
|
2686
2723
|
A.leave && A.leave(g, C, B, Q);
|
|
2687
2724
|
}
|
|
2688
2725
|
function YA(g, A) {
|
|
@@ -2696,7 +2733,7 @@ function YA(g, A) {
|
|
|
2696
2733
|
function QA(g, A) {
|
|
2697
2734
|
return YA(g, (C) => p(C) === A);
|
|
2698
2735
|
}
|
|
2699
|
-
function
|
|
2736
|
+
function ug(g, A) {
|
|
2700
2737
|
let C, B = !1;
|
|
2701
2738
|
return t(g, {
|
|
2702
2739
|
enter: (Q, E) => {
|
|
@@ -2704,10 +2741,10 @@ function Wg(g, A) {
|
|
|
2704
2741
|
}
|
|
2705
2742
|
}), C;
|
|
2706
2743
|
}
|
|
2707
|
-
function
|
|
2708
|
-
return
|
|
2744
|
+
function xw(g, A) {
|
|
2745
|
+
return ug(g, A) !== void 0;
|
|
2709
2746
|
}
|
|
2710
|
-
function
|
|
2747
|
+
function Ww(g, A) {
|
|
2711
2748
|
let C = !0;
|
|
2712
2749
|
return t(g, {
|
|
2713
2750
|
enter: (B, Q) => {
|
|
@@ -2715,56 +2752,56 @@ function Vw(g, A) {
|
|
|
2715
2752
|
}
|
|
2716
2753
|
}), C;
|
|
2717
2754
|
}
|
|
2718
|
-
function
|
|
2755
|
+
function ew(g, A) {
|
|
2719
2756
|
return YA(g, A).length;
|
|
2720
2757
|
}
|
|
2721
|
-
function
|
|
2758
|
+
function rg(g) {
|
|
2722
2759
|
return QA(g, "column");
|
|
2723
2760
|
}
|
|
2724
|
-
function
|
|
2761
|
+
function uw(g) {
|
|
2725
2762
|
return QA(g, "table");
|
|
2726
2763
|
}
|
|
2727
|
-
function
|
|
2764
|
+
function rw(g) {
|
|
2728
2765
|
return QA(g, "identifier");
|
|
2729
2766
|
}
|
|
2730
|
-
function
|
|
2731
|
-
const A = JSON.parse(_A(
|
|
2767
|
+
function nw(g) {
|
|
2768
|
+
const A = JSON.parse(_A(u(g)));
|
|
2732
2769
|
return A.success ? JSON.parse(A.ast) : [];
|
|
2733
2770
|
}
|
|
2734
2771
|
function IA(g) {
|
|
2735
|
-
const A = JSON.parse(
|
|
2772
|
+
const A = JSON.parse(vA(u(g)));
|
|
2736
2773
|
return A.success ? JSON.parse(A.ast) : [];
|
|
2737
2774
|
}
|
|
2738
|
-
function
|
|
2739
|
-
const A = JSON.parse(Ig(
|
|
2775
|
+
function ng(g) {
|
|
2776
|
+
const A = JSON.parse(Ig(u(g)));
|
|
2740
2777
|
return A.success ? JSON.parse(A.ast) : [];
|
|
2741
2778
|
}
|
|
2742
|
-
function
|
|
2743
|
-
const A = JSON.parse(Ag(
|
|
2779
|
+
function lg(g) {
|
|
2780
|
+
const A = JSON.parse(Ag(u(g)));
|
|
2744
2781
|
return A.success ? JSON.parse(A.ast) : [];
|
|
2745
2782
|
}
|
|
2746
|
-
function
|
|
2747
|
-
const A = JSON.parse($A(
|
|
2783
|
+
function lw(g) {
|
|
2784
|
+
const A = JSON.parse($A(u(g)));
|
|
2748
2785
|
return A.success ? JSON.parse(A.ast) : [];
|
|
2749
2786
|
}
|
|
2750
|
-
function
|
|
2751
|
-
const A = JSON.parse(XA(
|
|
2787
|
+
function mw(g) {
|
|
2788
|
+
const A = JSON.parse(XA(u(g)));
|
|
2752
2789
|
return A.success ? A.result : [];
|
|
2753
2790
|
}
|
|
2754
|
-
function
|
|
2755
|
-
const A = JSON.parse(gg(
|
|
2791
|
+
function bw(g) {
|
|
2792
|
+
const A = JSON.parse(gg(u(g)));
|
|
2756
2793
|
return A.success ? A.result : [];
|
|
2757
2794
|
}
|
|
2758
|
-
function
|
|
2795
|
+
function mg(g) {
|
|
2759
2796
|
return IA(g).length > 0;
|
|
2760
2797
|
}
|
|
2761
|
-
function
|
|
2762
|
-
return
|
|
2798
|
+
function vw(g) {
|
|
2799
|
+
return ng(g).length > 0;
|
|
2763
2800
|
}
|
|
2764
|
-
function
|
|
2765
|
-
return
|
|
2801
|
+
function Xw(g) {
|
|
2802
|
+
return lg(g).length > 0;
|
|
2766
2803
|
}
|
|
2767
|
-
function
|
|
2804
|
+
function _w(g) {
|
|
2768
2805
|
let A = 0, C = 0;
|
|
2769
2806
|
return t(g, {
|
|
2770
2807
|
enter: () => {
|
|
@@ -2775,11 +2812,11 @@ function lw(g) {
|
|
|
2775
2812
|
}
|
|
2776
2813
|
}), A;
|
|
2777
2814
|
}
|
|
2778
|
-
function
|
|
2779
|
-
const A = JSON.parse(Cg(
|
|
2815
|
+
function $w(g) {
|
|
2816
|
+
const A = JSON.parse(Cg(u(g)));
|
|
2780
2817
|
return A.success ? A.result : 0;
|
|
2781
2818
|
}
|
|
2782
|
-
function
|
|
2819
|
+
function AM(g, A) {
|
|
2783
2820
|
let C = null;
|
|
2784
2821
|
return t(g, {
|
|
2785
2822
|
enter: (B, Q) => {
|
|
@@ -2787,7 +2824,7 @@ function vw(g, A) {
|
|
|
2787
2824
|
}
|
|
2788
2825
|
}), C;
|
|
2789
2826
|
}
|
|
2790
|
-
function
|
|
2827
|
+
function gM(g, A, C) {
|
|
2791
2828
|
const B = [];
|
|
2792
2829
|
let Q = null;
|
|
2793
2830
|
return t(g, {
|
|
@@ -2809,7 +2846,7 @@ function bw(g, A, C) {
|
|
|
2809
2846
|
}
|
|
2810
2847
|
}), Q;
|
|
2811
2848
|
}
|
|
2812
|
-
function
|
|
2849
|
+
function IM(g, A) {
|
|
2813
2850
|
let C = 0, B = 0;
|
|
2814
2851
|
return t(g, {
|
|
2815
2852
|
enter: (Q) => {
|
|
@@ -2820,139 +2857,140 @@ function Xw(g, A) {
|
|
|
2820
2857
|
}
|
|
2821
2858
|
}), C;
|
|
2822
2859
|
}
|
|
2823
|
-
const
|
|
2860
|
+
const CM = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2824
2861
|
__proto__: null,
|
|
2825
|
-
addSelectColumns:
|
|
2826
|
-
addWhere:
|
|
2827
|
-
clone:
|
|
2828
|
-
countNodes:
|
|
2829
|
-
every:
|
|
2862
|
+
addSelectColumns: jw,
|
|
2863
|
+
addWhere: Ow,
|
|
2864
|
+
clone: fw,
|
|
2865
|
+
countNodes: ew,
|
|
2866
|
+
every: Ww,
|
|
2830
2867
|
findAll: YA,
|
|
2831
|
-
findAncestor:
|
|
2868
|
+
findAncestor: gM,
|
|
2832
2869
|
findByType: QA,
|
|
2833
|
-
findFirst:
|
|
2870
|
+
findFirst: ug,
|
|
2834
2871
|
getAggregateFunctions: IA,
|
|
2835
|
-
getChildren:
|
|
2836
|
-
getColumnNames:
|
|
2837
|
-
getColumns:
|
|
2838
|
-
getDepth:
|
|
2872
|
+
getChildren: eg,
|
|
2873
|
+
getColumnNames: mw,
|
|
2874
|
+
getColumns: rg,
|
|
2875
|
+
getDepth: _w,
|
|
2839
2876
|
getExprData: O,
|
|
2840
2877
|
getExprType: p,
|
|
2841
|
-
getFunctions:
|
|
2842
|
-
getIdentifiers:
|
|
2843
|
-
getInferredType:
|
|
2844
|
-
getLiterals:
|
|
2845
|
-
getNodeDepth:
|
|
2846
|
-
getParent:
|
|
2847
|
-
getSubqueries:
|
|
2848
|
-
getTableNames:
|
|
2849
|
-
getTables:
|
|
2850
|
-
getWindowFunctions:
|
|
2851
|
-
hasAggregates:
|
|
2852
|
-
hasSubqueries:
|
|
2853
|
-
hasWindowFunctions:
|
|
2854
|
-
isAdd:
|
|
2855
|
-
isAggregateFunction:
|
|
2856
|
-
isAlias:
|
|
2857
|
-
isAlterTable:
|
|
2858
|
-
isAnd:
|
|
2859
|
-
isArithmetic:
|
|
2860
|
-
isAvg:
|
|
2861
|
-
isBetween:
|
|
2862
|
-
isBoolean:
|
|
2863
|
-
isCase:
|
|
2864
|
-
isCast:
|
|
2865
|
-
isCoalesce:
|
|
2866
|
-
isColumn:
|
|
2867
|
-
isComparison:
|
|
2868
|
-
isConcat:
|
|
2869
|
-
isCount:
|
|
2870
|
-
isCreateIndex:
|
|
2871
|
-
isCreateTable:
|
|
2872
|
-
isCreateView:
|
|
2873
|
-
isCte:
|
|
2874
|
-
isDDL:
|
|
2875
|
-
isDelete:
|
|
2876
|
-
isDiv:
|
|
2877
|
-
isDropIndex:
|
|
2878
|
-
isDropTable:
|
|
2879
|
-
isDropView:
|
|
2880
|
-
isEq:
|
|
2881
|
-
isExcept:
|
|
2882
|
-
isExists:
|
|
2878
|
+
getFunctions: nw,
|
|
2879
|
+
getIdentifiers: rw,
|
|
2880
|
+
getInferredType: Pg,
|
|
2881
|
+
getLiterals: lw,
|
|
2882
|
+
getNodeDepth: IM,
|
|
2883
|
+
getParent: AM,
|
|
2884
|
+
getSubqueries: lg,
|
|
2885
|
+
getTableNames: bw,
|
|
2886
|
+
getTables: uw,
|
|
2887
|
+
getWindowFunctions: ng,
|
|
2888
|
+
hasAggregates: mg,
|
|
2889
|
+
hasSubqueries: Xw,
|
|
2890
|
+
hasWindowFunctions: vw,
|
|
2891
|
+
isAdd: PD,
|
|
2892
|
+
isAggregateFunction: eD,
|
|
2893
|
+
isAlias: Nw,
|
|
2894
|
+
isAlterTable: Yw,
|
|
2895
|
+
isAnd: UD,
|
|
2896
|
+
isArithmetic: Rw,
|
|
2897
|
+
isAvg: lD,
|
|
2898
|
+
isBetween: fD,
|
|
2899
|
+
isBoolean: HD,
|
|
2900
|
+
isCase: gw,
|
|
2901
|
+
isCast: _D,
|
|
2902
|
+
isCoalesce: vD,
|
|
2903
|
+
isColumn: dg,
|
|
2904
|
+
isComparison: Fw,
|
|
2905
|
+
isConcat: ZD,
|
|
2906
|
+
isCount: rD,
|
|
2907
|
+
isCreateIndex: Sw,
|
|
2908
|
+
isCreateTable: Gw,
|
|
2909
|
+
isCreateView: Hw,
|
|
2910
|
+
isCte: ow,
|
|
2911
|
+
isDDL: sw,
|
|
2912
|
+
isDelete: ND,
|
|
2913
|
+
isDiv: tD,
|
|
2914
|
+
isDropIndex: hw,
|
|
2915
|
+
isDropTable: Kw,
|
|
2916
|
+
isDropView: Lw,
|
|
2917
|
+
isEq: RD,
|
|
2918
|
+
isExcept: GD,
|
|
2919
|
+
isExists: WD,
|
|
2883
2920
|
isExpressionValue: x,
|
|
2884
|
-
isFrom:
|
|
2885
|
-
isFunction:
|
|
2886
|
-
isGroupBy:
|
|
2887
|
-
isGt:
|
|
2888
|
-
isGte:
|
|
2889
|
-
isHaving:
|
|
2890
|
-
isILike:
|
|
2891
|
-
isIdentifier:
|
|
2892
|
-
isIn:
|
|
2893
|
-
isInsert:
|
|
2894
|
-
isIntersect:
|
|
2895
|
-
isIsNull:
|
|
2896
|
-
isJoin:
|
|
2897
|
-
isLike:
|
|
2898
|
-
isLimit:
|
|
2899
|
-
isLiteral:
|
|
2900
|
-
isLogical:
|
|
2901
|
-
isLt:
|
|
2902
|
-
isLte:
|
|
2903
|
-
isMax:
|
|
2904
|
-
isMin:
|
|
2905
|
-
isMod:
|
|
2906
|
-
isMul:
|
|
2907
|
-
isNeq:
|
|
2908
|
-
isNot:
|
|
2909
|
-
isNullIf:
|
|
2910
|
-
isNullLiteral:
|
|
2911
|
-
isOffset:
|
|
2912
|
-
isOr:
|
|
2913
|
-
isOrderBy:
|
|
2914
|
-
isOrdered:
|
|
2915
|
-
isParen:
|
|
2916
|
-
isQuery:
|
|
2917
|
-
isSafeCast:
|
|
2918
|
-
isSelect:
|
|
2919
|
-
isSetOperation:
|
|
2920
|
-
isStar:
|
|
2921
|
-
isSub:
|
|
2922
|
-
isSubquery:
|
|
2923
|
-
isSum:
|
|
2924
|
-
isTable:
|
|
2925
|
-
isTryCast:
|
|
2926
|
-
isUnion:
|
|
2927
|
-
isUpdate:
|
|
2928
|
-
isWhere:
|
|
2929
|
-
isWindowFunction:
|
|
2930
|
-
isWith:
|
|
2931
|
-
makeExpr:
|
|
2932
|
-
nodeCount:
|
|
2933
|
-
qualifyColumns:
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2921
|
+
isFrom: Iw,
|
|
2922
|
+
isFunction: zg,
|
|
2923
|
+
isGroupBy: Qw,
|
|
2924
|
+
isGt: qD,
|
|
2925
|
+
isGte: pD,
|
|
2926
|
+
isHaving: Ew,
|
|
2927
|
+
isILike: OD,
|
|
2928
|
+
isIdentifier: YD,
|
|
2929
|
+
isIn: VD,
|
|
2930
|
+
isInsert: iD,
|
|
2931
|
+
isIntersect: yD,
|
|
2932
|
+
isIsNull: xD,
|
|
2933
|
+
isJoin: Cw,
|
|
2934
|
+
isLike: TD,
|
|
2935
|
+
isLimit: ww,
|
|
2936
|
+
isLiteral: tg,
|
|
2937
|
+
isLogical: Jw,
|
|
2938
|
+
isLt: sD,
|
|
2939
|
+
isLte: aD,
|
|
2940
|
+
isMax: bD,
|
|
2941
|
+
isMin: mD,
|
|
2942
|
+
isMod: zD,
|
|
2943
|
+
isMul: dD,
|
|
2944
|
+
isNeq: JD,
|
|
2945
|
+
isNot: FD,
|
|
2946
|
+
isNullIf: XD,
|
|
2947
|
+
isNullLiteral: LD,
|
|
2948
|
+
isOffset: Mw,
|
|
2949
|
+
isOr: cD,
|
|
2950
|
+
isOrderBy: Dw,
|
|
2951
|
+
isOrdered: yw,
|
|
2952
|
+
isParen: kw,
|
|
2953
|
+
isQuery: Uw,
|
|
2954
|
+
isSafeCast: Aw,
|
|
2955
|
+
isSelect: jg,
|
|
2956
|
+
isSetOperation: cw,
|
|
2957
|
+
isStar: hD,
|
|
2958
|
+
isSub: jD,
|
|
2959
|
+
isSubquery: KD,
|
|
2960
|
+
isSum: nD,
|
|
2961
|
+
isTable: SD,
|
|
2962
|
+
isTryCast: $D,
|
|
2963
|
+
isUnion: kD,
|
|
2964
|
+
isUpdate: oD,
|
|
2965
|
+
isWhere: Bw,
|
|
2966
|
+
isWindowFunction: uD,
|
|
2967
|
+
isWith: iw,
|
|
2968
|
+
makeExpr: z,
|
|
2969
|
+
nodeCount: $w,
|
|
2970
|
+
qualifyColumns: pw,
|
|
2971
|
+
qualifyTables: Tw,
|
|
2972
|
+
remove: UA,
|
|
2973
|
+
removeLimitOffset: Zw,
|
|
2974
|
+
removeSelectColumns: dw,
|
|
2975
|
+
removeWhere: Pw,
|
|
2976
|
+
renameColumns: fg,
|
|
2977
|
+
renameTables: qw,
|
|
2978
|
+
replaceByType: aw,
|
|
2941
2979
|
replaceNodes: Vg,
|
|
2942
|
-
setDistinct:
|
|
2943
|
-
setLimit:
|
|
2944
|
-
setOffset:
|
|
2945
|
-
some:
|
|
2946
|
-
transform:
|
|
2980
|
+
setDistinct: Vw,
|
|
2981
|
+
setLimit: tw,
|
|
2982
|
+
setOffset: zw,
|
|
2983
|
+
some: xw,
|
|
2984
|
+
transform: KA,
|
|
2947
2985
|
walk: t
|
|
2948
2986
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2949
|
-
function
|
|
2950
|
-
return g instanceof H ? g._w : typeof g == "string" ?
|
|
2987
|
+
function c(g) {
|
|
2988
|
+
return g instanceof H ? g._w : typeof g == "string" ? cA(g) : typeof g == "number" || typeof g == "boolean" || g === null ? kA(g) : yA();
|
|
2951
2989
|
}
|
|
2952
2990
|
function d(g) {
|
|
2953
2991
|
const A = new T();
|
|
2954
2992
|
for (const C of g)
|
|
2955
|
-
C instanceof H ? A.push(C._w) : typeof C == "string" ? A.push_col(C) : typeof C == "number" ? Number.isInteger(C) ? A.push_int(C) : A.push_float(C) : typeof C == "boolean" || C === null ? A.push(
|
|
2993
|
+
C instanceof H ? A.push(C._w) : typeof C == "string" ? A.push_col(C) : typeof C == "number" ? Number.isInteger(C) ? A.push_int(C) : A.push_float(C) : typeof C == "boolean" || C === null ? A.push(kA(C)) : A.push(yA());
|
|
2956
2994
|
return A;
|
|
2957
2995
|
}
|
|
2958
2996
|
class H {
|
|
@@ -2964,58 +3002,58 @@ class H {
|
|
|
2964
3002
|
}
|
|
2965
3003
|
// -- Comparison --
|
|
2966
3004
|
eq(A) {
|
|
2967
|
-
return new H(this._w.eq(
|
|
3005
|
+
return new H(this._w.eq(c(A)));
|
|
2968
3006
|
}
|
|
2969
3007
|
neq(A) {
|
|
2970
|
-
return new H(this._w.neq(
|
|
3008
|
+
return new H(this._w.neq(c(A)));
|
|
2971
3009
|
}
|
|
2972
3010
|
lt(A) {
|
|
2973
|
-
return new H(this._w.lt(
|
|
3011
|
+
return new H(this._w.lt(c(A)));
|
|
2974
3012
|
}
|
|
2975
3013
|
lte(A) {
|
|
2976
|
-
return new H(this._w.lte(
|
|
3014
|
+
return new H(this._w.lte(c(A)));
|
|
2977
3015
|
}
|
|
2978
3016
|
gt(A) {
|
|
2979
|
-
return new H(this._w.gt(
|
|
3017
|
+
return new H(this._w.gt(c(A)));
|
|
2980
3018
|
}
|
|
2981
3019
|
gte(A) {
|
|
2982
|
-
return new H(this._w.gte(
|
|
3020
|
+
return new H(this._w.gte(c(A)));
|
|
2983
3021
|
}
|
|
2984
3022
|
// -- Logical --
|
|
2985
3023
|
and(A) {
|
|
2986
|
-
return new H(this._w.and(
|
|
3024
|
+
return new H(this._w.and(c(A)));
|
|
2987
3025
|
}
|
|
2988
3026
|
or(A) {
|
|
2989
|
-
return new H(this._w.or(
|
|
3027
|
+
return new H(this._w.or(c(A)));
|
|
2990
3028
|
}
|
|
2991
3029
|
not() {
|
|
2992
3030
|
return new H(this._w.not());
|
|
2993
3031
|
}
|
|
2994
3032
|
xor(A) {
|
|
2995
|
-
return new H(this._w.xor(
|
|
3033
|
+
return new H(this._w.xor(c(A)));
|
|
2996
3034
|
}
|
|
2997
3035
|
// -- Arithmetic --
|
|
2998
3036
|
add(A) {
|
|
2999
|
-
return new H(this._w.add(
|
|
3037
|
+
return new H(this._w.add(c(A)));
|
|
3000
3038
|
}
|
|
3001
3039
|
sub(A) {
|
|
3002
|
-
return new H(this._w.sub(
|
|
3040
|
+
return new H(this._w.sub(c(A)));
|
|
3003
3041
|
}
|
|
3004
3042
|
mul(A) {
|
|
3005
|
-
return new H(this._w.mul(
|
|
3043
|
+
return new H(this._w.mul(c(A)));
|
|
3006
3044
|
}
|
|
3007
3045
|
div(A) {
|
|
3008
|
-
return new H(this._w.div(
|
|
3046
|
+
return new H(this._w.div(c(A)));
|
|
3009
3047
|
}
|
|
3010
3048
|
// -- Pattern matching --
|
|
3011
3049
|
like(A) {
|
|
3012
|
-
return new H(this._w.like(
|
|
3050
|
+
return new H(this._w.like(c(A)));
|
|
3013
3051
|
}
|
|
3014
3052
|
ilike(A) {
|
|
3015
|
-
return new H(this._w.ilike(
|
|
3053
|
+
return new H(this._w.ilike(c(A)));
|
|
3016
3054
|
}
|
|
3017
3055
|
rlike(A) {
|
|
3018
|
-
return new H(this._w.rlike(
|
|
3056
|
+
return new H(this._w.rlike(c(A)));
|
|
3019
3057
|
}
|
|
3020
3058
|
// -- Predicates --
|
|
3021
3059
|
isNull() {
|
|
@@ -3025,7 +3063,7 @@ class H {
|
|
|
3025
3063
|
return new H(this._w.is_not_null());
|
|
3026
3064
|
}
|
|
3027
3065
|
between(A, C) {
|
|
3028
|
-
return new H(this._w.between(
|
|
3066
|
+
return new H(this._w.between(c(A), c(C)));
|
|
3029
3067
|
}
|
|
3030
3068
|
inList(...A) {
|
|
3031
3069
|
return new H(this._w.in_list(d(A)));
|
|
@@ -3050,9 +3088,9 @@ class H {
|
|
|
3050
3088
|
return new H(this._w.desc());
|
|
3051
3089
|
}
|
|
3052
3090
|
// -- Output --
|
|
3053
|
-
/** Generate SQL string
|
|
3054
|
-
toSql() {
|
|
3055
|
-
return this._w.to_sql();
|
|
3091
|
+
/** Generate SQL string. Defaults to generic dialect. */
|
|
3092
|
+
toSql(A = "generic") {
|
|
3093
|
+
return this._w.to_sql(A);
|
|
3056
3094
|
}
|
|
3057
3095
|
/** Return the expression AST as a plain JS object. */
|
|
3058
3096
|
toJSON() {
|
|
@@ -3063,7 +3101,7 @@ class H {
|
|
|
3063
3101
|
this._w.free();
|
|
3064
3102
|
}
|
|
3065
3103
|
}
|
|
3066
|
-
class
|
|
3104
|
+
class BM {
|
|
3067
3105
|
/** @internal WASM handle */
|
|
3068
3106
|
_w;
|
|
3069
3107
|
constructor() {
|
|
@@ -3082,187 +3120,187 @@ class $w {
|
|
|
3082
3120
|
this._w.free();
|
|
3083
3121
|
}
|
|
3084
3122
|
}
|
|
3085
|
-
function
|
|
3086
|
-
return new H(
|
|
3123
|
+
function QM(g) {
|
|
3124
|
+
return new H(cA(g));
|
|
3087
3125
|
}
|
|
3088
|
-
function
|
|
3089
|
-
return new H(
|
|
3126
|
+
function EM(g) {
|
|
3127
|
+
return new H(kA(g));
|
|
3090
3128
|
}
|
|
3091
|
-
function
|
|
3092
|
-
return new H(
|
|
3129
|
+
function bg() {
|
|
3130
|
+
return new H(qg());
|
|
3093
3131
|
}
|
|
3094
|
-
function
|
|
3132
|
+
function DM() {
|
|
3095
3133
|
return new H(yA());
|
|
3096
3134
|
}
|
|
3097
|
-
function
|
|
3098
|
-
return new H(
|
|
3135
|
+
function RA(g) {
|
|
3136
|
+
return new H(Hg(g));
|
|
3099
3137
|
}
|
|
3100
|
-
function
|
|
3101
|
-
return new H(
|
|
3138
|
+
function wM(g) {
|
|
3139
|
+
return new H(Tg(g));
|
|
3102
3140
|
}
|
|
3103
|
-
function
|
|
3104
|
-
return new H(
|
|
3141
|
+
function vg(g) {
|
|
3142
|
+
return new H(ag(g));
|
|
3105
3143
|
}
|
|
3106
|
-
function
|
|
3107
|
-
return
|
|
3144
|
+
function MM(g) {
|
|
3145
|
+
return vg(g);
|
|
3108
3146
|
}
|
|
3109
|
-
function
|
|
3110
|
-
return new H(
|
|
3147
|
+
function R(g, ...A) {
|
|
3148
|
+
return new H(Rg(g, d(A)));
|
|
3111
3149
|
}
|
|
3112
|
-
function
|
|
3113
|
-
return new H(
|
|
3150
|
+
function iM(g) {
|
|
3151
|
+
return new H(Jg(c(g)));
|
|
3114
3152
|
}
|
|
3115
|
-
function
|
|
3116
|
-
return new H(
|
|
3153
|
+
function oM(g, A) {
|
|
3154
|
+
return new H(Ug(c(g), A));
|
|
3117
3155
|
}
|
|
3118
|
-
function
|
|
3119
|
-
return new H(
|
|
3156
|
+
function NM(g, A) {
|
|
3157
|
+
return new H(Sg(c(g), A));
|
|
3120
3158
|
}
|
|
3121
|
-
function
|
|
3122
|
-
return new H(
|
|
3159
|
+
function kM(g, A) {
|
|
3160
|
+
return new H(pg(g._w, A));
|
|
3123
3161
|
}
|
|
3124
|
-
function
|
|
3125
|
-
if (g.length === 0) return
|
|
3162
|
+
function yM(...g) {
|
|
3163
|
+
if (g.length === 0) return RA(!0);
|
|
3126
3164
|
if (g.length === 1)
|
|
3127
|
-
return g[0] instanceof H ? g[0] : new H(
|
|
3128
|
-
let A =
|
|
3165
|
+
return g[0] instanceof H ? g[0] : new H(c(g[0]));
|
|
3166
|
+
let A = c(g[0]);
|
|
3129
3167
|
for (let C = 1; C < g.length; C++)
|
|
3130
|
-
A =
|
|
3168
|
+
A = hg(A, c(g[C]));
|
|
3131
3169
|
return new H(A);
|
|
3132
3170
|
}
|
|
3133
|
-
function
|
|
3134
|
-
if (g.length === 0) return
|
|
3171
|
+
function GM(...g) {
|
|
3172
|
+
if (g.length === 0) return RA(!1);
|
|
3135
3173
|
if (g.length === 1)
|
|
3136
|
-
return g[0] instanceof H ? g[0] : new H(
|
|
3137
|
-
let A =
|
|
3174
|
+
return g[0] instanceof H ? g[0] : new H(c(g[0]));
|
|
3175
|
+
let A = c(g[0]);
|
|
3138
3176
|
for (let C = 1; C < g.length; C++)
|
|
3139
|
-
A =
|
|
3177
|
+
A = sg(A, c(g[C]));
|
|
3140
3178
|
return new H(A);
|
|
3141
3179
|
}
|
|
3142
|
-
function oM(g) {
|
|
3143
|
-
return g !== void 0 ? J("COUNT", g) : J("COUNT", lg());
|
|
3144
|
-
}
|
|
3145
|
-
function kM(g) {
|
|
3146
|
-
return new H(Ug(L(g)));
|
|
3147
|
-
}
|
|
3148
|
-
function NM(g) {
|
|
3149
|
-
return J("SUM", g);
|
|
3150
|
-
}
|
|
3151
|
-
function yM(g) {
|
|
3152
|
-
return J("AVG", g);
|
|
3153
|
-
}
|
|
3154
3180
|
function KM(g) {
|
|
3155
|
-
return
|
|
3156
|
-
}
|
|
3157
|
-
function GM(g) {
|
|
3158
|
-
return J("MAX", g);
|
|
3181
|
+
return g !== void 0 ? R("COUNT", g) : R("COUNT", bg());
|
|
3159
3182
|
}
|
|
3160
3183
|
function YM(g) {
|
|
3161
|
-
return
|
|
3184
|
+
return new H(cg(c(g)));
|
|
3162
3185
|
}
|
|
3163
3186
|
function SM(g) {
|
|
3164
|
-
return
|
|
3187
|
+
return R("SUM", g);
|
|
3165
3188
|
}
|
|
3166
3189
|
function hM(g) {
|
|
3167
|
-
return
|
|
3190
|
+
return R("AVG", g);
|
|
3168
3191
|
}
|
|
3169
3192
|
function HM(g) {
|
|
3170
|
-
return
|
|
3171
|
-
}
|
|
3172
|
-
function UM(g) {
|
|
3173
|
-
return J("LTRIM", g);
|
|
3193
|
+
return R("MIN", g);
|
|
3174
3194
|
}
|
|
3175
3195
|
function LM(g) {
|
|
3176
|
-
return
|
|
3196
|
+
return R("MAX", g);
|
|
3177
3197
|
}
|
|
3178
|
-
function
|
|
3179
|
-
return
|
|
3198
|
+
function UM(g) {
|
|
3199
|
+
return R("UPPER", g);
|
|
3180
3200
|
}
|
|
3181
3201
|
function cM(g) {
|
|
3182
|
-
return
|
|
3202
|
+
return R("LOWER", g);
|
|
3203
|
+
}
|
|
3204
|
+
function FM(g) {
|
|
3205
|
+
return R("LENGTH", g);
|
|
3183
3206
|
}
|
|
3184
|
-
function
|
|
3185
|
-
return
|
|
3207
|
+
function RM(g) {
|
|
3208
|
+
return R("TRIM", g);
|
|
3186
3209
|
}
|
|
3187
|
-
function
|
|
3188
|
-
return
|
|
3210
|
+
function JM(g) {
|
|
3211
|
+
return R("LTRIM", g);
|
|
3189
3212
|
}
|
|
3190
|
-
function sM(g
|
|
3191
|
-
return
|
|
3213
|
+
function sM(g) {
|
|
3214
|
+
return R("RTRIM", g);
|
|
3192
3215
|
}
|
|
3193
|
-
function aM(
|
|
3194
|
-
return
|
|
3216
|
+
function aM(g) {
|
|
3217
|
+
return R("REVERSE", g);
|
|
3195
3218
|
}
|
|
3196
|
-
function qM(g
|
|
3197
|
-
return
|
|
3219
|
+
function qM(g) {
|
|
3220
|
+
return R("INITCAP", g);
|
|
3198
3221
|
}
|
|
3199
|
-
function pM(g, A) {
|
|
3200
|
-
return
|
|
3222
|
+
function pM(g, A, C) {
|
|
3223
|
+
return C !== void 0 ? R("SUBSTRING", g, A, C) : R("SUBSTRING", g, A);
|
|
3201
3224
|
}
|
|
3202
|
-
function TM(g) {
|
|
3203
|
-
return
|
|
3225
|
+
function TM(g, A, C) {
|
|
3226
|
+
return R("REPLACE", g, A, C);
|
|
3204
3227
|
}
|
|
3205
|
-
function OM(g, A) {
|
|
3206
|
-
return
|
|
3228
|
+
function OM(g, ...A) {
|
|
3229
|
+
return R("CONCAT_WS", g, ...A);
|
|
3207
3230
|
}
|
|
3208
|
-
function
|
|
3209
|
-
return
|
|
3231
|
+
function PM(...g) {
|
|
3232
|
+
return R("COALESCE", ...g);
|
|
3210
3233
|
}
|
|
3211
|
-
function
|
|
3212
|
-
return
|
|
3234
|
+
function jM(g, A) {
|
|
3235
|
+
return R("NULLIF", g, A);
|
|
3213
3236
|
}
|
|
3214
3237
|
function dM(g, A) {
|
|
3215
|
-
return
|
|
3238
|
+
return R("IFNULL", g, A);
|
|
3216
3239
|
}
|
|
3217
3240
|
function tM(g) {
|
|
3218
|
-
return
|
|
3241
|
+
return R("ABS", g);
|
|
3219
3242
|
}
|
|
3220
|
-
function
|
|
3221
|
-
return
|
|
3243
|
+
function zM(g, A) {
|
|
3244
|
+
return A !== void 0 ? R("ROUND", g, A) : R("ROUND", g);
|
|
3222
3245
|
}
|
|
3223
3246
|
function ZM(g) {
|
|
3224
|
-
return
|
|
3247
|
+
return R("FLOOR", g);
|
|
3225
3248
|
}
|
|
3226
|
-
function
|
|
3227
|
-
return
|
|
3249
|
+
function VM(g) {
|
|
3250
|
+
return R("CEIL", g);
|
|
3228
3251
|
}
|
|
3229
|
-
function
|
|
3230
|
-
return
|
|
3252
|
+
function fM(g, A) {
|
|
3253
|
+
return R("POWER", g, A);
|
|
3231
3254
|
}
|
|
3232
|
-
function
|
|
3233
|
-
return
|
|
3255
|
+
function xM(g) {
|
|
3256
|
+
return R("SQRT", g);
|
|
3234
3257
|
}
|
|
3235
|
-
function WM() {
|
|
3236
|
-
return
|
|
3258
|
+
function WM(g) {
|
|
3259
|
+
return R("LN", g);
|
|
3237
3260
|
}
|
|
3238
|
-
function eM() {
|
|
3239
|
-
return
|
|
3261
|
+
function eM(g) {
|
|
3262
|
+
return R("EXP", g);
|
|
3240
3263
|
}
|
|
3241
|
-
function
|
|
3242
|
-
return
|
|
3264
|
+
function uM(g) {
|
|
3265
|
+
return R("SIGN", g);
|
|
3243
3266
|
}
|
|
3244
|
-
function
|
|
3245
|
-
return
|
|
3267
|
+
function rM(...g) {
|
|
3268
|
+
return R("GREATEST", ...g);
|
|
3246
3269
|
}
|
|
3247
|
-
function nM() {
|
|
3248
|
-
return
|
|
3270
|
+
function nM(...g) {
|
|
3271
|
+
return R("LEAST", ...g);
|
|
3249
3272
|
}
|
|
3250
3273
|
function lM() {
|
|
3251
|
-
return
|
|
3274
|
+
return R("CURRENT_DATE");
|
|
3252
3275
|
}
|
|
3253
3276
|
function mM() {
|
|
3254
|
-
return
|
|
3277
|
+
return R("CURRENT_TIME");
|
|
3278
|
+
}
|
|
3279
|
+
function bM() {
|
|
3280
|
+
return R("CURRENT_TIMESTAMP");
|
|
3281
|
+
}
|
|
3282
|
+
function vM(g, A) {
|
|
3283
|
+
return new H(Fg(g, c(A)));
|
|
3284
|
+
}
|
|
3285
|
+
function XM() {
|
|
3286
|
+
return R("ROW_NUMBER");
|
|
3255
3287
|
}
|
|
3256
|
-
|
|
3288
|
+
function _M() {
|
|
3289
|
+
return R("RANK");
|
|
3290
|
+
}
|
|
3291
|
+
function $M() {
|
|
3292
|
+
return R("DENSE_RANK");
|
|
3293
|
+
}
|
|
3294
|
+
class Xg {
|
|
3257
3295
|
/** @internal */
|
|
3258
3296
|
_w;
|
|
3259
3297
|
constructor() {
|
|
3260
|
-
this._w = new
|
|
3298
|
+
this._w = new j();
|
|
3261
3299
|
}
|
|
3262
3300
|
/** Add columns to the SELECT list. Accepts Expr, strings (→ col), or '*'. */
|
|
3263
3301
|
select(...A) {
|
|
3264
3302
|
for (const C of A)
|
|
3265
|
-
C === "*" ? this._w.select_star() : C instanceof H ? this._w.select_expr(C._w) : typeof C == "string" ? this._w.select_col(C) : this._w.select_expr(
|
|
3303
|
+
C === "*" ? this._w.select_star() : C instanceof H ? this._w.select_expr(C._w) : typeof C == "string" ? this._w.select_col(C) : this._w.select_expr(c(C));
|
|
3266
3304
|
return this;
|
|
3267
3305
|
}
|
|
3268
3306
|
/** Set the FROM clause. */
|
|
@@ -3271,15 +3309,15 @@ class vg {
|
|
|
3271
3309
|
}
|
|
3272
3310
|
/** Add an INNER JOIN. */
|
|
3273
3311
|
join(A, C) {
|
|
3274
|
-
return this._w.join(A,
|
|
3312
|
+
return this._w.join(A, c(C)), this;
|
|
3275
3313
|
}
|
|
3276
3314
|
/** Add a LEFT JOIN. */
|
|
3277
3315
|
leftJoin(A, C) {
|
|
3278
|
-
return this._w.left_join(A,
|
|
3316
|
+
return this._w.left_join(A, c(C)), this;
|
|
3279
3317
|
}
|
|
3280
3318
|
/** Add a RIGHT JOIN. */
|
|
3281
3319
|
rightJoin(A, C) {
|
|
3282
|
-
return this._w.right_join(A,
|
|
3320
|
+
return this._w.right_join(A, c(C)), this;
|
|
3283
3321
|
}
|
|
3284
3322
|
/** Add a CROSS JOIN. */
|
|
3285
3323
|
crossJoin(A) {
|
|
@@ -3287,7 +3325,7 @@ class vg {
|
|
|
3287
3325
|
}
|
|
3288
3326
|
/** Set the WHERE clause. Accepts an Expr or a raw SQL string. */
|
|
3289
3327
|
where(A) {
|
|
3290
|
-
return typeof A == "string" ? this._w.where_sql(A) : A instanceof H ? this._w.where_expr(A._w) : this._w.where_expr(
|
|
3328
|
+
return typeof A == "string" ? this._w.where_sql(A) : A instanceof H ? this._w.where_expr(A._w) : this._w.where_expr(c(A)), this;
|
|
3291
3329
|
}
|
|
3292
3330
|
/** Set the GROUP BY clause. */
|
|
3293
3331
|
groupBy(...A) {
|
|
@@ -3295,7 +3333,7 @@ class vg {
|
|
|
3295
3333
|
}
|
|
3296
3334
|
/** Set the HAVING clause. */
|
|
3297
3335
|
having(A) {
|
|
3298
|
-
return this._w.having(
|
|
3336
|
+
return this._w.having(c(A)), this;
|
|
3299
3337
|
}
|
|
3300
3338
|
/** Set the ORDER BY clause. */
|
|
3301
3339
|
orderBy(...A) {
|
|
@@ -3315,7 +3353,7 @@ class vg {
|
|
|
3315
3353
|
}
|
|
3316
3354
|
/** Set the QUALIFY clause (Snowflake/BigQuery/DuckDB). */
|
|
3317
3355
|
qualify(A) {
|
|
3318
|
-
return this._w.qualify(
|
|
3356
|
+
return this._w.qualify(c(A)), this;
|
|
3319
3357
|
}
|
|
3320
3358
|
/** Set the SORT BY clause (Hive/Spark — sorts within each partition). */
|
|
3321
3359
|
sortBy(...A) {
|
|
@@ -3380,11 +3418,11 @@ class vg {
|
|
|
3380
3418
|
this._w.free();
|
|
3381
3419
|
}
|
|
3382
3420
|
}
|
|
3383
|
-
function
|
|
3384
|
-
const A = new
|
|
3421
|
+
function Ai(...g) {
|
|
3422
|
+
const A = new Xg();
|
|
3385
3423
|
return g.length > 0 && A.select(...g), A;
|
|
3386
3424
|
}
|
|
3387
|
-
class
|
|
3425
|
+
class _g {
|
|
3388
3426
|
/** @internal */
|
|
3389
3427
|
_w;
|
|
3390
3428
|
constructor(A) {
|
|
@@ -3415,25 +3453,25 @@ class bg {
|
|
|
3415
3453
|
this._w.free();
|
|
3416
3454
|
}
|
|
3417
3455
|
}
|
|
3418
|
-
function
|
|
3419
|
-
return new
|
|
3456
|
+
function $g(g) {
|
|
3457
|
+
return new _g(g);
|
|
3420
3458
|
}
|
|
3421
|
-
function
|
|
3422
|
-
return
|
|
3459
|
+
function gi(g) {
|
|
3460
|
+
return $g(g);
|
|
3423
3461
|
}
|
|
3424
|
-
class
|
|
3462
|
+
class AI {
|
|
3425
3463
|
/** @internal */
|
|
3426
3464
|
_w;
|
|
3427
3465
|
constructor(A) {
|
|
3428
|
-
this._w = new
|
|
3466
|
+
this._w = new NA(A);
|
|
3429
3467
|
}
|
|
3430
3468
|
/** Add a SET column = value assignment. */
|
|
3431
3469
|
set(A, C) {
|
|
3432
|
-
return this._w.set(A,
|
|
3470
|
+
return this._w.set(A, c(C)), this;
|
|
3433
3471
|
}
|
|
3434
3472
|
/** Set the WHERE clause. */
|
|
3435
3473
|
where(A) {
|
|
3436
|
-
return this._w.where_expr(
|
|
3474
|
+
return this._w.where_expr(c(A)), this;
|
|
3437
3475
|
}
|
|
3438
3476
|
/** Set the FROM clause (PostgreSQL/Snowflake UPDATE ... FROM). */
|
|
3439
3477
|
from(A) {
|
|
@@ -3452,10 +3490,10 @@ class _g {
|
|
|
3452
3490
|
this._w.free();
|
|
3453
3491
|
}
|
|
3454
3492
|
}
|
|
3455
|
-
function
|
|
3456
|
-
return new
|
|
3493
|
+
function Ii(g) {
|
|
3494
|
+
return new AI(g);
|
|
3457
3495
|
}
|
|
3458
|
-
class
|
|
3496
|
+
class gI {
|
|
3459
3497
|
/** @internal */
|
|
3460
3498
|
_w;
|
|
3461
3499
|
constructor(A) {
|
|
@@ -3463,7 +3501,7 @@ class $g {
|
|
|
3463
3501
|
}
|
|
3464
3502
|
/** Set the WHERE clause. */
|
|
3465
3503
|
where(A) {
|
|
3466
|
-
return this._w.where_expr(
|
|
3504
|
+
return this._w.where_expr(c(A)), this;
|
|
3467
3505
|
}
|
|
3468
3506
|
/** Generate SQL string. Defaults to generic dialect. */
|
|
3469
3507
|
toSql(A = "generic") {
|
|
@@ -3478,13 +3516,13 @@ class $g {
|
|
|
3478
3516
|
this._w.free();
|
|
3479
3517
|
}
|
|
3480
3518
|
}
|
|
3481
|
-
function
|
|
3482
|
-
return new
|
|
3519
|
+
function II(g) {
|
|
3520
|
+
return new gI(g);
|
|
3483
3521
|
}
|
|
3484
|
-
function
|
|
3485
|
-
return
|
|
3522
|
+
function Ci(g) {
|
|
3523
|
+
return II(g);
|
|
3486
3524
|
}
|
|
3487
|
-
class
|
|
3525
|
+
class CI {
|
|
3488
3526
|
/** @internal */
|
|
3489
3527
|
_w;
|
|
3490
3528
|
constructor(A) {
|
|
@@ -3492,13 +3530,13 @@ class gI {
|
|
|
3492
3530
|
}
|
|
3493
3531
|
/** Set the source table and ON condition. */
|
|
3494
3532
|
using(A, C) {
|
|
3495
|
-
return this._w.using(A,
|
|
3533
|
+
return this._w.using(A, c(C)), this;
|
|
3496
3534
|
}
|
|
3497
3535
|
/** Add a WHEN MATCHED THEN UPDATE SET clause. */
|
|
3498
3536
|
whenMatchedUpdate(A) {
|
|
3499
3537
|
const C = new CA();
|
|
3500
3538
|
for (const [B, Q] of Object.entries(A))
|
|
3501
|
-
C.push(B,
|
|
3539
|
+
C.push(B, c(Q));
|
|
3502
3540
|
return this._w.when_matched_update(C), this;
|
|
3503
3541
|
}
|
|
3504
3542
|
/** Add a WHEN MATCHED THEN DELETE clause. */
|
|
@@ -3522,10 +3560,10 @@ class gI {
|
|
|
3522
3560
|
this._w.free();
|
|
3523
3561
|
}
|
|
3524
3562
|
}
|
|
3525
|
-
function
|
|
3526
|
-
return new
|
|
3563
|
+
function Bi(g) {
|
|
3564
|
+
return new CI(g);
|
|
3527
3565
|
}
|
|
3528
|
-
class
|
|
3566
|
+
class JA {
|
|
3529
3567
|
/** @internal */
|
|
3530
3568
|
_w;
|
|
3531
3569
|
/** @internal */
|
|
@@ -3534,26 +3572,26 @@ class RA {
|
|
|
3534
3572
|
}
|
|
3535
3573
|
/** Add a WHEN condition THEN result branch. */
|
|
3536
3574
|
when(A, C) {
|
|
3537
|
-
return this._w.when(
|
|
3575
|
+
return this._w.when(c(A), c(C)), this;
|
|
3538
3576
|
}
|
|
3539
3577
|
/** Set the ELSE result. */
|
|
3540
3578
|
else_(A) {
|
|
3541
|
-
return this._w.else_(
|
|
3579
|
+
return this._w.else_(c(A)), this;
|
|
3542
3580
|
}
|
|
3543
3581
|
/** Build the CASE expression as an Expr. */
|
|
3544
3582
|
build() {
|
|
3545
3583
|
return new H(this._w.build_expr());
|
|
3546
3584
|
}
|
|
3547
|
-
/** Generate SQL string
|
|
3548
|
-
toSql() {
|
|
3549
|
-
return this._w.to_sql();
|
|
3585
|
+
/** Generate SQL string. Defaults to generic dialect. */
|
|
3586
|
+
toSql(A = "generic") {
|
|
3587
|
+
return this._w.to_sql(A);
|
|
3550
3588
|
}
|
|
3551
3589
|
}
|
|
3552
|
-
function
|
|
3553
|
-
return new
|
|
3590
|
+
function Qi() {
|
|
3591
|
+
return new JA(new l());
|
|
3554
3592
|
}
|
|
3555
|
-
function
|
|
3556
|
-
return new
|
|
3593
|
+
function Ei(g) {
|
|
3594
|
+
return new JA(Lg(c(g)));
|
|
3557
3595
|
}
|
|
3558
3596
|
class _ {
|
|
3559
3597
|
/** @internal */
|
|
@@ -3587,23 +3625,23 @@ class _ {
|
|
|
3587
3625
|
this._w.free();
|
|
3588
3626
|
}
|
|
3589
3627
|
}
|
|
3590
|
-
function
|
|
3628
|
+
function Di(g, A) {
|
|
3591
3629
|
return g.union(A);
|
|
3592
3630
|
}
|
|
3593
|
-
function
|
|
3631
|
+
function wi(g, A) {
|
|
3594
3632
|
return g.unionAll(A);
|
|
3595
3633
|
}
|
|
3596
|
-
function
|
|
3634
|
+
function Mi(g, A) {
|
|
3597
3635
|
return g.intersect(A);
|
|
3598
3636
|
}
|
|
3599
|
-
function
|
|
3637
|
+
function ii(g, A) {
|
|
3600
3638
|
return g.except(A);
|
|
3601
3639
|
}
|
|
3602
|
-
function
|
|
3640
|
+
function oi(g, A) {
|
|
3603
3641
|
const C = [];
|
|
3604
|
-
return p(g) === "select" && C.push(...
|
|
3642
|
+
return p(g) === "select" && C.push(...Ni(g)), C;
|
|
3605
3643
|
}
|
|
3606
|
-
function
|
|
3644
|
+
function Ni(g, A) {
|
|
3607
3645
|
const C = [], B = QA(g, "star");
|
|
3608
3646
|
if (B.length > 0) {
|
|
3609
3647
|
const D = O(B[0])?.span;
|
|
@@ -3618,24 +3656,24 @@ function Di(g, A) {
|
|
|
3618
3656
|
});
|
|
3619
3657
|
}
|
|
3620
3658
|
const Q = O(g);
|
|
3621
|
-
if (
|
|
3659
|
+
if (mg(g) && !Q.group_by) {
|
|
3622
3660
|
const E = IA(g), D = Q.expressions || [];
|
|
3623
|
-
if (D.some((
|
|
3624
|
-
const
|
|
3625
|
-
return
|
|
3661
|
+
if (D.some((k) => {
|
|
3662
|
+
const G = p(k);
|
|
3663
|
+
return G === "column" || G === "identifier" ? IA(k).length === 0 : !1;
|
|
3626
3664
|
}) && E.length > 0) {
|
|
3627
|
-
const
|
|
3628
|
-
const h = p(
|
|
3629
|
-
return h === "column" || h === "identifier" ? IA(
|
|
3630
|
-
}),
|
|
3665
|
+
const k = D.find((y) => {
|
|
3666
|
+
const h = p(y);
|
|
3667
|
+
return h === "column" || h === "identifier" ? IA(y).length === 0 : !1;
|
|
3668
|
+
}), G = k ? O(k)?.span : void 0;
|
|
3631
3669
|
C.push({
|
|
3632
3670
|
message: "Mixing aggregate functions with non-aggregated columns without GROUP BY may cause errors in strict SQL mode",
|
|
3633
3671
|
severity: "warning",
|
|
3634
3672
|
code: "W002",
|
|
3635
|
-
line:
|
|
3636
|
-
column:
|
|
3637
|
-
start:
|
|
3638
|
-
end:
|
|
3673
|
+
line: G?.line,
|
|
3674
|
+
column: G?.column,
|
|
3675
|
+
start: G?.start,
|
|
3676
|
+
end: G?.end
|
|
3639
3677
|
});
|
|
3640
3678
|
}
|
|
3641
3679
|
}
|
|
@@ -3657,7 +3695,7 @@ function Di(g, A) {
|
|
|
3657
3695
|
}
|
|
3658
3696
|
return C;
|
|
3659
3697
|
}
|
|
3660
|
-
function
|
|
3698
|
+
function ki(g) {
|
|
3661
3699
|
try {
|
|
3662
3700
|
return JSON.parse(g);
|
|
3663
3701
|
} catch {
|
|
@@ -3673,29 +3711,29 @@ function wi(g) {
|
|
|
3673
3711
|
};
|
|
3674
3712
|
}
|
|
3675
3713
|
}
|
|
3676
|
-
function
|
|
3714
|
+
function yi(g, A, C = "generic", B = {}) {
|
|
3677
3715
|
const Q = B.strict ?? A.strict ?? !0, E = {
|
|
3678
3716
|
check_types: B.checkTypes ?? !1,
|
|
3679
3717
|
check_references: B.checkReferences ?? !1,
|
|
3680
3718
|
strict: Q,
|
|
3681
3719
|
semantic: B.semantic ?? !1,
|
|
3682
3720
|
strict_syntax: B.strictSyntax ?? !1
|
|
3683
|
-
}, D =
|
|
3721
|
+
}, D = Yg(
|
|
3684
3722
|
g,
|
|
3685
3723
|
JSON.stringify(A),
|
|
3686
3724
|
C,
|
|
3687
3725
|
JSON.stringify(E)
|
|
3688
3726
|
);
|
|
3689
|
-
return
|
|
3727
|
+
return ki(D);
|
|
3690
3728
|
}
|
|
3691
|
-
const
|
|
3729
|
+
const Gi = {
|
|
3692
3730
|
Error: "error",
|
|
3693
3731
|
Warning: "warning"
|
|
3694
|
-
}, X =
|
|
3732
|
+
}, X = Og;
|
|
3695
3733
|
function mA(g) {
|
|
3696
3734
|
return typeof g == "string" ? JSON.parse(g) : g;
|
|
3697
3735
|
}
|
|
3698
|
-
function
|
|
3736
|
+
function Ki(g, A = "generic", C = {}) {
|
|
3699
3737
|
const B = C.strictSyntax ? X.validate_with_options(
|
|
3700
3738
|
g,
|
|
3701
3739
|
A,
|
|
@@ -3711,21 +3749,21 @@ function oi(g, A = "generic", C = {}) {
|
|
|
3711
3749
|
if (!E.success || !E.ast)
|
|
3712
3750
|
return Q;
|
|
3713
3751
|
const D = typeof E.ast == "string" ? JSON.parse(E.ast) : E.ast, i = [...Q.errors];
|
|
3714
|
-
for (const
|
|
3715
|
-
const
|
|
3716
|
-
i.push(...
|
|
3752
|
+
for (const G of D) {
|
|
3753
|
+
const y = oi(G);
|
|
3754
|
+
i.push(...y);
|
|
3717
3755
|
}
|
|
3718
3756
|
return {
|
|
3719
|
-
valid: !i.some((
|
|
3757
|
+
valid: !i.some((G) => G.severity === "error"),
|
|
3720
3758
|
errors: i
|
|
3721
3759
|
};
|
|
3722
3760
|
}
|
|
3723
|
-
function
|
|
3724
|
-
const Q =
|
|
3761
|
+
function BI(g, A, C = "generic", B = !1) {
|
|
3762
|
+
const Q = kg(A, g, C, B);
|
|
3725
3763
|
return JSON.parse(Q);
|
|
3726
3764
|
}
|
|
3727
|
-
function
|
|
3728
|
-
const E =
|
|
3765
|
+
function QI(g, A, C, B = "generic", Q = !1) {
|
|
3766
|
+
const E = yg(
|
|
3729
3767
|
A,
|
|
3730
3768
|
g,
|
|
3731
3769
|
JSON.stringify(C),
|
|
@@ -3734,26 +3772,26 @@ function CI(g, A, C, B = "generic", Q = !1) {
|
|
|
3734
3772
|
);
|
|
3735
3773
|
return JSON.parse(E);
|
|
3736
3774
|
}
|
|
3737
|
-
function
|
|
3738
|
-
const B =
|
|
3775
|
+
function EI(g, A, C = "generic") {
|
|
3776
|
+
const B = Kg(A, g, C);
|
|
3739
3777
|
return JSON.parse(B);
|
|
3740
3778
|
}
|
|
3741
|
-
function
|
|
3742
|
-
const { deltaOnly: Q = !1, f: E = 0.6, t: D = 0.6 } = B, i =
|
|
3779
|
+
function DI(g, A, C = "generic", B = {}) {
|
|
3780
|
+
const { deltaOnly: Q = !1, f: E = 0.6, t: D = 0.6 } = B, i = Ng(g, A, C, Q, E, D);
|
|
3743
3781
|
return JSON.parse(i);
|
|
3744
3782
|
}
|
|
3745
|
-
function
|
|
3783
|
+
function wI(g) {
|
|
3746
3784
|
return g.some((A) => A.type !== "keep");
|
|
3747
3785
|
}
|
|
3748
|
-
function
|
|
3786
|
+
function MI(g) {
|
|
3749
3787
|
return g.filter((A) => A.type !== "keep");
|
|
3750
3788
|
}
|
|
3751
|
-
function
|
|
3752
|
-
const C =
|
|
3789
|
+
function iI(g, A = "generic") {
|
|
3790
|
+
const C = Gg(g, A);
|
|
3753
3791
|
return JSON.parse(C);
|
|
3754
3792
|
}
|
|
3755
3793
|
var sA = /* @__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))(sA || {});
|
|
3756
|
-
const a =
|
|
3794
|
+
const a = Og;
|
|
3757
3795
|
function SA(g) {
|
|
3758
3796
|
return g instanceof Error && g.message ? g.message : typeof g == "string" ? g : String(g);
|
|
3759
3797
|
}
|
|
@@ -3766,7 +3804,7 @@ function aA(g, A) {
|
|
|
3766
3804
|
errorColumn: void 0
|
|
3767
3805
|
};
|
|
3768
3806
|
}
|
|
3769
|
-
function
|
|
3807
|
+
function Yi(g, A) {
|
|
3770
3808
|
return {
|
|
3771
3809
|
success: !1,
|
|
3772
3810
|
ast: void 0,
|
|
@@ -3778,10 +3816,10 @@ function ki(g, A) {
|
|
|
3778
3816
|
function W(g) {
|
|
3779
3817
|
return typeof g == "string" ? JSON.parse(g) : g;
|
|
3780
3818
|
}
|
|
3781
|
-
async function
|
|
3819
|
+
async function oI() {
|
|
3782
3820
|
return Promise.resolve();
|
|
3783
3821
|
}
|
|
3784
|
-
function
|
|
3822
|
+
function NI() {
|
|
3785
3823
|
return !0;
|
|
3786
3824
|
}
|
|
3787
3825
|
function qA(g, A, C) {
|
|
@@ -3800,7 +3838,7 @@ function pA(g, A = "generic") {
|
|
|
3800
3838
|
const C = JSON.parse(a.parse(g, A));
|
|
3801
3839
|
return C.success && typeof C.ast == "string" && (C.ast = JSON.parse(C.ast)), C;
|
|
3802
3840
|
} catch (C) {
|
|
3803
|
-
return
|
|
3841
|
+
return Yi("parse", C);
|
|
3804
3842
|
}
|
|
3805
3843
|
}
|
|
3806
3844
|
function TA(g, A = "generic") {
|
|
@@ -3828,10 +3866,10 @@ function OA(g, A = "generic") {
|
|
|
3828
3866
|
return aA("generate", C);
|
|
3829
3867
|
}
|
|
3830
3868
|
}
|
|
3831
|
-
function
|
|
3832
|
-
return
|
|
3869
|
+
function PA(g, A = "generic") {
|
|
3870
|
+
return jA(g, A, {});
|
|
3833
3871
|
}
|
|
3834
|
-
function
|
|
3872
|
+
function jA(g, A = "generic", C = {}) {
|
|
3835
3873
|
try {
|
|
3836
3874
|
return typeof a.format_sql_with_options_value == "function" ? W(
|
|
3837
3875
|
a.format_sql_with_options_value(g, A, C)
|
|
@@ -3850,7 +3888,7 @@ function dA() {
|
|
|
3850
3888
|
function tA() {
|
|
3851
3889
|
return a.version();
|
|
3852
3890
|
}
|
|
3853
|
-
function
|
|
3891
|
+
function zA(g, A = "generic", C) {
|
|
3854
3892
|
try {
|
|
3855
3893
|
const B = C ? JSON.stringify(C) : "";
|
|
3856
3894
|
return typeof a.annotate_types_value == "function" ? W(
|
|
@@ -3868,7 +3906,7 @@ function VA(g, A = "generic", C) {
|
|
|
3868
3906
|
};
|
|
3869
3907
|
}
|
|
3870
3908
|
}
|
|
3871
|
-
class
|
|
3909
|
+
class n {
|
|
3872
3910
|
static instance = null;
|
|
3873
3911
|
constructor() {
|
|
3874
3912
|
}
|
|
@@ -3877,7 +3915,7 @@ class u {
|
|
|
3877
3915
|
* The WASM module is automatically initialized on import.
|
|
3878
3916
|
*/
|
|
3879
3917
|
static getInstance() {
|
|
3880
|
-
return
|
|
3918
|
+
return n.instance || (n.instance = new n()), n.instance;
|
|
3881
3919
|
}
|
|
3882
3920
|
/**
|
|
3883
3921
|
* Transpile SQL from one dialect to another.
|
|
@@ -3911,13 +3949,13 @@ class u {
|
|
|
3911
3949
|
* Format SQL.
|
|
3912
3950
|
*/
|
|
3913
3951
|
format(A, C = "generic") {
|
|
3914
|
-
return
|
|
3952
|
+
return PA(A, C);
|
|
3915
3953
|
}
|
|
3916
3954
|
/**
|
|
3917
3955
|
* Format SQL with explicit guard limits.
|
|
3918
3956
|
*/
|
|
3919
3957
|
formatWithOptions(A, C = "generic", B = {}) {
|
|
3920
|
-
return
|
|
3958
|
+
return jA(A, C, B);
|
|
3921
3959
|
}
|
|
3922
3960
|
/**
|
|
3923
3961
|
* Get supported dialects in this build.
|
|
@@ -3936,241 +3974,241 @@ class u {
|
|
|
3936
3974
|
* Parse SQL and annotate the AST with inferred type information.
|
|
3937
3975
|
*/
|
|
3938
3976
|
annotateTypes(A, C = "generic", B) {
|
|
3939
|
-
return
|
|
3977
|
+
return zA(A, C, B);
|
|
3940
3978
|
}
|
|
3941
3979
|
}
|
|
3942
|
-
const
|
|
3943
|
-
init:
|
|
3944
|
-
isInitialized:
|
|
3980
|
+
const Si = {
|
|
3981
|
+
init: oI,
|
|
3982
|
+
isInitialized: NI,
|
|
3945
3983
|
transpile: qA,
|
|
3946
3984
|
parse: pA,
|
|
3947
3985
|
tokenize: TA,
|
|
3948
3986
|
generate: OA,
|
|
3949
|
-
format:
|
|
3950
|
-
annotateTypes:
|
|
3987
|
+
format: PA,
|
|
3988
|
+
annotateTypes: zA,
|
|
3951
3989
|
getDialects: dA,
|
|
3952
3990
|
getVersion: tA,
|
|
3953
|
-
lineage:
|
|
3954
|
-
lineageWithSchema:
|
|
3955
|
-
getSourceTables:
|
|
3956
|
-
diff:
|
|
3957
|
-
hasChanges:
|
|
3958
|
-
changesOnly:
|
|
3959
|
-
plan:
|
|
3991
|
+
lineage: BI,
|
|
3992
|
+
lineageWithSchema: QI,
|
|
3993
|
+
getSourceTables: EI,
|
|
3994
|
+
diff: DI,
|
|
3995
|
+
hasChanges: wI,
|
|
3996
|
+
changesOnly: MI,
|
|
3997
|
+
plan: iI,
|
|
3960
3998
|
Dialect: sA,
|
|
3961
|
-
Polyglot:
|
|
3962
|
-
},
|
|
3999
|
+
Polyglot: n
|
|
4000
|
+
}, hi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3963
4001
|
__proto__: null,
|
|
3964
|
-
CaseBuilder:
|
|
3965
|
-
DeleteBuilder:
|
|
4002
|
+
CaseBuilder: JA,
|
|
4003
|
+
DeleteBuilder: gI,
|
|
3966
4004
|
Dialect: sA,
|
|
3967
4005
|
Expr: H,
|
|
3968
|
-
InsertBuilder:
|
|
3969
|
-
MergeBuilder:
|
|
3970
|
-
Polyglot:
|
|
3971
|
-
SelectBuilder:
|
|
4006
|
+
InsertBuilder: _g,
|
|
4007
|
+
MergeBuilder: CI,
|
|
4008
|
+
Polyglot: n,
|
|
4009
|
+
SelectBuilder: Xg,
|
|
3972
4010
|
SetOpBuilder: _,
|
|
3973
|
-
UpdateBuilder:
|
|
3974
|
-
ValidationSeverity:
|
|
3975
|
-
WindowDefBuilder:
|
|
3976
|
-
abs:
|
|
3977
|
-
alias:
|
|
3978
|
-
and:
|
|
3979
|
-
annotateTypes:
|
|
3980
|
-
ast:
|
|
3981
|
-
avg:
|
|
3982
|
-
boolean:
|
|
3983
|
-
caseOf:
|
|
3984
|
-
caseWhen:
|
|
3985
|
-
cast:
|
|
3986
|
-
ceil:
|
|
3987
|
-
changesOnly:
|
|
3988
|
-
coalesce:
|
|
3989
|
-
col:
|
|
3990
|
-
concatWs:
|
|
3991
|
-
condition:
|
|
3992
|
-
count:
|
|
3993
|
-
countDistinct:
|
|
3994
|
-
currentDate:
|
|
3995
|
-
currentTime:
|
|
3996
|
-
currentTimestamp:
|
|
3997
|
-
default:
|
|
3998
|
-
del:
|
|
3999
|
-
deleteFrom:
|
|
4000
|
-
denseRank:
|
|
4001
|
-
diff:
|
|
4002
|
-
except:
|
|
4003
|
-
exp:
|
|
4004
|
-
extract:
|
|
4011
|
+
UpdateBuilder: AI,
|
|
4012
|
+
ValidationSeverity: Gi,
|
|
4013
|
+
WindowDefBuilder: BM,
|
|
4014
|
+
abs: tM,
|
|
4015
|
+
alias: NM,
|
|
4016
|
+
and: yM,
|
|
4017
|
+
annotateTypes: zA,
|
|
4018
|
+
ast: CM,
|
|
4019
|
+
avg: hM,
|
|
4020
|
+
boolean: RA,
|
|
4021
|
+
caseOf: Ei,
|
|
4022
|
+
caseWhen: Qi,
|
|
4023
|
+
cast: oM,
|
|
4024
|
+
ceil: VM,
|
|
4025
|
+
changesOnly: MI,
|
|
4026
|
+
coalesce: PM,
|
|
4027
|
+
col: QM,
|
|
4028
|
+
concatWs: OM,
|
|
4029
|
+
condition: MM,
|
|
4030
|
+
count: KM,
|
|
4031
|
+
countDistinct: YM,
|
|
4032
|
+
currentDate: lM,
|
|
4033
|
+
currentTime: mM,
|
|
4034
|
+
currentTimestamp: bM,
|
|
4035
|
+
default: Si,
|
|
4036
|
+
del: Ci,
|
|
4037
|
+
deleteFrom: II,
|
|
4038
|
+
denseRank: $M,
|
|
4039
|
+
diff: DI,
|
|
4040
|
+
except: ii,
|
|
4041
|
+
exp: eM,
|
|
4042
|
+
extract: vM,
|
|
4005
4043
|
findAll: YA,
|
|
4006
|
-
floor:
|
|
4007
|
-
format:
|
|
4008
|
-
formatWithOptions:
|
|
4009
|
-
func:
|
|
4044
|
+
floor: ZM,
|
|
4045
|
+
format: PA,
|
|
4046
|
+
formatWithOptions: jA,
|
|
4047
|
+
func: R,
|
|
4010
4048
|
generate: OA,
|
|
4011
|
-
getColumns:
|
|
4049
|
+
getColumns: rg,
|
|
4012
4050
|
getDialects: dA,
|
|
4013
|
-
getInferredType:
|
|
4014
|
-
getSourceTables:
|
|
4051
|
+
getInferredType: Pg,
|
|
4052
|
+
getSourceTables: EI,
|
|
4015
4053
|
getVersion: tA,
|
|
4016
|
-
greatest:
|
|
4017
|
-
hasChanges:
|
|
4018
|
-
ifNull:
|
|
4019
|
-
init:
|
|
4020
|
-
initcap:
|
|
4021
|
-
insert:
|
|
4022
|
-
insertInto:
|
|
4023
|
-
intersect:
|
|
4024
|
-
isColumn:
|
|
4025
|
-
isFunction:
|
|
4026
|
-
isInitialized:
|
|
4027
|
-
isLiteral:
|
|
4028
|
-
isSelect:
|
|
4029
|
-
least:
|
|
4030
|
-
length:
|
|
4031
|
-
lineage:
|
|
4032
|
-
lineageWithSchema:
|
|
4033
|
-
lit:
|
|
4034
|
-
ln:
|
|
4035
|
-
lower:
|
|
4036
|
-
ltrim:
|
|
4037
|
-
max:
|
|
4038
|
-
mergeInto:
|
|
4039
|
-
min:
|
|
4040
|
-
not:
|
|
4041
|
-
nullIf:
|
|
4042
|
-
or:
|
|
4054
|
+
greatest: rM,
|
|
4055
|
+
hasChanges: wI,
|
|
4056
|
+
ifNull: dM,
|
|
4057
|
+
init: oI,
|
|
4058
|
+
initcap: qM,
|
|
4059
|
+
insert: gi,
|
|
4060
|
+
insertInto: $g,
|
|
4061
|
+
intersect: Mi,
|
|
4062
|
+
isColumn: dg,
|
|
4063
|
+
isFunction: zg,
|
|
4064
|
+
isInitialized: NI,
|
|
4065
|
+
isLiteral: tg,
|
|
4066
|
+
isSelect: jg,
|
|
4067
|
+
least: nM,
|
|
4068
|
+
length: FM,
|
|
4069
|
+
lineage: BI,
|
|
4070
|
+
lineageWithSchema: QI,
|
|
4071
|
+
lit: EM,
|
|
4072
|
+
ln: WM,
|
|
4073
|
+
lower: cM,
|
|
4074
|
+
ltrim: JM,
|
|
4075
|
+
max: LM,
|
|
4076
|
+
mergeInto: Bi,
|
|
4077
|
+
min: HM,
|
|
4078
|
+
not: iM,
|
|
4079
|
+
nullIf: jM,
|
|
4080
|
+
or: GM,
|
|
4043
4081
|
parse: pA,
|
|
4044
|
-
plan:
|
|
4045
|
-
power:
|
|
4046
|
-
rank:
|
|
4047
|
-
renameColumns:
|
|
4048
|
-
replace:
|
|
4049
|
-
reverse:
|
|
4050
|
-
round:
|
|
4051
|
-
rowNumber:
|
|
4052
|
-
rtrim:
|
|
4053
|
-
select:
|
|
4054
|
-
sign:
|
|
4055
|
-
sqlExpr:
|
|
4056
|
-
sqlNull:
|
|
4057
|
-
sqrt:
|
|
4058
|
-
star:
|
|
4059
|
-
subquery:
|
|
4060
|
-
substring:
|
|
4061
|
-
sum:
|
|
4062
|
-
table:
|
|
4082
|
+
plan: iI,
|
|
4083
|
+
power: fM,
|
|
4084
|
+
rank: _M,
|
|
4085
|
+
renameColumns: fg,
|
|
4086
|
+
replace: TM,
|
|
4087
|
+
reverse: aM,
|
|
4088
|
+
round: zM,
|
|
4089
|
+
rowNumber: XM,
|
|
4090
|
+
rtrim: sM,
|
|
4091
|
+
select: Ai,
|
|
4092
|
+
sign: uM,
|
|
4093
|
+
sqlExpr: vg,
|
|
4094
|
+
sqlNull: DM,
|
|
4095
|
+
sqrt: xM,
|
|
4096
|
+
star: bg,
|
|
4097
|
+
subquery: kM,
|
|
4098
|
+
substring: pM,
|
|
4099
|
+
sum: SM,
|
|
4100
|
+
table: wM,
|
|
4063
4101
|
tokenize: TA,
|
|
4064
|
-
transform:
|
|
4102
|
+
transform: KA,
|
|
4065
4103
|
transpile: qA,
|
|
4066
|
-
trim:
|
|
4067
|
-
union:
|
|
4068
|
-
unionAll:
|
|
4069
|
-
update:
|
|
4070
|
-
upper:
|
|
4071
|
-
validate:
|
|
4072
|
-
validateWithSchema:
|
|
4104
|
+
trim: RM,
|
|
4105
|
+
union: Di,
|
|
4106
|
+
unionAll: wi,
|
|
4107
|
+
update: Ii,
|
|
4108
|
+
upper: UM,
|
|
4109
|
+
validate: Ki,
|
|
4110
|
+
validateWithSchema: yi,
|
|
4073
4111
|
walk: t
|
|
4074
4112
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4075
4113
|
export {
|
|
4076
|
-
|
|
4077
|
-
|
|
4114
|
+
JA as CaseBuilder,
|
|
4115
|
+
gI as DeleteBuilder,
|
|
4078
4116
|
sA as Dialect,
|
|
4079
4117
|
H as Expr,
|
|
4080
|
-
|
|
4081
|
-
|
|
4082
|
-
|
|
4083
|
-
|
|
4118
|
+
_g as InsertBuilder,
|
|
4119
|
+
CI as MergeBuilder,
|
|
4120
|
+
n as Polyglot,
|
|
4121
|
+
Xg as SelectBuilder,
|
|
4084
4122
|
_ as SetOpBuilder,
|
|
4085
|
-
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
|
|
4090
|
-
|
|
4091
|
-
|
|
4092
|
-
|
|
4093
|
-
|
|
4094
|
-
|
|
4095
|
-
|
|
4096
|
-
|
|
4097
|
-
|
|
4098
|
-
|
|
4099
|
-
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
|
|
4103
|
-
|
|
4104
|
-
|
|
4105
|
-
|
|
4106
|
-
|
|
4107
|
-
|
|
4108
|
-
|
|
4109
|
-
|
|
4110
|
-
|
|
4111
|
-
|
|
4112
|
-
|
|
4113
|
-
|
|
4123
|
+
AI as UpdateBuilder,
|
|
4124
|
+
Gi as ValidationSeverity,
|
|
4125
|
+
tM as abs,
|
|
4126
|
+
NM as alias,
|
|
4127
|
+
yM as and,
|
|
4128
|
+
zA as annotateTypes,
|
|
4129
|
+
CM as ast,
|
|
4130
|
+
hM as avg,
|
|
4131
|
+
RA as boolean,
|
|
4132
|
+
Ei as caseOf,
|
|
4133
|
+
Qi as caseWhen,
|
|
4134
|
+
oM as cast,
|
|
4135
|
+
VM as ceil,
|
|
4136
|
+
PM as coalesce,
|
|
4137
|
+
QM as col,
|
|
4138
|
+
OM as concatWs,
|
|
4139
|
+
MM as condition,
|
|
4140
|
+
KM as count,
|
|
4141
|
+
YM as countDistinct,
|
|
4142
|
+
lM as currentDate,
|
|
4143
|
+
mM as currentTime,
|
|
4144
|
+
bM as currentTimestamp,
|
|
4145
|
+
hi as default,
|
|
4146
|
+
Ci as del,
|
|
4147
|
+
II as deleteFrom,
|
|
4148
|
+
$M as denseRank,
|
|
4149
|
+
ii as except,
|
|
4150
|
+
eM as exp,
|
|
4151
|
+
vM as extract,
|
|
4114
4152
|
YA as findAll,
|
|
4115
|
-
|
|
4116
|
-
|
|
4117
|
-
|
|
4118
|
-
|
|
4153
|
+
ZM as floor,
|
|
4154
|
+
PA as format,
|
|
4155
|
+
jA as formatWithOptions,
|
|
4156
|
+
R as func,
|
|
4119
4157
|
OA as generate,
|
|
4120
|
-
|
|
4158
|
+
rg as getColumns,
|
|
4121
4159
|
dA as getDialects,
|
|
4122
|
-
|
|
4160
|
+
Pg as getInferredType,
|
|
4123
4161
|
tA as getVersion,
|
|
4124
|
-
|
|
4125
|
-
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
|
|
4129
|
-
|
|
4130
|
-
|
|
4131
|
-
|
|
4132
|
-
|
|
4133
|
-
|
|
4134
|
-
|
|
4135
|
-
|
|
4136
|
-
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
|
|
4140
|
-
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4162
|
+
rM as greatest,
|
|
4163
|
+
dM as ifNull,
|
|
4164
|
+
oI as init,
|
|
4165
|
+
qM as initcap,
|
|
4166
|
+
gi as insert,
|
|
4167
|
+
$g as insertInto,
|
|
4168
|
+
Mi as intersect,
|
|
4169
|
+
dg as isColumn,
|
|
4170
|
+
zg as isFunction,
|
|
4171
|
+
NI as isInitialized,
|
|
4172
|
+
tg as isLiteral,
|
|
4173
|
+
jg as isSelect,
|
|
4174
|
+
nM as least,
|
|
4175
|
+
FM as length,
|
|
4176
|
+
EM as lit,
|
|
4177
|
+
WM as ln,
|
|
4178
|
+
cM as lower,
|
|
4179
|
+
JM as ltrim,
|
|
4180
|
+
LM as max,
|
|
4181
|
+
Bi as mergeInto,
|
|
4182
|
+
HM as min,
|
|
4183
|
+
iM as not,
|
|
4184
|
+
jM as nullIf,
|
|
4185
|
+
GM as or,
|
|
4148
4186
|
pA as parse,
|
|
4149
|
-
|
|
4150
|
-
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
|
|
4154
|
-
|
|
4155
|
-
|
|
4156
|
-
|
|
4157
|
-
|
|
4158
|
-
|
|
4159
|
-
|
|
4160
|
-
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
|
|
4164
|
-
|
|
4165
|
-
|
|
4166
|
-
|
|
4187
|
+
fM as power,
|
|
4188
|
+
_M as rank,
|
|
4189
|
+
fg as renameColumns,
|
|
4190
|
+
TM as replace,
|
|
4191
|
+
aM as reverse,
|
|
4192
|
+
zM as round,
|
|
4193
|
+
XM as rowNumber,
|
|
4194
|
+
sM as rtrim,
|
|
4195
|
+
Ai as select,
|
|
4196
|
+
uM as sign,
|
|
4197
|
+
vg as sqlExpr,
|
|
4198
|
+
DM as sqlNull,
|
|
4199
|
+
xM as sqrt,
|
|
4200
|
+
bg as star,
|
|
4201
|
+
pM as substring,
|
|
4202
|
+
SM as sum,
|
|
4203
|
+
wM as table,
|
|
4204
|
+
KA as transform,
|
|
4167
4205
|
qA as transpile,
|
|
4168
|
-
|
|
4169
|
-
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
|
|
4173
|
-
|
|
4174
|
-
|
|
4206
|
+
RM as trim,
|
|
4207
|
+
Di as union,
|
|
4208
|
+
wi as unionAll,
|
|
4209
|
+
Ii as update,
|
|
4210
|
+
UM as upper,
|
|
4211
|
+
Ki as validate,
|
|
4212
|
+
yi as validateWithSchema,
|
|
4175
4213
|
t as walk
|
|
4176
4214
|
};
|