@polyglot-sql/sdk 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -28,7 +28,7 @@ const GI = new URL("../polyglot_sql_wasm_bg.wasm",import.meta.url).href, kI = as
28
28
  class QA {
29
29
  __destroy_into_raw() {
30
30
  const A = this.__wbg_ptr;
31
- return this.__wbg_ptr = 0, TA.unregister(this), A;
31
+ return this.__wbg_ptr = 0, PA.unregister(this), A;
32
32
  }
33
33
  free() {
34
34
  const A = this.__destroy_into_raw();
@@ -46,7 +46,7 @@ class QA {
46
46
  */
47
47
  constructor() {
48
48
  const A = I.wasmassignmentarray_new();
49
- return this.__wbg_ptr = A >>> 0, TA.register(this, this.__wbg_ptr, this), this;
49
+ return this.__wbg_ptr = A >>> 0, PA.register(this, this.__wbg_ptr, this), this;
50
50
  }
51
51
  /**
52
52
  * Add a column = value assignment.
@@ -55,7 +55,7 @@ class QA {
55
55
  */
56
56
  push(A, Q) {
57
57
  const B = G(A, I.__wbindgen_export, I.__wbindgen_export2), C = N;
58
- J(Q, K), I.wasmassignmentarray_push(this.__wbg_ptr, B, C, Q.__wbg_ptr);
58
+ Y(Q, K), I.wasmassignmentarray_push(this.__wbg_ptr, B, C, Q.__wbg_ptr);
59
59
  }
60
60
  }
61
61
  Symbol.dispose && (QA.prototype[Symbol.dispose] = QA.prototype.free);
@@ -63,11 +63,11 @@ class l {
63
63
  static __wrap(A) {
64
64
  A = A >>> 0;
65
65
  const Q = Object.create(l.prototype);
66
- return Q.__wbg_ptr = A, YA.register(Q, Q.__wbg_ptr, Q), Q;
66
+ return Q.__wbg_ptr = A, HA.register(Q, Q.__wbg_ptr, Q), Q;
67
67
  }
68
68
  __destroy_into_raw() {
69
69
  const A = this.__wbg_ptr;
70
- return this.__wbg_ptr = 0, YA.unregister(this), A;
70
+ return this.__wbg_ptr = 0, HA.unregister(this), A;
71
71
  }
72
72
  free() {
73
73
  const A = this.__destroy_into_raw();
@@ -94,14 +94,14 @@ class l {
94
94
  * @param {WasmExpr} result
95
95
  */
96
96
  else_(A) {
97
- J(A, K), I.wasmcasebuilder_else_(this.__wbg_ptr, A.__wbg_ptr);
97
+ Y(A, K), I.wasmcasebuilder_else_(this.__wbg_ptr, A.__wbg_ptr);
98
98
  }
99
99
  /**
100
100
  * Create a new searched CASE builder (CASE WHEN ... THEN ...).
101
101
  */
102
102
  constructor() {
103
103
  const A = I.wasmcasebuilder_new();
104
- return this.__wbg_ptr = A >>> 0, YA.register(this, this.__wbg_ptr, this), this;
104
+ return this.__wbg_ptr = A >>> 0, HA.register(this, this.__wbg_ptr, this), this;
105
105
  }
106
106
  /**
107
107
  * Generate SQL string (generic dialect).
@@ -126,14 +126,14 @@ class l {
126
126
  * @param {WasmExpr} result
127
127
  */
128
128
  when(A, Q) {
129
- J(A, K), J(Q, K), I.wasmcasebuilder_when(this.__wbg_ptr, A.__wbg_ptr, Q.__wbg_ptr);
129
+ Y(A, K), Y(Q, K), I.wasmcasebuilder_when(this.__wbg_ptr, A.__wbg_ptr, Q.__wbg_ptr);
130
130
  }
131
131
  }
132
132
  Symbol.dispose && (l.prototype[Symbol.dispose] = l.prototype.free);
133
133
  class oA {
134
134
  __destroy_into_raw() {
135
135
  const A = this.__wbg_ptr;
136
- return this.__wbg_ptr = 0, PA.unregister(this), A;
136
+ return this.__wbg_ptr = 0, TA.unregister(this), A;
137
137
  }
138
138
  free() {
139
139
  const A = this.__destroy_into_raw();
@@ -161,7 +161,7 @@ class oA {
161
161
  */
162
162
  constructor(A) {
163
163
  const Q = G(A, I.__wbindgen_export, I.__wbindgen_export2), B = N, C = I.wasmdeletebuilder_new(Q, B);
164
- return this.__wbg_ptr = C >>> 0, PA.register(this, this.__wbg_ptr, this), this;
164
+ return this.__wbg_ptr = C >>> 0, TA.register(this, this.__wbg_ptr, this), this;
165
165
  }
166
166
  /**
167
167
  * Generate SQL string for the given dialect.
@@ -171,8 +171,8 @@ class oA {
171
171
  to_sql(A) {
172
172
  let Q, B;
173
173
  try {
174
- const a = I.__wbindgen_add_to_stack_pointer(-16), Y = G(A, I.__wbindgen_export, I.__wbindgen_export2), U = N;
175
- I.wasmdeletebuilder_to_sql(a, this.__wbg_ptr, Y, U);
174
+ const a = I.__wbindgen_add_to_stack_pointer(-16), H = G(A, I.__wbindgen_export, I.__wbindgen_export2), U = N;
175
+ I.wasmdeletebuilder_to_sql(a, this.__wbg_ptr, H, U);
176
176
  var C = o().getInt32(a + 0, !0), E = o().getInt32(a + 4, !0), D = o().getInt32(a + 8, !0), w = o().getInt32(a + 12, !0), k = C, M = E;
177
177
  if (w)
178
178
  throw k = 0, M = 0, c(D);
@@ -186,7 +186,7 @@ class oA {
186
186
  * @param {WasmExpr} condition
187
187
  */
188
188
  where_expr(A) {
189
- J(A, K), I.wasmdeletebuilder_where_expr(this.__wbg_ptr, A.__wbg_ptr);
189
+ Y(A, K), I.wasmdeletebuilder_where_expr(this.__wbg_ptr, A.__wbg_ptr);
190
190
  }
191
191
  }
192
192
  Symbol.dispose && (oA.prototype[Symbol.dispose] = oA.prototype.free);
@@ -210,7 +210,7 @@ class K {
210
210
  * @returns {WasmExpr}
211
211
  */
212
212
  add(A) {
213
- J(A, K);
213
+ Y(A, K);
214
214
  const Q = I.wasmexpr_add(this.__wbg_ptr, A.__wbg_ptr);
215
215
  return K.__wrap(Q);
216
216
  }
@@ -229,7 +229,7 @@ class K {
229
229
  * @returns {WasmExpr}
230
230
  */
231
231
  and(A) {
232
- J(A, K);
232
+ Y(A, K);
233
233
  const Q = I.wasmexpr_and(this.__wbg_ptr, A.__wbg_ptr);
234
234
  return K.__wrap(Q);
235
235
  }
@@ -248,7 +248,7 @@ class K {
248
248
  * @returns {WasmExpr}
249
249
  */
250
250
  between(A, Q) {
251
- J(A, K), J(Q, K);
251
+ Y(A, K), Y(Q, K);
252
252
  const B = I.wasmexpr_between(this.__wbg_ptr, A.__wbg_ptr, Q.__wbg_ptr);
253
253
  return K.__wrap(B);
254
254
  }
@@ -275,7 +275,7 @@ class K {
275
275
  * @returns {WasmExpr}
276
276
  */
277
277
  div(A) {
278
- J(A, K);
278
+ Y(A, K);
279
279
  const Q = I.wasmexpr_div(this.__wbg_ptr, A.__wbg_ptr);
280
280
  return K.__wrap(Q);
281
281
  }
@@ -285,7 +285,7 @@ class K {
285
285
  * @returns {WasmExpr}
286
286
  */
287
287
  eq(A) {
288
- J(A, K);
288
+ Y(A, K);
289
289
  const Q = I.wasmexpr_eq(this.__wbg_ptr, A.__wbg_ptr);
290
290
  return K.__wrap(Q);
291
291
  }
@@ -295,7 +295,7 @@ class K {
295
295
  * @returns {WasmExpr}
296
296
  */
297
297
  gt(A) {
298
- J(A, K);
298
+ Y(A, K);
299
299
  const Q = I.wasmexpr_gt(this.__wbg_ptr, A.__wbg_ptr);
300
300
  return K.__wrap(Q);
301
301
  }
@@ -305,7 +305,7 @@ class K {
305
305
  * @returns {WasmExpr}
306
306
  */
307
307
  gte(A) {
308
- J(A, K);
308
+ Y(A, K);
309
309
  const Q = I.wasmexpr_gte(this.__wbg_ptr, A.__wbg_ptr);
310
310
  return K.__wrap(Q);
311
311
  }
@@ -315,7 +315,7 @@ class K {
315
315
  * @returns {WasmExpr}
316
316
  */
317
317
  ilike(A) {
318
- J(A, K);
318
+ Y(A, K);
319
319
  const Q = I.wasmexpr_ilike(this.__wbg_ptr, A.__wbg_ptr);
320
320
  return K.__wrap(Q);
321
321
  }
@@ -325,7 +325,7 @@ class K {
325
325
  * @returns {WasmExpr}
326
326
  */
327
327
  in_list(A) {
328
- J(A, d);
328
+ Y(A, d);
329
329
  const Q = I.wasmexpr_in_list(this.__wbg_ptr, A.__wbg_ptr);
330
330
  return K.__wrap(Q);
331
331
  }
@@ -351,7 +351,7 @@ class K {
351
351
  * @returns {WasmExpr}
352
352
  */
353
353
  like(A) {
354
- J(A, K);
354
+ Y(A, K);
355
355
  const Q = I.wasmexpr_like(this.__wbg_ptr, A.__wbg_ptr);
356
356
  return K.__wrap(Q);
357
357
  }
@@ -361,7 +361,7 @@ class K {
361
361
  * @returns {WasmExpr}
362
362
  */
363
363
  lt(A) {
364
- J(A, K);
364
+ Y(A, K);
365
365
  const Q = I.wasmexpr_lt(this.__wbg_ptr, A.__wbg_ptr);
366
366
  return K.__wrap(Q);
367
367
  }
@@ -371,7 +371,7 @@ class K {
371
371
  * @returns {WasmExpr}
372
372
  */
373
373
  lte(A) {
374
- J(A, K);
374
+ Y(A, K);
375
375
  const Q = I.wasmexpr_lte(this.__wbg_ptr, A.__wbg_ptr);
376
376
  return K.__wrap(Q);
377
377
  }
@@ -381,7 +381,7 @@ class K {
381
381
  * @returns {WasmExpr}
382
382
  */
383
383
  mul(A) {
384
- J(A, K);
384
+ Y(A, K);
385
385
  const Q = I.wasmexpr_mul(this.__wbg_ptr, A.__wbg_ptr);
386
386
  return K.__wrap(Q);
387
387
  }
@@ -391,7 +391,7 @@ class K {
391
391
  * @returns {WasmExpr}
392
392
  */
393
393
  neq(A) {
394
- J(A, K);
394
+ Y(A, K);
395
395
  const Q = I.wasmexpr_neq(this.__wbg_ptr, A.__wbg_ptr);
396
396
  return K.__wrap(Q);
397
397
  }
@@ -409,7 +409,7 @@ class K {
409
409
  * @returns {WasmExpr}
410
410
  */
411
411
  not_in(A) {
412
- J(A, d);
412
+ Y(A, d);
413
413
  const Q = I.wasmexpr_not_in(this.__wbg_ptr, A.__wbg_ptr);
414
414
  return K.__wrap(Q);
415
415
  }
@@ -419,7 +419,7 @@ class K {
419
419
  * @returns {WasmExpr}
420
420
  */
421
421
  or(A) {
422
- J(A, K);
422
+ Y(A, K);
423
423
  const Q = I.wasmexpr_or(this.__wbg_ptr, A.__wbg_ptr);
424
424
  return K.__wrap(Q);
425
425
  }
@@ -429,7 +429,7 @@ class K {
429
429
  * @returns {WasmExpr}
430
430
  */
431
431
  rlike(A) {
432
- J(A, K);
432
+ Y(A, K);
433
433
  const Q = I.wasmexpr_rlike(this.__wbg_ptr, A.__wbg_ptr);
434
434
  return K.__wrap(Q);
435
435
  }
@@ -439,7 +439,7 @@ class K {
439
439
  * @returns {WasmExpr}
440
440
  */
441
441
  sub(A) {
442
- J(A, K);
442
+ Y(A, K);
443
443
  const Q = I.wasmexpr_sub(this.__wbg_ptr, A.__wbg_ptr);
444
444
  return K.__wrap(Q);
445
445
  }
@@ -482,7 +482,7 @@ class K {
482
482
  * @returns {WasmExpr}
483
483
  */
484
484
  xor(A) {
485
- J(A, K);
485
+ Y(A, K);
486
486
  const Q = I.wasmexpr_xor(this.__wbg_ptr, A.__wbg_ptr);
487
487
  return K.__wrap(Q);
488
488
  }
@@ -516,7 +516,7 @@ class d {
516
516
  * @param {WasmExpr} expr
517
517
  */
518
518
  push(A) {
519
- J(A, K), I.wasmexprarray_push(this.__wbg_ptr, A.__wbg_ptr);
519
+ Y(A, K), I.wasmexprarray_push(this.__wbg_ptr, A.__wbg_ptr);
520
520
  }
521
521
  /**
522
522
  * Push a column reference by name.
@@ -604,7 +604,7 @@ class wA {
604
604
  query(A) {
605
605
  try {
606
606
  const C = I.__wbindgen_add_to_stack_pointer(-16);
607
- J(A, O), I.wasminsertbuilder_query(C, this.__wbg_ptr, A.__wbg_ptr);
607
+ Y(A, O), I.wasminsertbuilder_query(C, this.__wbg_ptr, A.__wbg_ptr);
608
608
  var Q = o().getInt32(C + 0, !0), B = o().getInt32(C + 4, !0);
609
609
  if (B)
610
610
  throw c(Q);
@@ -620,8 +620,8 @@ class wA {
620
620
  to_sql(A) {
621
621
  let Q, B;
622
622
  try {
623
- const a = I.__wbindgen_add_to_stack_pointer(-16), Y = G(A, I.__wbindgen_export, I.__wbindgen_export2), U = N;
624
- I.wasminsertbuilder_to_sql(a, this.__wbg_ptr, Y, U);
623
+ const a = I.__wbindgen_add_to_stack_pointer(-16), H = G(A, I.__wbindgen_export, I.__wbindgen_export2), U = N;
624
+ I.wasminsertbuilder_to_sql(a, this.__wbg_ptr, H, U);
625
625
  var C = o().getInt32(a + 0, !0), E = o().getInt32(a + 4, !0), D = o().getInt32(a + 8, !0), w = o().getInt32(a + 12, !0), k = C, M = E;
626
626
  if (w)
627
627
  throw k = 0, M = 0, c(D);
@@ -635,7 +635,7 @@ class wA {
635
635
  * @param {WasmExprArray} vals
636
636
  */
637
637
  values(A) {
638
- J(A, d), I.wasminsertbuilder_values(this.__wbg_ptr, A.__wbg_ptr);
638
+ Y(A, d), I.wasminsertbuilder_values(this.__wbg_ptr, A.__wbg_ptr);
639
639
  }
640
640
  }
641
641
  Symbol.dispose && (wA.prototype[Symbol.dispose] = wA.prototype.free);
@@ -680,8 +680,8 @@ class NA {
680
680
  to_sql(A) {
681
681
  let Q, B;
682
682
  try {
683
- const a = I.__wbindgen_add_to_stack_pointer(-16), Y = G(A, I.__wbindgen_export, I.__wbindgen_export2), U = N;
684
- I.wasmmergebuilder_to_sql(a, this.__wbg_ptr, Y, U);
683
+ const a = I.__wbindgen_add_to_stack_pointer(-16), H = G(A, I.__wbindgen_export, I.__wbindgen_export2), U = N;
684
+ I.wasmmergebuilder_to_sql(a, this.__wbg_ptr, H, U);
685
685
  var C = o().getInt32(a + 0, !0), E = o().getInt32(a + 4, !0), D = o().getInt32(a + 8, !0), w = o().getInt32(a + 12, !0), k = C, M = E;
686
686
  if (w)
687
687
  throw k = 0, M = 0, c(D);
@@ -697,7 +697,7 @@ class NA {
697
697
  */
698
698
  using(A, Q) {
699
699
  const B = G(A, I.__wbindgen_export, I.__wbindgen_export2), C = N;
700
- J(Q, K), I.wasmmergebuilder_using(this.__wbg_ptr, B, C, Q.__wbg_ptr);
700
+ Y(Q, K), I.wasmmergebuilder_using(this.__wbg_ptr, B, C, Q.__wbg_ptr);
701
701
  }
702
702
  /**
703
703
  * Add a WHEN MATCHED THEN DELETE clause.
@@ -710,7 +710,7 @@ class NA {
710
710
  * @param {WasmAssignmentArray} assignments
711
711
  */
712
712
  when_matched_update(A) {
713
- J(A, QA), I.wasmmergebuilder_when_matched_update(this.__wbg_ptr, A.__wbg_ptr);
713
+ Y(A, QA), I.wasmmergebuilder_when_matched_update(this.__wbg_ptr, A.__wbg_ptr);
714
714
  }
715
715
  /**
716
716
  * Add a WHEN NOT MATCHED THEN INSERT clause.
@@ -719,7 +719,7 @@ class NA {
719
719
  */
720
720
  when_not_matched_insert(A, Q) {
721
721
  const B = FA(A, I.__wbindgen_export), C = N;
722
- J(Q, d), I.wasmmergebuilder_when_not_matched_insert(this.__wbg_ptr, B, C, Q.__wbg_ptr);
722
+ Y(Q, d), I.wasmmergebuilder_when_not_matched_insert(this.__wbg_ptr, B, C, Q.__wbg_ptr);
723
723
  }
724
724
  }
725
725
  Symbol.dispose && (NA.prototype[Symbol.dispose] = NA.prototype.free);
@@ -782,9 +782,9 @@ class O {
782
782
  ctas_sql(A, Q) {
783
783
  let B, C;
784
784
  try {
785
- const Y = I.__wbindgen_add_to_stack_pointer(-16), U = G(A, I.__wbindgen_export, I.__wbindgen_export2), s = N, V = G(Q, I.__wbindgen_export, I.__wbindgen_export2), e = N;
786
- I.wasmselectbuilder_ctas_sql(Y, this.__wbg_ptr, U, s, V, e);
787
- var E = o().getInt32(Y + 0, !0), D = o().getInt32(Y + 4, !0), w = o().getInt32(Y + 8, !0), k = o().getInt32(Y + 12, !0), M = E, a = D;
785
+ const H = I.__wbindgen_add_to_stack_pointer(-16), U = G(A, I.__wbindgen_export, I.__wbindgen_export2), s = N, V = G(Q, I.__wbindgen_export, I.__wbindgen_export2), e = N;
786
+ I.wasmselectbuilder_ctas_sql(H, this.__wbg_ptr, U, s, V, e);
787
+ var E = o().getInt32(H + 0, !0), D = o().getInt32(H + 4, !0), w = o().getInt32(H + 8, !0), k = o().getInt32(H + 12, !0), M = E, a = D;
788
788
  if (k)
789
789
  throw M = 0, a = 0, c(w);
790
790
  return B = M, C = a, F(M, a);
@@ -806,11 +806,11 @@ class O {
806
806
  except_(A) {
807
807
  try {
808
808
  const E = I.__wbindgen_add_to_stack_pointer(-16);
809
- J(A, O), I.wasmselectbuilder_except_(E, this.__wbg_ptr, A.__wbg_ptr);
809
+ Y(A, O), I.wasmselectbuilder_except_(E, this.__wbg_ptr, A.__wbg_ptr);
810
810
  var Q = o().getInt32(E + 0, !0), B = o().getInt32(E + 4, !0), C = o().getInt32(E + 8, !0);
811
811
  if (C)
812
812
  throw c(B);
813
- return P.__wrap(Q);
813
+ return T.__wrap(Q);
814
814
  } finally {
815
815
  I.__wbindgen_add_to_stack_pointer(16);
816
816
  }
@@ -834,21 +834,21 @@ class O {
834
834
  * @param {WasmExpr} expr
835
835
  */
836
836
  from_expr(A) {
837
- J(A, K), I.wasmselectbuilder_from_expr(this.__wbg_ptr, A.__wbg_ptr);
837
+ Y(A, K), I.wasmselectbuilder_from_expr(this.__wbg_ptr, A.__wbg_ptr);
838
838
  }
839
839
  /**
840
840
  * Set the GROUP BY clause.
841
841
  * @param {WasmExprArray} cols
842
842
  */
843
843
  group_by_cols(A) {
844
- J(A, d), I.wasmselectbuilder_group_by_cols(this.__wbg_ptr, A.__wbg_ptr);
844
+ Y(A, d), I.wasmselectbuilder_group_by_cols(this.__wbg_ptr, A.__wbg_ptr);
845
845
  }
846
846
  /**
847
847
  * Set the HAVING clause.
848
848
  * @param {WasmExpr} condition
849
849
  */
850
850
  having(A) {
851
- J(A, K), I.wasmselectbuilder_having(this.__wbg_ptr, A.__wbg_ptr);
851
+ Y(A, K), I.wasmselectbuilder_having(this.__wbg_ptr, A.__wbg_ptr);
852
852
  }
853
853
  /**
854
854
  * Add a query hint.
@@ -866,11 +866,11 @@ class O {
866
866
  intersect(A) {
867
867
  try {
868
868
  const E = I.__wbindgen_add_to_stack_pointer(-16);
869
- J(A, O), I.wasmselectbuilder_intersect(E, this.__wbg_ptr, A.__wbg_ptr);
869
+ Y(A, O), I.wasmselectbuilder_intersect(E, this.__wbg_ptr, A.__wbg_ptr);
870
870
  var Q = o().getInt32(E + 0, !0), B = o().getInt32(E + 4, !0), C = o().getInt32(E + 8, !0);
871
871
  if (C)
872
872
  throw c(B);
873
- return P.__wrap(Q);
873
+ return T.__wrap(Q);
874
874
  } finally {
875
875
  I.__wbindgen_add_to_stack_pointer(16);
876
876
  }
@@ -882,7 +882,7 @@ class O {
882
882
  */
883
883
  join(A, Q) {
884
884
  const B = G(A, I.__wbindgen_export, I.__wbindgen_export2), C = N;
885
- J(Q, K), I.wasmselectbuilder_join(this.__wbg_ptr, B, C, Q.__wbg_ptr);
885
+ Y(Q, K), I.wasmselectbuilder_join(this.__wbg_ptr, B, C, Q.__wbg_ptr);
886
886
  }
887
887
  /**
888
888
  * Add a LATERAL VIEW clause (Hive/Spark).
@@ -891,7 +891,7 @@ class O {
891
891
  * @param {string[]} col_aliases
892
892
  */
893
893
  lateral_view(A, Q, B) {
894
- J(A, K);
894
+ Y(A, K);
895
895
  const C = G(Q, I.__wbindgen_export, I.__wbindgen_export2), E = N, D = FA(B, I.__wbindgen_export), w = N;
896
896
  I.wasmselectbuilder_lateral_view(this.__wbg_ptr, A.__wbg_ptr, C, E, D, w);
897
897
  }
@@ -902,7 +902,7 @@ class O {
902
902
  */
903
903
  left_join(A, Q) {
904
904
  const B = G(A, I.__wbindgen_export, I.__wbindgen_export2), C = N;
905
- J(Q, K), I.wasmselectbuilder_left_join(this.__wbg_ptr, B, C, Q.__wbg_ptr);
905
+ Y(Q, K), I.wasmselectbuilder_left_join(this.__wbg_ptr, B, C, Q.__wbg_ptr);
906
906
  }
907
907
  /**
908
908
  * Set the LIMIT clause.
@@ -930,14 +930,14 @@ class O {
930
930
  * @param {WasmExprArray} exprs
931
931
  */
932
932
  order_by_exprs(A) {
933
- J(A, d), I.wasmselectbuilder_order_by_exprs(this.__wbg_ptr, A.__wbg_ptr);
933
+ Y(A, d), I.wasmselectbuilder_order_by_exprs(this.__wbg_ptr, A.__wbg_ptr);
934
934
  }
935
935
  /**
936
936
  * Set the QUALIFY clause.
937
937
  * @param {WasmExpr} condition
938
938
  */
939
939
  qualify(A) {
940
- J(A, K), I.wasmselectbuilder_qualify(this.__wbg_ptr, A.__wbg_ptr);
940
+ Y(A, K), I.wasmselectbuilder_qualify(this.__wbg_ptr, A.__wbg_ptr);
941
941
  }
942
942
  /**
943
943
  * Add a RIGHT JOIN.
@@ -946,7 +946,7 @@ class O {
946
946
  */
947
947
  right_join(A, Q) {
948
948
  const B = G(A, I.__wbindgen_export, I.__wbindgen_export2), C = N;
949
- J(Q, K), I.wasmselectbuilder_right_join(this.__wbg_ptr, B, C, Q.__wbg_ptr);
949
+ Y(Q, K), I.wasmselectbuilder_right_join(this.__wbg_ptr, B, C, Q.__wbg_ptr);
950
950
  }
951
951
  /**
952
952
  * Add a column by name to the SELECT list.
@@ -961,14 +961,14 @@ class O {
961
961
  * @param {WasmExpr} expr
962
962
  */
963
963
  select_expr(A) {
964
- J(A, K), I.wasmselectbuilder_select_expr(this.__wbg_ptr, A.__wbg_ptr);
964
+ Y(A, K), I.wasmselectbuilder_select_expr(this.__wbg_ptr, A.__wbg_ptr);
965
965
  }
966
966
  /**
967
967
  * Add multiple expressions to the SELECT list.
968
968
  * @param {WasmExprArray} exprs
969
969
  */
970
970
  select_exprs(A) {
971
- J(A, d), I.wasmselectbuilder_select_exprs(this.__wbg_ptr, A.__wbg_ptr);
971
+ Y(A, d), I.wasmselectbuilder_select_exprs(this.__wbg_ptr, A.__wbg_ptr);
972
972
  }
973
973
  /**
974
974
  * Add a star (*) to the SELECT list.
@@ -981,7 +981,7 @@ class O {
981
981
  * @param {WasmExprArray} exprs
982
982
  */
983
983
  sort_by_exprs(A) {
984
- J(A, d), I.wasmselectbuilder_sort_by_exprs(this.__wbg_ptr, A.__wbg_ptr);
984
+ Y(A, d), I.wasmselectbuilder_sort_by_exprs(this.__wbg_ptr, A.__wbg_ptr);
985
985
  }
986
986
  /**
987
987
  * Generate SQL string for the given dialect.
@@ -991,8 +991,8 @@ class O {
991
991
  to_sql(A) {
992
992
  let Q, B;
993
993
  try {
994
- const a = I.__wbindgen_add_to_stack_pointer(-16), Y = G(A, I.__wbindgen_export, I.__wbindgen_export2), U = N;
995
- I.wasmselectbuilder_to_sql(a, this.__wbg_ptr, Y, U);
994
+ const a = I.__wbindgen_add_to_stack_pointer(-16), H = G(A, I.__wbindgen_export, I.__wbindgen_export2), U = N;
995
+ I.wasmselectbuilder_to_sql(a, this.__wbg_ptr, H, U);
996
996
  var C = o().getInt32(a + 0, !0), E = o().getInt32(a + 4, !0), D = o().getInt32(a + 8, !0), w = o().getInt32(a + 12, !0), k = C, M = E;
997
997
  if (w)
998
998
  throw k = 0, M = 0, c(D);
@@ -1009,11 +1009,11 @@ class O {
1009
1009
  union(A) {
1010
1010
  try {
1011
1011
  const E = I.__wbindgen_add_to_stack_pointer(-16);
1012
- J(A, O), I.wasmselectbuilder_union(E, this.__wbg_ptr, A.__wbg_ptr);
1012
+ Y(A, O), I.wasmselectbuilder_union(E, this.__wbg_ptr, A.__wbg_ptr);
1013
1013
  var Q = o().getInt32(E + 0, !0), B = o().getInt32(E + 4, !0), C = o().getInt32(E + 8, !0);
1014
1014
  if (C)
1015
1015
  throw c(B);
1016
- return P.__wrap(Q);
1016
+ return T.__wrap(Q);
1017
1017
  } finally {
1018
1018
  I.__wbindgen_add_to_stack_pointer(16);
1019
1019
  }
@@ -1026,11 +1026,11 @@ class O {
1026
1026
  union_all(A) {
1027
1027
  try {
1028
1028
  const E = I.__wbindgen_add_to_stack_pointer(-16);
1029
- J(A, O), I.wasmselectbuilder_union_all(E, this.__wbg_ptr, A.__wbg_ptr);
1029
+ Y(A, O), I.wasmselectbuilder_union_all(E, this.__wbg_ptr, A.__wbg_ptr);
1030
1030
  var Q = o().getInt32(E + 0, !0), B = o().getInt32(E + 4, !0), C = o().getInt32(E + 8, !0);
1031
1031
  if (C)
1032
1032
  throw c(B);
1033
- return P.__wrap(Q);
1033
+ return T.__wrap(Q);
1034
1034
  } finally {
1035
1035
  I.__wbindgen_add_to_stack_pointer(16);
1036
1036
  }
@@ -1040,7 +1040,7 @@ class O {
1040
1040
  * @param {WasmExpr} condition
1041
1041
  */
1042
1042
  where_expr(A) {
1043
- J(A, K), I.wasmselectbuilder_where_expr(this.__wbg_ptr, A.__wbg_ptr);
1043
+ Y(A, K), I.wasmselectbuilder_where_expr(this.__wbg_ptr, A.__wbg_ptr);
1044
1044
  }
1045
1045
  /**
1046
1046
  * Set the WHERE clause by parsing a raw SQL condition string.
@@ -1058,7 +1058,7 @@ class O {
1058
1058
  window(A, Q) {
1059
1059
  try {
1060
1060
  const E = I.__wbindgen_add_to_stack_pointer(-16), D = G(A, I.__wbindgen_export, I.__wbindgen_export2), w = N;
1061
- J(Q, BA), I.wasmselectbuilder_window(E, this.__wbg_ptr, D, w, Q.__wbg_ptr);
1061
+ Y(Q, BA), I.wasmselectbuilder_window(E, this.__wbg_ptr, D, w, Q.__wbg_ptr);
1062
1062
  var B = o().getInt32(E + 0, !0), C = o().getInt32(E + 4, !0);
1063
1063
  if (C)
1064
1064
  throw c(B);
@@ -1068,10 +1068,10 @@ class O {
1068
1068
  }
1069
1069
  }
1070
1070
  Symbol.dispose && (O.prototype[Symbol.dispose] = O.prototype.free);
1071
- class P {
1071
+ class T {
1072
1072
  static __wrap(A) {
1073
1073
  A = A >>> 0;
1074
- const Q = Object.create(P.prototype);
1074
+ const Q = Object.create(T.prototype);
1075
1075
  return Q.__wbg_ptr = A, nA.register(Q, Q.__wbg_ptr, Q), Q;
1076
1076
  }
1077
1077
  __destroy_into_raw() {
@@ -1117,7 +1117,7 @@ class P {
1117
1117
  * @param {WasmExprArray} exprs
1118
1118
  */
1119
1119
  order_by_exprs(A) {
1120
- J(A, d), I.wasmsetopbuilder_order_by_exprs(this.__wbg_ptr, A.__wbg_ptr);
1120
+ Y(A, d), I.wasmsetopbuilder_order_by_exprs(this.__wbg_ptr, A.__wbg_ptr);
1121
1121
  }
1122
1122
  /**
1123
1123
  * Generate SQL string for the given dialect.
@@ -1127,8 +1127,8 @@ class P {
1127
1127
  to_sql(A) {
1128
1128
  let Q, B;
1129
1129
  try {
1130
- const a = I.__wbindgen_add_to_stack_pointer(-16), Y = G(A, I.__wbindgen_export, I.__wbindgen_export2), U = N;
1131
- I.wasmsetopbuilder_to_sql(a, this.__wbg_ptr, Y, U);
1130
+ const a = I.__wbindgen_add_to_stack_pointer(-16), H = G(A, I.__wbindgen_export, I.__wbindgen_export2), U = N;
1131
+ I.wasmsetopbuilder_to_sql(a, this.__wbg_ptr, H, U);
1132
1132
  var C = o().getInt32(a + 0, !0), E = o().getInt32(a + 4, !0), D = o().getInt32(a + 8, !0), w = o().getInt32(a + 12, !0), k = C, M = E;
1133
1133
  if (w)
1134
1134
  throw k = 0, M = 0, c(D);
@@ -1138,7 +1138,7 @@ class P {
1138
1138
  }
1139
1139
  }
1140
1140
  }
1141
- Symbol.dispose && (P.prototype[Symbol.dispose] = P.prototype.free);
1141
+ Symbol.dispose && (T.prototype[Symbol.dispose] = T.prototype.free);
1142
1142
  class GA {
1143
1143
  __destroy_into_raw() {
1144
1144
  const A = this.__wbg_ptr;
@@ -1187,7 +1187,7 @@ class GA {
1187
1187
  */
1188
1188
  set(A, Q) {
1189
1189
  const B = G(A, I.__wbindgen_export, I.__wbindgen_export2), C = N;
1190
- J(Q, K), I.wasmupdatebuilder_set(this.__wbg_ptr, B, C, Q.__wbg_ptr);
1190
+ Y(Q, K), I.wasmupdatebuilder_set(this.__wbg_ptr, B, C, Q.__wbg_ptr);
1191
1191
  }
1192
1192
  /**
1193
1193
  * Generate SQL string for the given dialect.
@@ -1197,8 +1197,8 @@ class GA {
1197
1197
  to_sql(A) {
1198
1198
  let Q, B;
1199
1199
  try {
1200
- const a = I.__wbindgen_add_to_stack_pointer(-16), Y = G(A, I.__wbindgen_export, I.__wbindgen_export2), U = N;
1201
- I.wasmupdatebuilder_to_sql(a, this.__wbg_ptr, Y, U);
1200
+ const a = I.__wbindgen_add_to_stack_pointer(-16), H = G(A, I.__wbindgen_export, I.__wbindgen_export2), U = N;
1201
+ I.wasmupdatebuilder_to_sql(a, this.__wbg_ptr, H, U);
1202
1202
  var C = o().getInt32(a + 0, !0), E = o().getInt32(a + 4, !0), D = o().getInt32(a + 8, !0), w = o().getInt32(a + 12, !0), k = C, M = E;
1203
1203
  if (w)
1204
1204
  throw k = 0, M = 0, c(D);
@@ -1212,14 +1212,14 @@ class GA {
1212
1212
  * @param {WasmExpr} condition
1213
1213
  */
1214
1214
  where_expr(A) {
1215
- J(A, K), I.wasmupdatebuilder_where_expr(this.__wbg_ptr, A.__wbg_ptr);
1215
+ Y(A, K), I.wasmupdatebuilder_where_expr(this.__wbg_ptr, A.__wbg_ptr);
1216
1216
  }
1217
1217
  }
1218
1218
  Symbol.dispose && (GA.prototype[Symbol.dispose] = GA.prototype.free);
1219
1219
  class BA {
1220
1220
  __destroy_into_raw() {
1221
1221
  const A = this.__wbg_ptr;
1222
- return this.__wbg_ptr = 0, rA.unregister(this), A;
1222
+ return this.__wbg_ptr = 0, bA.unregister(this), A;
1223
1223
  }
1224
1224
  free() {
1225
1225
  const A = this.__destroy_into_raw();
@@ -1230,29 +1230,29 @@ class BA {
1230
1230
  */
1231
1231
  constructor() {
1232
1232
  const A = I.wasmwindowdefbuilder_new();
1233
- return this.__wbg_ptr = A >>> 0, rA.register(this, this.__wbg_ptr, this), this;
1233
+ return this.__wbg_ptr = A >>> 0, bA.register(this, this.__wbg_ptr, this), this;
1234
1234
  }
1235
1235
  /**
1236
1236
  * Set the ORDER BY expressions.
1237
1237
  * @param {WasmExprArray} exprs
1238
1238
  */
1239
1239
  order_by(A) {
1240
- J(A, d), I.wasmwindowdefbuilder_order_by(this.__wbg_ptr, A.__wbg_ptr);
1240
+ Y(A, d), I.wasmwindowdefbuilder_order_by(this.__wbg_ptr, A.__wbg_ptr);
1241
1241
  }
1242
1242
  /**
1243
1243
  * Set the PARTITION BY expressions.
1244
1244
  * @param {WasmExprArray} exprs
1245
1245
  */
1246
1246
  partition_by(A) {
1247
- J(A, d), I.wasmwindowdefbuilder_partition_by(this.__wbg_ptr, A.__wbg_ptr);
1247
+ Y(A, d), I.wasmwindowdefbuilder_partition_by(this.__wbg_ptr, A.__wbg_ptr);
1248
1248
  }
1249
1249
  }
1250
1250
  Symbol.dispose && (BA.prototype[Symbol.dispose] = BA.prototype.free);
1251
1251
  function MI(g, A, Q) {
1252
1252
  let B, C;
1253
1253
  try {
1254
- const w = I.__wbindgen_add_to_stack_pointer(-16), k = G(g, I.__wbindgen_export, I.__wbindgen_export2), M = N, a = G(A, I.__wbindgen_export, I.__wbindgen_export2), Y = N, U = G(Q, I.__wbindgen_export, I.__wbindgen_export2), s = N;
1255
- I.annotate_types(w, k, M, a, Y, U, s);
1254
+ const w = I.__wbindgen_add_to_stack_pointer(-16), k = G(g, I.__wbindgen_export, I.__wbindgen_export2), M = N, a = G(A, I.__wbindgen_export, I.__wbindgen_export2), H = N, U = G(Q, I.__wbindgen_export, I.__wbindgen_export2), s = N;
1255
+ I.annotate_types(w, k, M, a, H, U, s);
1256
1256
  var E = o().getInt32(w + 0, !0), D = o().getInt32(w + 4, !0);
1257
1257
  return B = E, C = D, F(E, D);
1258
1258
  } finally {
@@ -1266,8 +1266,8 @@ function KI(g, A, Q) {
1266
1266
  function uA(g, A, Q) {
1267
1267
  let B, C;
1268
1268
  try {
1269
- const w = I.__wbindgen_add_to_stack_pointer(-16), k = G(g, I.__wbindgen_export, I.__wbindgen_export2), M = N, a = G(A, I.__wbindgen_export, I.__wbindgen_export2), Y = N;
1270
- I.ast_add_where(w, k, M, a, Y, Q);
1269
+ const w = I.__wbindgen_add_to_stack_pointer(-16), k = G(g, I.__wbindgen_export, I.__wbindgen_export2), M = N, a = G(A, I.__wbindgen_export, I.__wbindgen_export2), H = N;
1270
+ I.ast_add_where(w, k, M, a, H, Q);
1271
1271
  var E = o().getInt32(w + 0, !0), D = o().getInt32(w + 4, !0);
1272
1272
  return B = E, C = D, F(E, D);
1273
1273
  } finally {
@@ -1431,8 +1431,8 @@ function og(g, A) {
1431
1431
  function wg(g, A, Q, B, C, E) {
1432
1432
  let D, w;
1433
1433
  try {
1434
- const a = I.__wbindgen_add_to_stack_pointer(-16), Y = G(g, I.__wbindgen_export, I.__wbindgen_export2), U = N, s = G(A, I.__wbindgen_export, I.__wbindgen_export2), V = N, e = G(Q, I.__wbindgen_export, I.__wbindgen_export2), v = N;
1435
- I.diff_sql(a, Y, U, s, V, e, v, B, C, E);
1434
+ const a = I.__wbindgen_add_to_stack_pointer(-16), H = G(g, I.__wbindgen_export, I.__wbindgen_export2), U = N, s = G(A, I.__wbindgen_export, I.__wbindgen_export2), V = N, e = G(Q, I.__wbindgen_export, I.__wbindgen_export2), v = N;
1435
+ I.diff_sql(a, H, U, s, V, e, v, B, C, E);
1436
1436
  var k = o().getInt32(a + 0, !0), M = o().getInt32(a + 4, !0);
1437
1437
  return D = k, w = M, F(k, M);
1438
1438
  } finally {
@@ -1450,22 +1450,22 @@ function aI(g, A) {
1450
1450
  I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, B, 1);
1451
1451
  }
1452
1452
  }
1453
- function HI(g, A) {
1453
+ function JI(g, A) {
1454
1454
  const Q = G(g, I.__wbindgen_export, I.__wbindgen_export2), B = N, C = G(A, I.__wbindgen_export, I.__wbindgen_export2), E = N, D = I.format_sql_value(Q, B, C, E);
1455
1455
  return c(D);
1456
1456
  }
1457
- function JI(g, A, Q) {
1457
+ function YI(g, A, Q) {
1458
1458
  let B, C;
1459
1459
  try {
1460
- const w = I.__wbindgen_add_to_stack_pointer(-16), k = G(g, I.__wbindgen_export, I.__wbindgen_export2), M = N, a = G(A, I.__wbindgen_export, I.__wbindgen_export2), Y = N, U = G(Q, I.__wbindgen_export, I.__wbindgen_export2), s = N;
1461
- I.format_sql_with_options(w, k, M, a, Y, U, s);
1460
+ const w = I.__wbindgen_add_to_stack_pointer(-16), k = G(g, I.__wbindgen_export, I.__wbindgen_export2), M = N, a = G(A, I.__wbindgen_export, I.__wbindgen_export2), H = N, U = G(Q, I.__wbindgen_export, I.__wbindgen_export2), s = N;
1461
+ I.format_sql_with_options(w, k, M, a, H, U, s);
1462
1462
  var E = o().getInt32(w + 0, !0), D = o().getInt32(w + 4, !0);
1463
1463
  return B = E, C = D, F(E, D);
1464
1464
  } finally {
1465
1465
  I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, C, 1);
1466
1466
  }
1467
1467
  }
1468
- function YI(g, A, Q) {
1468
+ function HI(g, A, Q) {
1469
1469
  const B = G(g, I.__wbindgen_export, I.__wbindgen_export2), C = N, E = G(A, I.__wbindgen_export, I.__wbindgen_export2), D = N, w = I.format_sql_with_options_value(B, C, E, D, S(Q));
1470
1470
  return c(w);
1471
1471
  }
@@ -1502,8 +1502,8 @@ function cI() {
1502
1502
  function Ng(g, A, Q, B) {
1503
1503
  let C, E;
1504
1504
  try {
1505
- const k = I.__wbindgen_add_to_stack_pointer(-16), M = G(g, I.__wbindgen_export, I.__wbindgen_export2), a = N, Y = G(A, I.__wbindgen_export, I.__wbindgen_export2), U = N, s = G(Q, I.__wbindgen_export, I.__wbindgen_export2), V = N;
1506
- I.lineage_sql(k, M, a, Y, U, s, V, B);
1505
+ const k = I.__wbindgen_add_to_stack_pointer(-16), M = G(g, I.__wbindgen_export, I.__wbindgen_export2), a = N, H = G(A, I.__wbindgen_export, I.__wbindgen_export2), U = N, s = G(Q, I.__wbindgen_export, I.__wbindgen_export2), V = N;
1506
+ I.lineage_sql(k, M, a, H, U, s, V, B);
1507
1507
  var D = o().getInt32(k + 0, !0), w = o().getInt32(k + 4, !0);
1508
1508
  return C = D, E = w, F(D, w);
1509
1509
  } finally {
@@ -1513,8 +1513,8 @@ function Ng(g, A, Q, B) {
1513
1513
  function Gg(g, A, Q, B, C) {
1514
1514
  let E, D;
1515
1515
  try {
1516
- const M = I.__wbindgen_add_to_stack_pointer(-16), a = G(g, I.__wbindgen_export, I.__wbindgen_export2), Y = N, U = G(A, I.__wbindgen_export, I.__wbindgen_export2), s = N, V = G(Q, I.__wbindgen_export, I.__wbindgen_export2), e = N, v = G(B, I.__wbindgen_export, I.__wbindgen_export2), NI = N;
1517
- I.lineage_sql_with_schema(M, a, Y, U, s, V, e, v, NI, C);
1516
+ const M = I.__wbindgen_add_to_stack_pointer(-16), a = G(g, I.__wbindgen_export, I.__wbindgen_export2), H = N, U = G(A, I.__wbindgen_export, I.__wbindgen_export2), s = N, V = G(Q, I.__wbindgen_export, I.__wbindgen_export2), e = N, v = G(B, I.__wbindgen_export, I.__wbindgen_export2), NI = N;
1517
+ I.lineage_sql_with_schema(M, a, H, U, s, V, e, v, NI, C);
1518
1518
  var w = o().getInt32(M + 0, !0), k = o().getInt32(M + 4, !0);
1519
1519
  return E = w, D = k, F(w, k);
1520
1520
  } finally {
@@ -1550,8 +1550,8 @@ function kg(g, A) {
1550
1550
  function Mg(g, A, Q) {
1551
1551
  let B, C;
1552
1552
  try {
1553
- const w = I.__wbindgen_add_to_stack_pointer(-16), k = G(g, I.__wbindgen_export, I.__wbindgen_export2), M = N, a = G(A, I.__wbindgen_export, I.__wbindgen_export2), Y = N, U = G(Q, I.__wbindgen_export, I.__wbindgen_export2), s = N;
1554
- I.source_tables(w, k, M, a, Y, U, s);
1553
+ const w = I.__wbindgen_add_to_stack_pointer(-16), k = G(g, I.__wbindgen_export, I.__wbindgen_export2), M = N, a = G(A, I.__wbindgen_export, I.__wbindgen_export2), H = N, U = G(Q, I.__wbindgen_export, I.__wbindgen_export2), s = N;
1554
+ I.source_tables(w, k, M, a, H, U, s);
1555
1555
  var E = o().getInt32(w + 0, !0), D = o().getInt32(w + 4, !0);
1556
1556
  return B = E, C = D, F(E, D);
1557
1557
  } finally {
@@ -1576,8 +1576,8 @@ function SI(g, A) {
1576
1576
  function LI(g, A, Q) {
1577
1577
  let B, C;
1578
1578
  try {
1579
- const w = I.__wbindgen_add_to_stack_pointer(-16), k = G(g, I.__wbindgen_export, I.__wbindgen_export2), M = N, a = G(A, I.__wbindgen_export, I.__wbindgen_export2), Y = N, U = G(Q, I.__wbindgen_export, I.__wbindgen_export2), s = N;
1580
- I.transpile(w, k, M, a, Y, U, s);
1579
+ const w = I.__wbindgen_add_to_stack_pointer(-16), k = G(g, I.__wbindgen_export, I.__wbindgen_export2), M = N, a = G(A, I.__wbindgen_export, I.__wbindgen_export2), H = N, U = G(Q, I.__wbindgen_export, I.__wbindgen_export2), s = N;
1580
+ I.transpile(w, k, M, a, H, U, s);
1581
1581
  var E = o().getInt32(w + 0, !0), D = o().getInt32(w + 4, !0);
1582
1582
  return B = E, C = D, F(E, D);
1583
1583
  } finally {
@@ -1602,8 +1602,8 @@ function pI(g, A) {
1602
1602
  function dI(g, A, Q) {
1603
1603
  let B, C;
1604
1604
  try {
1605
- const w = I.__wbindgen_add_to_stack_pointer(-16), k = G(g, I.__wbindgen_export, I.__wbindgen_export2), M = N, a = G(A, I.__wbindgen_export, I.__wbindgen_export2), Y = N, U = G(Q, I.__wbindgen_export, I.__wbindgen_export2), s = N;
1606
- I.validate_with_options(w, k, M, a, Y, U, s);
1605
+ const w = I.__wbindgen_add_to_stack_pointer(-16), k = G(g, I.__wbindgen_export, I.__wbindgen_export2), M = N, a = G(A, I.__wbindgen_export, I.__wbindgen_export2), H = N, U = G(Q, I.__wbindgen_export, I.__wbindgen_export2), s = N;
1606
+ I.validate_with_options(w, k, M, a, H, U, s);
1607
1607
  var E = o().getInt32(w + 0, !0), D = o().getInt32(w + 4, !0);
1608
1608
  return B = E, C = D, F(E, D);
1609
1609
  } finally {
@@ -1613,8 +1613,8 @@ function dI(g, A, Q) {
1613
1613
  function Kg(g, A, Q, B) {
1614
1614
  let C, E;
1615
1615
  try {
1616
- const k = I.__wbindgen_add_to_stack_pointer(-16), M = G(g, I.__wbindgen_export, I.__wbindgen_export2), a = N, Y = G(A, I.__wbindgen_export, I.__wbindgen_export2), U = N, s = G(Q, I.__wbindgen_export, I.__wbindgen_export2), V = N, e = G(B, I.__wbindgen_export, I.__wbindgen_export2), v = N;
1617
- I.validate_with_schema(k, M, a, Y, U, s, V, e, v);
1616
+ const k = I.__wbindgen_add_to_stack_pointer(-16), M = G(g, I.__wbindgen_export, I.__wbindgen_export2), a = N, H = G(A, I.__wbindgen_export, I.__wbindgen_export2), U = N, s = G(Q, I.__wbindgen_export, I.__wbindgen_export2), V = N, e = G(B, I.__wbindgen_export, I.__wbindgen_export2), v = N;
1617
+ I.validate_with_schema(k, M, a, H, U, s, V, e, v);
1618
1618
  var D = o().getInt32(k + 0, !0), w = o().getInt32(k + 4, !0);
1619
1619
  return C = D, E = w, F(D, w);
1620
1620
  } finally {
@@ -1633,26 +1633,26 @@ function xI() {
1633
1633
  }
1634
1634
  }
1635
1635
  function ag(g, A) {
1636
- J(g, K);
1636
+ Y(g, K);
1637
1637
  const Q = G(A, I.__wbindgen_export, I.__wbindgen_export2), B = N, C = I.wasm_alias(g.__wbg_ptr, Q, B);
1638
1638
  return K.__wrap(C);
1639
1639
  }
1640
- function Hg(g, A) {
1641
- J(g, K), J(A, K);
1640
+ function Jg(g, A) {
1641
+ Y(g, K), Y(A, K);
1642
1642
  const Q = I.wasm_and(g.__wbg_ptr, A.__wbg_ptr);
1643
1643
  return K.__wrap(Q);
1644
1644
  }
1645
- function Jg(g) {
1645
+ function Yg(g) {
1646
1646
  const A = I.wasm_boolean(g);
1647
1647
  return K.__wrap(A);
1648
1648
  }
1649
- function Yg(g) {
1650
- J(g, K);
1649
+ function Hg(g) {
1650
+ Y(g, K);
1651
1651
  const A = I.wasm_case_of(g.__wbg_ptr);
1652
1652
  return l.__wrap(A);
1653
1653
  }
1654
1654
  function yg(g, A) {
1655
- J(g, K);
1655
+ Y(g, K);
1656
1656
  const Q = G(A, I.__wbindgen_export, I.__wbindgen_export2), B = N, C = I.wasm_cast(g.__wbg_ptr, Q, B);
1657
1657
  return K.__wrap(C);
1658
1658
  }
@@ -1661,19 +1661,19 @@ function cA(g) {
1661
1661
  return K.__wrap(B);
1662
1662
  }
1663
1663
  function qg(g) {
1664
- J(g, K);
1664
+ Y(g, K);
1665
1665
  const A = I.wasm_count_distinct(g.__wbg_ptr);
1666
1666
  return K.__wrap(A);
1667
1667
  }
1668
1668
  function Rg(g, A) {
1669
1669
  const Q = G(g, I.__wbindgen_export, I.__wbindgen_export2), B = N;
1670
- J(A, K);
1670
+ Y(A, K);
1671
1671
  const C = I.wasm_extract(Q, B, A.__wbg_ptr);
1672
1672
  return K.__wrap(C);
1673
1673
  }
1674
1674
  function cg(g, A) {
1675
1675
  const Q = G(g, I.__wbindgen_export, I.__wbindgen_export2), B = N;
1676
- J(A, d);
1676
+ Y(A, d);
1677
1677
  const C = I.wasm_func(Q, B, A.__wbg_ptr);
1678
1678
  return K.__wrap(C);
1679
1679
  }
@@ -1682,7 +1682,7 @@ function kA(g) {
1682
1682
  return K.__wrap(A);
1683
1683
  }
1684
1684
  function Fg(g) {
1685
- J(g, K);
1685
+ Y(g, K);
1686
1686
  const A = I.wasm_not(g.__wbg_ptr);
1687
1687
  return K.__wrap(A);
1688
1688
  }
@@ -1691,7 +1691,7 @@ function MA() {
1691
1691
  return K.__wrap(g);
1692
1692
  }
1693
1693
  function hg(g, A) {
1694
- J(g, K), J(A, K);
1694
+ Y(g, K), Y(A, K);
1695
1695
  const Q = I.wasm_or(g.__wbg_ptr, A.__wbg_ptr);
1696
1696
  return K.__wrap(Q);
1697
1697
  }
@@ -1706,7 +1706,7 @@ function Sg() {
1706
1706
  function Lg(g, A) {
1707
1707
  try {
1708
1708
  const E = I.__wbindgen_add_to_stack_pointer(-16);
1709
- J(g, O);
1709
+ Y(g, O);
1710
1710
  const D = G(A, I.__wbindgen_export, I.__wbindgen_export2), w = N;
1711
1711
  I.wasm_subquery(E, g.__wbg_ptr, D, w);
1712
1712
  var Q = o().getInt32(E + 0, !0), B = o().getInt32(E + 4, !0), C = o().getInt32(E + 8, !0);
@@ -1740,11 +1740,11 @@ function WI(g) {
1740
1740
  const A = q(g), Q = typeof A == "boolean" ? A : void 0;
1741
1741
  return u(Q) ? 16777215 : Q ? 1 : 0;
1742
1742
  }
1743
- function TI(g, A) {
1743
+ function PI(g, A) {
1744
1744
  const Q = qA(q(A)), B = G(Q, I.__wbindgen_export, I.__wbindgen_export2), C = N;
1745
1745
  o().setInt32(g + 4, C, !0), o().setInt32(g + 0, B, !0);
1746
1746
  }
1747
- function PI(g, A) {
1747
+ function TI(g, A) {
1748
1748
  return q(g) in q(A);
1749
1749
  }
1750
1750
  function tI(g) {
@@ -1769,10 +1769,10 @@ function nI(g) {
1769
1769
  function lI(g, A) {
1770
1770
  return q(g) === q(A);
1771
1771
  }
1772
- function rI(g, A) {
1772
+ function bI(g, A) {
1773
1773
  return q(g) == q(A);
1774
1774
  }
1775
- function bI(g, A) {
1775
+ function rI(g, A) {
1776
1776
  const Q = q(A), B = typeof Q == "number" ? Q : void 0;
1777
1777
  o().setFloat64(g + 8, u(B) ? 0 : B, !0), o().setInt32(g + 0, !u(B), !0);
1778
1778
  }
@@ -1882,14 +1882,14 @@ function aQ() {
1882
1882
  const g = new Array();
1883
1883
  return S(g);
1884
1884
  }
1885
- function HQ() {
1885
+ function JQ() {
1886
1886
  const g = new Error();
1887
1887
  return S(g);
1888
1888
  }
1889
- function JQ() {
1889
+ function YQ() {
1890
1890
  return S(/* @__PURE__ */ new Map());
1891
1891
  }
1892
- function YQ(g) {
1892
+ function HQ(g) {
1893
1893
  const A = new Uint8Array(q(g));
1894
1894
  return S(A);
1895
1895
  }
@@ -1945,11 +1945,11 @@ function xQ(g) {
1945
1945
  function VQ(g) {
1946
1946
  c(g);
1947
1947
  }
1948
- const TA = typeof FinalizationRegistry > "u" ? { register: () => {
1948
+ const PA = typeof FinalizationRegistry > "u" ? { register: () => {
1949
1949
  }, unregister: () => {
1950
- } } : new FinalizationRegistry((g) => I.__wbg_wasmassignmentarray_free(g >>> 0, 1)), YA = typeof FinalizationRegistry > "u" ? { register: () => {
1950
+ } } : new FinalizationRegistry((g) => I.__wbg_wasmassignmentarray_free(g >>> 0, 1)), HA = typeof FinalizationRegistry > "u" ? { register: () => {
1951
1951
  }, unregister: () => {
1952
- } } : new FinalizationRegistry((g) => I.__wbg_wasmcasebuilder_free(g >>> 0, 1)), PA = typeof FinalizationRegistry > "u" ? { register: () => {
1952
+ } } : new FinalizationRegistry((g) => I.__wbg_wasmcasebuilder_free(g >>> 0, 1)), TA = typeof FinalizationRegistry > "u" ? { register: () => {
1953
1953
  }, unregister: () => {
1954
1954
  } } : new FinalizationRegistry((g) => I.__wbg_wasmdeletebuilder_free(g >>> 0, 1)), tA = typeof FinalizationRegistry > "u" ? { register: () => {
1955
1955
  }, unregister: () => {
@@ -1965,15 +1965,15 @@ const TA = typeof FinalizationRegistry > "u" ? { register: () => {
1965
1965
  }, unregister: () => {
1966
1966
  } } : new FinalizationRegistry((g) => I.__wbg_wasmsetopbuilder_free(g >>> 0, 1)), lA = typeof FinalizationRegistry > "u" ? { register: () => {
1967
1967
  }, unregister: () => {
1968
- } } : new FinalizationRegistry((g) => I.__wbg_wasmupdatebuilder_free(g >>> 0, 1)), rA = typeof FinalizationRegistry > "u" ? { register: () => {
1968
+ } } : new FinalizationRegistry((g) => I.__wbg_wasmupdatebuilder_free(g >>> 0, 1)), bA = typeof FinalizationRegistry > "u" ? { register: () => {
1969
1969
  }, unregister: () => {
1970
1970
  } } : new FinalizationRegistry((g) => I.__wbg_wasmwindowdefbuilder_free(g >>> 0, 1));
1971
1971
  function S(g) {
1972
- AA === T.length && T.push(T.length + 1);
1972
+ AA === P.length && P.push(P.length + 1);
1973
1973
  const A = AA;
1974
- return AA = T[A], T[A] = g, A;
1974
+ return AA = P[A], P[A] = g, A;
1975
1975
  }
1976
- function J(g, A) {
1976
+ function Y(g, A) {
1977
1977
  if (!(g instanceof A))
1978
1978
  throw new Error(`expected instance of ${A.name}`);
1979
1979
  }
@@ -2015,14 +2015,14 @@ function qA(g) {
2015
2015
  ${g.stack}` : B;
2016
2016
  }
2017
2017
  function OQ(g) {
2018
- g < 132 || (T[g] = AA, AA = g);
2018
+ g < 132 || (P[g] = AA, AA = g);
2019
2019
  }
2020
2020
  function jQ(g, A) {
2021
2021
  return g = g >>> 0, $().subarray(g / 1, g / 1 + A);
2022
2022
  }
2023
- let b = null;
2023
+ let r = null;
2024
2024
  function o() {
2025
- return (b === null || b.buffer.detached === !0 || b.buffer.detached === void 0 && b.buffer !== I.memory.buffer) && (b = new DataView(I.memory.buffer)), b;
2025
+ return (r === null || r.buffer.detached === !0 || r.buffer.detached === void 0 && r.buffer !== I.memory.buffer) && (r = new DataView(I.memory.buffer)), r;
2026
2026
  }
2027
2027
  function F(g, A) {
2028
2028
  return g = g >>> 0, WQ(g, A);
@@ -2032,7 +2032,7 @@ function $() {
2032
2032
  return (EA === null || EA.byteLength === 0) && (EA = new Uint8Array(I.memory.buffer)), EA;
2033
2033
  }
2034
2034
  function q(g) {
2035
- return T[g];
2035
+ return P[g];
2036
2036
  }
2037
2037
  function KA(g, A) {
2038
2038
  try {
@@ -2041,9 +2041,9 @@ function KA(g, A) {
2041
2041
  I.__wbindgen_export3(S(Q));
2042
2042
  }
2043
2043
  }
2044
- let T = new Array(128).fill(void 0);
2045
- T.push(void 0, null, !0, !1);
2046
- let AA = T.length;
2044
+ let P = new Array(128).fill(void 0);
2045
+ P.push(void 0, null, !0, !1);
2046
+ let AA = P.length;
2047
2047
  function u(g) {
2048
2048
  return g == null;
2049
2049
  }
@@ -2093,20 +2093,20 @@ const gA = new TextEncoder();
2093
2093
  };
2094
2094
  });
2095
2095
  let N = 0, I;
2096
- function TQ(g) {
2096
+ function PQ(g) {
2097
2097
  I = g;
2098
2098
  }
2099
2099
  URL = globalThis.URL;
2100
2100
  const i = await kI({ "./polyglot_sql_wasm_bg.js": {
2101
2101
  __wbindgen_object_drop_ref: VQ,
2102
2102
  __wbindgen_object_clone_ref: xQ,
2103
- __wbg_new_8a6f238a6ece86ea: HQ,
2103
+ __wbg_new_8a6f238a6ece86ea: JQ,
2104
2104
  __wbg_stack_0ed75d68575b0f3c: UQ,
2105
2105
  __wbg_error_7534b8e9a36f1ab4: gQ,
2106
2106
  __wbg_get_with_ref_key_1dc361bd10053bfe: CQ,
2107
2107
  __wbg_set_3f1d0b984ed272ed: FQ,
2108
2108
  __wbg_String_8f0eb39a4a4c2f66: jI,
2109
- __wbg_new_dd2b680c8bf6ae29: YQ,
2109
+ __wbg_new_dd2b680c8bf6ae29: HQ,
2110
2110
  __wbg_length_32ed9a279acd054c: GQ,
2111
2111
  __wbg_prototypesetcall_bdcdcc5842e4d77d: RQ,
2112
2112
  __wbg_done_57b39ecd9addfe81: $I,
@@ -2114,7 +2114,7 @@ const i = await kI({ "./polyglot_sql_wasm_bg.js": {
2114
2114
  __wbg_instanceof_Map_53af74335dec57f4: DQ,
2115
2115
  __wbg_instanceof_Uint8Array_9b9075935c74707c: iQ,
2116
2116
  __wbg_instanceof_ArrayBuffer_c367199e2fa2aa04: EQ,
2117
- __wbg_new_dca287b076112a51: JQ,
2117
+ __wbg_new_dca287b076112a51: YQ,
2118
2118
  __wbg_set_1eb0999cf5d27fc8: cQ,
2119
2119
  __wbg_get_9b94d73e6221f75c: QQ,
2120
2120
  __wbg_new_3eb36ae241fe6f44: aQ,
@@ -2132,7 +2132,7 @@ const i = await kI({ "./polyglot_sql_wasm_bg.js": {
2132
2132
  __wbg_codePointAt_bf59dbf74d8db275: _I,
2133
2133
  __wbg_fromCodePoint_22365db7b7d6ac39: IQ,
2134
2134
  __wbg_length_68dc7c5cf1b6d349: MQ,
2135
- __wbg___wbindgen_in_47fa6863be6f2f25: PI,
2135
+ __wbg___wbindgen_in_47fa6863be6f2f25: TI,
2136
2136
  __wbg___wbindgen_throw_be289d5034ed271b: vI,
2137
2137
  __wbg___wbindgen_is_null_ac34f5003991759a: mI,
2138
2138
  __wbg___wbindgen_jsval_eq_11888390b0186270: lI,
@@ -2141,19 +2141,19 @@ const i = await kI({ "./polyglot_sql_wasm_bg.js": {
2141
2141
  __wbg___wbindgen_is_bigint_31b12575b56f32fc: tI,
2142
2142
  __wbg___wbindgen_is_object_5ae8e5880f2c1fbd: fI,
2143
2143
  __wbg___wbindgen_is_string_cd444516edc5b180: eI,
2144
- __wbg___wbindgen_number_get_8ff4255516ccad3e: bI,
2144
+ __wbg___wbindgen_number_get_8ff4255516ccad3e: rI,
2145
2145
  __wbg___wbindgen_string_get_72fb696202c56729: uI,
2146
2146
  __wbg___wbindgen_boolean_get_bbbb1c18aa2f5e25: WI,
2147
2147
  __wbg___wbindgen_is_function_0095a73b8b156f76: zI,
2148
2148
  __wbg___wbindgen_is_undefined_9e4d92534c42d778: nI,
2149
- __wbg___wbindgen_jsval_loose_eq_9dd77d8cd6671811: rI,
2149
+ __wbg___wbindgen_jsval_loose_eq_9dd77d8cd6671811: bI,
2150
2150
  __wbg___wbindgen_bigint_get_as_i64_8fcf4ce7f1ca72a2: ZI,
2151
- __wbg___wbindgen_debug_string_0bc8482c6e3508ae: TI,
2151
+ __wbg___wbindgen_debug_string_0bc8482c6e3508ae: PI,
2152
2152
  __wbindgen_cast_0000000000000001: LQ,
2153
2153
  __wbindgen_cast_0000000000000002: sQ,
2154
2154
  __wbindgen_cast_0000000000000003: pQ,
2155
2155
  __wbindgen_cast_0000000000000004: dQ
2156
- } }, GI), PQ = i.memory, tQ = i.__wbg_wasmassignmentarray_free, zQ = i.__wbg_wasmcasebuilder_free, mQ = i.__wbg_wasmdeletebuilder_free, fQ = i.__wbg_wasmexpr_free, eQ = i.__wbg_wasmexprarray_free, nQ = i.__wbg_wasminsertbuilder_free, lQ = i.__wbg_wasmmergebuilder_free, rQ = i.__wbg_wasmselectbuilder_free, bQ = i.__wbg_wasmsetopbuilder_free, uQ = i.__wbg_wasmupdatebuilder_free, vQ = i.__wbg_wasmwindowdefbuilder_free, XQ = i.annotate_types, _Q = i.annotate_types_value, $Q = i.ast_add_where, AB = i.ast_get_aggregate_functions, gB = i.ast_get_column_names, IB = i.ast_get_functions, QB = i.ast_get_literals, BB = i.ast_get_subqueries, CB = i.ast_get_table_names, EB = i.ast_get_window_functions, DB = i.ast_node_count, iB = i.ast_qualify_columns, oB = i.ast_remove_where, wB = i.ast_rename_columns, NB = i.ast_rename_tables, GB = i.ast_set_distinct, kB = i.ast_set_limit, MB = i.diff_sql, KB = i.format_sql, aB = i.format_sql_value, HB = i.format_sql_with_options, JB = i.format_sql_with_options_value, YB = i.generate, yB = i.generate_value, qB = i.get_dialects, RB = i.get_dialects_value, cB = i.lineage_sql, FB = i.lineage_sql_with_schema, hB = i.parse, UB = i.parse_value, SB = i.plan, LB = i.source_tables, sB = i.tokenize, pB = i.tokenize_value, dB = i.transpile, xB = i.transpile_value, VB = i.validate, OB = i.validate_with_options, jB = i.validate_with_schema, ZB = i.version, WB = i.wasm_alias, TB = i.wasm_and, PB = i.wasm_boolean, tB = i.wasm_case_of, zB = i.wasm_cast, mB = i.wasm_col, fB = i.wasm_count_distinct, eB = i.wasm_extract, nB = i.wasm_func, lB = i.wasm_lit, rB = i.wasm_not, bB = i.wasm_null, uB = i.wasm_or, vB = i.wasm_sql_expr, XB = i.wasm_star, _B = i.wasm_subquery, $B = i.wasm_table, AC = i.wasmassignmentarray_len, gC = i.wasmassignmentarray_new, IC = i.wasmassignmentarray_push, QC = i.wasmcasebuilder_build_expr, BC = i.wasmcasebuilder_else_, CC = i.wasmcasebuilder_new, EC = i.wasmcasebuilder_to_sql, DC = i.wasmcasebuilder_when, iC = i.wasmdeletebuilder_build, oC = i.wasmdeletebuilder_new, wC = i.wasmdeletebuilder_to_sql, NC = i.wasmdeletebuilder_where_expr, GC = i.wasmexpr_add, kC = i.wasmexpr_alias, MC = i.wasmexpr_and, KC = i.wasmexpr_asc, aC = i.wasmexpr_between, HC = i.wasmexpr_cast, JC = i.wasmexpr_desc, YC = i.wasmexpr_div, yC = i.wasmexpr_eq, qC = i.wasmexpr_gt, RC = i.wasmexpr_gte, cC = i.wasmexpr_ilike, FC = i.wasmexpr_in_list, hC = i.wasmexpr_is_not_null, UC = i.wasmexpr_is_null, SC = i.wasmexpr_like, LC = i.wasmexpr_lt, sC = i.wasmexpr_lte, pC = i.wasmexpr_mul, dC = i.wasmexpr_neq, xC = i.wasmexpr_not, VC = i.wasmexpr_not_in, OC = i.wasmexpr_or, jC = i.wasmexpr_rlike, ZC = i.wasmexpr_sub, WC = i.wasmexpr_to_json, TC = i.wasmexpr_to_sql, PC = i.wasmexpr_xor, tC = i.wasmexprarray_len, zC = i.wasmexprarray_push, mC = i.wasmexprarray_push_col, fC = i.wasmexprarray_push_float, eC = i.wasmexprarray_push_int, nC = i.wasmexprarray_push_star, lC = i.wasmexprarray_push_str, rC = i.wasminsertbuilder_build, bC = i.wasminsertbuilder_columns, uC = i.wasminsertbuilder_new, vC = i.wasminsertbuilder_query, XC = i.wasminsertbuilder_to_sql, _C = i.wasminsertbuilder_values, $C = i.wasmmergebuilder_build, AE = i.wasmmergebuilder_new, gE = i.wasmmergebuilder_to_sql, IE = i.wasmmergebuilder_using, QE = i.wasmmergebuilder_when_matched_delete, BE = i.wasmmergebuilder_when_matched_update, CE = i.wasmmergebuilder_when_not_matched_insert, EE = i.wasmselectbuilder_build, DE = i.wasmselectbuilder_cross_join, iE = i.wasmselectbuilder_ctas, oE = i.wasmselectbuilder_ctas_sql, wE = i.wasmselectbuilder_distinct, NE = i.wasmselectbuilder_except_, GE = i.wasmselectbuilder_for_update, kE = i.wasmselectbuilder_from, ME = i.wasmselectbuilder_from_expr, KE = i.wasmselectbuilder_group_by_cols, aE = i.wasmselectbuilder_having, HE = i.wasmselectbuilder_hint, JE = i.wasmselectbuilder_intersect, YE = i.wasmselectbuilder_join, yE = i.wasmselectbuilder_lateral_view, qE = i.wasmselectbuilder_left_join, RE = i.wasmselectbuilder_limit, cE = i.wasmselectbuilder_new, FE = i.wasmselectbuilder_offset, hE = i.wasmselectbuilder_order_by_exprs, UE = i.wasmselectbuilder_qualify, SE = i.wasmselectbuilder_right_join, LE = i.wasmselectbuilder_select_col, sE = i.wasmselectbuilder_select_expr, pE = i.wasmselectbuilder_select_exprs, dE = i.wasmselectbuilder_select_star, xE = i.wasmselectbuilder_sort_by_exprs, VE = i.wasmselectbuilder_to_sql, OE = i.wasmselectbuilder_union, jE = i.wasmselectbuilder_union_all, ZE = i.wasmselectbuilder_where_expr, WE = i.wasmselectbuilder_where_sql, TE = i.wasmselectbuilder_window, PE = i.wasmsetopbuilder_build, tE = i.wasmsetopbuilder_limit, zE = i.wasmsetopbuilder_offset, mE = i.wasmsetopbuilder_order_by_exprs, fE = i.wasmsetopbuilder_to_sql, eE = i.wasmupdatebuilder_build, nE = i.wasmupdatebuilder_from, lE = i.wasmupdatebuilder_new, rE = i.wasmupdatebuilder_set, bE = i.wasmupdatebuilder_to_sql, uE = i.wasmupdatebuilder_where_expr, vE = i.wasmwindowdefbuilder_new, XE = i.wasmwindowdefbuilder_order_by, _E = i.wasmwindowdefbuilder_partition_by, $E = i.wasmexprarray_new, AD = i.__wbindgen_export, gD = i.__wbindgen_export2, ID = i.__wbindgen_export3, QD = i.__wbindgen_export4, BD = i.__wbindgen_add_to_stack_pointer, CD = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2156
+ } }, GI), TQ = i.memory, tQ = i.__wbg_wasmassignmentarray_free, zQ = i.__wbg_wasmcasebuilder_free, mQ = i.__wbg_wasmdeletebuilder_free, fQ = i.__wbg_wasmexpr_free, eQ = i.__wbg_wasmexprarray_free, nQ = i.__wbg_wasminsertbuilder_free, lQ = i.__wbg_wasmmergebuilder_free, bQ = i.__wbg_wasmselectbuilder_free, rQ = i.__wbg_wasmsetopbuilder_free, uQ = i.__wbg_wasmupdatebuilder_free, vQ = i.__wbg_wasmwindowdefbuilder_free, XQ = i.annotate_types, _Q = i.annotate_types_value, $Q = i.ast_add_where, AB = i.ast_get_aggregate_functions, gB = i.ast_get_column_names, IB = i.ast_get_functions, QB = i.ast_get_literals, BB = i.ast_get_subqueries, CB = i.ast_get_table_names, EB = i.ast_get_window_functions, DB = i.ast_node_count, iB = i.ast_qualify_columns, oB = i.ast_remove_where, wB = i.ast_rename_columns, NB = i.ast_rename_tables, GB = i.ast_set_distinct, kB = i.ast_set_limit, MB = i.diff_sql, KB = i.format_sql, aB = i.format_sql_value, JB = i.format_sql_with_options, YB = i.format_sql_with_options_value, HB = i.generate, yB = i.generate_value, qB = i.get_dialects, RB = i.get_dialects_value, cB = i.lineage_sql, FB = i.lineage_sql_with_schema, hB = i.parse, UB = i.parse_value, SB = i.plan, LB = i.source_tables, sB = i.tokenize, pB = i.tokenize_value, dB = i.transpile, xB = i.transpile_value, VB = i.validate, OB = i.validate_with_options, jB = i.validate_with_schema, ZB = i.version, WB = i.wasm_alias, PB = i.wasm_and, TB = i.wasm_boolean, tB = i.wasm_case_of, zB = i.wasm_cast, mB = i.wasm_col, fB = i.wasm_count_distinct, eB = i.wasm_extract, nB = i.wasm_func, lB = i.wasm_lit, bB = i.wasm_not, rB = i.wasm_null, uB = i.wasm_or, vB = i.wasm_sql_expr, XB = i.wasm_star, _B = i.wasm_subquery, $B = i.wasm_table, AC = i.wasmassignmentarray_len, gC = i.wasmassignmentarray_new, IC = i.wasmassignmentarray_push, QC = i.wasmcasebuilder_build_expr, BC = i.wasmcasebuilder_else_, CC = i.wasmcasebuilder_new, EC = i.wasmcasebuilder_to_sql, DC = i.wasmcasebuilder_when, iC = i.wasmdeletebuilder_build, oC = i.wasmdeletebuilder_new, wC = i.wasmdeletebuilder_to_sql, NC = i.wasmdeletebuilder_where_expr, GC = i.wasmexpr_add, kC = i.wasmexpr_alias, MC = i.wasmexpr_and, KC = i.wasmexpr_asc, aC = i.wasmexpr_between, JC = i.wasmexpr_cast, YC = i.wasmexpr_desc, HC = i.wasmexpr_div, yC = i.wasmexpr_eq, qC = i.wasmexpr_gt, RC = i.wasmexpr_gte, cC = i.wasmexpr_ilike, FC = i.wasmexpr_in_list, hC = i.wasmexpr_is_not_null, UC = i.wasmexpr_is_null, SC = i.wasmexpr_like, LC = i.wasmexpr_lt, sC = i.wasmexpr_lte, pC = i.wasmexpr_mul, dC = i.wasmexpr_neq, xC = i.wasmexpr_not, VC = i.wasmexpr_not_in, OC = i.wasmexpr_or, jC = i.wasmexpr_rlike, ZC = i.wasmexpr_sub, WC = i.wasmexpr_to_json, PC = i.wasmexpr_to_sql, TC = i.wasmexpr_xor, tC = i.wasmexprarray_len, zC = i.wasmexprarray_push, mC = i.wasmexprarray_push_col, fC = i.wasmexprarray_push_float, eC = i.wasmexprarray_push_int, nC = i.wasmexprarray_push_star, lC = i.wasmexprarray_push_str, bC = i.wasminsertbuilder_build, rC = i.wasminsertbuilder_columns, uC = i.wasminsertbuilder_new, vC = i.wasminsertbuilder_query, XC = i.wasminsertbuilder_to_sql, _C = i.wasminsertbuilder_values, $C = i.wasmmergebuilder_build, AE = i.wasmmergebuilder_new, gE = i.wasmmergebuilder_to_sql, IE = i.wasmmergebuilder_using, QE = i.wasmmergebuilder_when_matched_delete, BE = i.wasmmergebuilder_when_matched_update, CE = i.wasmmergebuilder_when_not_matched_insert, EE = i.wasmselectbuilder_build, DE = i.wasmselectbuilder_cross_join, iE = i.wasmselectbuilder_ctas, oE = i.wasmselectbuilder_ctas_sql, wE = i.wasmselectbuilder_distinct, NE = i.wasmselectbuilder_except_, GE = i.wasmselectbuilder_for_update, kE = i.wasmselectbuilder_from, ME = i.wasmselectbuilder_from_expr, KE = i.wasmselectbuilder_group_by_cols, aE = i.wasmselectbuilder_having, JE = i.wasmselectbuilder_hint, YE = i.wasmselectbuilder_intersect, HE = i.wasmselectbuilder_join, yE = i.wasmselectbuilder_lateral_view, qE = i.wasmselectbuilder_left_join, RE = i.wasmselectbuilder_limit, cE = i.wasmselectbuilder_new, FE = i.wasmselectbuilder_offset, hE = i.wasmselectbuilder_order_by_exprs, UE = i.wasmselectbuilder_qualify, SE = i.wasmselectbuilder_right_join, LE = i.wasmselectbuilder_select_col, sE = i.wasmselectbuilder_select_expr, pE = i.wasmselectbuilder_select_exprs, dE = i.wasmselectbuilder_select_star, xE = i.wasmselectbuilder_sort_by_exprs, VE = i.wasmselectbuilder_to_sql, OE = i.wasmselectbuilder_union, jE = i.wasmselectbuilder_union_all, ZE = i.wasmselectbuilder_where_expr, WE = i.wasmselectbuilder_where_sql, PE = i.wasmselectbuilder_window, TE = i.wasmsetopbuilder_build, tE = i.wasmsetopbuilder_limit, zE = i.wasmsetopbuilder_offset, mE = i.wasmsetopbuilder_order_by_exprs, fE = i.wasmsetopbuilder_to_sql, eE = i.wasmupdatebuilder_build, nE = i.wasmupdatebuilder_from, lE = i.wasmupdatebuilder_new, bE = i.wasmupdatebuilder_set, rE = i.wasmupdatebuilder_to_sql, uE = i.wasmupdatebuilder_where_expr, vE = i.wasmwindowdefbuilder_new, XE = i.wasmwindowdefbuilder_order_by, _E = i.wasmwindowdefbuilder_partition_by, $E = i.wasmexprarray_new, AD = i.__wbindgen_export, gD = i.__wbindgen_export2, ID = i.__wbindgen_export3, QD = i.__wbindgen_export4, BD = i.__wbindgen_add_to_stack_pointer, CD = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2157
2157
  __proto__: null,
2158
2158
  __wbg_wasmassignmentarray_free: tQ,
2159
2159
  __wbg_wasmcasebuilder_free: zQ,
@@ -2162,8 +2162,8 @@ const i = await kI({ "./polyglot_sql_wasm_bg.js": {
2162
2162
  __wbg_wasmexprarray_free: eQ,
2163
2163
  __wbg_wasminsertbuilder_free: nQ,
2164
2164
  __wbg_wasmmergebuilder_free: lQ,
2165
- __wbg_wasmselectbuilder_free: rQ,
2166
- __wbg_wasmsetopbuilder_free: bQ,
2165
+ __wbg_wasmselectbuilder_free: bQ,
2166
+ __wbg_wasmsetopbuilder_free: rQ,
2167
2167
  __wbg_wasmupdatebuilder_free: uQ,
2168
2168
  __wbg_wasmwindowdefbuilder_free: vQ,
2169
2169
  __wbindgen_add_to_stack_pointer: BD,
@@ -2191,15 +2191,15 @@ const i = await kI({ "./polyglot_sql_wasm_bg.js": {
2191
2191
  diff_sql: MB,
2192
2192
  format_sql: KB,
2193
2193
  format_sql_value: aB,
2194
- format_sql_with_options: HB,
2195
- format_sql_with_options_value: JB,
2196
- generate: YB,
2194
+ format_sql_with_options: JB,
2195
+ format_sql_with_options_value: YB,
2196
+ generate: HB,
2197
2197
  generate_value: yB,
2198
2198
  get_dialects: qB,
2199
2199
  get_dialects_value: RB,
2200
2200
  lineage_sql: cB,
2201
2201
  lineage_sql_with_schema: FB,
2202
- memory: PQ,
2202
+ memory: TQ,
2203
2203
  parse: hB,
2204
2204
  parse_value: UB,
2205
2205
  plan: SB,
@@ -2213,8 +2213,8 @@ const i = await kI({ "./polyglot_sql_wasm_bg.js": {
2213
2213
  validate_with_schema: jB,
2214
2214
  version: ZB,
2215
2215
  wasm_alias: WB,
2216
- wasm_and: TB,
2217
- wasm_boolean: PB,
2216
+ wasm_and: PB,
2217
+ wasm_boolean: TB,
2218
2218
  wasm_case_of: tB,
2219
2219
  wasm_cast: zB,
2220
2220
  wasm_col: mB,
@@ -2222,8 +2222,8 @@ const i = await kI({ "./polyglot_sql_wasm_bg.js": {
2222
2222
  wasm_extract: eB,
2223
2223
  wasm_func: nB,
2224
2224
  wasm_lit: lB,
2225
- wasm_not: rB,
2226
- wasm_null: bB,
2225
+ wasm_not: bB,
2226
+ wasm_null: rB,
2227
2227
  wasm_or: uB,
2228
2228
  wasm_sql_expr: vB,
2229
2229
  wasm_star: XB,
@@ -2246,9 +2246,9 @@ const i = await kI({ "./polyglot_sql_wasm_bg.js": {
2246
2246
  wasmexpr_and: MC,
2247
2247
  wasmexpr_asc: KC,
2248
2248
  wasmexpr_between: aC,
2249
- wasmexpr_cast: HC,
2250
- wasmexpr_desc: JC,
2251
- wasmexpr_div: YC,
2249
+ wasmexpr_cast: JC,
2250
+ wasmexpr_desc: YC,
2251
+ wasmexpr_div: HC,
2252
2252
  wasmexpr_eq: yC,
2253
2253
  wasmexpr_gt: qC,
2254
2254
  wasmexpr_gte: RC,
@@ -2267,8 +2267,8 @@ const i = await kI({ "./polyglot_sql_wasm_bg.js": {
2267
2267
  wasmexpr_rlike: jC,
2268
2268
  wasmexpr_sub: ZC,
2269
2269
  wasmexpr_to_json: WC,
2270
- wasmexpr_to_sql: TC,
2271
- wasmexpr_xor: PC,
2270
+ wasmexpr_to_sql: PC,
2271
+ wasmexpr_xor: TC,
2272
2272
  wasmexprarray_len: tC,
2273
2273
  wasmexprarray_new: $E,
2274
2274
  wasmexprarray_push: zC,
@@ -2277,8 +2277,8 @@ const i = await kI({ "./polyglot_sql_wasm_bg.js": {
2277
2277
  wasmexprarray_push_int: eC,
2278
2278
  wasmexprarray_push_star: nC,
2279
2279
  wasmexprarray_push_str: lC,
2280
- wasminsertbuilder_build: rC,
2281
- wasminsertbuilder_columns: bC,
2280
+ wasminsertbuilder_build: bC,
2281
+ wasminsertbuilder_columns: rC,
2282
2282
  wasminsertbuilder_new: uC,
2283
2283
  wasminsertbuilder_query: vC,
2284
2284
  wasminsertbuilder_to_sql: XC,
@@ -2301,9 +2301,9 @@ const i = await kI({ "./polyglot_sql_wasm_bg.js": {
2301
2301
  wasmselectbuilder_from_expr: ME,
2302
2302
  wasmselectbuilder_group_by_cols: KE,
2303
2303
  wasmselectbuilder_having: aE,
2304
- wasmselectbuilder_hint: HE,
2305
- wasmselectbuilder_intersect: JE,
2306
- wasmselectbuilder_join: YE,
2304
+ wasmselectbuilder_hint: JE,
2305
+ wasmselectbuilder_intersect: YE,
2306
+ wasmselectbuilder_join: HE,
2307
2307
  wasmselectbuilder_lateral_view: yE,
2308
2308
  wasmselectbuilder_left_join: qE,
2309
2309
  wasmselectbuilder_limit: RE,
@@ -2322,8 +2322,8 @@ const i = await kI({ "./polyglot_sql_wasm_bg.js": {
2322
2322
  wasmselectbuilder_union_all: jE,
2323
2323
  wasmselectbuilder_where_expr: ZE,
2324
2324
  wasmselectbuilder_where_sql: WE,
2325
- wasmselectbuilder_window: TE,
2326
- wasmsetopbuilder_build: PE,
2325
+ wasmselectbuilder_window: PE,
2326
+ wasmsetopbuilder_build: TE,
2327
2327
  wasmsetopbuilder_limit: tE,
2328
2328
  wasmsetopbuilder_offset: zE,
2329
2329
  wasmsetopbuilder_order_by_exprs: mE,
@@ -2331,14 +2331,14 @@ const i = await kI({ "./polyglot_sql_wasm_bg.js": {
2331
2331
  wasmupdatebuilder_build: eE,
2332
2332
  wasmupdatebuilder_from: nE,
2333
2333
  wasmupdatebuilder_new: lE,
2334
- wasmupdatebuilder_set: rE,
2335
- wasmupdatebuilder_to_sql: bE,
2334
+ wasmupdatebuilder_set: bE,
2335
+ wasmupdatebuilder_to_sql: rE,
2336
2336
  wasmupdatebuilder_where_expr: uE,
2337
2337
  wasmwindowdefbuilder_new: vE,
2338
2338
  wasmwindowdefbuilder_order_by: XE,
2339
2339
  wasmwindowdefbuilder_partition_by: _E
2340
2340
  }, Symbol.toStringTag, { value: "Module" }));
2341
- TQ(CD);
2341
+ PQ(CD);
2342
2342
  const pg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2343
2343
  __proto__: null,
2344
2344
  WasmAssignmentArray: QA,
@@ -2349,7 +2349,7 @@ const pg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2349
2349
  WasmInsertBuilder: wA,
2350
2350
  WasmMergeBuilder: NA,
2351
2351
  WasmSelectBuilder: O,
2352
- WasmSetOpBuilder: P,
2352
+ WasmSetOpBuilder: T,
2353
2353
  WasmUpdateBuilder: GA,
2354
2354
  WasmWindowDefBuilder: BA,
2355
2355
  annotate_types: MI,
@@ -2371,9 +2371,9 @@ const pg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2371
2371
  ast_set_limit: og,
2372
2372
  diff_sql: wg,
2373
2373
  format_sql: aI,
2374
- format_sql_value: HI,
2375
- format_sql_with_options: JI,
2376
- format_sql_with_options_value: YI,
2374
+ format_sql_value: JI,
2375
+ format_sql_with_options: YI,
2376
+ format_sql_with_options_value: HI,
2377
2377
  generate: yI,
2378
2378
  generate_value: qI,
2379
2379
  get_dialects: RI,
@@ -2393,9 +2393,9 @@ const pg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2393
2393
  validate_with_schema: Kg,
2394
2394
  version: xI,
2395
2395
  wasm_alias: ag,
2396
- wasm_and: Hg,
2397
- wasm_boolean: Jg,
2398
- wasm_case_of: Yg,
2396
+ wasm_and: Jg,
2397
+ wasm_boolean: Yg,
2398
+ wasm_case_of: Hg,
2399
2399
  wasm_cast: yg,
2400
2400
  wasm_col: cA,
2401
2401
  wasm_count_distinct: qg,
@@ -2436,15 +2436,15 @@ function dg(g) {
2436
2436
  return Q;
2437
2437
  }
2438
2438
  }
2439
- function H(g) {
2439
+ function J(g) {
2440
2440
  return (A) => g in A;
2441
2441
  }
2442
- const xg = H("select"), ED = H("insert"), DD = H("update"), iD = H("delete"), oD = H("union"), wD = H("intersect"), ND = H("except"), GD = H("subquery"), kD = H("identifier"), Vg = H("column"), MD = H("table"), KD = H("star"), Og = H("literal"), aD = H("boolean"), HD = H("null"), JD = H("and"), YD = H("or"), yD = H("not"), qD = H("eq"), RD = H("neq"), cD = H("lt"), FD = H("lte"), hD = H("gt"), UD = H("gte"), SD = H("like"), LD = H("i_like"), sD = H("add"), pD = H("sub"), dD = H("mul"), xD = H("div"), VD = H("mod"), OD = H("concat"), jD = H("in"), ZD = H("between"), WD = H("is_null"), TD = H("exists"), jg = H("function"), PD = H("aggregate_function"), tD = H("window_function"), zD = H("count"), mD = H("sum"), fD = H("avg"), eD = H("min"), nD = H("max"), lD = H("coalesce"), rD = H("null_if"), bD = H("cast"), uD = H("try_cast"), vD = H("safe_cast"), XD = H("case"), _D = H("from"), $D = H("join"), Ai = H("where"), gi = H("group_by"), Ii = H("having"), Qi = H("order_by"), Bi = H("limit"), Ci = H("offset"), Ei = H("with"), Di = H("cte"), ii = H("alias"), oi = H("paren"), wi = H("ordered"), Ni = H("create_table"), Gi = H("drop_table"), ki = H("alter_table"), Mi = H("create_index"), Ki = H("drop_index"), ai = H("create_view"), Hi = H("drop_view");
2443
- function Ji(g) {
2442
+ const xg = J("select"), ED = J("insert"), DD = J("update"), iD = J("delete"), oD = J("union"), wD = J("intersect"), ND = J("except"), GD = J("subquery"), kD = J("identifier"), Vg = J("column"), MD = J("table"), KD = J("star"), Og = J("literal"), aD = J("boolean"), JD = J("null"), YD = J("and"), HD = J("or"), yD = J("not"), qD = J("eq"), RD = J("neq"), cD = J("lt"), FD = J("lte"), hD = J("gt"), UD = J("gte"), SD = J("like"), LD = J("i_like"), sD = J("add"), pD = J("sub"), dD = J("mul"), xD = J("div"), VD = J("mod"), OD = J("concat"), jD = J("in"), ZD = J("between"), WD = J("is_null"), PD = J("exists"), jg = J("function"), TD = J("aggregate_function"), tD = J("window_function"), zD = J("count"), mD = J("sum"), fD = J("avg"), eD = J("min"), nD = J("max"), lD = J("coalesce"), bD = J("null_if"), rD = J("cast"), uD = J("try_cast"), vD = J("safe_cast"), XD = J("case"), _D = J("from"), $D = J("join"), Ai = J("where"), gi = J("group_by"), Ii = J("having"), Qi = J("order_by"), Bi = J("limit"), Ci = J("offset"), Ei = J("with"), Di = J("cte"), ii = J("alias"), oi = J("paren"), wi = J("ordered"), Ni = J("create_table"), Gi = J("drop_table"), ki = J("alter_table"), Mi = J("create_index"), Ki = J("drop_index"), ai = J("create_view"), Ji = J("drop_view");
2443
+ function Yi(g) {
2444
2444
  const A = p(g);
2445
2445
  return A === "select" || A === "insert" || A === "update" || A === "delete";
2446
2446
  }
2447
- function Yi(g) {
2447
+ function Hi(g) {
2448
2448
  const A = p(g);
2449
2449
  return A === "union" || A === "intersect" || A === "except";
2450
2450
  }
@@ -2467,7 +2467,7 @@ function ci(g) {
2467
2467
  function z(g) {
2468
2468
  return JSON.stringify(g);
2469
2469
  }
2470
- function r(g) {
2470
+ function b(g) {
2471
2471
  const A = JSON.parse(g);
2472
2472
  return A.success ? JSON.parse(A.ast) : null;
2473
2473
  }
@@ -2493,34 +2493,34 @@ function Zg(g, A, Q) {
2493
2493
  function iA(g, A, Q, B, C) {
2494
2494
  let E = g;
2495
2495
  if (A.enter) {
2496
- const Y = A.enter(E, Q, B, C);
2497
- if (Y === null)
2496
+ const H = A.enter(E, Q, B, C);
2497
+ if (H === null)
2498
2498
  return E;
2499
- Y !== void 0 && (E = Y);
2499
+ H !== void 0 && (E = H);
2500
2500
  }
2501
2501
  const D = p(E), w = A[D];
2502
2502
  if (w) {
2503
- const Y = w(E, Q, B, C);
2504
- if (Y === null)
2503
+ const H = w(E, Q, B, C);
2504
+ if (H === null)
2505
2505
  return E;
2506
- Y !== void 0 && (E = Y);
2506
+ H !== void 0 && (E = H);
2507
2507
  }
2508
2508
  const k = p(E), M = x(E);
2509
2509
  let a;
2510
2510
  if (M == null)
2511
2511
  a = W(k, M);
2512
2512
  else {
2513
- const Y = { ...M };
2514
- for (const [U, s] of Object.entries(Y)) {
2513
+ const H = { ...M };
2514
+ for (const [U, s] of Object.entries(H)) {
2515
2515
  const V = Zg(s, A, E);
2516
- V !== s && (Y[U] = V);
2516
+ V !== s && (H[U] = V);
2517
2517
  }
2518
- a = W(k, Y);
2518
+ a = W(k, H);
2519
2519
  }
2520
2520
  if (A.leave) {
2521
- const Y = A.leave(a, Q, B, C);
2522
- if (Y != null)
2523
- return Y;
2521
+ const H = A.leave(a, Q, B, C);
2522
+ if (H != null)
2523
+ return H;
2524
2524
  }
2525
2525
  return a;
2526
2526
  }
@@ -2542,28 +2542,28 @@ function Fi(g, A, Q) {
2542
2542
  typeof Q == "function" ? (B) => Q(B) : Q
2543
2543
  );
2544
2544
  }
2545
- function Tg(g, A) {
2546
- return r(
2545
+ function Pg(g, A) {
2546
+ return b(
2547
2547
  Eg(z(g), JSON.stringify(A))
2548
2548
  ) ?? g;
2549
2549
  }
2550
2550
  function hi(g, A) {
2551
- return r(
2551
+ return b(
2552
2552
  Dg(z(g), JSON.stringify(A))
2553
2553
  ) ?? g;
2554
2554
  }
2555
2555
  function Ui(g, A) {
2556
- return r(
2556
+ return b(
2557
2557
  Bg(z(g), A)
2558
2558
  ) ?? g;
2559
2559
  }
2560
2560
  function Si(g, A, Q = "and") {
2561
- return r(
2561
+ return b(
2562
2562
  uA(z(g), z(A), Q === "or")
2563
2563
  ) ?? g;
2564
2564
  }
2565
2565
  function Li(g) {
2566
- return r(Cg(z(g))) ?? g;
2566
+ return b(Cg(z(g))) ?? g;
2567
2567
  }
2568
2568
  function si(g, ...A) {
2569
2569
  if (p(g) !== "select")
@@ -2585,7 +2585,7 @@ function pi(g, A) {
2585
2585
  }
2586
2586
  function di(g, A) {
2587
2587
  if (typeof A == "number")
2588
- return r(og(z(g), A)) ?? g;
2588
+ return b(og(z(g), A)) ?? g;
2589
2589
  if (p(g) !== "select")
2590
2590
  return g;
2591
2591
  const Q = x(g);
@@ -2614,12 +2614,12 @@ function Vi(g) {
2614
2614
  });
2615
2615
  }
2616
2616
  function Oi(g, A = !0) {
2617
- return r(ig(z(g), A)) ?? g;
2617
+ return b(ig(z(g), A)) ?? g;
2618
2618
  }
2619
2619
  function ji(g) {
2620
2620
  return aA(g, {});
2621
2621
  }
2622
- function Pg(g, A, Q) {
2622
+ function Tg(g, A, Q) {
2623
2623
  if (g == null) return g;
2624
2624
  if (Array.isArray(g))
2625
2625
  return g.length > 0 && t(g[0]) ? g.filter((B) => !A(B, Q)).map((B) => RA(B, A)) : g;
@@ -2629,7 +2629,7 @@ function Pg(g, A, Q) {
2629
2629
  const C = { ...g };
2630
2630
  let E = !1;
2631
2631
  for (const [D, w] of Object.entries(C)) {
2632
- const k = Pg(w, A, Q);
2632
+ const k = Tg(w, A, Q);
2633
2633
  k !== w && (C[D] = k, E = !0);
2634
2634
  }
2635
2635
  return E ? C : g;
@@ -2639,7 +2639,7 @@ function Pg(g, A, Q) {
2639
2639
  function RA(g, A) {
2640
2640
  const Q = p(g), C = { ...x(g) };
2641
2641
  for (const [E, D] of Object.entries(C)) {
2642
- const w = Pg(D, A, g);
2642
+ const w = Tg(D, A, g);
2643
2643
  w !== D && (C[E] = w);
2644
2644
  }
2645
2645
  return W(Q, C);
@@ -2685,7 +2685,7 @@ function Z(g, A, Q = null, B = null, C = null) {
2685
2685
  }) : Z(k.value, A, g, k.key, null);
2686
2686
  A.leave && A.leave(g, Q, B, C);
2687
2687
  }
2688
- function HA(g, A) {
2688
+ function JA(g, A) {
2689
2689
  const Q = [];
2690
2690
  return Z(g, {
2691
2691
  enter: (B, C) => {
@@ -2694,7 +2694,7 @@ function HA(g, A) {
2694
2694
  }), Q;
2695
2695
  }
2696
2696
  function CA(g, A) {
2697
- return HA(g, (Q) => p(Q) === A);
2697
+ return JA(g, (Q) => p(Q) === A);
2698
2698
  }
2699
2699
  function mg(g, A) {
2700
2700
  let Q, B = !1;
@@ -2715,13 +2715,13 @@ function Wi(g, A) {
2715
2715
  }
2716
2716
  }), Q;
2717
2717
  }
2718
- function Ti(g, A) {
2719
- return HA(g, A).length;
2718
+ function Pi(g, A) {
2719
+ return JA(g, A).length;
2720
2720
  }
2721
2721
  function fg(g) {
2722
2722
  return CA(g, "column");
2723
2723
  }
2724
- function Pi(g) {
2724
+ function Ti(g) {
2725
2725
  return CA(g, "table");
2726
2726
  }
2727
2727
  function ti(g) {
@@ -2764,7 +2764,7 @@ function ni(g) {
2764
2764
  function li(g) {
2765
2765
  return ng(g).length > 0;
2766
2766
  }
2767
- function ri(g) {
2767
+ function bi(g) {
2768
2768
  let A = 0, Q = 0;
2769
2769
  return Z(g, {
2770
2770
  enter: () => {
@@ -2775,7 +2775,7 @@ function ri(g) {
2775
2775
  }
2776
2776
  }), A;
2777
2777
  }
2778
- function bi(g) {
2778
+ function ri(g) {
2779
2779
  const A = JSON.parse(Qg(f(g)));
2780
2780
  return A.success ? A.result : 0;
2781
2781
  }
@@ -2825,9 +2825,9 @@ const _i = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2825
2825
  addSelectColumns: si,
2826
2826
  addWhere: Si,
2827
2827
  clone: ji,
2828
- countNodes: Ti,
2828
+ countNodes: Pi,
2829
2829
  every: Wi,
2830
- findAll: HA,
2830
+ findAll: JA,
2831
2831
  findAncestor: vi,
2832
2832
  findByType: CA,
2833
2833
  findFirst: mg,
@@ -2835,7 +2835,7 @@ const _i = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2835
2835
  getChildren: zg,
2836
2836
  getColumnNames: fi,
2837
2837
  getColumns: fg,
2838
- getDepth: ri,
2838
+ getDepth: bi,
2839
2839
  getExprData: x,
2840
2840
  getExprType: p,
2841
2841
  getFunctions: zi,
@@ -2846,22 +2846,22 @@ const _i = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2846
2846
  getParent: ui,
2847
2847
  getSubqueries: ng,
2848
2848
  getTableNames: ei,
2849
- getTables: Pi,
2849
+ getTables: Ti,
2850
2850
  getWindowFunctions: eg,
2851
2851
  hasAggregates: lg,
2852
2852
  hasSubqueries: li,
2853
2853
  hasWindowFunctions: ni,
2854
2854
  isAdd: sD,
2855
- isAggregateFunction: PD,
2855
+ isAggregateFunction: TD,
2856
2856
  isAlias: ii,
2857
2857
  isAlterTable: ki,
2858
- isAnd: JD,
2858
+ isAnd: YD,
2859
2859
  isArithmetic: qi,
2860
2860
  isAvg: fD,
2861
2861
  isBetween: ZD,
2862
2862
  isBoolean: aD,
2863
2863
  isCase: XD,
2864
- isCast: bD,
2864
+ isCast: rD,
2865
2865
  isCoalesce: lD,
2866
2866
  isColumn: Vg,
2867
2867
  isComparison: yi,
@@ -2876,10 +2876,10 @@ const _i = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2876
2876
  isDiv: xD,
2877
2877
  isDropIndex: Ki,
2878
2878
  isDropTable: Gi,
2879
- isDropView: Hi,
2879
+ isDropView: Ji,
2880
2880
  isEq: qD,
2881
2881
  isExcept: ND,
2882
- isExists: TD,
2882
+ isExists: PD,
2883
2883
  isExpressionValue: t,
2884
2884
  isFrom: _D,
2885
2885
  isFunction: jg,
@@ -2906,17 +2906,17 @@ const _i = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2906
2906
  isMul: dD,
2907
2907
  isNeq: RD,
2908
2908
  isNot: yD,
2909
- isNullIf: rD,
2910
- isNullLiteral: HD,
2909
+ isNullIf: bD,
2910
+ isNullLiteral: JD,
2911
2911
  isOffset: Ci,
2912
- isOr: YD,
2912
+ isOr: HD,
2913
2913
  isOrderBy: Qi,
2914
2914
  isOrdered: wi,
2915
2915
  isParen: oi,
2916
- isQuery: Ji,
2916
+ isQuery: Yi,
2917
2917
  isSafeCast: vD,
2918
2918
  isSelect: xg,
2919
- isSetOperation: Yi,
2919
+ isSetOperation: Hi,
2920
2920
  isStar: KD,
2921
2921
  isSub: pD,
2922
2922
  isSubquery: GD,
@@ -2929,13 +2929,13 @@ const _i = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2929
2929
  isWindowFunction: tD,
2930
2930
  isWith: Ei,
2931
2931
  makeExpr: W,
2932
- nodeCount: bi,
2932
+ nodeCount: ri,
2933
2933
  qualifyColumns: Ui,
2934
2934
  remove: RA,
2935
2935
  removeLimitOffset: Vi,
2936
2936
  removeSelectColumns: pi,
2937
2937
  removeWhere: Li,
2938
- renameColumns: Tg,
2938
+ renameColumns: Pg,
2939
2939
  renameTables: hi,
2940
2940
  replaceByType: Fi,
2941
2941
  replaceNodes: Wg,
@@ -3088,23 +3088,23 @@ function Ao(g) {
3088
3088
  function go(g) {
3089
3089
  return new y(kA(g));
3090
3090
  }
3091
- function rg() {
3091
+ function bg() {
3092
3092
  return new y(Sg());
3093
3093
  }
3094
3094
  function Io() {
3095
3095
  return new y(MA());
3096
3096
  }
3097
3097
  function hA(g) {
3098
- return new y(Jg(g));
3098
+ return new y(Yg(g));
3099
3099
  }
3100
3100
  function Qo(g) {
3101
3101
  return new y(sg(g));
3102
3102
  }
3103
- function bg(g) {
3103
+ function rg(g) {
3104
3104
  return new y(Ug(g));
3105
3105
  }
3106
3106
  function Bo(g) {
3107
- return bg(g);
3107
+ return rg(g);
3108
3108
  }
3109
3109
  function h(g, ...A) {
3110
3110
  return new y(cg(g, j(A)));
@@ -3127,7 +3127,7 @@ function oo(...g) {
3127
3127
  return g[0] instanceof y ? g[0] : new y(R(g[0]));
3128
3128
  let A = R(g[0]);
3129
3129
  for (let Q = 1; Q < g.length; Q++)
3130
- A = Hg(A, R(g[Q]));
3130
+ A = Jg(A, R(g[Q]));
3131
3131
  return new y(A);
3132
3132
  }
3133
3133
  function wo(...g) {
@@ -3140,7 +3140,7 @@ function wo(...g) {
3140
3140
  return new y(A);
3141
3141
  }
3142
3142
  function No(g) {
3143
- return g !== void 0 ? h("COUNT", g) : h("COUNT", rg());
3143
+ return g !== void 0 ? h("COUNT", g) : h("COUNT", bg());
3144
3144
  }
3145
3145
  function Go(g) {
3146
3146
  return new y(qg(R(g)));
@@ -3157,13 +3157,13 @@ function Ko(g) {
3157
3157
  function ao(g) {
3158
3158
  return h("MAX", g);
3159
3159
  }
3160
- function Ho(g) {
3160
+ function Jo(g) {
3161
3161
  return h("UPPER", g);
3162
3162
  }
3163
- function Jo(g) {
3163
+ function Yo(g) {
3164
3164
  return h("LOWER", g);
3165
3165
  }
3166
- function Yo(g) {
3166
+ function Ho(g) {
3167
3167
  return h("LENGTH", g);
3168
3168
  }
3169
3169
  function yo(g) {
@@ -3217,10 +3217,10 @@ function Zo(g, A) {
3217
3217
  function Wo(g) {
3218
3218
  return h("SQRT", g);
3219
3219
  }
3220
- function To(g) {
3220
+ function Po(g) {
3221
3221
  return h("LN", g);
3222
3222
  }
3223
- function Po(g) {
3223
+ function To(g) {
3224
3224
  return h("EXP", g);
3225
3225
  }
3226
3226
  function to(g) {
@@ -3244,10 +3244,10 @@ function no() {
3244
3244
  function lo(g, A) {
3245
3245
  return new y(Rg(g, R(A)));
3246
3246
  }
3247
- function ro() {
3247
+ function bo() {
3248
3248
  return h("ROW_NUMBER");
3249
3249
  }
3250
- function bo() {
3250
+ function ro() {
3251
3251
  return h("RANK");
3252
3252
  }
3253
3253
  function uo() {
@@ -3553,7 +3553,7 @@ function gw() {
3553
3553
  return new UA(new l());
3554
3554
  }
3555
3555
  function Iw(g) {
3556
- return new UA(Yg(R(g)));
3556
+ return new UA(Hg(R(g)));
3557
3557
  }
3558
3558
  class _ {
3559
3559
  /** @internal */
@@ -3625,8 +3625,8 @@ function iw(g, A) {
3625
3625
  return M === "column" || M === "identifier" ? IA(k).length === 0 : !1;
3626
3626
  }) && E.length > 0) {
3627
3627
  const k = D.find((a) => {
3628
- const Y = p(a);
3629
- return Y === "column" || Y === "identifier" ? IA(a).length === 0 : !1;
3628
+ const H = p(a);
3629
+ return H === "column" || H === "identifier" ? IA(a).length === 0 : !1;
3630
3630
  }), M = k ? x(k)?.span : void 0;
3631
3631
  Q.push({
3632
3632
  message: "Mixing aggregate functions with non-aggregated columns without GROUP BY may cause errors in strict SQL mode",
@@ -3692,7 +3692,7 @@ const Nw = {
3692
3692
  Error: "error",
3693
3693
  Warning: "warning"
3694
3694
  }, X = pg;
3695
- function bA(g) {
3695
+ function rA(g) {
3696
3696
  return typeof g == "string" ? JSON.parse(g) : g;
3697
3697
  }
3698
3698
  function Gw(g, A = "generic", Q = {}) {
@@ -3703,9 +3703,9 @@ function Gw(g, A = "generic", Q = {}) {
3703
3703
  ) : X.validate(g, A), C = JSON.parse(B);
3704
3704
  if (!C.valid || !Q.semantic)
3705
3705
  return C;
3706
- const E = typeof X.parse_value == "function" ? bA(
3706
+ const E = typeof X.parse_value == "function" ? rA(
3707
3707
  X.parse_value(g, A)
3708
- ) : bA(
3708
+ ) : rA(
3709
3709
  X.parse(g, A)
3710
3710
  );
3711
3711
  if (!E.success || !E.ast)
@@ -3754,14 +3754,14 @@ function iI(g, A = "generic") {
3754
3754
  }
3755
3755
  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
3756
  const L = pg;
3757
- function JA(g) {
3757
+ function YA(g) {
3758
3758
  return g instanceof Error && g.message ? g.message : typeof g == "string" ? g : String(g);
3759
3759
  }
3760
3760
  function LA(g, A) {
3761
3761
  return {
3762
3762
  success: !1,
3763
3763
  sql: void 0,
3764
- error: `WASM ${g} failed: ${JA(A)}`,
3764
+ error: `WASM ${g} failed: ${YA(A)}`,
3765
3765
  errorLine: void 0,
3766
3766
  errorColumn: void 0
3767
3767
  };
@@ -3770,7 +3770,7 @@ function kw(g, A) {
3770
3770
  return {
3771
3771
  success: !1,
3772
3772
  ast: void 0,
3773
- error: `WASM ${g} failed: ${JA(A)}`,
3773
+ error: `WASM ${g} failed: ${YA(A)}`,
3774
3774
  errorLine: void 0,
3775
3775
  errorColumn: void 0
3776
3776
  };
@@ -3812,7 +3812,7 @@ function dA(g, A = "generic") {
3812
3812
  return {
3813
3813
  success: !1,
3814
3814
  tokens: void 0,
3815
- error: `WASM tokenize failed: ${JA(Q)}`
3815
+ error: `WASM tokenize failed: ${YA(Q)}`
3816
3816
  };
3817
3817
  }
3818
3818
  }
@@ -3864,7 +3864,7 @@ function WA(g, A = "generic", Q) {
3864
3864
  } catch (B) {
3865
3865
  return {
3866
3866
  success: !1,
3867
- error: `WASM annotate_types failed: ${JA(B)}`
3867
+ error: `WASM annotate_types failed: ${YA(B)}`
3868
3868
  };
3869
3869
  }
3870
3870
  }
@@ -4000,9 +4000,9 @@ const Mw = {
4000
4000
  denseRank: uo,
4001
4001
  diff: CI,
4002
4002
  except: Ew,
4003
- exp: Po,
4003
+ exp: To,
4004
4004
  extract: lo,
4005
- findAll: HA,
4005
+ findAll: JA,
4006
4006
  floor: Oo,
4007
4007
  format: VA,
4008
4008
  formatWithOptions: OA,
@@ -4027,12 +4027,12 @@ const Mw = {
4027
4027
  isLiteral: Og,
4028
4028
  isSelect: xg,
4029
4029
  least: mo,
4030
- length: Yo,
4030
+ length: Ho,
4031
4031
  lineage: II,
4032
4032
  lineageWithSchema: QI,
4033
4033
  lit: go,
4034
- ln: To,
4035
- lower: Jo,
4034
+ ln: Po,
4035
+ lower: Yo,
4036
4036
  ltrim: qo,
4037
4037
  max: ao,
4038
4038
  mergeInto: Aw,
@@ -4043,19 +4043,19 @@ const Mw = {
4043
4043
  parse: pA,
4044
4044
  plan: iI,
4045
4045
  power: Zo,
4046
- rank: bo,
4047
- renameColumns: Tg,
4046
+ rank: ro,
4047
+ renameColumns: Pg,
4048
4048
  replace: Uo,
4049
4049
  reverse: co,
4050
4050
  round: Vo,
4051
- rowNumber: ro,
4051
+ rowNumber: bo,
4052
4052
  rtrim: Ro,
4053
4053
  select: vo,
4054
4054
  sign: to,
4055
- sqlExpr: bg,
4055
+ sqlExpr: rg,
4056
4056
  sqlNull: Io,
4057
4057
  sqrt: Wo,
4058
- star: rg,
4058
+ star: bg,
4059
4059
  subquery: io,
4060
4060
  substring: ho,
4061
4061
  sum: ko,
@@ -4067,7 +4067,7 @@ const Mw = {
4067
4067
  union: Qw,
4068
4068
  unionAll: Bw,
4069
4069
  update: _o,
4070
- upper: Ho,
4070
+ upper: Jo,
4071
4071
  validate: Gw,
4072
4072
  validateWithSchema: ww,
4073
4073
  walk: Z
@@ -4109,9 +4109,9 @@ export {
4109
4109
  AI as deleteFrom,
4110
4110
  uo as denseRank,
4111
4111
  Ew as except,
4112
- Po as exp,
4112
+ To as exp,
4113
4113
  lo as extract,
4114
- HA as findAll,
4114
+ JA as findAll,
4115
4115
  Oo as floor,
4116
4116
  VA as format,
4117
4117
  OA as formatWithOptions,
@@ -4134,10 +4134,10 @@ export {
4134
4134
  Og as isLiteral,
4135
4135
  xg as isSelect,
4136
4136
  mo as least,
4137
- Yo as length,
4137
+ Ho as length,
4138
4138
  go as lit,
4139
- To as ln,
4140
- Jo as lower,
4139
+ Po as ln,
4140
+ Yo as lower,
4141
4141
  qo as ltrim,
4142
4142
  ao as max,
4143
4143
  Aw as mergeInto,
@@ -4147,19 +4147,19 @@ export {
4147
4147
  wo as or,
4148
4148
  pA as parse,
4149
4149
  Zo as power,
4150
- bo as rank,
4151
- Tg as renameColumns,
4150
+ ro as rank,
4151
+ Pg as renameColumns,
4152
4152
  Uo as replace,
4153
4153
  co as reverse,
4154
4154
  Vo as round,
4155
- ro as rowNumber,
4155
+ bo as rowNumber,
4156
4156
  Ro as rtrim,
4157
4157
  vo as select,
4158
4158
  to as sign,
4159
- bg as sqlExpr,
4159
+ rg as sqlExpr,
4160
4160
  Io as sqlNull,
4161
4161
  Wo as sqrt,
4162
- rg as star,
4162
+ bg as star,
4163
4163
  ho as substring,
4164
4164
  ko as sum,
4165
4165
  Qo as table,
@@ -4169,7 +4169,7 @@ export {
4169
4169
  Qw as union,
4170
4170
  Bw as unionAll,
4171
4171
  _o as update,
4172
- Ho as upper,
4172
+ Jo as upper,
4173
4173
  Gw as validate,
4174
4174
  ww as validateWithSchema,
4175
4175
  Z as walk