@polyglot-sql/sdk 0.1.8 → 0.1.9

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