@polyglot-sql/sdk 0.1.7 → 0.1.8

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 QI = new URL("../polyglot_sql_wasm_bg.wasm",import.meta.url).href, EI = as
28
28
  class AA {
29
29
  __destroy_into_raw() {
30
30
  const A = this.__wbg_ptr;
31
- return this.__wbg_ptr = 0, jA.unregister(this), A;
31
+ return this.__wbg_ptr = 0, OA.unregister(this), A;
32
32
  }
33
33
  free() {
34
34
  const A = this.__destroy_into_raw();
@@ -46,7 +46,7 @@ class AA {
46
46
  */
47
47
  constructor() {
48
48
  const A = I.wasmassignmentarray_new();
49
- return this.__wbg_ptr = A >>> 0, jA.register(this, this.__wbg_ptr, this), this;
49
+ return this.__wbg_ptr = A >>> 0, OA.register(this, this.__wbg_ptr, this), this;
50
50
  }
51
51
  /**
52
52
  * Add a column = value assignment.
@@ -171,8 +171,8 @@ class DA {
171
171
  to_sql(A) {
172
172
  let B, C;
173
173
  try {
174
- const h = I.__wbindgen_add_to_stack_pointer(-16), J = k(A, I.__wbindgen_export, I.__wbindgen_export2), c = G;
175
- I.wasmdeletebuilder_to_sql(h, this.__wbg_ptr, J, c);
174
+ const h = I.__wbindgen_add_to_stack_pointer(-16), y = k(A, I.__wbindgen_export, I.__wbindgen_export2), q = G;
175
+ I.wasmdeletebuilder_to_sql(h, this.__wbg_ptr, y, q);
176
176
  var Q = o().getInt32(h + 0, !0), E = o().getInt32(h + 4, !0), i = o().getInt32(h + 8, !0), w = o().getInt32(h + 12, !0), N = Q, Y = E;
177
177
  if (w)
178
178
  throw N = 0, Y = 0, a(i);
@@ -491,7 +491,7 @@ Symbol.dispose && (M.prototype[Symbol.dispose] = M.prototype.free);
491
491
  class p {
492
492
  __destroy_into_raw() {
493
493
  const A = this.__wbg_ptr;
494
- return this.__wbg_ptr = 0, ZA.unregister(this), A;
494
+ return this.__wbg_ptr = 0, WA.unregister(this), A;
495
495
  }
496
496
  free() {
497
497
  const A = this.__destroy_into_raw();
@@ -509,7 +509,7 @@ class p {
509
509
  */
510
510
  constructor() {
511
511
  const A = I.wasmassignmentarray_new();
512
- return this.__wbg_ptr = A >>> 0, ZA.register(this, this.__wbg_ptr, this), this;
512
+ return this.__wbg_ptr = A >>> 0, WA.register(this, this.__wbg_ptr, this), this;
513
513
  }
514
514
  /**
515
515
  * Push an expression.
@@ -559,7 +559,7 @@ Symbol.dispose && (p.prototype[Symbol.dispose] = p.prototype.free);
559
559
  class iA {
560
560
  __destroy_into_raw() {
561
561
  const A = this.__wbg_ptr;
562
- return this.__wbg_ptr = 0, WA.unregister(this), A;
562
+ return this.__wbg_ptr = 0, ZA.unregister(this), A;
563
563
  }
564
564
  free() {
565
565
  const A = this.__destroy_into_raw();
@@ -595,7 +595,7 @@ class iA {
595
595
  */
596
596
  constructor(A) {
597
597
  const B = k(A, I.__wbindgen_export, I.__wbindgen_export2), C = G, Q = I.wasminsertbuilder_new(B, C);
598
- return this.__wbg_ptr = Q >>> 0, WA.register(this, this.__wbg_ptr, this), this;
598
+ return this.__wbg_ptr = Q >>> 0, ZA.register(this, this.__wbg_ptr, this), this;
599
599
  }
600
600
  /**
601
601
  * Set the source query for INSERT ... SELECT.
@@ -604,7 +604,7 @@ class iA {
604
604
  query(A) {
605
605
  try {
606
606
  const Q = I.__wbindgen_add_to_stack_pointer(-16);
607
- K(A, T), I.wasminsertbuilder_query(Q, this.__wbg_ptr, A.__wbg_ptr);
607
+ K(A, j), I.wasminsertbuilder_query(Q, this.__wbg_ptr, A.__wbg_ptr);
608
608
  var B = o().getInt32(Q + 0, !0), C = o().getInt32(Q + 4, !0);
609
609
  if (C)
610
610
  throw a(B);
@@ -620,8 +620,8 @@ class iA {
620
620
  to_sql(A) {
621
621
  let B, C;
622
622
  try {
623
- const h = I.__wbindgen_add_to_stack_pointer(-16), J = k(A, I.__wbindgen_export, I.__wbindgen_export2), c = G;
624
- I.wasminsertbuilder_to_sql(h, this.__wbg_ptr, J, c);
623
+ const h = I.__wbindgen_add_to_stack_pointer(-16), y = k(A, I.__wbindgen_export, I.__wbindgen_export2), q = G;
624
+ I.wasminsertbuilder_to_sql(h, this.__wbg_ptr, y, q);
625
625
  var Q = o().getInt32(h + 0, !0), E = o().getInt32(h + 4, !0), i = o().getInt32(h + 8, !0), w = o().getInt32(h + 12, !0), N = Q, Y = E;
626
626
  if (w)
627
627
  throw N = 0, Y = 0, a(i);
@@ -680,8 +680,8 @@ class oA {
680
680
  to_sql(A) {
681
681
  let B, C;
682
682
  try {
683
- const h = I.__wbindgen_add_to_stack_pointer(-16), J = k(A, I.__wbindgen_export, I.__wbindgen_export2), c = G;
684
- I.wasmmergebuilder_to_sql(h, this.__wbg_ptr, J, c);
683
+ const h = I.__wbindgen_add_to_stack_pointer(-16), y = k(A, I.__wbindgen_export, I.__wbindgen_export2), q = G;
684
+ I.wasmmergebuilder_to_sql(h, this.__wbg_ptr, y, q);
685
685
  var Q = o().getInt32(h + 0, !0), E = o().getInt32(h + 4, !0), i = o().getInt32(h + 8, !0), w = o().getInt32(h + 12, !0), N = Q, Y = E;
686
686
  if (w)
687
687
  throw N = 0, Y = 0, a(i);
@@ -723,10 +723,10 @@ class oA {
723
723
  }
724
724
  }
725
725
  Symbol.dispose && (oA.prototype[Symbol.dispose] = oA.prototype.free);
726
- class T {
726
+ class j {
727
727
  __destroy_into_raw() {
728
728
  const A = this.__wbg_ptr;
729
- return this.__wbg_ptr = 0, zA.unregister(this), A;
729
+ return this.__wbg_ptr = 0, VA.unregister(this), A;
730
730
  }
731
731
  free() {
732
732
  const A = this.__destroy_into_raw();
@@ -782,9 +782,9 @@ class T {
782
782
  ctas_sql(A, B) {
783
783
  let C, Q;
784
784
  try {
785
- const J = I.__wbindgen_add_to_stack_pointer(-16), c = k(A, I.__wbindgen_export, I.__wbindgen_export2), s = G, x = k(B, I.__wbindgen_export, I.__wbindgen_export2), u = G;
786
- I.wasmselectbuilder_ctas_sql(J, this.__wbg_ptr, c, s, x, u);
787
- var E = o().getInt32(J + 0, !0), i = o().getInt32(J + 4, !0), w = o().getInt32(J + 8, !0), N = o().getInt32(J + 12, !0), Y = E, h = i;
785
+ const y = I.__wbindgen_add_to_stack_pointer(-16), q = k(A, I.__wbindgen_export, I.__wbindgen_export2), s = G, x = k(B, I.__wbindgen_export, I.__wbindgen_export2), u = G;
786
+ I.wasmselectbuilder_ctas_sql(y, this.__wbg_ptr, q, s, x, u);
787
+ var E = o().getInt32(y + 0, !0), i = o().getInt32(y + 4, !0), w = o().getInt32(y + 8, !0), N = o().getInt32(y + 12, !0), Y = E, h = i;
788
788
  if (N)
789
789
  throw Y = 0, h = 0, a(w);
790
790
  return C = Y, Q = h, S(Y, h);
@@ -806,7 +806,7 @@ class T {
806
806
  except_(A) {
807
807
  try {
808
808
  const E = I.__wbindgen_add_to_stack_pointer(-16);
809
- K(A, T), I.wasmselectbuilder_except_(E, this.__wbg_ptr, A.__wbg_ptr);
809
+ K(A, j), I.wasmselectbuilder_except_(E, this.__wbg_ptr, A.__wbg_ptr);
810
810
  var B = o().getInt32(E + 0, !0), C = o().getInt32(E + 4, !0), Q = o().getInt32(E + 8, !0);
811
811
  if (Q)
812
812
  throw a(C);
@@ -866,7 +866,7 @@ class T {
866
866
  intersect(A) {
867
867
  try {
868
868
  const E = I.__wbindgen_add_to_stack_pointer(-16);
869
- K(A, T), I.wasmselectbuilder_intersect(E, this.__wbg_ptr, A.__wbg_ptr);
869
+ K(A, j), I.wasmselectbuilder_intersect(E, this.__wbg_ptr, A.__wbg_ptr);
870
870
  var B = o().getInt32(E + 0, !0), C = o().getInt32(E + 4, !0), Q = o().getInt32(E + 8, !0);
871
871
  if (Q)
872
872
  throw a(C);
@@ -916,7 +916,7 @@ class T {
916
916
  */
917
917
  constructor() {
918
918
  const A = I.wasmselectbuilder_new();
919
- return this.__wbg_ptr = A >>> 0, zA.register(this, this.__wbg_ptr, this), this;
919
+ return this.__wbg_ptr = A >>> 0, VA.register(this, this.__wbg_ptr, this), this;
920
920
  }
921
921
  /**
922
922
  * Set the OFFSET clause.
@@ -991,8 +991,8 @@ class T {
991
991
  to_sql(A) {
992
992
  let B, C;
993
993
  try {
994
- const h = I.__wbindgen_add_to_stack_pointer(-16), J = k(A, I.__wbindgen_export, I.__wbindgen_export2), c = G;
995
- I.wasmselectbuilder_to_sql(h, this.__wbg_ptr, J, c);
994
+ const h = I.__wbindgen_add_to_stack_pointer(-16), y = k(A, I.__wbindgen_export, I.__wbindgen_export2), q = G;
995
+ I.wasmselectbuilder_to_sql(h, this.__wbg_ptr, y, q);
996
996
  var Q = o().getInt32(h + 0, !0), E = o().getInt32(h + 4, !0), i = o().getInt32(h + 8, !0), w = o().getInt32(h + 12, !0), N = Q, Y = E;
997
997
  if (w)
998
998
  throw N = 0, Y = 0, a(i);
@@ -1009,7 +1009,7 @@ class T {
1009
1009
  union(A) {
1010
1010
  try {
1011
1011
  const E = I.__wbindgen_add_to_stack_pointer(-16);
1012
- K(A, T), I.wasmselectbuilder_union(E, this.__wbg_ptr, A.__wbg_ptr);
1012
+ K(A, j), I.wasmselectbuilder_union(E, this.__wbg_ptr, A.__wbg_ptr);
1013
1013
  var B = o().getInt32(E + 0, !0), C = o().getInt32(E + 4, !0), Q = o().getInt32(E + 8, !0);
1014
1014
  if (Q)
1015
1015
  throw a(C);
@@ -1026,7 +1026,7 @@ class T {
1026
1026
  union_all(A) {
1027
1027
  try {
1028
1028
  const E = I.__wbindgen_add_to_stack_pointer(-16);
1029
- K(A, T), I.wasmselectbuilder_union_all(E, this.__wbg_ptr, A.__wbg_ptr);
1029
+ K(A, j), I.wasmselectbuilder_union_all(E, this.__wbg_ptr, A.__wbg_ptr);
1030
1030
  var B = o().getInt32(E + 0, !0), C = o().getInt32(E + 4, !0), Q = o().getInt32(E + 8, !0);
1031
1031
  if (Q)
1032
1032
  throw a(C);
@@ -1067,16 +1067,16 @@ class T {
1067
1067
  }
1068
1068
  }
1069
1069
  }
1070
- Symbol.dispose && (T.prototype[Symbol.dispose] = T.prototype.free);
1070
+ Symbol.dispose && (j.prototype[Symbol.dispose] = j.prototype.free);
1071
1071
  class P {
1072
1072
  static __wrap(A) {
1073
1073
  A = A >>> 0;
1074
1074
  const B = Object.create(P.prototype);
1075
- return B.__wbg_ptr = A, VA.register(B, B.__wbg_ptr, B), B;
1075
+ return B.__wbg_ptr = A, zA.register(B, B.__wbg_ptr, B), B;
1076
1076
  }
1077
1077
  __destroy_into_raw() {
1078
1078
  const A = this.__wbg_ptr;
1079
- return this.__wbg_ptr = 0, VA.unregister(this), A;
1079
+ return this.__wbg_ptr = 0, zA.unregister(this), A;
1080
1080
  }
1081
1081
  free() {
1082
1082
  const A = this.__destroy_into_raw();
@@ -1127,8 +1127,8 @@ class P {
1127
1127
  to_sql(A) {
1128
1128
  let B, C;
1129
1129
  try {
1130
- const h = I.__wbindgen_add_to_stack_pointer(-16), J = k(A, I.__wbindgen_export, I.__wbindgen_export2), c = G;
1131
- I.wasmsetopbuilder_to_sql(h, this.__wbg_ptr, J, c);
1130
+ const h = I.__wbindgen_add_to_stack_pointer(-16), y = k(A, I.__wbindgen_export, I.__wbindgen_export2), q = G;
1131
+ I.wasmsetopbuilder_to_sql(h, this.__wbg_ptr, y, q);
1132
1132
  var Q = o().getInt32(h + 0, !0), E = o().getInt32(h + 4, !0), i = o().getInt32(h + 8, !0), w = o().getInt32(h + 12, !0), N = Q, Y = E;
1133
1133
  if (w)
1134
1134
  throw N = 0, Y = 0, a(i);
@@ -1197,8 +1197,8 @@ class wA {
1197
1197
  to_sql(A) {
1198
1198
  let B, C;
1199
1199
  try {
1200
- const h = I.__wbindgen_add_to_stack_pointer(-16), J = k(A, I.__wbindgen_export, I.__wbindgen_export2), c = G;
1201
- I.wasmupdatebuilder_to_sql(h, this.__wbg_ptr, J, c);
1200
+ const h = I.__wbindgen_add_to_stack_pointer(-16), y = k(A, I.__wbindgen_export, I.__wbindgen_export2), q = G;
1201
+ I.wasmupdatebuilder_to_sql(h, this.__wbg_ptr, y, q);
1202
1202
  var Q = o().getInt32(h + 0, !0), E = o().getInt32(h + 4, !0), i = o().getInt32(h + 8, !0), w = o().getInt32(h + 12, !0), N = Q, Y = E;
1203
1203
  if (w)
1204
1204
  throw N = 0, Y = 0, a(i);
@@ -1251,8 +1251,8 @@ Symbol.dispose && (gA.prototype[Symbol.dispose] = gA.prototype.free);
1251
1251
  function mA(g, A, B) {
1252
1252
  let C, Q;
1253
1253
  try {
1254
- const w = I.__wbindgen_add_to_stack_pointer(-16), N = k(g, I.__wbindgen_export, I.__wbindgen_export2), Y = G, h = k(A, I.__wbindgen_export, I.__wbindgen_export2), J = G;
1255
- I.ast_add_where(w, N, Y, h, J, B);
1254
+ const w = I.__wbindgen_add_to_stack_pointer(-16), N = k(g, I.__wbindgen_export, I.__wbindgen_export2), Y = G, h = k(A, I.__wbindgen_export, I.__wbindgen_export2), y = G;
1255
+ I.ast_add_where(w, N, Y, h, y, B);
1256
1256
  var E = o().getInt32(w + 0, !0), i = o().getInt32(w + 4, !0);
1257
1257
  return C = E, Q = i, S(E, i);
1258
1258
  } finally {
@@ -1292,7 +1292,7 @@ function uA(g) {
1292
1292
  I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, B, 1);
1293
1293
  }
1294
1294
  }
1295
- function vA(g) {
1295
+ function nA(g) {
1296
1296
  let A, B;
1297
1297
  try {
1298
1298
  const E = I.__wbindgen_add_to_stack_pointer(-16), i = k(g, I.__wbindgen_export, I.__wbindgen_export2), w = G;
@@ -1303,7 +1303,7 @@ function vA(g) {
1303
1303
  I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, B, 1);
1304
1304
  }
1305
1305
  }
1306
- function nA(g) {
1306
+ function vA(g) {
1307
1307
  let A, B;
1308
1308
  try {
1309
1309
  const E = I.__wbindgen_add_to_stack_pointer(-16), i = k(g, I.__wbindgen_export, I.__wbindgen_export2), w = G;
@@ -1416,8 +1416,8 @@ function Qg(g, A) {
1416
1416
  function Eg(g, A, B, C, Q, E) {
1417
1417
  let i, w;
1418
1418
  try {
1419
- const h = I.__wbindgen_add_to_stack_pointer(-16), J = k(g, I.__wbindgen_export, I.__wbindgen_export2), c = G, s = k(A, I.__wbindgen_export, I.__wbindgen_export2), x = G, u = k(B, I.__wbindgen_export, I.__wbindgen_export2), HA = G;
1420
- I.diff_sql(h, J, c, s, x, u, HA, C, Q, E);
1419
+ const h = I.__wbindgen_add_to_stack_pointer(-16), y = k(g, I.__wbindgen_export, I.__wbindgen_export2), q = G, s = k(A, I.__wbindgen_export, I.__wbindgen_export2), x = G, u = k(B, I.__wbindgen_export, I.__wbindgen_export2), HA = G;
1420
+ I.diff_sql(h, y, q, s, x, u, HA, C, Q, E);
1421
1421
  var N = o().getInt32(h + 0, !0), Y = o().getInt32(h + 4, !0);
1422
1422
  return i = N, w = Y, S(N, Y);
1423
1423
  } finally {
@@ -1451,7 +1451,7 @@ function oI(g, A) {
1451
1451
  }
1452
1452
  }
1453
1453
  function wI(g, A) {
1454
- const B = k(A, I.__wbindgen_export, I.__wbindgen_export2), C = G, Q = I.generate_value(q(g), B, C);
1454
+ const B = k(A, I.__wbindgen_export, I.__wbindgen_export2), C = G, Q = I.generate_value(c(g), B, C);
1455
1455
  return a(Q);
1456
1456
  }
1457
1457
  function GI() {
@@ -1472,8 +1472,8 @@ function NI() {
1472
1472
  function Dg(g, A, B, C) {
1473
1473
  let Q, E;
1474
1474
  try {
1475
- const N = I.__wbindgen_add_to_stack_pointer(-16), Y = k(g, I.__wbindgen_export, I.__wbindgen_export2), h = G, J = k(A, I.__wbindgen_export, I.__wbindgen_export2), c = G, s = k(B, I.__wbindgen_export, I.__wbindgen_export2), x = G;
1476
- I.lineage_sql(N, Y, h, J, c, s, x, C);
1475
+ const N = I.__wbindgen_add_to_stack_pointer(-16), Y = k(g, I.__wbindgen_export, I.__wbindgen_export2), h = G, y = k(A, I.__wbindgen_export, I.__wbindgen_export2), q = G, s = k(B, I.__wbindgen_export, I.__wbindgen_export2), x = G;
1476
+ I.lineage_sql(N, Y, h, y, q, s, x, C);
1477
1477
  var i = o().getInt32(N + 0, !0), w = o().getInt32(N + 4, !0);
1478
1478
  return Q = i, E = w, S(i, w);
1479
1479
  } finally {
@@ -1509,8 +1509,8 @@ function ig(g, A) {
1509
1509
  function og(g, A, B) {
1510
1510
  let C, Q;
1511
1511
  try {
1512
- const w = I.__wbindgen_add_to_stack_pointer(-16), N = k(g, I.__wbindgen_export, I.__wbindgen_export2), Y = G, h = k(A, I.__wbindgen_export, I.__wbindgen_export2), J = G, c = k(B, I.__wbindgen_export, I.__wbindgen_export2), s = G;
1513
- I.source_tables(w, N, Y, h, J, c, s);
1512
+ const w = I.__wbindgen_add_to_stack_pointer(-16), N = k(g, I.__wbindgen_export, I.__wbindgen_export2), Y = G, h = k(A, I.__wbindgen_export, I.__wbindgen_export2), y = G, q = k(B, I.__wbindgen_export, I.__wbindgen_export2), s = G;
1513
+ I.source_tables(w, N, Y, h, y, q, s);
1514
1514
  var E = o().getInt32(w + 0, !0), i = o().getInt32(w + 4, !0);
1515
1515
  return C = E, Q = i, S(E, i);
1516
1516
  } finally {
@@ -1520,8 +1520,8 @@ function og(g, A, B) {
1520
1520
  function YI(g, A, B) {
1521
1521
  let C, Q;
1522
1522
  try {
1523
- const w = I.__wbindgen_add_to_stack_pointer(-16), N = k(g, I.__wbindgen_export, I.__wbindgen_export2), Y = G, h = k(A, I.__wbindgen_export, I.__wbindgen_export2), J = G, c = k(B, I.__wbindgen_export, I.__wbindgen_export2), s = G;
1524
- I.transpile(w, N, Y, h, J, c, s);
1523
+ const w = I.__wbindgen_add_to_stack_pointer(-16), N = k(g, I.__wbindgen_export, I.__wbindgen_export2), Y = G, h = k(A, I.__wbindgen_export, I.__wbindgen_export2), y = G, q = k(B, I.__wbindgen_export, I.__wbindgen_export2), s = G;
1524
+ I.transpile(w, N, Y, h, y, q, s);
1525
1525
  var E = o().getInt32(w + 0, !0), i = o().getInt32(w + 4, !0);
1526
1526
  return C = E, Q = i, S(E, i);
1527
1527
  } finally {
@@ -1546,8 +1546,8 @@ function HI(g, A) {
1546
1546
  function KI(g, A, B) {
1547
1547
  let C, Q;
1548
1548
  try {
1549
- const w = I.__wbindgen_add_to_stack_pointer(-16), N = k(g, I.__wbindgen_export, I.__wbindgen_export2), Y = G, h = k(A, I.__wbindgen_export, I.__wbindgen_export2), J = G, c = k(B, I.__wbindgen_export, I.__wbindgen_export2), s = G;
1550
- I.validate_with_options(w, N, Y, h, J, c, s);
1549
+ const w = I.__wbindgen_add_to_stack_pointer(-16), N = k(g, I.__wbindgen_export, I.__wbindgen_export2), Y = G, h = k(A, I.__wbindgen_export, I.__wbindgen_export2), y = G, q = k(B, I.__wbindgen_export, I.__wbindgen_export2), s = G;
1550
+ I.validate_with_options(w, N, Y, h, y, q, s);
1551
1551
  var E = o().getInt32(w + 0, !0), i = o().getInt32(w + 4, !0);
1552
1552
  return C = E, Q = i, S(E, i);
1553
1553
  } finally {
@@ -1557,15 +1557,15 @@ function KI(g, A, B) {
1557
1557
  function wg(g, A, B, C) {
1558
1558
  let Q, E;
1559
1559
  try {
1560
- const N = I.__wbindgen_add_to_stack_pointer(-16), Y = k(g, I.__wbindgen_export, I.__wbindgen_export2), h = G, J = k(A, I.__wbindgen_export, I.__wbindgen_export2), c = G, s = k(B, I.__wbindgen_export, I.__wbindgen_export2), x = G, u = k(C, I.__wbindgen_export, I.__wbindgen_export2), HA = G;
1561
- I.validate_with_schema(N, Y, h, J, c, s, x, u, HA);
1560
+ const N = I.__wbindgen_add_to_stack_pointer(-16), Y = k(g, I.__wbindgen_export, I.__wbindgen_export2), h = G, y = k(A, I.__wbindgen_export, I.__wbindgen_export2), q = G, s = k(B, I.__wbindgen_export, I.__wbindgen_export2), x = G, u = k(C, I.__wbindgen_export, I.__wbindgen_export2), HA = G;
1561
+ I.validate_with_schema(N, Y, h, y, q, s, x, u, HA);
1562
1562
  var i = o().getInt32(N + 0, !0), w = o().getInt32(N + 4, !0);
1563
1563
  return Q = i, E = w, S(i, w);
1564
1564
  } finally {
1565
1565
  I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, E, 1);
1566
1566
  }
1567
1567
  }
1568
- function yI() {
1568
+ function JI() {
1569
1569
  let g, A;
1570
1570
  try {
1571
1571
  const Q = I.__wbindgen_add_to_stack_pointer(-16);
@@ -1622,10 +1622,10 @@ function Kg(g, A) {
1622
1622
  return M.__wrap(Q);
1623
1623
  }
1624
1624
  function NA(g) {
1625
- const A = I.wasm_lit(q(g));
1625
+ const A = I.wasm_lit(c(g));
1626
1626
  return M.__wrap(A);
1627
1627
  }
1628
- function yg(g) {
1628
+ function Jg(g) {
1629
1629
  K(g, M);
1630
1630
  const A = I.wasm_not(g.__wbg_ptr);
1631
1631
  return M.__wrap(A);
@@ -1639,7 +1639,7 @@ function Rg(g, A) {
1639
1639
  const B = I.wasm_or(g.__wbg_ptr, A.__wbg_ptr);
1640
1640
  return M.__wrap(B);
1641
1641
  }
1642
- function Jg(g) {
1642
+ function yg(g) {
1643
1643
  const A = k(g, I.__wbindgen_export, I.__wbindgen_export2), B = G, C = I.wasm_sql_expr(A, B);
1644
1644
  return M.__wrap(C);
1645
1645
  }
@@ -1650,7 +1650,7 @@ function Fg() {
1650
1650
  function ag(g, A) {
1651
1651
  try {
1652
1652
  const E = I.__wbindgen_add_to_stack_pointer(-16);
1653
- K(g, T);
1653
+ K(g, j);
1654
1654
  const i = k(A, I.__wbindgen_export, I.__wbindgen_export2), w = G;
1655
1655
  I.wasm_subquery(E, g.__wbg_ptr, i, w);
1656
1656
  var B = o().getInt32(E + 0, !0), C = o().getInt32(E + 4, !0), Q = o().getInt32(E + 8, !0);
@@ -1667,9 +1667,9 @@ function Sg(g) {
1667
1667
  }
1668
1668
  function RI(g, A) {
1669
1669
  const B = Error(S(g, A));
1670
- return q(B);
1670
+ return c(B);
1671
1671
  }
1672
- function JI(g) {
1672
+ function yI(g) {
1673
1673
  return Number(R(g));
1674
1674
  }
1675
1675
  function FI(g, A) {
@@ -1688,10 +1688,10 @@ function UI(g, A) {
1688
1688
  const B = RA(R(A)), C = k(B, I.__wbindgen_export, I.__wbindgen_export2), Q = G;
1689
1689
  o().setInt32(g + 4, Q, !0), o().setInt32(g + 0, C, !0);
1690
1690
  }
1691
- function cI(g, A) {
1691
+ function qI(g, A) {
1692
1692
  return R(g) in R(A);
1693
1693
  }
1694
- function qI(g) {
1694
+ function cI(g) {
1695
1695
  return typeof R(g) == "bigint";
1696
1696
  }
1697
1697
  function LI(g) {
@@ -1707,13 +1707,13 @@ function pI(g) {
1707
1707
  function eI(g) {
1708
1708
  return typeof R(g) == "string";
1709
1709
  }
1710
- function TI(g) {
1710
+ function jI(g) {
1711
1711
  return R(g) === void 0;
1712
1712
  }
1713
- function OI(g, A) {
1713
+ function TI(g, A) {
1714
1714
  return R(g) === R(A);
1715
1715
  }
1716
- function jI(g, A) {
1716
+ function OI(g, A) {
1717
1717
  return R(g) == R(A);
1718
1718
  }
1719
1719
  function xI(g, A) {
@@ -1725,25 +1725,25 @@ function tI(g, A) {
1725
1725
  var Q = r(C) ? 0 : k(C, I.__wbindgen_export, I.__wbindgen_export2), E = G;
1726
1726
  o().setInt32(g + 4, E, !0), o().setInt32(g + 0, Q, !0);
1727
1727
  }
1728
- function ZI(g, A) {
1728
+ function WI(g, A) {
1729
1729
  throw new Error(S(g, A));
1730
1730
  }
1731
- function WI() {
1731
+ function ZI() {
1732
1732
  return MA(function(g, A) {
1733
1733
  const B = R(g).call(R(A));
1734
- return q(B);
1734
+ return c(B);
1735
1735
  }, arguments);
1736
1736
  }
1737
1737
  function PI(g, A) {
1738
1738
  const B = R(g).codePointAt(A >>> 0);
1739
- return q(B);
1739
+ return c(B);
1740
1740
  }
1741
- function zI(g) {
1741
+ function VI(g) {
1742
1742
  return R(g).done;
1743
1743
  }
1744
- function VI(g) {
1744
+ function zI(g) {
1745
1745
  const A = Object.entries(R(g));
1746
- return q(A);
1746
+ return c(A);
1747
1747
  }
1748
1748
  function dI(g, A) {
1749
1749
  let B, C;
@@ -1756,22 +1756,22 @@ function dI(g, A) {
1756
1756
  function fI() {
1757
1757
  return MA(function(g) {
1758
1758
  const A = String.fromCodePoint(g >>> 0);
1759
- return q(A);
1759
+ return c(A);
1760
1760
  }, arguments);
1761
1761
  }
1762
1762
  function lI(g, A) {
1763
1763
  const B = R(g)[A >>> 0];
1764
- return q(B);
1764
+ return c(B);
1765
1765
  }
1766
1766
  function mI() {
1767
1767
  return MA(function(g, A) {
1768
1768
  const B = Reflect.get(R(g), R(A));
1769
- return q(B);
1769
+ return c(B);
1770
1770
  }, arguments);
1771
1771
  }
1772
1772
  function bI(g, A) {
1773
1773
  const B = R(g)[R(A)];
1774
- return q(B);
1774
+ return c(B);
1775
1775
  }
1776
1776
  function rI(g) {
1777
1777
  let A;
@@ -1791,7 +1791,7 @@ function uI(g) {
1791
1791
  }
1792
1792
  return A;
1793
1793
  }
1794
- function vI(g) {
1794
+ function nI(g) {
1795
1795
  let A;
1796
1796
  try {
1797
1797
  A = R(g) instanceof Uint8Array;
@@ -1800,14 +1800,14 @@ function vI(g) {
1800
1800
  }
1801
1801
  return A;
1802
1802
  }
1803
- function nI(g) {
1803
+ function vI(g) {
1804
1804
  return Array.isArray(R(g));
1805
1805
  }
1806
1806
  function XI(g) {
1807
1807
  return Number.isSafeInteger(R(g));
1808
1808
  }
1809
1809
  function _I() {
1810
- return q(Symbol.iterator);
1810
+ return c(Symbol.iterator);
1811
1811
  }
1812
1812
  function $I(g) {
1813
1813
  return R(g).length;
@@ -1820,39 +1820,39 @@ function gB(g) {
1820
1820
  }
1821
1821
  function IB() {
1822
1822
  const g = new Object();
1823
- return q(g);
1823
+ return c(g);
1824
1824
  }
1825
1825
  function BB() {
1826
1826
  const g = new Array();
1827
- return q(g);
1827
+ return c(g);
1828
1828
  }
1829
1829
  function CB() {
1830
1830
  const g = new Error();
1831
- return q(g);
1831
+ return c(g);
1832
1832
  }
1833
1833
  function QB() {
1834
- return q(/* @__PURE__ */ new Map());
1834
+ return c(/* @__PURE__ */ new Map());
1835
1835
  }
1836
1836
  function EB(g) {
1837
1837
  const A = new Uint8Array(R(g));
1838
- return q(A);
1838
+ return c(A);
1839
1839
  }
1840
1840
  function DB() {
1841
1841
  return MA(function(g) {
1842
1842
  const A = R(g).next();
1843
- return q(A);
1843
+ return c(A);
1844
1844
  }, arguments);
1845
1845
  }
1846
1846
  function iB(g) {
1847
1847
  const A = R(g).next;
1848
- return q(A);
1848
+ return c(A);
1849
1849
  }
1850
1850
  function oB(g, A, B) {
1851
1851
  Uint8Array.prototype.set.call(FB(g, A), R(B));
1852
1852
  }
1853
1853
  function wB(g, A, B) {
1854
1854
  const C = R(g).set(R(A), R(B));
1855
- return q(C);
1855
+ return c(C);
1856
1856
  }
1857
1857
  function GB(g, A, B) {
1858
1858
  R(g)[a(A)] = a(B);
@@ -1866,30 +1866,30 @@ function kB(g, A) {
1866
1866
  }
1867
1867
  function MB(g) {
1868
1868
  const A = R(g).value;
1869
- return q(A);
1869
+ return c(A);
1870
1870
  }
1871
1871
  function YB(g) {
1872
- return q(g);
1872
+ return c(g);
1873
1873
  }
1874
1874
  function hB(g) {
1875
- return q(g);
1875
+ return c(g);
1876
1876
  }
1877
1877
  function HB(g, A) {
1878
1878
  const B = S(g, A);
1879
- return q(B);
1879
+ return c(B);
1880
1880
  }
1881
1881
  function KB(g) {
1882
1882
  const A = BigInt.asUintN(64, g);
1883
- return q(A);
1883
+ return c(A);
1884
1884
  }
1885
- function yB(g) {
1885
+ function JB(g) {
1886
1886
  const A = R(g);
1887
- return q(A);
1887
+ return c(A);
1888
1888
  }
1889
1889
  function RB(g) {
1890
1890
  a(g);
1891
1891
  }
1892
- const jA = typeof FinalizationRegistry > "u" ? { register: () => {
1892
+ const OA = typeof FinalizationRegistry > "u" ? { register: () => {
1893
1893
  }, unregister: () => {
1894
1894
  } } : new FinalizationRegistry((g) => I.__wbg_wasmassignmentarray_free(g >>> 0, 1)), KA = typeof FinalizationRegistry > "u" ? { register: () => {
1895
1895
  }, unregister: () => {
@@ -1897,25 +1897,25 @@ const jA = typeof FinalizationRegistry > "u" ? { register: () => {
1897
1897
  }, unregister: () => {
1898
1898
  } } : new FinalizationRegistry((g) => I.__wbg_wasmdeletebuilder_free(g >>> 0, 1)), tA = typeof FinalizationRegistry > "u" ? { register: () => {
1899
1899
  }, unregister: () => {
1900
- } } : new FinalizationRegistry((g) => I.__wbg_wasmexpr_free(g >>> 0, 1)), ZA = typeof FinalizationRegistry > "u" ? { register: () => {
1900
+ } } : new FinalizationRegistry((g) => I.__wbg_wasmexpr_free(g >>> 0, 1)), WA = typeof FinalizationRegistry > "u" ? { register: () => {
1901
1901
  }, unregister: () => {
1902
- } } : new FinalizationRegistry((g) => I.__wbg_wasmexprarray_free(g >>> 0, 1)), WA = typeof FinalizationRegistry > "u" ? { register: () => {
1902
+ } } : new FinalizationRegistry((g) => I.__wbg_wasmexprarray_free(g >>> 0, 1)), ZA = typeof FinalizationRegistry > "u" ? { register: () => {
1903
1903
  }, unregister: () => {
1904
1904
  } } : new FinalizationRegistry((g) => I.__wbg_wasminsertbuilder_free(g >>> 0, 1)), PA = typeof FinalizationRegistry > "u" ? { register: () => {
1905
1905
  }, unregister: () => {
1906
- } } : new FinalizationRegistry((g) => I.__wbg_wasmmergebuilder_free(g >>> 0, 1)), zA = typeof FinalizationRegistry > "u" ? { register: () => {
1906
+ } } : new FinalizationRegistry((g) => I.__wbg_wasmmergebuilder_free(g >>> 0, 1)), VA = typeof FinalizationRegistry > "u" ? { register: () => {
1907
1907
  }, unregister: () => {
1908
- } } : new FinalizationRegistry((g) => I.__wbg_wasmselectbuilder_free(g >>> 0, 1)), VA = typeof FinalizationRegistry > "u" ? { register: () => {
1908
+ } } : new FinalizationRegistry((g) => I.__wbg_wasmselectbuilder_free(g >>> 0, 1)), zA = typeof FinalizationRegistry > "u" ? { register: () => {
1909
1909
  }, unregister: () => {
1910
1910
  } } : new FinalizationRegistry((g) => I.__wbg_wasmsetopbuilder_free(g >>> 0, 1)), dA = typeof FinalizationRegistry > "u" ? { register: () => {
1911
1911
  }, unregister: () => {
1912
1912
  } } : new FinalizationRegistry((g) => I.__wbg_wasmupdatebuilder_free(g >>> 0, 1)), fA = typeof FinalizationRegistry > "u" ? { register: () => {
1913
1913
  }, unregister: () => {
1914
1914
  } } : new FinalizationRegistry((g) => I.__wbg_wasmwindowdefbuilder_free(g >>> 0, 1));
1915
- function q(g) {
1916
- _ === W.length && W.push(W.length + 1);
1915
+ function c(g) {
1916
+ _ === Z.length && Z.push(Z.length + 1);
1917
1917
  const A = _;
1918
- return _ = W[A], W[A] = g, A;
1918
+ return _ = Z[A], Z[A] = g, A;
1919
1919
  }
1920
1920
  function K(g, A) {
1921
1921
  if (!(g instanceof A))
@@ -1958,8 +1958,8 @@ function RA(g) {
1958
1958
  return g instanceof Error ? `${g.name}: ${g.message}
1959
1959
  ${g.stack}` : C;
1960
1960
  }
1961
- function JB(g) {
1962
- g < 132 || (W[g] = _, _ = g);
1961
+ function yB(g) {
1962
+ g < 132 || (Z[g] = _, _ = g);
1963
1963
  }
1964
1964
  function FB(g, A) {
1965
1965
  return g = g >>> 0, X().subarray(g / 1, g / 1 + A);
@@ -1976,25 +1976,25 @@ function X() {
1976
1976
  return (CA === null || CA.byteLength === 0) && (CA = new Uint8Array(I.memory.buffer)), CA;
1977
1977
  }
1978
1978
  function R(g) {
1979
- return W[g];
1979
+ return Z[g];
1980
1980
  }
1981
1981
  function MA(g, A) {
1982
1982
  try {
1983
1983
  return g.apply(this, A);
1984
1984
  } catch (B) {
1985
- I.__wbindgen_export3(q(B));
1985
+ I.__wbindgen_export3(c(B));
1986
1986
  }
1987
1987
  }
1988
- let W = new Array(128).fill(void 0);
1989
- W.push(void 0, null, !0, !1);
1990
- let _ = W.length;
1988
+ let Z = new Array(128).fill(void 0);
1989
+ Z.push(void 0, null, !0, !1);
1990
+ let _ = Z.length;
1991
1991
  function r(g) {
1992
1992
  return g == null;
1993
1993
  }
1994
1994
  function aA(g, A) {
1995
1995
  const B = A(g.length * 4, 4) >>> 0, C = o();
1996
1996
  for (let Q = 0; Q < g.length; Q++)
1997
- C.setUint32(B + 4 * Q, q(g[Q]), !0);
1997
+ C.setUint32(B + 4 * Q, c(g[Q]), !0);
1998
1998
  return G = g.length, B;
1999
1999
  }
2000
2000
  function k(g, A, B) {
@@ -2019,14 +2019,14 @@ function k(g, A, B) {
2019
2019
  }
2020
2020
  function a(g) {
2021
2021
  const A = R(g);
2022
- return JB(g), A;
2022
+ return yB(g), A;
2023
2023
  }
2024
2024
  let QA = new TextDecoder("utf-8", { ignoreBOM: !0, fatal: !0 });
2025
2025
  QA.decode();
2026
2026
  const aB = 2146435072;
2027
- let yA = 0;
2027
+ let JA = 0;
2028
2028
  function SB(g, A) {
2029
- return yA += A, yA >= aB && (QA = new TextDecoder("utf-8", { ignoreBOM: !0, fatal: !0 }), QA.decode(), yA = A), QA.decode(X().subarray(g, g + A));
2029
+ return JA += A, JA >= aB && (QA = new TextDecoder("utf-8", { ignoreBOM: !0, fatal: !0 }), QA.decode(), JA = A), QA.decode(X().subarray(g, g + A));
2030
2030
  }
2031
2031
  const $ = new TextEncoder();
2032
2032
  "encodeInto" in $ || ($.encodeInto = function(g, A) {
@@ -2043,7 +2043,7 @@ function UB(g) {
2043
2043
  URL = globalThis.URL;
2044
2044
  const D = await EI({ "./polyglot_sql_wasm_bg.js": {
2045
2045
  __wbindgen_object_drop_ref: RB,
2046
- __wbindgen_object_clone_ref: yB,
2046
+ __wbindgen_object_clone_ref: JB,
2047
2047
  __wbg_new_8a6f238a6ece86ea: CB,
2048
2048
  __wbg_stack_0ed75d68575b0f3c: kB,
2049
2049
  __wbg_error_7534b8e9a36f1ab4: dI,
@@ -2053,10 +2053,10 @@ const D = await EI({ "./polyglot_sql_wasm_bg.js": {
2053
2053
  __wbg_new_dd2b680c8bf6ae29: EB,
2054
2054
  __wbg_length_32ed9a279acd054c: $I,
2055
2055
  __wbg_prototypesetcall_bdcdcc5842e4d77d: oB,
2056
- __wbg_done_57b39ecd9addfe81: zI,
2056
+ __wbg_done_57b39ecd9addfe81: VI,
2057
2057
  __wbg_value_0546255b415e96c1: MB,
2058
2058
  __wbg_instanceof_Map_53af74335dec57f4: uI,
2059
- __wbg_instanceof_Uint8Array_9b9075935c74707c: vI,
2059
+ __wbg_instanceof_Uint8Array_9b9075935c74707c: nI,
2060
2060
  __wbg_instanceof_ArrayBuffer_c367199e2fa2aa04: rI,
2061
2061
  __wbg_new_dca287b076112a51: QB,
2062
2062
  __wbg_set_1eb0999cf5d27fc8: wB,
@@ -2064,61 +2064,61 @@ const D = await EI({ "./polyglot_sql_wasm_bg.js": {
2064
2064
  __wbg_new_3eb36ae241fe6f44: BB,
2065
2065
  __wbg_set_f43e577aea94465b: NB,
2066
2066
  __wbg_length_35a7bace40f36eac: AB,
2067
- __wbg_isArray_d314bb98fcf08331: nI,
2067
+ __wbg_isArray_d314bb98fcf08331: vI,
2068
2068
  __wbg_isSafeInteger_bfbc7332a9768d2a: XI,
2069
2069
  __wbg_new_361308b2356cecd0: IB,
2070
- __wbg_entries_58c7934c745daac7: VI,
2070
+ __wbg_entries_58c7934c745daac7: zI,
2071
2071
  __wbg_iterator_6ff6560ca1568e55: _I,
2072
2072
  __wbg_get_b3ed3ad4be2bc8ac: mI,
2073
- __wbg_call_389efe28435a9388: WI,
2073
+ __wbg_call_389efe28435a9388: ZI,
2074
2074
  __wbg_next_418f80d8f5303233: iB,
2075
2075
  __wbg_next_3482f54c49e8af19: DB,
2076
2076
  __wbg_codePointAt_bf59dbf74d8db275: PI,
2077
2077
  __wbg_fromCodePoint_22365db7b7d6ac39: fI,
2078
2078
  __wbg_length_68dc7c5cf1b6d349: gB,
2079
- __wbg___wbindgen_in_47fa6863be6f2f25: cI,
2080
- __wbg___wbindgen_throw_be289d5034ed271b: ZI,
2079
+ __wbg___wbindgen_in_47fa6863be6f2f25: qI,
2080
+ __wbg___wbindgen_throw_be289d5034ed271b: WI,
2081
2081
  __wbg___wbindgen_is_null_ac34f5003991759a: sI,
2082
- __wbg___wbindgen_jsval_eq_11888390b0186270: OI,
2083
- __wbg_Number_04624de7d0e8332d: JI,
2082
+ __wbg___wbindgen_jsval_eq_11888390b0186270: TI,
2083
+ __wbg_Number_04624de7d0e8332d: yI,
2084
2084
  __wbg_Error_8c4e43fe74559d73: RI,
2085
- __wbg___wbindgen_is_bigint_31b12575b56f32fc: qI,
2085
+ __wbg___wbindgen_is_bigint_31b12575b56f32fc: cI,
2086
2086
  __wbg___wbindgen_is_object_5ae8e5880f2c1fbd: pI,
2087
2087
  __wbg___wbindgen_is_string_cd444516edc5b180: eI,
2088
2088
  __wbg___wbindgen_number_get_8ff4255516ccad3e: xI,
2089
2089
  __wbg___wbindgen_string_get_72fb696202c56729: tI,
2090
2090
  __wbg___wbindgen_boolean_get_bbbb1c18aa2f5e25: SI,
2091
2091
  __wbg___wbindgen_is_function_0095a73b8b156f76: LI,
2092
- __wbg___wbindgen_is_undefined_9e4d92534c42d778: TI,
2093
- __wbg___wbindgen_jsval_loose_eq_9dd77d8cd6671811: jI,
2092
+ __wbg___wbindgen_is_undefined_9e4d92534c42d778: jI,
2093
+ __wbg___wbindgen_jsval_loose_eq_9dd77d8cd6671811: OI,
2094
2094
  __wbg___wbindgen_bigint_get_as_i64_8fcf4ce7f1ca72a2: aI,
2095
2095
  __wbg___wbindgen_debug_string_0bc8482c6e3508ae: UI,
2096
2096
  __wbindgen_cast_0000000000000001: YB,
2097
2097
  __wbindgen_cast_0000000000000002: hB,
2098
2098
  __wbindgen_cast_0000000000000003: HB,
2099
2099
  __wbindgen_cast_0000000000000004: KB
2100
- } }, QI), cB = D.memory, qB = D.__wbg_wasmassignmentarray_free, LB = D.__wbg_wasmcasebuilder_free, sB = D.__wbg_wasmdeletebuilder_free, pB = D.__wbg_wasmexpr_free, eB = D.__wbg_wasmexprarray_free, TB = D.__wbg_wasminsertbuilder_free, OB = D.__wbg_wasmmergebuilder_free, jB = D.__wbg_wasmselectbuilder_free, xB = D.__wbg_wasmsetopbuilder_free, tB = D.__wbg_wasmupdatebuilder_free, ZB = D.__wbg_wasmwindowdefbuilder_free, WB = D.ast_add_where, PB = D.ast_get_aggregate_functions, zB = D.ast_get_column_names, VB = D.ast_get_functions, dB = D.ast_get_literals, fB = D.ast_get_subqueries, lB = D.ast_get_table_names, mB = D.ast_get_window_functions, bB = D.ast_node_count, rB = D.ast_qualify_columns, uB = D.ast_remove_where, vB = D.ast_rename_columns, nB = D.ast_rename_tables, XB = D.ast_set_distinct, _B = D.ast_set_limit, $B = D.diff_sql, AC = D.format_sql, gC = D.format_sql_value, IC = D.generate, BC = D.generate_value, CC = D.get_dialects, QC = D.get_dialects_value, EC = D.lineage_sql, DC = D.parse, iC = D.parse_value, oC = D.plan, wC = D.source_tables, GC = D.transpile, NC = D.transpile_value, kC = D.validate, MC = D.validate_with_options, YC = D.validate_with_schema, hC = D.version, HC = D.wasm_alias, KC = D.wasm_and, yC = D.wasm_boolean, RC = D.wasm_case_of, JC = D.wasm_cast, FC = D.wasm_col, aC = D.wasm_count_distinct, SC = D.wasm_extract, UC = D.wasm_func, cC = D.wasm_lit, qC = D.wasm_not, LC = D.wasm_null, sC = D.wasm_or, pC = D.wasm_sql_expr, eC = D.wasm_star, TC = D.wasm_subquery, OC = D.wasm_table, jC = D.wasmassignmentarray_len, xC = D.wasmassignmentarray_new, tC = D.wasmassignmentarray_push, ZC = D.wasmcasebuilder_build_expr, WC = D.wasmcasebuilder_else_, PC = D.wasmcasebuilder_new, zC = D.wasmcasebuilder_to_sql, VC = D.wasmcasebuilder_when, dC = D.wasmdeletebuilder_build, fC = D.wasmdeletebuilder_new, lC = D.wasmdeletebuilder_to_sql, mC = D.wasmdeletebuilder_where_expr, bC = D.wasmexpr_add, rC = D.wasmexpr_alias, uC = D.wasmexpr_and, vC = D.wasmexpr_asc, nC = D.wasmexpr_between, XC = D.wasmexpr_cast, _C = D.wasmexpr_desc, $C = D.wasmexpr_div, AQ = D.wasmexpr_eq, gQ = D.wasmexpr_gt, IQ = D.wasmexpr_gte, BQ = D.wasmexpr_ilike, CQ = D.wasmexpr_in_list, QQ = D.wasmexpr_is_not_null, EQ = D.wasmexpr_is_null, DQ = D.wasmexpr_like, iQ = D.wasmexpr_lt, oQ = D.wasmexpr_lte, wQ = D.wasmexpr_mul, GQ = D.wasmexpr_neq, NQ = D.wasmexpr_not, kQ = D.wasmexpr_not_in, MQ = D.wasmexpr_or, YQ = D.wasmexpr_rlike, hQ = D.wasmexpr_sub, HQ = D.wasmexpr_to_json, KQ = D.wasmexpr_to_sql, yQ = D.wasmexpr_xor, RQ = D.wasmexprarray_len, JQ = D.wasmexprarray_push, FQ = D.wasmexprarray_push_col, aQ = D.wasmexprarray_push_float, SQ = D.wasmexprarray_push_int, UQ = D.wasmexprarray_push_star, cQ = D.wasmexprarray_push_str, qQ = D.wasminsertbuilder_build, LQ = D.wasminsertbuilder_columns, sQ = D.wasminsertbuilder_new, pQ = D.wasminsertbuilder_query, eQ = D.wasminsertbuilder_to_sql, TQ = D.wasminsertbuilder_values, OQ = D.wasmmergebuilder_build, jQ = D.wasmmergebuilder_new, xQ = D.wasmmergebuilder_to_sql, tQ = D.wasmmergebuilder_using, ZQ = D.wasmmergebuilder_when_matched_delete, WQ = D.wasmmergebuilder_when_matched_update, PQ = D.wasmmergebuilder_when_not_matched_insert, zQ = D.wasmselectbuilder_build, VQ = D.wasmselectbuilder_cross_join, dQ = D.wasmselectbuilder_ctas, fQ = D.wasmselectbuilder_ctas_sql, lQ = D.wasmselectbuilder_distinct, mQ = D.wasmselectbuilder_except_, bQ = D.wasmselectbuilder_for_update, rQ = D.wasmselectbuilder_from, uQ = D.wasmselectbuilder_from_expr, vQ = D.wasmselectbuilder_group_by_cols, nQ = D.wasmselectbuilder_having, XQ = D.wasmselectbuilder_hint, _Q = D.wasmselectbuilder_intersect, $Q = D.wasmselectbuilder_join, AE = D.wasmselectbuilder_lateral_view, gE = D.wasmselectbuilder_left_join, IE = D.wasmselectbuilder_limit, BE = D.wasmselectbuilder_new, CE = D.wasmselectbuilder_offset, QE = D.wasmselectbuilder_order_by_exprs, EE = D.wasmselectbuilder_qualify, DE = D.wasmselectbuilder_right_join, iE = D.wasmselectbuilder_select_col, oE = D.wasmselectbuilder_select_expr, wE = D.wasmselectbuilder_select_exprs, GE = D.wasmselectbuilder_select_star, NE = D.wasmselectbuilder_sort_by_exprs, kE = D.wasmselectbuilder_to_sql, ME = D.wasmselectbuilder_union, YE = D.wasmselectbuilder_union_all, hE = D.wasmselectbuilder_where_expr, HE = D.wasmselectbuilder_where_sql, KE = D.wasmselectbuilder_window, yE = D.wasmsetopbuilder_build, RE = D.wasmsetopbuilder_limit, JE = D.wasmsetopbuilder_offset, FE = D.wasmsetopbuilder_order_by_exprs, aE = D.wasmsetopbuilder_to_sql, SE = D.wasmupdatebuilder_build, UE = D.wasmupdatebuilder_from, cE = D.wasmupdatebuilder_new, qE = D.wasmupdatebuilder_set, LE = D.wasmupdatebuilder_to_sql, sE = D.wasmupdatebuilder_where_expr, pE = D.wasmwindowdefbuilder_new, eE = D.wasmwindowdefbuilder_order_by, TE = D.wasmwindowdefbuilder_partition_by, OE = D.wasmexprarray_new, jE = D.__wbindgen_export, xE = D.__wbindgen_export2, tE = D.__wbindgen_export3, ZE = D.__wbindgen_export4, WE = D.__wbindgen_add_to_stack_pointer, PE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2100
+ } }, QI), qB = D.memory, cB = D.__wbg_wasmassignmentarray_free, LB = D.__wbg_wasmcasebuilder_free, sB = D.__wbg_wasmdeletebuilder_free, pB = D.__wbg_wasmexpr_free, eB = D.__wbg_wasmexprarray_free, jB = D.__wbg_wasminsertbuilder_free, TB = D.__wbg_wasmmergebuilder_free, OB = D.__wbg_wasmselectbuilder_free, xB = D.__wbg_wasmsetopbuilder_free, tB = D.__wbg_wasmupdatebuilder_free, WB = D.__wbg_wasmwindowdefbuilder_free, ZB = D.ast_add_where, PB = D.ast_get_aggregate_functions, VB = D.ast_get_column_names, zB = D.ast_get_functions, dB = D.ast_get_literals, fB = D.ast_get_subqueries, lB = D.ast_get_table_names, mB = D.ast_get_window_functions, bB = D.ast_node_count, rB = D.ast_qualify_columns, uB = D.ast_remove_where, nB = D.ast_rename_columns, vB = D.ast_rename_tables, XB = D.ast_set_distinct, _B = D.ast_set_limit, $B = D.diff_sql, AC = D.format_sql, gC = D.format_sql_value, IC = D.generate, BC = D.generate_value, CC = D.get_dialects, QC = D.get_dialects_value, EC = D.lineage_sql, DC = D.parse, iC = D.parse_value, oC = D.plan, wC = D.source_tables, GC = D.transpile, NC = D.transpile_value, kC = D.validate, MC = D.validate_with_options, YC = D.validate_with_schema, hC = D.version, HC = D.wasm_alias, KC = D.wasm_and, JC = D.wasm_boolean, RC = D.wasm_case_of, yC = D.wasm_cast, FC = D.wasm_col, aC = D.wasm_count_distinct, SC = D.wasm_extract, UC = D.wasm_func, qC = D.wasm_lit, cC = D.wasm_not, LC = D.wasm_null, sC = D.wasm_or, pC = D.wasm_sql_expr, eC = D.wasm_star, jC = D.wasm_subquery, TC = D.wasm_table, OC = D.wasmassignmentarray_len, xC = D.wasmassignmentarray_new, tC = D.wasmassignmentarray_push, WC = D.wasmcasebuilder_build_expr, ZC = D.wasmcasebuilder_else_, PC = D.wasmcasebuilder_new, VC = D.wasmcasebuilder_to_sql, zC = D.wasmcasebuilder_when, dC = D.wasmdeletebuilder_build, fC = D.wasmdeletebuilder_new, lC = D.wasmdeletebuilder_to_sql, mC = D.wasmdeletebuilder_where_expr, bC = D.wasmexpr_add, rC = D.wasmexpr_alias, uC = D.wasmexpr_and, nC = D.wasmexpr_asc, vC = D.wasmexpr_between, XC = D.wasmexpr_cast, _C = D.wasmexpr_desc, $C = D.wasmexpr_div, AQ = D.wasmexpr_eq, gQ = D.wasmexpr_gt, IQ = D.wasmexpr_gte, BQ = D.wasmexpr_ilike, CQ = D.wasmexpr_in_list, QQ = D.wasmexpr_is_not_null, EQ = D.wasmexpr_is_null, DQ = D.wasmexpr_like, iQ = D.wasmexpr_lt, oQ = D.wasmexpr_lte, wQ = D.wasmexpr_mul, GQ = D.wasmexpr_neq, NQ = D.wasmexpr_not, kQ = D.wasmexpr_not_in, MQ = D.wasmexpr_or, YQ = D.wasmexpr_rlike, hQ = D.wasmexpr_sub, HQ = D.wasmexpr_to_json, KQ = D.wasmexpr_to_sql, JQ = D.wasmexpr_xor, RQ = D.wasmexprarray_len, yQ = D.wasmexprarray_push, FQ = D.wasmexprarray_push_col, aQ = D.wasmexprarray_push_float, SQ = D.wasmexprarray_push_int, UQ = D.wasmexprarray_push_star, qQ = D.wasmexprarray_push_str, cQ = D.wasminsertbuilder_build, LQ = D.wasminsertbuilder_columns, sQ = D.wasminsertbuilder_new, pQ = D.wasminsertbuilder_query, eQ = D.wasminsertbuilder_to_sql, jQ = D.wasminsertbuilder_values, TQ = D.wasmmergebuilder_build, OQ = D.wasmmergebuilder_new, xQ = D.wasmmergebuilder_to_sql, tQ = D.wasmmergebuilder_using, WQ = D.wasmmergebuilder_when_matched_delete, ZQ = D.wasmmergebuilder_when_matched_update, PQ = D.wasmmergebuilder_when_not_matched_insert, VQ = D.wasmselectbuilder_build, zQ = D.wasmselectbuilder_cross_join, dQ = D.wasmselectbuilder_ctas, fQ = D.wasmselectbuilder_ctas_sql, lQ = D.wasmselectbuilder_distinct, mQ = D.wasmselectbuilder_except_, bQ = D.wasmselectbuilder_for_update, rQ = D.wasmselectbuilder_from, uQ = D.wasmselectbuilder_from_expr, nQ = D.wasmselectbuilder_group_by_cols, vQ = D.wasmselectbuilder_having, XQ = D.wasmselectbuilder_hint, _Q = D.wasmselectbuilder_intersect, $Q = D.wasmselectbuilder_join, AE = D.wasmselectbuilder_lateral_view, gE = D.wasmselectbuilder_left_join, IE = D.wasmselectbuilder_limit, BE = D.wasmselectbuilder_new, CE = D.wasmselectbuilder_offset, QE = D.wasmselectbuilder_order_by_exprs, EE = D.wasmselectbuilder_qualify, DE = D.wasmselectbuilder_right_join, iE = D.wasmselectbuilder_select_col, oE = D.wasmselectbuilder_select_expr, wE = D.wasmselectbuilder_select_exprs, GE = D.wasmselectbuilder_select_star, NE = D.wasmselectbuilder_sort_by_exprs, kE = D.wasmselectbuilder_to_sql, ME = D.wasmselectbuilder_union, YE = D.wasmselectbuilder_union_all, hE = D.wasmselectbuilder_where_expr, HE = D.wasmselectbuilder_where_sql, KE = D.wasmselectbuilder_window, JE = D.wasmsetopbuilder_build, RE = D.wasmsetopbuilder_limit, yE = D.wasmsetopbuilder_offset, FE = D.wasmsetopbuilder_order_by_exprs, aE = D.wasmsetopbuilder_to_sql, SE = D.wasmupdatebuilder_build, UE = D.wasmupdatebuilder_from, qE = D.wasmupdatebuilder_new, cE = D.wasmupdatebuilder_set, LE = D.wasmupdatebuilder_to_sql, sE = D.wasmupdatebuilder_where_expr, pE = D.wasmwindowdefbuilder_new, eE = D.wasmwindowdefbuilder_order_by, jE = D.wasmwindowdefbuilder_partition_by, TE = D.wasmexprarray_new, OE = D.__wbindgen_export, xE = D.__wbindgen_export2, tE = D.__wbindgen_export3, WE = D.__wbindgen_export4, ZE = D.__wbindgen_add_to_stack_pointer, PE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2101
2101
  __proto__: null,
2102
- __wbg_wasmassignmentarray_free: qB,
2102
+ __wbg_wasmassignmentarray_free: cB,
2103
2103
  __wbg_wasmcasebuilder_free: LB,
2104
2104
  __wbg_wasmdeletebuilder_free: sB,
2105
2105
  __wbg_wasmexpr_free: pB,
2106
2106
  __wbg_wasmexprarray_free: eB,
2107
- __wbg_wasminsertbuilder_free: TB,
2108
- __wbg_wasmmergebuilder_free: OB,
2109
- __wbg_wasmselectbuilder_free: jB,
2107
+ __wbg_wasminsertbuilder_free: jB,
2108
+ __wbg_wasmmergebuilder_free: TB,
2109
+ __wbg_wasmselectbuilder_free: OB,
2110
2110
  __wbg_wasmsetopbuilder_free: xB,
2111
2111
  __wbg_wasmupdatebuilder_free: tB,
2112
- __wbg_wasmwindowdefbuilder_free: ZB,
2113
- __wbindgen_add_to_stack_pointer: WE,
2114
- __wbindgen_export: jE,
2112
+ __wbg_wasmwindowdefbuilder_free: WB,
2113
+ __wbindgen_add_to_stack_pointer: ZE,
2114
+ __wbindgen_export: OE,
2115
2115
  __wbindgen_export2: xE,
2116
2116
  __wbindgen_export3: tE,
2117
- __wbindgen_export4: ZE,
2118
- ast_add_where: WB,
2117
+ __wbindgen_export4: WE,
2118
+ ast_add_where: ZB,
2119
2119
  ast_get_aggregate_functions: PB,
2120
- ast_get_column_names: zB,
2121
- ast_get_functions: VB,
2120
+ ast_get_column_names: VB,
2121
+ ast_get_functions: zB,
2122
2122
  ast_get_literals: dB,
2123
2123
  ast_get_subqueries: fB,
2124
2124
  ast_get_table_names: lB,
@@ -2126,8 +2126,8 @@ const D = await EI({ "./polyglot_sql_wasm_bg.js": {
2126
2126
  ast_node_count: bB,
2127
2127
  ast_qualify_columns: rB,
2128
2128
  ast_remove_where: uB,
2129
- ast_rename_columns: vB,
2130
- ast_rename_tables: nB,
2129
+ ast_rename_columns: nB,
2130
+ ast_rename_tables: vB,
2131
2131
  ast_set_distinct: XB,
2132
2132
  ast_set_limit: _B,
2133
2133
  diff_sql: $B,
@@ -2138,7 +2138,7 @@ const D = await EI({ "./polyglot_sql_wasm_bg.js": {
2138
2138
  get_dialects: CC,
2139
2139
  get_dialects_value: QC,
2140
2140
  lineage_sql: EC,
2141
- memory: cB,
2141
+ memory: qB,
2142
2142
  parse: DC,
2143
2143
  parse_value: iC,
2144
2144
  plan: oC,
@@ -2151,29 +2151,29 @@ const D = await EI({ "./polyglot_sql_wasm_bg.js": {
2151
2151
  version: hC,
2152
2152
  wasm_alias: HC,
2153
2153
  wasm_and: KC,
2154
- wasm_boolean: yC,
2154
+ wasm_boolean: JC,
2155
2155
  wasm_case_of: RC,
2156
- wasm_cast: JC,
2156
+ wasm_cast: yC,
2157
2157
  wasm_col: FC,
2158
2158
  wasm_count_distinct: aC,
2159
2159
  wasm_extract: SC,
2160
2160
  wasm_func: UC,
2161
- wasm_lit: cC,
2162
- wasm_not: qC,
2161
+ wasm_lit: qC,
2162
+ wasm_not: cC,
2163
2163
  wasm_null: LC,
2164
2164
  wasm_or: sC,
2165
2165
  wasm_sql_expr: pC,
2166
2166
  wasm_star: eC,
2167
- wasm_subquery: TC,
2168
- wasm_table: OC,
2169
- wasmassignmentarray_len: jC,
2167
+ wasm_subquery: jC,
2168
+ wasm_table: TC,
2169
+ wasmassignmentarray_len: OC,
2170
2170
  wasmassignmentarray_new: xC,
2171
2171
  wasmassignmentarray_push: tC,
2172
- wasmcasebuilder_build_expr: ZC,
2173
- wasmcasebuilder_else_: WC,
2172
+ wasmcasebuilder_build_expr: WC,
2173
+ wasmcasebuilder_else_: ZC,
2174
2174
  wasmcasebuilder_new: PC,
2175
- wasmcasebuilder_to_sql: zC,
2176
- wasmcasebuilder_when: VC,
2175
+ wasmcasebuilder_to_sql: VC,
2176
+ wasmcasebuilder_when: zC,
2177
2177
  wasmdeletebuilder_build: dC,
2178
2178
  wasmdeletebuilder_new: fC,
2179
2179
  wasmdeletebuilder_to_sql: lC,
@@ -2181,8 +2181,8 @@ const D = await EI({ "./polyglot_sql_wasm_bg.js": {
2181
2181
  wasmexpr_add: bC,
2182
2182
  wasmexpr_alias: rC,
2183
2183
  wasmexpr_and: uC,
2184
- wasmexpr_asc: vC,
2185
- wasmexpr_between: nC,
2184
+ wasmexpr_asc: nC,
2185
+ wasmexpr_between: vC,
2186
2186
  wasmexpr_cast: XC,
2187
2187
  wasmexpr_desc: _C,
2188
2188
  wasmexpr_div: $C,
@@ -2205,30 +2205,30 @@ const D = await EI({ "./polyglot_sql_wasm_bg.js": {
2205
2205
  wasmexpr_sub: hQ,
2206
2206
  wasmexpr_to_json: HQ,
2207
2207
  wasmexpr_to_sql: KQ,
2208
- wasmexpr_xor: yQ,
2208
+ wasmexpr_xor: JQ,
2209
2209
  wasmexprarray_len: RQ,
2210
- wasmexprarray_new: OE,
2211
- wasmexprarray_push: JQ,
2210
+ wasmexprarray_new: TE,
2211
+ wasmexprarray_push: yQ,
2212
2212
  wasmexprarray_push_col: FQ,
2213
2213
  wasmexprarray_push_float: aQ,
2214
2214
  wasmexprarray_push_int: SQ,
2215
2215
  wasmexprarray_push_star: UQ,
2216
- wasmexprarray_push_str: cQ,
2217
- wasminsertbuilder_build: qQ,
2216
+ wasmexprarray_push_str: qQ,
2217
+ wasminsertbuilder_build: cQ,
2218
2218
  wasminsertbuilder_columns: LQ,
2219
2219
  wasminsertbuilder_new: sQ,
2220
2220
  wasminsertbuilder_query: pQ,
2221
2221
  wasminsertbuilder_to_sql: eQ,
2222
- wasminsertbuilder_values: TQ,
2223
- wasmmergebuilder_build: OQ,
2224
- wasmmergebuilder_new: jQ,
2222
+ wasminsertbuilder_values: jQ,
2223
+ wasmmergebuilder_build: TQ,
2224
+ wasmmergebuilder_new: OQ,
2225
2225
  wasmmergebuilder_to_sql: xQ,
2226
2226
  wasmmergebuilder_using: tQ,
2227
- wasmmergebuilder_when_matched_delete: ZQ,
2228
- wasmmergebuilder_when_matched_update: WQ,
2227
+ wasmmergebuilder_when_matched_delete: WQ,
2228
+ wasmmergebuilder_when_matched_update: ZQ,
2229
2229
  wasmmergebuilder_when_not_matched_insert: PQ,
2230
- wasmselectbuilder_build: zQ,
2231
- wasmselectbuilder_cross_join: VQ,
2230
+ wasmselectbuilder_build: VQ,
2231
+ wasmselectbuilder_cross_join: zQ,
2232
2232
  wasmselectbuilder_ctas: dQ,
2233
2233
  wasmselectbuilder_ctas_sql: fQ,
2234
2234
  wasmselectbuilder_distinct: lQ,
@@ -2236,8 +2236,8 @@ const D = await EI({ "./polyglot_sql_wasm_bg.js": {
2236
2236
  wasmselectbuilder_for_update: bQ,
2237
2237
  wasmselectbuilder_from: rQ,
2238
2238
  wasmselectbuilder_from_expr: uQ,
2239
- wasmselectbuilder_group_by_cols: vQ,
2240
- wasmselectbuilder_having: nQ,
2239
+ wasmselectbuilder_group_by_cols: nQ,
2240
+ wasmselectbuilder_having: vQ,
2241
2241
  wasmselectbuilder_hint: XQ,
2242
2242
  wasmselectbuilder_intersect: _Q,
2243
2243
  wasmselectbuilder_join: $Q,
@@ -2260,20 +2260,20 @@ const D = await EI({ "./polyglot_sql_wasm_bg.js": {
2260
2260
  wasmselectbuilder_where_expr: hE,
2261
2261
  wasmselectbuilder_where_sql: HE,
2262
2262
  wasmselectbuilder_window: KE,
2263
- wasmsetopbuilder_build: yE,
2263
+ wasmsetopbuilder_build: JE,
2264
2264
  wasmsetopbuilder_limit: RE,
2265
- wasmsetopbuilder_offset: JE,
2265
+ wasmsetopbuilder_offset: yE,
2266
2266
  wasmsetopbuilder_order_by_exprs: FE,
2267
2267
  wasmsetopbuilder_to_sql: aE,
2268
2268
  wasmupdatebuilder_build: SE,
2269
2269
  wasmupdatebuilder_from: UE,
2270
- wasmupdatebuilder_new: cE,
2271
- wasmupdatebuilder_set: qE,
2270
+ wasmupdatebuilder_new: qE,
2271
+ wasmupdatebuilder_set: cE,
2272
2272
  wasmupdatebuilder_to_sql: LE,
2273
2273
  wasmupdatebuilder_where_expr: sE,
2274
2274
  wasmwindowdefbuilder_new: pE,
2275
2275
  wasmwindowdefbuilder_order_by: eE,
2276
- wasmwindowdefbuilder_partition_by: TE
2276
+ wasmwindowdefbuilder_partition_by: jE
2277
2277
  }, Symbol.toStringTag, { value: "Module" }));
2278
2278
  UB(PE);
2279
2279
  const Ug = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -2285,7 +2285,7 @@ const Ug = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2285
2285
  WasmExprArray: p,
2286
2286
  WasmInsertBuilder: iA,
2287
2287
  WasmMergeBuilder: oA,
2288
- WasmSelectBuilder: T,
2288
+ WasmSelectBuilder: j,
2289
2289
  WasmSetOpBuilder: P,
2290
2290
  WasmUpdateBuilder: wA,
2291
2291
  WasmWindowDefBuilder: gA,
@@ -2293,8 +2293,8 @@ const Ug = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2293
2293
  ast_get_aggregate_functions: bA,
2294
2294
  ast_get_column_names: rA,
2295
2295
  ast_get_functions: uA,
2296
- ast_get_literals: vA,
2297
- ast_get_subqueries: nA,
2296
+ ast_get_literals: nA,
2297
+ ast_get_subqueries: vA,
2298
2298
  ast_get_table_names: XA,
2299
2299
  ast_get_window_functions: _A,
2300
2300
  ast_node_count: $A,
@@ -2321,7 +2321,7 @@ const Ug = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2321
2321
  validate: HI,
2322
2322
  validate_with_options: KI,
2323
2323
  validate_with_schema: wg,
2324
- version: yI,
2324
+ version: JI,
2325
2325
  wasm_alias: Gg,
2326
2326
  wasm_and: Ng,
2327
2327
  wasm_boolean: kg,
@@ -2332,10 +2332,10 @@ const Ug = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2332
2332
  wasm_extract: Hg,
2333
2333
  wasm_func: Kg,
2334
2334
  wasm_lit: NA,
2335
- wasm_not: yg,
2335
+ wasm_not: Jg,
2336
2336
  wasm_null: kA,
2337
2337
  wasm_or: Rg,
2338
- wasm_sql_expr: Jg,
2338
+ wasm_sql_expr: yg,
2339
2339
  wasm_star: Fg,
2340
2340
  wasm_subquery: ag,
2341
2341
  wasm_table: Sg
@@ -2343,11 +2343,11 @@ const Ug = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2343
2343
  function L(g) {
2344
2344
  return Object.keys(g)[0];
2345
2345
  }
2346
- function Z(g) {
2346
+ function W(g) {
2347
2347
  const A = Object.keys(g)[0];
2348
2348
  return g[A];
2349
2349
  }
2350
- function z(g) {
2350
+ function V(g) {
2351
2351
  if (typeof g != "object" || g === null || Array.isArray(g))
2352
2352
  return !1;
2353
2353
  const A = Object.keys(g);
@@ -2361,7 +2361,7 @@ function t(g, A) {
2361
2361
  function H(g) {
2362
2362
  return (A) => g in A;
2363
2363
  }
2364
- const cg = H("select"), zE = H("insert"), VE = H("update"), dE = H("delete"), fE = H("union"), lE = H("intersect"), mE = H("except"), bE = H("subquery"), rE = H("identifier"), qg = H("column"), uE = H("table"), vE = H("star"), Lg = H("literal"), nE = H("boolean"), XE = H("null"), _E = H("and"), $E = H("or"), AD = H("not"), gD = H("eq"), ID = H("neq"), BD = H("lt"), CD = H("lte"), QD = H("gt"), ED = H("gte"), DD = H("like"), iD = H("i_like"), oD = H("add"), wD = H("sub"), GD = H("mul"), ND = H("div"), kD = H("mod"), MD = H("concat"), YD = H("in"), hD = H("between"), HD = H("is_null"), KD = H("exists"), sg = H("function"), yD = H("aggregate_function"), RD = H("window_function"), JD = H("count"), FD = H("sum"), aD = H("avg"), SD = H("min"), UD = H("max"), cD = H("coalesce"), qD = H("null_if"), LD = H("cast"), sD = H("try_cast"), pD = H("safe_cast"), eD = H("case"), TD = H("from"), OD = H("join"), jD = H("where"), xD = H("group_by"), tD = H("having"), ZD = H("order_by"), WD = H("limit"), PD = H("offset"), zD = H("with"), VD = H("cte"), dD = H("alias"), fD = H("paren"), lD = H("ordered"), mD = H("create_table"), bD = H("drop_table"), rD = H("alter_table"), uD = H("create_index"), vD = H("drop_index"), nD = H("create_view"), XD = H("drop_view");
2364
+ const qg = H("select"), VE = H("insert"), zE = H("update"), dE = H("delete"), fE = H("union"), lE = H("intersect"), mE = H("except"), bE = H("subquery"), rE = H("identifier"), cg = H("column"), uE = H("table"), nE = H("star"), Lg = H("literal"), vE = H("boolean"), XE = H("null"), _E = H("and"), $E = H("or"), AD = H("not"), gD = H("eq"), ID = H("neq"), BD = H("lt"), CD = H("lte"), QD = H("gt"), ED = H("gte"), DD = H("like"), iD = H("i_like"), oD = H("add"), wD = H("sub"), GD = H("mul"), ND = H("div"), kD = H("mod"), MD = H("concat"), YD = H("in"), hD = H("between"), HD = H("is_null"), KD = H("exists"), sg = H("function"), JD = H("aggregate_function"), RD = H("window_function"), yD = H("count"), FD = H("sum"), aD = H("avg"), SD = H("min"), UD = H("max"), qD = H("coalesce"), cD = H("null_if"), LD = H("cast"), sD = H("try_cast"), pD = H("safe_cast"), eD = H("case"), jD = H("from"), TD = H("join"), OD = H("where"), xD = H("group_by"), tD = H("having"), WD = H("order_by"), ZD = H("limit"), PD = H("offset"), VD = H("with"), zD = H("cte"), dD = H("alias"), fD = H("paren"), lD = H("ordered"), mD = H("create_table"), bD = H("drop_table"), rD = H("alter_table"), uD = H("create_index"), nD = H("drop_index"), vD = H("create_view"), XD = H("drop_view");
2365
2365
  function _D(g) {
2366
2366
  const A = L(g);
2367
2367
  return A === "select" || A === "insert" || A === "update" || A === "delete";
@@ -2386,7 +2386,7 @@ function Bi(g) {
2386
2386
  const A = L(g);
2387
2387
  return A === "create_table" || A === "drop_table" || A === "alter_table" || A === "create_index" || A === "drop_index" || A === "create_view" || A === "drop_view" || A === "create_schema" || A === "drop_schema" || A === "create_database" || A === "drop_database" || A === "create_function" || A === "drop_function" || A === "create_procedure" || A === "drop_procedure" || A === "create_sequence" || A === "drop_sequence" || A === "alter_sequence" || A === "create_trigger" || A === "drop_trigger" || A === "create_type" || A === "drop_type";
2388
2388
  }
2389
- function V(g) {
2389
+ function z(g) {
2390
2390
  return JSON.stringify(g);
2391
2391
  }
2392
2392
  function m(g) {
@@ -2396,10 +2396,10 @@ function m(g) {
2396
2396
  function pg(g, A, B) {
2397
2397
  if (g == null) return g;
2398
2398
  if (Array.isArray(g))
2399
- return g.length > 0 && z(g[0]) ? g.map(
2399
+ return g.length > 0 && V(g[0]) ? g.map(
2400
2400
  (C, Q) => EA(C, A, B, null, Q)
2401
- ) : g.length > 0 && Array.isArray(g[0]) ? g.map((C) => Array.isArray(C) ? C.map((Q, E) => z(Q) ? EA(Q, A, B, null, E) : Q) : C) : g;
2402
- if (z(g))
2401
+ ) : g.length > 0 && Array.isArray(g[0]) ? g.map((C) => Array.isArray(C) ? C.map((Q, E) => V(Q) ? EA(Q, A, B, null, E) : Q) : C) : g;
2402
+ if (V(g))
2403
2403
  return EA(g, A, B, null, null);
2404
2404
  if (typeof g == "object") {
2405
2405
  const Q = { ...g };
@@ -2415,34 +2415,34 @@ function pg(g, A, B) {
2415
2415
  function EA(g, A, B, C, Q) {
2416
2416
  let E = g;
2417
2417
  if (A.enter) {
2418
- const J = A.enter(E, B, C, Q);
2419
- if (J === null)
2418
+ const y = A.enter(E, B, C, Q);
2419
+ if (y === null)
2420
2420
  return E;
2421
- J !== void 0 && (E = J);
2421
+ y !== void 0 && (E = y);
2422
2422
  }
2423
2423
  const i = L(E), w = A[i];
2424
2424
  if (w) {
2425
- const J = w(E, B, C, Q);
2426
- if (J === null)
2425
+ const y = w(E, B, C, Q);
2426
+ if (y === null)
2427
2427
  return E;
2428
- J !== void 0 && (E = J);
2428
+ y !== void 0 && (E = y);
2429
2429
  }
2430
- const N = L(E), Y = Z(E);
2430
+ const N = L(E), Y = W(E);
2431
2431
  let h;
2432
2432
  if (Y == null)
2433
2433
  h = t(N, Y);
2434
2434
  else {
2435
- const J = { ...Y };
2436
- for (const [c, s] of Object.entries(J)) {
2435
+ const y = { ...Y };
2436
+ for (const [q, s] of Object.entries(y)) {
2437
2437
  const x = pg(s, A, E);
2438
- x !== s && (J[c] = x);
2438
+ x !== s && (y[q] = x);
2439
2439
  }
2440
- h = t(N, J);
2440
+ h = t(N, y);
2441
2441
  }
2442
2442
  if (A.leave) {
2443
- const J = A.leave(h, B, C, Q);
2444
- if (J != null)
2445
- return J;
2443
+ const y = A.leave(h, B, C, Q);
2444
+ if (y != null)
2445
+ return y;
2446
2446
  }
2447
2447
  return h;
2448
2448
  }
@@ -2464,33 +2464,33 @@ function Ci(g, A, B) {
2464
2464
  typeof B == "function" ? (C) => B(C) : B
2465
2465
  );
2466
2466
  }
2467
- function Tg(g, A) {
2467
+ function jg(g, A) {
2468
2468
  return m(
2469
- Ig(V(g), JSON.stringify(A))
2469
+ Ig(z(g), JSON.stringify(A))
2470
2470
  ) ?? g;
2471
2471
  }
2472
2472
  function Qi(g, A) {
2473
2473
  return m(
2474
- Bg(V(g), JSON.stringify(A))
2474
+ Bg(z(g), JSON.stringify(A))
2475
2475
  ) ?? g;
2476
2476
  }
2477
2477
  function Ei(g, A) {
2478
2478
  return m(
2479
- Ag(V(g), A)
2479
+ Ag(z(g), A)
2480
2480
  ) ?? g;
2481
2481
  }
2482
2482
  function Di(g, A, B = "and") {
2483
2483
  return m(
2484
- mA(V(g), V(A), B === "or")
2484
+ mA(z(g), z(A), B === "or")
2485
2485
  ) ?? g;
2486
2486
  }
2487
2487
  function ii(g) {
2488
- return m(gg(V(g))) ?? g;
2488
+ return m(gg(z(g))) ?? g;
2489
2489
  }
2490
2490
  function oi(g, ...A) {
2491
2491
  if (L(g) !== "select")
2492
2492
  return g;
2493
- const B = Z(g);
2493
+ const B = W(g);
2494
2494
  return t("select", {
2495
2495
  ...B,
2496
2496
  expressions: [...B.expressions, ...A]
@@ -2499,7 +2499,7 @@ function oi(g, ...A) {
2499
2499
  function wi(g, A) {
2500
2500
  if (L(g) !== "select")
2501
2501
  return g;
2502
- const B = Z(g);
2502
+ const B = W(g);
2503
2503
  return t("select", {
2504
2504
  ...B,
2505
2505
  expressions: B.expressions.filter((C) => !A(C))
@@ -2507,10 +2507,10 @@ function wi(g, A) {
2507
2507
  }
2508
2508
  function Gi(g, A) {
2509
2509
  if (typeof A == "number")
2510
- return m(Qg(V(g), A)) ?? g;
2510
+ return m(Qg(z(g), A)) ?? g;
2511
2511
  if (L(g) !== "select")
2512
2512
  return g;
2513
- const B = Z(g);
2513
+ const B = W(g);
2514
2514
  return t("select", {
2515
2515
  ...B,
2516
2516
  limit: { this: A }
@@ -2519,7 +2519,7 @@ function Gi(g, A) {
2519
2519
  function Ni(g, A) {
2520
2520
  if (L(g) !== "select")
2521
2521
  return g;
2522
- const B = Z(g), C = typeof A == "number" ? t("literal", { literal_type: "number", value: String(A) }) : A;
2522
+ const B = W(g), C = typeof A == "number" ? t("literal", { literal_type: "number", value: String(A) }) : A;
2523
2523
  return t("select", {
2524
2524
  ...B,
2525
2525
  offset: { this: C }
@@ -2528,7 +2528,7 @@ function Ni(g, A) {
2528
2528
  function ki(g) {
2529
2529
  if (L(g) !== "select")
2530
2530
  return g;
2531
- const A = Z(g);
2531
+ const A = W(g);
2532
2532
  return t("select", {
2533
2533
  ...A,
2534
2534
  limit: null,
@@ -2536,32 +2536,32 @@ function ki(g) {
2536
2536
  });
2537
2537
  }
2538
2538
  function Mi(g, A = !0) {
2539
- return m(Cg(V(g), A)) ?? g;
2539
+ return m(Cg(z(g), A)) ?? g;
2540
2540
  }
2541
2541
  function Yi(g) {
2542
2542
  return YA(g, {});
2543
2543
  }
2544
- function Og(g, A, B) {
2544
+ function Tg(g, A, B) {
2545
2545
  if (g == null) return g;
2546
2546
  if (Array.isArray(g))
2547
- return g.length > 0 && z(g[0]) ? g.filter((C) => !A(C, B)).map((C) => JA(C, A)) : g;
2548
- if (z(g))
2549
- return JA(g, A);
2547
+ return g.length > 0 && V(g[0]) ? g.filter((C) => !A(C, B)).map((C) => yA(C, A)) : g;
2548
+ if (V(g))
2549
+ return yA(g, A);
2550
2550
  if (typeof g == "object") {
2551
2551
  const Q = { ...g };
2552
2552
  let E = !1;
2553
2553
  for (const [i, w] of Object.entries(Q)) {
2554
- const N = Og(w, A, B);
2554
+ const N = Tg(w, A, B);
2555
2555
  N !== w && (Q[i] = N, E = !0);
2556
2556
  }
2557
2557
  return E ? Q : g;
2558
2558
  }
2559
2559
  return g;
2560
2560
  }
2561
- function JA(g, A) {
2562
- const B = L(g), Q = { ...Z(g) };
2561
+ function yA(g, A) {
2562
+ const B = L(g), Q = { ...W(g) };
2563
2563
  for (const [E, i] of Object.entries(Q)) {
2564
- const w = Og(i, A, g);
2564
+ const w = Tg(i, A, g);
2565
2565
  w !== i && (Q[E] = w);
2566
2566
  }
2567
2567
  return t(B, Q);
@@ -2569,47 +2569,47 @@ function JA(g, A) {
2569
2569
  function d(g) {
2570
2570
  return JSON.stringify(g);
2571
2571
  }
2572
- function jg(g, A, B) {
2572
+ function Og(g, A, B) {
2573
2573
  if (g != null) {
2574
2574
  if (Array.isArray(g)) {
2575
- if (g.length > 0 && z(g[0]))
2575
+ if (g.length > 0 && V(g[0]))
2576
2576
  B.push({ key: A, value: g });
2577
2577
  else if (g.length > 0 && Array.isArray(g[0])) {
2578
2578
  for (const C of g)
2579
2579
  if (Array.isArray(C))
2580
2580
  for (const Q of C)
2581
- z(Q) && B.push({ key: A, value: Q });
2581
+ V(Q) && B.push({ key: A, value: Q });
2582
2582
  }
2583
- } else if (z(g))
2583
+ } else if (V(g))
2584
2584
  B.push({ key: A, value: g });
2585
2585
  else if (typeof g == "object")
2586
2586
  for (const [, C] of Object.entries(
2587
2587
  g
2588
2588
  ))
2589
- jg(C, A, B);
2589
+ Og(C, A, B);
2590
2590
  }
2591
2591
  }
2592
2592
  function xg(g) {
2593
- const A = [], B = Z(g);
2593
+ const A = [], B = W(g);
2594
2594
  if (!B || typeof B != "object") return A;
2595
2595
  for (const [C, Q] of Object.entries(B))
2596
- jg(Q, C, A);
2596
+ Og(Q, C, A);
2597
2597
  return A;
2598
2598
  }
2599
- function j(g, A, B = null, C = null, Q = null) {
2599
+ function O(g, A, B = null, C = null, Q = null) {
2600
2600
  A.enter && A.enter(g, B, C, Q);
2601
2601
  const E = L(g), i = A[E];
2602
2602
  i && i(g, B, C, Q);
2603
2603
  const w = xg(g);
2604
2604
  for (const N of w)
2605
2605
  Array.isArray(N.value) ? N.value.forEach((Y, h) => {
2606
- j(Y, A, g, N.key, h);
2607
- }) : j(N.value, A, g, N.key, null);
2606
+ O(Y, A, g, N.key, h);
2607
+ }) : O(N.value, A, g, N.key, null);
2608
2608
  A.leave && A.leave(g, B, C, Q);
2609
2609
  }
2610
2610
  function hA(g, A) {
2611
2611
  const B = [];
2612
- return j(g, {
2612
+ return O(g, {
2613
2613
  enter: (C, Q) => {
2614
2614
  A(C, Q) && B.push(C);
2615
2615
  }
@@ -2620,7 +2620,7 @@ function IA(g, A) {
2620
2620
  }
2621
2621
  function tg(g, A) {
2622
2622
  let B, C = !1;
2623
- return j(g, {
2623
+ return O(g, {
2624
2624
  enter: (Q, E) => {
2625
2625
  !C && A(Q, E) && (B = Q, C = !0);
2626
2626
  }
@@ -2631,7 +2631,7 @@ function hi(g, A) {
2631
2631
  }
2632
2632
  function Hi(g, A) {
2633
2633
  let B = !0;
2634
- return j(g, {
2634
+ return O(g, {
2635
2635
  enter: (C, Q) => {
2636
2636
  A(C, Q) || (B = !1);
2637
2637
  }
@@ -2640,16 +2640,16 @@ function Hi(g, A) {
2640
2640
  function Ki(g, A) {
2641
2641
  return hA(g, A).length;
2642
2642
  }
2643
- function Zg(g) {
2643
+ function Wg(g) {
2644
2644
  return IA(g, "column");
2645
2645
  }
2646
- function yi(g) {
2646
+ function Ji(g) {
2647
2647
  return IA(g, "table");
2648
2648
  }
2649
2649
  function Ri(g) {
2650
2650
  return IA(g, "identifier");
2651
2651
  }
2652
- function Ji(g) {
2652
+ function yi(g) {
2653
2653
  const A = JSON.parse(uA(d(g)));
2654
2654
  return A.success ? JSON.parse(A.ast) : [];
2655
2655
  }
@@ -2657,16 +2657,16 @@ function GA(g) {
2657
2657
  const A = JSON.parse(bA(d(g)));
2658
2658
  return A.success ? JSON.parse(A.ast) : [];
2659
2659
  }
2660
- function Wg(g) {
2660
+ function Zg(g) {
2661
2661
  const A = JSON.parse(_A(d(g)));
2662
2662
  return A.success ? JSON.parse(A.ast) : [];
2663
2663
  }
2664
2664
  function Pg(g) {
2665
- const A = JSON.parse(nA(d(g)));
2665
+ const A = JSON.parse(vA(d(g)));
2666
2666
  return A.success ? JSON.parse(A.ast) : [];
2667
2667
  }
2668
2668
  function Fi(g) {
2669
- const A = JSON.parse(vA(d(g)));
2669
+ const A = JSON.parse(nA(d(g)));
2670
2670
  return A.success ? JSON.parse(A.ast) : [];
2671
2671
  }
2672
2672
  function ai(g) {
@@ -2677,18 +2677,18 @@ function Si(g) {
2677
2677
  const A = JSON.parse(XA(d(g)));
2678
2678
  return A.success ? A.result : [];
2679
2679
  }
2680
- function zg(g) {
2680
+ function Vg(g) {
2681
2681
  return GA(g).length > 0;
2682
2682
  }
2683
2683
  function Ui(g) {
2684
- return Wg(g).length > 0;
2684
+ return Zg(g).length > 0;
2685
2685
  }
2686
- function ci(g) {
2686
+ function qi(g) {
2687
2687
  return Pg(g).length > 0;
2688
2688
  }
2689
- function qi(g) {
2689
+ function ci(g) {
2690
2690
  let A = 0, B = 0;
2691
- return j(g, {
2691
+ return O(g, {
2692
2692
  enter: () => {
2693
2693
  B++, A = Math.max(A, B);
2694
2694
  },
@@ -2703,7 +2703,7 @@ function Li(g) {
2703
2703
  }
2704
2704
  function si(g, A) {
2705
2705
  let B = null;
2706
- return j(g, {
2706
+ return O(g, {
2707
2707
  enter: (C, Q) => {
2708
2708
  C === A && (B = Q);
2709
2709
  }
@@ -2712,7 +2712,7 @@ function si(g, A) {
2712
2712
  function pi(g, A, B) {
2713
2713
  const C = [];
2714
2714
  let Q = null;
2715
- return j(g, {
2715
+ return O(g, {
2716
2716
  enter: (E) => {
2717
2717
  if (Q === null) {
2718
2718
  if (E === A)
@@ -2733,7 +2733,7 @@ function pi(g, A, B) {
2733
2733
  }
2734
2734
  function ei(g, A) {
2735
2735
  let B = 0, C = 0;
2736
- return j(g, {
2736
+ return O(g, {
2737
2737
  enter: (Q) => {
2738
2738
  C++, Q === A && (B = C);
2739
2739
  },
@@ -2742,7 +2742,7 @@ function ei(g, A) {
2742
2742
  }
2743
2743
  }), B;
2744
2744
  }
2745
- const Ti = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2745
+ const ji = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2746
2746
  __proto__: null,
2747
2747
  addSelectColumns: oi,
2748
2748
  addWhere: Di,
@@ -2756,53 +2756,53 @@ const Ti = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2756
2756
  getAggregateFunctions: GA,
2757
2757
  getChildren: xg,
2758
2758
  getColumnNames: ai,
2759
- getColumns: Zg,
2760
- getDepth: qi,
2761
- getExprData: Z,
2759
+ getColumns: Wg,
2760
+ getDepth: ci,
2761
+ getExprData: W,
2762
2762
  getExprType: L,
2763
- getFunctions: Ji,
2763
+ getFunctions: yi,
2764
2764
  getIdentifiers: Ri,
2765
2765
  getLiterals: Fi,
2766
2766
  getNodeDepth: ei,
2767
2767
  getParent: si,
2768
2768
  getSubqueries: Pg,
2769
2769
  getTableNames: Si,
2770
- getTables: yi,
2771
- getWindowFunctions: Wg,
2772
- hasAggregates: zg,
2773
- hasSubqueries: ci,
2770
+ getTables: Ji,
2771
+ getWindowFunctions: Zg,
2772
+ hasAggregates: Vg,
2773
+ hasSubqueries: qi,
2774
2774
  hasWindowFunctions: Ui,
2775
2775
  isAdd: oD,
2776
- isAggregateFunction: yD,
2776
+ isAggregateFunction: JD,
2777
2777
  isAlias: dD,
2778
2778
  isAlterTable: rD,
2779
2779
  isAnd: _E,
2780
2780
  isArithmetic: gi,
2781
2781
  isAvg: aD,
2782
2782
  isBetween: hD,
2783
- isBoolean: nE,
2783
+ isBoolean: vE,
2784
2784
  isCase: eD,
2785
2785
  isCast: LD,
2786
- isCoalesce: cD,
2787
- isColumn: qg,
2786
+ isCoalesce: qD,
2787
+ isColumn: cg,
2788
2788
  isComparison: Ai,
2789
2789
  isConcat: MD,
2790
- isCount: JD,
2790
+ isCount: yD,
2791
2791
  isCreateIndex: uD,
2792
2792
  isCreateTable: mD,
2793
- isCreateView: nD,
2794
- isCte: VD,
2793
+ isCreateView: vD,
2794
+ isCte: zD,
2795
2795
  isDDL: Bi,
2796
2796
  isDelete: dE,
2797
2797
  isDiv: ND,
2798
- isDropIndex: vD,
2798
+ isDropIndex: nD,
2799
2799
  isDropTable: bD,
2800
2800
  isDropView: XD,
2801
2801
  isEq: gD,
2802
2802
  isExcept: mE,
2803
2803
  isExists: KD,
2804
- isExpressionValue: z,
2805
- isFrom: TD,
2804
+ isExpressionValue: V,
2805
+ isFrom: jD,
2806
2806
  isFunction: sg,
2807
2807
  isGroupBy: xD,
2808
2808
  isGt: QD,
@@ -2811,12 +2811,12 @@ const Ti = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2811
2811
  isILike: iD,
2812
2812
  isIdentifier: rE,
2813
2813
  isIn: YD,
2814
- isInsert: zE,
2814
+ isInsert: VE,
2815
2815
  isIntersect: lE,
2816
2816
  isIsNull: HD,
2817
- isJoin: OD,
2817
+ isJoin: TD,
2818
2818
  isLike: DD,
2819
- isLimit: WD,
2819
+ isLimit: ZD,
2820
2820
  isLiteral: Lg,
2821
2821
  isLogical: Ii,
2822
2822
  isLt: BD,
@@ -2827,36 +2827,36 @@ const Ti = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2827
2827
  isMul: GD,
2828
2828
  isNeq: ID,
2829
2829
  isNot: AD,
2830
- isNullIf: qD,
2830
+ isNullIf: cD,
2831
2831
  isNullLiteral: XE,
2832
2832
  isOffset: PD,
2833
2833
  isOr: $E,
2834
- isOrderBy: ZD,
2834
+ isOrderBy: WD,
2835
2835
  isOrdered: lD,
2836
2836
  isParen: fD,
2837
2837
  isQuery: _D,
2838
2838
  isSafeCast: pD,
2839
- isSelect: cg,
2839
+ isSelect: qg,
2840
2840
  isSetOperation: $D,
2841
- isStar: vE,
2841
+ isStar: nE,
2842
2842
  isSub: wD,
2843
2843
  isSubquery: bE,
2844
2844
  isSum: FD,
2845
2845
  isTable: uE,
2846
2846
  isTryCast: sD,
2847
2847
  isUnion: fE,
2848
- isUpdate: VE,
2849
- isWhere: jD,
2848
+ isUpdate: zE,
2849
+ isWhere: OD,
2850
2850
  isWindowFunction: RD,
2851
- isWith: zD,
2851
+ isWith: VD,
2852
2852
  makeExpr: t,
2853
2853
  nodeCount: Li,
2854
2854
  qualifyColumns: Ei,
2855
- remove: JA,
2855
+ remove: yA,
2856
2856
  removeLimitOffset: ki,
2857
2857
  removeSelectColumns: wi,
2858
2858
  removeWhere: ii,
2859
- renameColumns: Tg,
2859
+ renameColumns: jg,
2860
2860
  renameTables: Qi,
2861
2861
  replaceByType: Ci,
2862
2862
  replaceNodes: eg,
@@ -2865,18 +2865,18 @@ const Ti = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2865
2865
  setOffset: Ni,
2866
2866
  some: hi,
2867
2867
  transform: YA,
2868
- walk: j
2868
+ walk: O
2869
2869
  }, Symbol.toStringTag, { value: "Module" }));
2870
2870
  function F(g) {
2871
- return g instanceof y ? g._w : typeof g == "string" ? FA(g) : typeof g == "number" || typeof g == "boolean" || g === null ? NA(g) : kA();
2871
+ return g instanceof J ? g._w : typeof g == "string" ? FA(g) : typeof g == "number" || typeof g == "boolean" || g === null ? NA(g) : kA();
2872
2872
  }
2873
- function O(g) {
2873
+ function T(g) {
2874
2874
  const A = new p();
2875
2875
  for (const B of g)
2876
- B instanceof y ? A.push(B._w) : typeof B == "string" ? A.push_col(B) : typeof B == "number" ? Number.isInteger(B) ? A.push_int(B) : A.push_float(B) : typeof B == "boolean" || B === null ? A.push(NA(B)) : A.push(kA());
2876
+ B instanceof J ? A.push(B._w) : typeof B == "string" ? A.push_col(B) : typeof B == "number" ? Number.isInteger(B) ? A.push_int(B) : A.push_float(B) : typeof B == "boolean" || B === null ? A.push(NA(B)) : A.push(kA());
2877
2877
  return A;
2878
2878
  }
2879
- class y {
2879
+ class J {
2880
2880
  /** @internal WASM handle — do not use directly */
2881
2881
  _w;
2882
2882
  /** @internal */
@@ -2885,90 +2885,90 @@ class y {
2885
2885
  }
2886
2886
  // -- Comparison --
2887
2887
  eq(A) {
2888
- return new y(this._w.eq(F(A)));
2888
+ return new J(this._w.eq(F(A)));
2889
2889
  }
2890
2890
  neq(A) {
2891
- return new y(this._w.neq(F(A)));
2891
+ return new J(this._w.neq(F(A)));
2892
2892
  }
2893
2893
  lt(A) {
2894
- return new y(this._w.lt(F(A)));
2894
+ return new J(this._w.lt(F(A)));
2895
2895
  }
2896
2896
  lte(A) {
2897
- return new y(this._w.lte(F(A)));
2897
+ return new J(this._w.lte(F(A)));
2898
2898
  }
2899
2899
  gt(A) {
2900
- return new y(this._w.gt(F(A)));
2900
+ return new J(this._w.gt(F(A)));
2901
2901
  }
2902
2902
  gte(A) {
2903
- return new y(this._w.gte(F(A)));
2903
+ return new J(this._w.gte(F(A)));
2904
2904
  }
2905
2905
  // -- Logical --
2906
2906
  and(A) {
2907
- return new y(this._w.and(F(A)));
2907
+ return new J(this._w.and(F(A)));
2908
2908
  }
2909
2909
  or(A) {
2910
- return new y(this._w.or(F(A)));
2910
+ return new J(this._w.or(F(A)));
2911
2911
  }
2912
2912
  not() {
2913
- return new y(this._w.not());
2913
+ return new J(this._w.not());
2914
2914
  }
2915
2915
  xor(A) {
2916
- return new y(this._w.xor(F(A)));
2916
+ return new J(this._w.xor(F(A)));
2917
2917
  }
2918
2918
  // -- Arithmetic --
2919
2919
  add(A) {
2920
- return new y(this._w.add(F(A)));
2920
+ return new J(this._w.add(F(A)));
2921
2921
  }
2922
2922
  sub(A) {
2923
- return new y(this._w.sub(F(A)));
2923
+ return new J(this._w.sub(F(A)));
2924
2924
  }
2925
2925
  mul(A) {
2926
- return new y(this._w.mul(F(A)));
2926
+ return new J(this._w.mul(F(A)));
2927
2927
  }
2928
2928
  div(A) {
2929
- return new y(this._w.div(F(A)));
2929
+ return new J(this._w.div(F(A)));
2930
2930
  }
2931
2931
  // -- Pattern matching --
2932
2932
  like(A) {
2933
- return new y(this._w.like(F(A)));
2933
+ return new J(this._w.like(F(A)));
2934
2934
  }
2935
2935
  ilike(A) {
2936
- return new y(this._w.ilike(F(A)));
2936
+ return new J(this._w.ilike(F(A)));
2937
2937
  }
2938
2938
  rlike(A) {
2939
- return new y(this._w.rlike(F(A)));
2939
+ return new J(this._w.rlike(F(A)));
2940
2940
  }
2941
2941
  // -- Predicates --
2942
2942
  isNull() {
2943
- return new y(this._w.is_null());
2943
+ return new J(this._w.is_null());
2944
2944
  }
2945
2945
  isNotNull() {
2946
- return new y(this._w.is_not_null());
2946
+ return new J(this._w.is_not_null());
2947
2947
  }
2948
2948
  between(A, B) {
2949
- return new y(this._w.between(F(A), F(B)));
2949
+ return new J(this._w.between(F(A), F(B)));
2950
2950
  }
2951
2951
  inList(...A) {
2952
- return new y(this._w.in_list(O(A)));
2952
+ return new J(this._w.in_list(T(A)));
2953
2953
  }
2954
2954
  notIn(...A) {
2955
- return new y(this._w.not_in(O(A)));
2955
+ return new J(this._w.not_in(T(A)));
2956
2956
  }
2957
2957
  // -- Transform --
2958
2958
  alias(A) {
2959
- return new y(this._w.alias(A));
2959
+ return new J(this._w.alias(A));
2960
2960
  }
2961
2961
  as(A) {
2962
2962
  return this.alias(A);
2963
2963
  }
2964
2964
  cast(A) {
2965
- return new y(this._w.cast(A));
2965
+ return new J(this._w.cast(A));
2966
2966
  }
2967
2967
  asc() {
2968
- return new y(this._w.asc());
2968
+ return new J(this._w.asc());
2969
2969
  }
2970
2970
  desc() {
2971
- return new y(this._w.desc());
2971
+ return new J(this._w.desc());
2972
2972
  }
2973
2973
  // -- Output --
2974
2974
  /** Generate SQL string (generic dialect). */
@@ -2984,7 +2984,7 @@ class y {
2984
2984
  this._w.free();
2985
2985
  }
2986
2986
  }
2987
- class Oi {
2987
+ class Ti {
2988
2988
  /** @internal WASM handle */
2989
2989
  _w;
2990
2990
  constructor() {
@@ -2992,79 +2992,79 @@ class Oi {
2992
2992
  }
2993
2993
  /** Set the PARTITION BY expressions. */
2994
2994
  partitionBy(...A) {
2995
- return this._w.partition_by(O(A)), this;
2995
+ return this._w.partition_by(T(A)), this;
2996
2996
  }
2997
2997
  /** Set the ORDER BY expressions. */
2998
2998
  orderBy(...A) {
2999
- return this._w.order_by(O(A)), this;
2999
+ return this._w.order_by(T(A)), this;
3000
3000
  }
3001
3001
  /** Free the underlying WASM handle. */
3002
3002
  free() {
3003
3003
  this._w.free();
3004
3004
  }
3005
3005
  }
3006
- function ji(g) {
3007
- return new y(FA(g));
3006
+ function Oi(g) {
3007
+ return new J(FA(g));
3008
3008
  }
3009
3009
  function xi(g) {
3010
- return new y(NA(g));
3010
+ return new J(NA(g));
3011
3011
  }
3012
- function Vg() {
3013
- return new y(Fg());
3012
+ function zg() {
3013
+ return new J(Fg());
3014
3014
  }
3015
3015
  function ti() {
3016
- return new y(kA());
3016
+ return new J(kA());
3017
3017
  }
3018
3018
  function SA(g) {
3019
- return new y(kg(g));
3019
+ return new J(kg(g));
3020
3020
  }
3021
- function Zi(g) {
3022
- return new y(Sg(g));
3021
+ function Wi(g) {
3022
+ return new J(Sg(g));
3023
3023
  }
3024
3024
  function dg(g) {
3025
- return new y(Jg(g));
3025
+ return new J(yg(g));
3026
3026
  }
3027
- function Wi(g) {
3027
+ function Zi(g) {
3028
3028
  return dg(g);
3029
3029
  }
3030
3030
  function U(g, ...A) {
3031
- return new y(Kg(g, O(A)));
3031
+ return new J(Kg(g, T(A)));
3032
3032
  }
3033
3033
  function Pi(g) {
3034
- return new y(yg(F(g)));
3035
- }
3036
- function zi(g, A) {
3037
- return new y(Yg(F(g), A));
3034
+ return new J(Jg(F(g)));
3038
3035
  }
3039
3036
  function Vi(g, A) {
3040
- return new y(Gg(F(g), A));
3037
+ return new J(Yg(F(g), A));
3038
+ }
3039
+ function zi(g, A) {
3040
+ return new J(Gg(F(g), A));
3041
3041
  }
3042
3042
  function di(g, A) {
3043
- return new y(ag(g._w, A));
3043
+ return new J(ag(g._w, A));
3044
3044
  }
3045
3045
  function fi(...g) {
3046
3046
  if (g.length === 0) return SA(!0);
3047
3047
  if (g.length === 1)
3048
- return g[0] instanceof y ? g[0] : new y(F(g[0]));
3048
+ return g[0] instanceof J ? g[0] : new J(F(g[0]));
3049
3049
  let A = F(g[0]);
3050
3050
  for (let B = 1; B < g.length; B++)
3051
3051
  A = Ng(A, F(g[B]));
3052
- return new y(A);
3052
+ return new J(A);
3053
3053
  }
3054
3054
  function li(...g) {
3055
3055
  if (g.length === 0) return SA(!1);
3056
3056
  if (g.length === 1)
3057
- return g[0] instanceof y ? g[0] : new y(F(g[0]));
3057
+ return g[0] instanceof J ? g[0] : new J(F(g[0]));
3058
3058
  let A = F(g[0]);
3059
3059
  for (let B = 1; B < g.length; B++)
3060
3060
  A = Rg(A, F(g[B]));
3061
- return new y(A);
3061
+ return new J(A);
3062
3062
  }
3063
3063
  function mi(g) {
3064
- return g !== void 0 ? U("COUNT", g) : U("COUNT", Vg());
3064
+ return g !== void 0 ? U("COUNT", g) : U("COUNT", zg());
3065
3065
  }
3066
3066
  function bi(g) {
3067
- return new y(hg(F(g)));
3067
+ return new J(hg(F(g)));
3068
3068
  }
3069
3069
  function ri(g) {
3070
3070
  return U("SUM", g);
@@ -3072,10 +3072,10 @@ function ri(g) {
3072
3072
  function ui(g) {
3073
3073
  return U("AVG", g);
3074
3074
  }
3075
- function vi(g) {
3075
+ function ni(g) {
3076
3076
  return U("MIN", g);
3077
3077
  }
3078
- function ni(g) {
3078
+ function vi(g) {
3079
3079
  return U("MAX", g);
3080
3080
  }
3081
3081
  function Xi(g) {
@@ -3144,13 +3144,13 @@ function Ho(g) {
3144
3144
  function Ko(g) {
3145
3145
  return U("EXP", g);
3146
3146
  }
3147
- function yo(g) {
3147
+ function Jo(g) {
3148
3148
  return U("SIGN", g);
3149
3149
  }
3150
3150
  function Ro(...g) {
3151
3151
  return U("GREATEST", ...g);
3152
3152
  }
3153
- function Jo(...g) {
3153
+ function yo(...g) {
3154
3154
  return U("LEAST", ...g);
3155
3155
  }
3156
3156
  function Fo() {
@@ -3163,12 +3163,12 @@ function So() {
3163
3163
  return U("CURRENT_TIMESTAMP");
3164
3164
  }
3165
3165
  function Uo(g, A) {
3166
- return new y(Hg(g, F(A)));
3166
+ return new J(Hg(g, F(A)));
3167
3167
  }
3168
- function co() {
3168
+ function qo() {
3169
3169
  return U("ROW_NUMBER");
3170
3170
  }
3171
- function qo() {
3171
+ function co() {
3172
3172
  return U("RANK");
3173
3173
  }
3174
3174
  function Lo() {
@@ -3178,12 +3178,12 @@ class fg {
3178
3178
  /** @internal */
3179
3179
  _w;
3180
3180
  constructor() {
3181
- this._w = new T();
3181
+ this._w = new j();
3182
3182
  }
3183
3183
  /** Add columns to the SELECT list. Accepts Expr, strings (→ col), or '*'. */
3184
3184
  select(...A) {
3185
3185
  for (const B of A)
3186
- B === "*" ? this._w.select_star() : B instanceof y ? this._w.select_expr(B._w) : typeof B == "string" ? this._w.select_col(B) : this._w.select_expr(F(B));
3186
+ B === "*" ? this._w.select_star() : B instanceof J ? this._w.select_expr(B._w) : typeof B == "string" ? this._w.select_col(B) : this._w.select_expr(F(B));
3187
3187
  return this;
3188
3188
  }
3189
3189
  /** Set the FROM clause. */
@@ -3208,11 +3208,11 @@ class fg {
3208
3208
  }
3209
3209
  /** Set the WHERE clause. Accepts an Expr or a raw SQL string. */
3210
3210
  where(A) {
3211
- return typeof A == "string" ? this._w.where_sql(A) : A instanceof y ? this._w.where_expr(A._w) : this._w.where_expr(F(A)), this;
3211
+ return typeof A == "string" ? this._w.where_sql(A) : A instanceof J ? this._w.where_expr(A._w) : this._w.where_expr(F(A)), this;
3212
3212
  }
3213
3213
  /** Set the GROUP BY clause. */
3214
3214
  groupBy(...A) {
3215
- return this._w.group_by_cols(O(A)), this;
3215
+ return this._w.group_by_cols(T(A)), this;
3216
3216
  }
3217
3217
  /** Set the HAVING clause. */
3218
3218
  having(A) {
@@ -3220,7 +3220,7 @@ class fg {
3220
3220
  }
3221
3221
  /** Set the ORDER BY clause. */
3222
3222
  orderBy(...A) {
3223
- return this._w.order_by_exprs(O(A)), this;
3223
+ return this._w.order_by_exprs(T(A)), this;
3224
3224
  }
3225
3225
  /** Set the LIMIT. */
3226
3226
  limit(A) {
@@ -3240,7 +3240,7 @@ class fg {
3240
3240
  }
3241
3241
  /** Set the SORT BY clause (Hive/Spark — sorts within each partition). */
3242
3242
  sortBy(...A) {
3243
- return this._w.sort_by_exprs(O(A)), this;
3243
+ return this._w.sort_by_exprs(T(A)), this;
3244
3244
  }
3245
3245
  /** Add a named WINDOW clause definition. */
3246
3246
  window(A, B) {
@@ -3274,19 +3274,19 @@ class fg {
3274
3274
  }
3275
3275
  /** Combine with UNION. */
3276
3276
  union(A) {
3277
- return new n(this._w.union(A._w));
3277
+ return new v(this._w.union(A._w));
3278
3278
  }
3279
3279
  /** Combine with UNION ALL. */
3280
3280
  unionAll(A) {
3281
- return new n(this._w.union_all(A._w));
3281
+ return new v(this._w.union_all(A._w));
3282
3282
  }
3283
3283
  /** Combine with INTERSECT. */
3284
3284
  intersect(A) {
3285
- return new n(this._w.intersect(A._w));
3285
+ return new v(this._w.intersect(A._w));
3286
3286
  }
3287
3287
  /** Combine with EXCEPT. */
3288
3288
  except(A) {
3289
- return new n(this._w.except_(A._w));
3289
+ return new v(this._w.except_(A._w));
3290
3290
  }
3291
3291
  /** Generate SQL string. Defaults to generic dialect. */
3292
3292
  toSql(A = "generic") {
@@ -3317,7 +3317,7 @@ class lg {
3317
3317
  }
3318
3318
  /** Append a row of values. Call multiple times for multiple rows. */
3319
3319
  values(...A) {
3320
- return this._w.values(O(A)), this;
3320
+ return this._w.values(T(A)), this;
3321
3321
  }
3322
3322
  /** Set the source query for INSERT ... SELECT. */
3323
3323
  query(A) {
@@ -3402,10 +3402,10 @@ class rg {
3402
3402
  function ug(g) {
3403
3403
  return new rg(g);
3404
3404
  }
3405
- function To(g) {
3405
+ function jo(g) {
3406
3406
  return ug(g);
3407
3407
  }
3408
- class vg {
3408
+ class ng {
3409
3409
  /** @internal */
3410
3410
  _w;
3411
3411
  constructor(A) {
@@ -3428,7 +3428,7 @@ class vg {
3428
3428
  }
3429
3429
  /** Add a WHEN NOT MATCHED THEN INSERT clause. */
3430
3430
  whenNotMatchedInsert(A, B) {
3431
- return this._w.when_not_matched_insert(A, O(B)), this;
3431
+ return this._w.when_not_matched_insert(A, T(B)), this;
3432
3432
  }
3433
3433
  /** Generate SQL string. Defaults to generic dialect. */
3434
3434
  toSql(A = "generic") {
@@ -3443,8 +3443,8 @@ class vg {
3443
3443
  this._w.free();
3444
3444
  }
3445
3445
  }
3446
- function Oo(g) {
3447
- return new vg(g);
3446
+ function To(g) {
3447
+ return new ng(g);
3448
3448
  }
3449
3449
  class UA {
3450
3450
  /** @internal */
@@ -3463,20 +3463,20 @@ class UA {
3463
3463
  }
3464
3464
  /** Build the CASE expression as an Expr. */
3465
3465
  build() {
3466
- return new y(this._w.build_expr());
3466
+ return new J(this._w.build_expr());
3467
3467
  }
3468
3468
  /** Generate SQL string (generic dialect). */
3469
3469
  toSql() {
3470
3470
  return this._w.to_sql();
3471
3471
  }
3472
3472
  }
3473
- function jo() {
3473
+ function Oo() {
3474
3474
  return new UA(new l());
3475
3475
  }
3476
3476
  function xo(g) {
3477
3477
  return new UA(Mg(F(g)));
3478
3478
  }
3479
- class n {
3479
+ class v {
3480
3480
  /** @internal */
3481
3481
  _w;
3482
3482
  /** @internal */
@@ -3485,7 +3485,7 @@ class n {
3485
3485
  }
3486
3486
  /** Set the ORDER BY clause. */
3487
3487
  orderBy(...A) {
3488
- return this._w.order_by_exprs(O(A)), this;
3488
+ return this._w.order_by_exprs(T(A)), this;
3489
3489
  }
3490
3490
  /** Set the LIMIT. */
3491
3491
  limit(A) {
@@ -3511,28 +3511,28 @@ class n {
3511
3511
  function to(g, A) {
3512
3512
  return g.union(A);
3513
3513
  }
3514
- function Zo(g, A) {
3514
+ function Wo(g, A) {
3515
3515
  return g.unionAll(A);
3516
3516
  }
3517
- function Wo(g, A) {
3517
+ function Zo(g, A) {
3518
3518
  return g.intersect(A);
3519
3519
  }
3520
3520
  function Po(g, A) {
3521
3521
  return g.except(A);
3522
3522
  }
3523
- function zo(g, A) {
3523
+ function Vo(g, A) {
3524
3524
  const B = [];
3525
- return L(g) === "select" && B.push(...Vo(g)), B;
3525
+ return L(g) === "select" && B.push(...zo(g)), B;
3526
3526
  }
3527
- function Vo(g, A) {
3527
+ function zo(g, A) {
3528
3528
  const B = [];
3529
3529
  IA(g, "star").length > 0 && B.push({
3530
3530
  message: "SELECT * is discouraged; specify columns explicitly for better performance and maintainability",
3531
3531
  severity: "warning",
3532
3532
  code: "W001"
3533
3533
  });
3534
- const Q = Z(g);
3535
- if (zg(g) && !Q.group_by) {
3534
+ const Q = W(g);
3535
+ if (Vg(g) && !Q.group_by) {
3536
3536
  const E = GA(g);
3537
3537
  (Q.expressions || []).some((N) => {
3538
3538
  const Y = L(N);
@@ -3587,28 +3587,28 @@ function lo(g, A, B = "generic", C = {}) {
3587
3587
  const mo = {
3588
3588
  Error: "error",
3589
3589
  Warning: "warning"
3590
- }, v = Ug;
3590
+ }, n = Ug;
3591
3591
  function lA(g) {
3592
3592
  return typeof g == "string" ? JSON.parse(g) : g;
3593
3593
  }
3594
3594
  function bo(g, A = "generic", B = {}) {
3595
- const C = B.strictSyntax ? v.validate_with_options(
3595
+ const C = B.strictSyntax ? n.validate_with_options(
3596
3596
  g,
3597
3597
  A,
3598
3598
  JSON.stringify({ strictSyntax: !0 })
3599
- ) : v.validate(g, A), Q = JSON.parse(C);
3599
+ ) : n.validate(g, A), Q = JSON.parse(C);
3600
3600
  if (!Q.valid || !B.semantic)
3601
3601
  return Q;
3602
- const E = typeof v.parse_value == "function" ? lA(
3603
- v.parse_value(g, A)
3602
+ const E = typeof n.parse_value == "function" ? lA(
3603
+ n.parse_value(g, A)
3604
3604
  ) : lA(
3605
- v.parse(g, A)
3605
+ n.parse(g, A)
3606
3606
  );
3607
3607
  if (!E.success || !E.ast)
3608
3608
  return Q;
3609
3609
  const i = typeof E.ast == "string" ? JSON.parse(E.ast) : E.ast, w = [...Q.errors];
3610
3610
  for (const Y of i) {
3611
- const h = zo(Y);
3611
+ const h = Vo(Y);
3612
3612
  w.push(...h);
3613
3613
  }
3614
3614
  return {
@@ -3616,7 +3616,7 @@ function bo(g, A = "generic", B = {}) {
3616
3616
  errors: w
3617
3617
  };
3618
3618
  }
3619
- function ng(g, A, B = "generic", C = !1) {
3619
+ function vg(g, A, B = "generic", C = !1) {
3620
3620
  const Q = Dg(A, g, B, C);
3621
3621
  return JSON.parse(Q);
3622
3622
  }
@@ -3638,12 +3638,12 @@ function gI(g, A = "generic") {
3638
3638
  const B = ig(g, A);
3639
3639
  return JSON.parse(B);
3640
3640
  }
3641
- var cA = /* @__PURE__ */ ((g) => (g.Generic = "generic", g.PostgreSQL = "postgresql", g.MySQL = "mysql", g.BigQuery = "bigquery", g.Snowflake = "snowflake", g.DuckDB = "duckdb", g.SQLite = "sqlite", g.Hive = "hive", g.Spark = "spark", g.Trino = "trino", g.Presto = "presto", g.Redshift = "redshift", g.TSQL = "tsql", g.Oracle = "oracle", g.ClickHouse = "clickhouse", g.Databricks = "databricks", g.Athena = "athena", g.Teradata = "teradata", g.Doris = "doris", g.StarRocks = "starrocks", g.Materialize = "materialize", g.RisingWave = "risingwave", g.SingleStore = "singlestore", g.CockroachDB = "cockroachdb", g.TiDB = "tidb", g.Druid = "druid", g.Solr = "solr", g.Tableau = "tableau", g.Dune = "dune", g.Fabric = "fabric", g.Drill = "drill", g.Dremio = "dremio", g.Exasol = "exasol", g.DataFusion = "datafusion", g))(cA || {});
3641
+ var qA = /* @__PURE__ */ ((g) => (g.Generic = "generic", g.PostgreSQL = "postgresql", g.MySQL = "mysql", g.BigQuery = "bigquery", g.Snowflake = "snowflake", g.DuckDB = "duckdb", g.SQLite = "sqlite", g.Hive = "hive", g.Spark = "spark", g.Trino = "trino", g.Presto = "presto", g.Redshift = "redshift", g.TSQL = "tsql", g.Oracle = "oracle", g.ClickHouse = "clickhouse", g.Databricks = "databricks", g.Athena = "athena", g.Teradata = "teradata", g.Doris = "doris", g.StarRocks = "starrocks", g.Materialize = "materialize", g.RisingWave = "risingwave", g.SingleStore = "singlestore", g.CockroachDB = "cockroachdb", g.TiDB = "tidb", g.Druid = "druid", g.Solr = "solr", g.Tableau = "tableau", g.Dune = "dune", g.Fabric = "fabric", g.Drill = "drill", g.Dremio = "dremio", g.Exasol = "exasol", g.DataFusion = "datafusion", g))(qA || {});
3642
3642
  const e = Ug;
3643
3643
  function II(g) {
3644
3644
  return g instanceof Error && g.message ? g.message : typeof g == "string" ? g : String(g);
3645
3645
  }
3646
- function qA(g, A) {
3646
+ function cA(g, A) {
3647
3647
  return {
3648
3648
  success: !1,
3649
3649
  sql: void 0,
@@ -3676,7 +3676,7 @@ function LA(g, A, B) {
3676
3676
  e.transpile_value(g, A, B)
3677
3677
  ) : JSON.parse(e.transpile(g, A, B));
3678
3678
  } catch (C) {
3679
- return qA("transpile", C);
3679
+ return cA("transpile", C);
3680
3680
  }
3681
3681
  }
3682
3682
  function sA(g, A = "generic") {
@@ -3698,7 +3698,7 @@ function pA(g, A = "generic") {
3698
3698
  const B = JSON.stringify(g);
3699
3699
  return JSON.parse(e.generate(B, A));
3700
3700
  } catch (B) {
3701
- return qA("generate", B);
3701
+ return cA("generate", B);
3702
3702
  }
3703
3703
  }
3704
3704
  function eA(g, A = "generic") {
@@ -3707,13 +3707,13 @@ function eA(g, A = "generic") {
3707
3707
  e.format_sql_value(g, A)
3708
3708
  ) : JSON.parse(e.format_sql(g, A));
3709
3709
  } catch (B) {
3710
- return qA("format", B);
3710
+ return cA("format", B);
3711
3711
  }
3712
3712
  }
3713
- function TA() {
3713
+ function jA() {
3714
3714
  return typeof e.get_dialects_value == "function" ? BA(e.get_dialects_value()) : JSON.parse(e.get_dialects());
3715
3715
  }
3716
- function OA() {
3716
+ function TA() {
3717
3717
  return e.version();
3718
3718
  }
3719
3719
  class f {
@@ -3760,13 +3760,13 @@ class f {
3760
3760
  * Per-dialect builds return only `"generic"` and the selected dialect.
3761
3761
  */
3762
3762
  getDialects() {
3763
- return TA();
3763
+ return jA();
3764
3764
  }
3765
3765
  /**
3766
3766
  * Get library version.
3767
3767
  */
3768
3768
  getVersion() {
3769
- return OA();
3769
+ return TA();
3770
3770
  }
3771
3771
  }
3772
3772
  const uo = {
@@ -3776,52 +3776,52 @@ const uo = {
3776
3776
  parse: sA,
3777
3777
  generate: pA,
3778
3778
  format: eA,
3779
- getDialects: TA,
3780
- getVersion: OA,
3781
- lineage: ng,
3779
+ getDialects: jA,
3780
+ getVersion: TA,
3781
+ lineage: vg,
3782
3782
  getSourceTables: Xg,
3783
3783
  diff: _g,
3784
3784
  hasChanges: $g,
3785
3785
  changesOnly: AI,
3786
3786
  plan: gI,
3787
- Dialect: cA,
3787
+ Dialect: qA,
3788
3788
  Polyglot: f
3789
- }, vo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3789
+ }, no = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3790
3790
  __proto__: null,
3791
3791
  CaseBuilder: UA,
3792
3792
  DeleteBuilder: rg,
3793
- Dialect: cA,
3794
- Expr: y,
3793
+ Dialect: qA,
3794
+ Expr: J,
3795
3795
  InsertBuilder: lg,
3796
- MergeBuilder: vg,
3796
+ MergeBuilder: ng,
3797
3797
  Polyglot: f,
3798
3798
  SelectBuilder: fg,
3799
- SetOpBuilder: n,
3799
+ SetOpBuilder: v,
3800
3800
  UpdateBuilder: bg,
3801
3801
  ValidationSeverity: mo,
3802
- WindowDefBuilder: Oi,
3802
+ WindowDefBuilder: Ti,
3803
3803
  abs: Go,
3804
- alias: Vi,
3804
+ alias: zi,
3805
3805
  and: fi,
3806
- ast: Ti,
3806
+ ast: ji,
3807
3807
  avg: ui,
3808
3808
  boolean: SA,
3809
3809
  caseOf: xo,
3810
- caseWhen: jo,
3811
- cast: zi,
3810
+ caseWhen: Oo,
3811
+ cast: Vi,
3812
3812
  ceil: Mo,
3813
3813
  changesOnly: AI,
3814
3814
  coalesce: io,
3815
- col: ji,
3815
+ col: Oi,
3816
3816
  concatWs: Do,
3817
- condition: Wi,
3817
+ condition: Zi,
3818
3818
  count: mi,
3819
3819
  countDistinct: bi,
3820
3820
  currentDate: Fo,
3821
3821
  currentTime: ao,
3822
3822
  currentTimestamp: So,
3823
3823
  default: uo,
3824
- del: To,
3824
+ del: jo,
3825
3825
  deleteFrom: ug,
3826
3826
  denseRank: Lo,
3827
3827
  diff: _g,
@@ -3833,10 +3833,10 @@ const uo = {
3833
3833
  format: eA,
3834
3834
  func: U,
3835
3835
  generate: pA,
3836
- getColumns: Zg,
3837
- getDialects: TA,
3836
+ getColumns: Wg,
3837
+ getDialects: jA,
3838
3838
  getSourceTables: Xg,
3839
- getVersion: OA,
3839
+ getVersion: TA,
3840
3840
  greatest: Ro,
3841
3841
  hasChanges: $g,
3842
3842
  ifNull: wo,
@@ -3844,89 +3844,89 @@ const uo = {
3844
3844
  initcap: Co,
3845
3845
  insert: po,
3846
3846
  insertInto: mg,
3847
- intersect: Wo,
3848
- isColumn: qg,
3847
+ intersect: Zo,
3848
+ isColumn: cg,
3849
3849
  isFunction: sg,
3850
3850
  isInitialized: CI,
3851
3851
  isLiteral: Lg,
3852
- isSelect: cg,
3853
- least: Jo,
3852
+ isSelect: qg,
3853
+ least: yo,
3854
3854
  length: $i,
3855
- lineage: ng,
3855
+ lineage: vg,
3856
3856
  lit: xi,
3857
3857
  ln: Ho,
3858
3858
  lower: _i,
3859
3859
  ltrim: go,
3860
- max: ni,
3861
- mergeInto: Oo,
3862
- min: vi,
3860
+ max: vi,
3861
+ mergeInto: To,
3862
+ min: ni,
3863
3863
  not: Pi,
3864
3864
  nullIf: oo,
3865
3865
  or: li,
3866
3866
  parse: sA,
3867
3867
  plan: gI,
3868
3868
  power: Yo,
3869
- rank: qo,
3870
- renameColumns: Tg,
3869
+ rank: co,
3870
+ renameColumns: jg,
3871
3871
  replace: Eo,
3872
3872
  reverse: Bo,
3873
3873
  round: No,
3874
- rowNumber: co,
3874
+ rowNumber: qo,
3875
3875
  rtrim: Io,
3876
3876
  select: so,
3877
- sign: yo,
3877
+ sign: Jo,
3878
3878
  sqlExpr: dg,
3879
3879
  sqlNull: ti,
3880
3880
  sqrt: ho,
3881
- star: Vg,
3881
+ star: zg,
3882
3882
  subquery: di,
3883
3883
  substring: Qo,
3884
3884
  sum: ri,
3885
- table: Zi,
3885
+ table: Wi,
3886
3886
  transform: YA,
3887
3887
  transpile: LA,
3888
3888
  trim: Ao,
3889
3889
  union: to,
3890
- unionAll: Zo,
3890
+ unionAll: Wo,
3891
3891
  update: eo,
3892
3892
  upper: Xi,
3893
3893
  validate: bo,
3894
3894
  validateWithSchema: lo,
3895
- walk: j
3895
+ walk: O
3896
3896
  }, Symbol.toStringTag, { value: "Module" }));
3897
3897
  export {
3898
3898
  UA as CaseBuilder,
3899
3899
  rg as DeleteBuilder,
3900
- cA as Dialect,
3901
- y as Expr,
3900
+ qA as Dialect,
3901
+ J as Expr,
3902
3902
  lg as InsertBuilder,
3903
- vg as MergeBuilder,
3903
+ ng as MergeBuilder,
3904
3904
  f as Polyglot,
3905
3905
  fg as SelectBuilder,
3906
- n as SetOpBuilder,
3906
+ v as SetOpBuilder,
3907
3907
  bg as UpdateBuilder,
3908
3908
  mo as ValidationSeverity,
3909
3909
  Go as abs,
3910
- Vi as alias,
3910
+ zi as alias,
3911
3911
  fi as and,
3912
- Ti as ast,
3912
+ ji as ast,
3913
3913
  ui as avg,
3914
3914
  SA as boolean,
3915
3915
  xo as caseOf,
3916
- jo as caseWhen,
3917
- zi as cast,
3916
+ Oo as caseWhen,
3917
+ Vi as cast,
3918
3918
  Mo as ceil,
3919
3919
  io as coalesce,
3920
- ji as col,
3920
+ Oi as col,
3921
3921
  Do as concatWs,
3922
- Wi as condition,
3922
+ Zi as condition,
3923
3923
  mi as count,
3924
3924
  bi as countDistinct,
3925
3925
  Fo as currentDate,
3926
3926
  ao as currentTime,
3927
3927
  So as currentTimestamp,
3928
- vo as default,
3929
- To as del,
3928
+ no as default,
3929
+ jo as del,
3930
3930
  ug as deleteFrom,
3931
3931
  Lo as denseRank,
3932
3932
  Po as except,
@@ -3937,59 +3937,59 @@ export {
3937
3937
  eA as format,
3938
3938
  U as func,
3939
3939
  pA as generate,
3940
- Zg as getColumns,
3941
- TA as getDialects,
3942
- OA as getVersion,
3940
+ Wg as getColumns,
3941
+ jA as getDialects,
3942
+ TA as getVersion,
3943
3943
  Ro as greatest,
3944
3944
  wo as ifNull,
3945
3945
  BI as init,
3946
3946
  Co as initcap,
3947
3947
  po as insert,
3948
3948
  mg as insertInto,
3949
- Wo as intersect,
3950
- qg as isColumn,
3949
+ Zo as intersect,
3950
+ cg as isColumn,
3951
3951
  sg as isFunction,
3952
3952
  CI as isInitialized,
3953
3953
  Lg as isLiteral,
3954
- cg as isSelect,
3955
- Jo as least,
3954
+ qg as isSelect,
3955
+ yo as least,
3956
3956
  $i as length,
3957
3957
  xi as lit,
3958
3958
  Ho as ln,
3959
3959
  _i as lower,
3960
3960
  go as ltrim,
3961
- ni as max,
3962
- Oo as mergeInto,
3963
- vi as min,
3961
+ vi as max,
3962
+ To as mergeInto,
3963
+ ni as min,
3964
3964
  Pi as not,
3965
3965
  oo as nullIf,
3966
3966
  li as or,
3967
3967
  sA as parse,
3968
3968
  Yo as power,
3969
- qo as rank,
3970
- Tg as renameColumns,
3969
+ co as rank,
3970
+ jg as renameColumns,
3971
3971
  Eo as replace,
3972
3972
  Bo as reverse,
3973
3973
  No as round,
3974
- co as rowNumber,
3974
+ qo as rowNumber,
3975
3975
  Io as rtrim,
3976
3976
  so as select,
3977
- yo as sign,
3977
+ Jo as sign,
3978
3978
  dg as sqlExpr,
3979
3979
  ti as sqlNull,
3980
3980
  ho as sqrt,
3981
- Vg as star,
3981
+ zg as star,
3982
3982
  Qo as substring,
3983
3983
  ri as sum,
3984
- Zi as table,
3984
+ Wi as table,
3985
3985
  YA as transform,
3986
3986
  LA as transpile,
3987
3987
  Ao as trim,
3988
3988
  to as union,
3989
- Zo as unionAll,
3989
+ Wo as unionAll,
3990
3990
  eo as update,
3991
3991
  Xi as upper,
3992
3992
  bo as validate,
3993
3993
  lo as validateWithSchema,
3994
- j as walk
3994
+ O as walk
3995
3995
  };