@polyglot-sql/sdk 0.3.9 → 0.3.11

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