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