@polyglot-sql/sdk 0.3.8 → 0.3.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -28,7 +28,7 @@ const kI = new URL("../polyglot_sql_wasm_bg.wasm",import.meta.url).href, NI = as
28
28
  class CA {
29
29
  __destroy_into_raw() {
30
30
  const A = this.__wbg_ptr;
31
- return this.__wbg_ptr = 0, VA.unregister(this), A;
31
+ return this.__wbg_ptr = 0, ZA.unregister(this), A;
32
32
  }
33
33
  free() {
34
34
  const A = this.__destroy_into_raw();
@@ -46,7 +46,7 @@ class CA {
46
46
  */
47
47
  constructor() {
48
48
  const A = I.wasmassignmentarray_new();
49
- return this.__wbg_ptr = A >>> 0, VA.register(this, this.__wbg_ptr, this), this;
49
+ return this.__wbg_ptr = A >>> 0, ZA.register(this, this.__wbg_ptr, this), this;
50
50
  }
51
51
  /**
52
52
  * Add a column = value assignment.
@@ -59,10 +59,10 @@ class CA {
59
59
  }
60
60
  }
61
61
  Symbol.dispose && (CA.prototype[Symbol.dispose] = CA.prototype.free);
62
- class l {
62
+ class n {
63
63
  static __wrap(A) {
64
64
  A = A >>> 0;
65
- const C = Object.create(l.prototype);
65
+ const C = Object.create(n.prototype);
66
66
  return C.__wbg_ptr = A, hA.register(C, C.__wbg_ptr, C), C;
67
67
  }
68
68
  __destroy_into_raw() {
@@ -129,7 +129,7 @@ class l {
129
129
  S(A, K), S(C, K), I.wasmcasebuilder_when(this.__wbg_ptr, A.__wbg_ptr, C.__wbg_ptr);
130
130
  }
131
131
  }
132
- Symbol.dispose && (l.prototype[Symbol.dispose] = l.prototype.free);
132
+ Symbol.dispose && (n.prototype[Symbol.dispose] = n.prototype.free);
133
133
  class MA {
134
134
  __destroy_into_raw() {
135
135
  const A = this.__wbg_ptr;
@@ -726,7 +726,7 @@ Symbol.dispose && (oA.prototype[Symbol.dispose] = oA.prototype.free);
726
726
  class P {
727
727
  __destroy_into_raw() {
728
728
  const A = this.__wbg_ptr;
729
- return this.__wbg_ptr = 0, uA.unregister(this), A;
729
+ return this.__wbg_ptr = 0, rA.unregister(this), A;
730
730
  }
731
731
  free() {
732
732
  const A = this.__destroy_into_raw();
@@ -782,8 +782,8 @@ class P {
782
782
  ctas_sql(A, C) {
783
783
  let B, Q;
784
784
  try {
785
- const h = I.__wbindgen_add_to_stack_pointer(-16), R = k(A, I.__wbindgen_export, I.__wbindgen_export2), q = o, j = k(C, I.__wbindgen_export, I.__wbindgen_export2), u = o;
786
- I.wasmselectbuilder_ctas_sql(h, this.__wbg_ptr, R, q, j, u);
785
+ const h = I.__wbindgen_add_to_stack_pointer(-16), R = k(A, I.__wbindgen_export, I.__wbindgen_export2), q = o, j = k(C, I.__wbindgen_export, I.__wbindgen_export2), r = o;
786
+ I.wasmselectbuilder_ctas_sql(h, this.__wbg_ptr, R, q, j, r);
787
787
  var E = M().getInt32(h + 0, !0), D = M().getInt32(h + 4, !0), i = M().getInt32(h + 8, !0), N = M().getInt32(h + 12, !0), y = E, G = D;
788
788
  if (N)
789
789
  throw y = 0, G = 0, F(i);
@@ -916,7 +916,7 @@ class P {
916
916
  */
917
917
  constructor() {
918
918
  const A = I.wasmselectbuilder_new();
919
- return this.__wbg_ptr = A >>> 0, uA.register(this, this.__wbg_ptr, this), this;
919
+ return this.__wbg_ptr = A >>> 0, rA.register(this, this.__wbg_ptr, this), this;
920
920
  }
921
921
  /**
922
922
  * Set the OFFSET clause.
@@ -1072,11 +1072,11 @@ class z {
1072
1072
  static __wrap(A) {
1073
1073
  A = A >>> 0;
1074
1074
  const C = Object.create(z.prototype);
1075
- return C.__wbg_ptr = A, rA.register(C, C.__wbg_ptr, C), C;
1075
+ return C.__wbg_ptr = A, uA.register(C, C.__wbg_ptr, C), C;
1076
1076
  }
1077
1077
  __destroy_into_raw() {
1078
1078
  const A = this.__wbg_ptr;
1079
- return this.__wbg_ptr = 0, rA.unregister(this), A;
1079
+ return this.__wbg_ptr = 0, uA.unregister(this), A;
1080
1080
  }
1081
1081
  free() {
1082
1082
  const A = this.__destroy_into_raw();
@@ -1142,7 +1142,7 @@ Symbol.dispose && (z.prototype[Symbol.dispose] = z.prototype.free);
1142
1142
  class kA {
1143
1143
  __destroy_into_raw() {
1144
1144
  const A = this.__wbg_ptr;
1145
- return this.__wbg_ptr = 0, lA.unregister(this), A;
1145
+ return this.__wbg_ptr = 0, nA.unregister(this), A;
1146
1146
  }
1147
1147
  free() {
1148
1148
  const A = this.__destroy_into_raw();
@@ -1178,7 +1178,7 @@ class kA {
1178
1178
  */
1179
1179
  constructor(A) {
1180
1180
  const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), B = o, Q = I.wasmupdatebuilder_new(C, B);
1181
- return this.__wbg_ptr = Q >>> 0, lA.register(this, this.__wbg_ptr, this), this;
1181
+ return this.__wbg_ptr = Q >>> 0, nA.register(this, this.__wbg_ptr, this), this;
1182
1182
  }
1183
1183
  /**
1184
1184
  * Add a SET column = value assignment.
@@ -1219,7 +1219,7 @@ Symbol.dispose && (kA.prototype[Symbol.dispose] = kA.prototype.free);
1219
1219
  class BA {
1220
1220
  __destroy_into_raw() {
1221
1221
  const A = this.__wbg_ptr;
1222
- return this.__wbg_ptr = 0, nA.unregister(this), A;
1222
+ return this.__wbg_ptr = 0, lA.unregister(this), A;
1223
1223
  }
1224
1224
  free() {
1225
1225
  const A = this.__destroy_into_raw();
@@ -1230,7 +1230,7 @@ class BA {
1230
1230
  */
1231
1231
  constructor() {
1232
1232
  const A = I.wasmwindowdefbuilder_new();
1233
- return this.__wbg_ptr = A >>> 0, nA.register(this, this.__wbg_ptr, this), this;
1233
+ return this.__wbg_ptr = A >>> 0, lA.register(this, this.__wbg_ptr, this), this;
1234
1234
  }
1235
1235
  /**
1236
1236
  * Set the ORDER BY expressions.
@@ -1263,7 +1263,7 @@ function KI(g, A, C) {
1263
1263
  const B = k(g, I.__wbindgen_export, I.__wbindgen_export2), Q = o, E = k(A, I.__wbindgen_export, I.__wbindgen_export2), D = o, i = k(C, I.__wbindgen_export, I.__wbindgen_export2), N = o, y = I.annotate_types_value(B, Q, E, D, i, N);
1264
1264
  return F(y);
1265
1265
  }
1266
- function bA(g, A, C) {
1266
+ function vA(g, A, C) {
1267
1267
  let B, Q;
1268
1268
  try {
1269
1269
  const i = I.__wbindgen_add_to_stack_pointer(-16), N = k(g, I.__wbindgen_export, I.__wbindgen_export2), y = o, G = k(A, I.__wbindgen_export, I.__wbindgen_export2), h = o;
@@ -1274,7 +1274,7 @@ function bA(g, A, C) {
1274
1274
  I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, Q, 1);
1275
1275
  }
1276
1276
  }
1277
- function vA(g) {
1277
+ function bA(g) {
1278
1278
  let A, C;
1279
1279
  try {
1280
1280
  const E = I.__wbindgen_add_to_stack_pointer(-16), D = k(g, I.__wbindgen_export, I.__wbindgen_export2), i = o;
@@ -1431,8 +1431,8 @@ function Mg(g, A) {
1431
1431
  function ig(g, A, C, B, Q, E) {
1432
1432
  let D, i;
1433
1433
  try {
1434
- const G = I.__wbindgen_add_to_stack_pointer(-16), h = k(g, I.__wbindgen_export, I.__wbindgen_export2), R = o, q = k(A, I.__wbindgen_export, I.__wbindgen_export2), j = o, u = k(C, I.__wbindgen_export, I.__wbindgen_export2), v = o;
1435
- I.diff_sql(G, h, R, q, j, u, v, B, Q, E);
1434
+ const G = I.__wbindgen_add_to_stack_pointer(-16), h = k(g, I.__wbindgen_export, I.__wbindgen_export2), R = o, q = k(A, I.__wbindgen_export, I.__wbindgen_export2), j = o, r = k(C, I.__wbindgen_export, I.__wbindgen_export2), b = o;
1435
+ I.diff_sql(G, h, R, q, j, r, b, B, Q, E);
1436
1436
  var N = M().getInt32(G + 0, !0), y = M().getInt32(G + 4, !0);
1437
1437
  return D = N, i = y, c(N, y);
1438
1438
  } finally {
@@ -1513,8 +1513,8 @@ function og(g, A, C, B) {
1513
1513
  function kg(g, A, C, B, Q) {
1514
1514
  let E, D;
1515
1515
  try {
1516
- const y = I.__wbindgen_add_to_stack_pointer(-16), G = k(g, I.__wbindgen_export, I.__wbindgen_export2), h = o, R = k(A, I.__wbindgen_export, I.__wbindgen_export2), q = o, j = k(C, I.__wbindgen_export, I.__wbindgen_export2), u = o, v = k(B, I.__wbindgen_export, I.__wbindgen_export2), oI = o;
1517
- I.lineage_sql_with_schema(y, G, h, R, q, j, u, v, oI, Q);
1516
+ const y = I.__wbindgen_add_to_stack_pointer(-16), G = k(g, I.__wbindgen_export, I.__wbindgen_export2), h = o, R = k(A, I.__wbindgen_export, I.__wbindgen_export2), q = o, j = k(C, I.__wbindgen_export, I.__wbindgen_export2), r = o, b = k(B, I.__wbindgen_export, I.__wbindgen_export2), oI = o;
1517
+ I.lineage_sql_with_schema(y, G, h, R, q, j, r, b, oI, Q);
1518
1518
  var i = M().getInt32(y + 0, !0), N = M().getInt32(y + 4, !0);
1519
1519
  return E = i, D = N, c(i, N);
1520
1520
  } finally {
@@ -1613,8 +1613,8 @@ function TI(g, A, C) {
1613
1613
  function Kg(g, A, C, B) {
1614
1614
  let Q, E;
1615
1615
  try {
1616
- const N = I.__wbindgen_add_to_stack_pointer(-16), y = k(g, I.__wbindgen_export, I.__wbindgen_export2), G = o, h = k(A, I.__wbindgen_export, I.__wbindgen_export2), R = o, q = k(C, I.__wbindgen_export, I.__wbindgen_export2), j = o, u = k(B, I.__wbindgen_export, I.__wbindgen_export2), v = o;
1617
- I.validate_with_schema(N, y, G, h, R, q, j, u, v);
1616
+ const N = I.__wbindgen_add_to_stack_pointer(-16), y = k(g, I.__wbindgen_export, I.__wbindgen_export2), G = o, h = k(A, I.__wbindgen_export, I.__wbindgen_export2), R = o, q = k(C, I.__wbindgen_export, I.__wbindgen_export2), j = o, r = k(B, I.__wbindgen_export, I.__wbindgen_export2), b = o;
1617
+ I.validate_with_schema(N, y, G, h, R, q, j, r, b);
1618
1618
  var D = M().getInt32(N + 0, !0), i = M().getInt32(N + 4, !0);
1619
1619
  return Q = D, E = i, c(D, i);
1620
1620
  } finally {
@@ -1649,7 +1649,7 @@ function Sg(g) {
1649
1649
  function hg(g) {
1650
1650
  S(g, K);
1651
1651
  const A = I.wasm_case_of(g.__wbg_ptr);
1652
- return l.__wrap(A);
1652
+ return n.__wrap(A);
1653
1653
  }
1654
1654
  function Hg(g, A) {
1655
1655
  S(g, K);
@@ -1734,13 +1734,13 @@ function dI(g, A) {
1734
1734
  }
1735
1735
  function tI(g, A) {
1736
1736
  const C = U(A), B = typeof C == "bigint" ? C : void 0;
1737
- M().setBigInt64(g + 8, b(B) ? BigInt(0) : B, !0), M().setInt32(g + 0, !b(B), !0);
1737
+ M().setBigInt64(g + 8, v(B) ? BigInt(0) : B, !0), M().setInt32(g + 0, !v(B), !0);
1738
1738
  }
1739
- function ZI(g) {
1739
+ function VI(g) {
1740
1740
  const A = U(g), C = typeof A == "boolean" ? A : void 0;
1741
- return b(C) ? 16777215 : C ? 1 : 0;
1741
+ return v(C) ? 16777215 : C ? 1 : 0;
1742
1742
  }
1743
- function VI(g, A) {
1743
+ function ZI(g, A) {
1744
1744
  const C = UA(U(A)), B = k(C, I.__wbindgen_export, I.__wbindgen_export2), Q = o;
1745
1745
  M().setInt32(g + 4, Q, !0), M().setInt32(g + 0, B, !0);
1746
1746
  }
@@ -1760,28 +1760,28 @@ function eI(g) {
1760
1760
  const A = U(g);
1761
1761
  return typeof A == "object" && A !== null;
1762
1762
  }
1763
- function uI(g) {
1763
+ function rI(g) {
1764
1764
  return typeof U(g) == "string";
1765
1765
  }
1766
- function rI(g) {
1766
+ function uI(g) {
1767
1767
  return U(g) === void 0;
1768
1768
  }
1769
- function lI(g, A) {
1769
+ function nI(g, A) {
1770
1770
  return U(g) === U(A);
1771
1771
  }
1772
- function nI(g, A) {
1772
+ function lI(g, A) {
1773
1773
  return U(g) == U(A);
1774
1774
  }
1775
1775
  function mI(g, A) {
1776
1776
  const C = U(A), B = typeof C == "number" ? C : void 0;
1777
- M().setFloat64(g + 8, b(B) ? 0 : B, !0), M().setInt32(g + 0, !b(B), !0);
1777
+ M().setFloat64(g + 8, v(B) ? 0 : B, !0), M().setInt32(g + 0, !v(B), !0);
1778
1778
  }
1779
- function bI(g, A) {
1779
+ function vI(g, A) {
1780
1780
  const C = U(A), B = typeof C == "string" ? C : void 0;
1781
- var Q = b(B) ? 0 : k(B, I.__wbindgen_export, I.__wbindgen_export2), E = o;
1781
+ var Q = v(B) ? 0 : k(B, I.__wbindgen_export, I.__wbindgen_export2), E = o;
1782
1782
  M().setInt32(g + 4, E, !0), M().setInt32(g + 0, Q, !0);
1783
1783
  }
1784
- function vI(g, A) {
1784
+ function bI(g, A) {
1785
1785
  throw new Error(c(g, A));
1786
1786
  }
1787
1787
  function XI() {
@@ -1945,7 +1945,7 @@ function OC(g) {
1945
1945
  function jC(g) {
1946
1946
  F(g);
1947
1947
  }
1948
- const VA = typeof FinalizationRegistry > "u" ? { register: () => {
1948
+ const ZA = typeof FinalizationRegistry > "u" ? { register: () => {
1949
1949
  }, unregister: () => {
1950
1950
  } } : new FinalizationRegistry((g) => I.__wbg_wasmassignmentarray_free(g >>> 0, 1)), hA = typeof FinalizationRegistry > "u" ? { register: () => {
1951
1951
  }, unregister: () => {
@@ -1959,19 +1959,19 @@ const VA = typeof FinalizationRegistry > "u" ? { register: () => {
1959
1959
  }, unregister: () => {
1960
1960
  } } : new FinalizationRegistry((g) => I.__wbg_wasminsertbuilder_free(g >>> 0, 1)), eA = typeof FinalizationRegistry > "u" ? { register: () => {
1961
1961
  }, unregister: () => {
1962
- } } : new FinalizationRegistry((g) => I.__wbg_wasmmergebuilder_free(g >>> 0, 1)), uA = typeof FinalizationRegistry > "u" ? { register: () => {
1962
+ } } : new FinalizationRegistry((g) => I.__wbg_wasmmergebuilder_free(g >>> 0, 1)), rA = typeof FinalizationRegistry > "u" ? { register: () => {
1963
1963
  }, unregister: () => {
1964
- } } : new FinalizationRegistry((g) => I.__wbg_wasmselectbuilder_free(g >>> 0, 1)), rA = typeof FinalizationRegistry > "u" ? { register: () => {
1964
+ } } : new FinalizationRegistry((g) => I.__wbg_wasmselectbuilder_free(g >>> 0, 1)), uA = typeof FinalizationRegistry > "u" ? { register: () => {
1965
1965
  }, unregister: () => {
1966
- } } : new FinalizationRegistry((g) => I.__wbg_wasmsetopbuilder_free(g >>> 0, 1)), lA = typeof FinalizationRegistry > "u" ? { register: () => {
1966
+ } } : new FinalizationRegistry((g) => I.__wbg_wasmsetopbuilder_free(g >>> 0, 1)), nA = typeof FinalizationRegistry > "u" ? { register: () => {
1967
1967
  }, unregister: () => {
1968
- } } : new FinalizationRegistry((g) => I.__wbg_wasmupdatebuilder_free(g >>> 0, 1)), nA = typeof FinalizationRegistry > "u" ? { register: () => {
1968
+ } } : new FinalizationRegistry((g) => I.__wbg_wasmupdatebuilder_free(g >>> 0, 1)), lA = typeof FinalizationRegistry > "u" ? { register: () => {
1969
1969
  }, unregister: () => {
1970
1970
  } } : new FinalizationRegistry((g) => I.__wbg_wasmwindowdefbuilder_free(g >>> 0, 1));
1971
1971
  function s(g) {
1972
- AA === V.length && V.push(V.length + 1);
1972
+ AA === Z.length && Z.push(Z.length + 1);
1973
1973
  const A = AA;
1974
- return AA = V[A], V[A] = g, A;
1974
+ return AA = Z[A], Z[A] = g, A;
1975
1975
  }
1976
1976
  function S(g, A) {
1977
1977
  if (!(g instanceof A))
@@ -2015,7 +2015,7 @@ function UA(g) {
2015
2015
  ${g.stack}` : B;
2016
2016
  }
2017
2017
  function PC(g) {
2018
- g < 132 || (V[g] = AA, AA = g);
2018
+ g < 132 || (Z[g] = AA, AA = g);
2019
2019
  }
2020
2020
  function dC(g, A) {
2021
2021
  return g = g >>> 0, $().subarray(g / 1, g / 1 + A);
@@ -2025,14 +2025,14 @@ function M() {
2025
2025
  return (m === null || m.buffer.detached === !0 || m.buffer.detached === void 0 && m.buffer !== I.memory.buffer) && (m = new DataView(I.memory.buffer)), m;
2026
2026
  }
2027
2027
  function c(g, A) {
2028
- return g = g >>> 0, ZC(g, A);
2028
+ return g = g >>> 0, VC(g, A);
2029
2029
  }
2030
2030
  let EA = null;
2031
2031
  function $() {
2032
2032
  return (EA === null || EA.byteLength === 0) && (EA = new Uint8Array(I.memory.buffer)), EA;
2033
2033
  }
2034
2034
  function U(g) {
2035
- return V[g];
2035
+ return Z[g];
2036
2036
  }
2037
2037
  function KA(g, A) {
2038
2038
  try {
@@ -2041,10 +2041,10 @@ function KA(g, A) {
2041
2041
  I.__wbindgen_export3(s(C));
2042
2042
  }
2043
2043
  }
2044
- let V = new Array(128).fill(void 0);
2045
- V.push(void 0, null, !0, !1);
2046
- let AA = V.length;
2047
- function b(g) {
2044
+ let Z = new Array(128).fill(void 0);
2045
+ Z.push(void 0, null, !0, !1);
2046
+ let AA = Z.length;
2047
+ function v(g) {
2048
2048
  return g == null;
2049
2049
  }
2050
2050
  function cA(g, A) {
@@ -2081,7 +2081,7 @@ let DA = new TextDecoder("utf-8", { ignoreBOM: !0, fatal: !0 });
2081
2081
  DA.decode();
2082
2082
  const tC = 2146435072;
2083
2083
  let HA = 0;
2084
- function ZC(g, A) {
2084
+ function VC(g, A) {
2085
2085
  return HA += A, HA >= tC && (DA = new TextDecoder("utf-8", { ignoreBOM: !0, fatal: !0 }), DA.decode(), HA = A), DA.decode($().subarray(g, g + A));
2086
2086
  }
2087
2087
  const gA = new TextEncoder();
@@ -2093,7 +2093,7 @@ const gA = new TextEncoder();
2093
2093
  };
2094
2094
  });
2095
2095
  let o = 0, I;
2096
- function VC(g) {
2096
+ function ZC(g) {
2097
2097
  I = g;
2098
2098
  }
2099
2099
  URL = globalThis.URL;
@@ -2133,39 +2133,39 @@ const w = await NI({ "./polyglot_sql_wasm_bg.js": {
2133
2133
  __wbg_fromCodePoint_22365db7b7d6ac39: IC,
2134
2134
  __wbg_length_68dc7c5cf1b6d349: yC,
2135
2135
  __wbg___wbindgen_in_47fa6863be6f2f25: zI,
2136
- __wbg___wbindgen_throw_be289d5034ed271b: vI,
2136
+ __wbg___wbindgen_throw_be289d5034ed271b: bI,
2137
2137
  __wbg___wbindgen_is_null_ac34f5003991759a: WI,
2138
- __wbg___wbindgen_jsval_eq_11888390b0186270: lI,
2138
+ __wbg___wbindgen_jsval_eq_11888390b0186270: nI,
2139
2139
  __wbg_Number_04624de7d0e8332d: PI,
2140
2140
  __wbg_Error_8c4e43fe74559d73: jI,
2141
2141
  __wbg___wbindgen_is_bigint_31b12575b56f32fc: xI,
2142
2142
  __wbg___wbindgen_is_object_5ae8e5880f2c1fbd: eI,
2143
- __wbg___wbindgen_is_string_cd444516edc5b180: uI,
2143
+ __wbg___wbindgen_is_string_cd444516edc5b180: rI,
2144
2144
  __wbg___wbindgen_number_get_8ff4255516ccad3e: mI,
2145
- __wbg___wbindgen_string_get_72fb696202c56729: bI,
2146
- __wbg___wbindgen_boolean_get_bbbb1c18aa2f5e25: ZI,
2145
+ __wbg___wbindgen_string_get_72fb696202c56729: vI,
2146
+ __wbg___wbindgen_boolean_get_bbbb1c18aa2f5e25: VI,
2147
2147
  __wbg___wbindgen_is_function_0095a73b8b156f76: fI,
2148
- __wbg___wbindgen_is_undefined_9e4d92534c42d778: rI,
2149
- __wbg___wbindgen_jsval_loose_eq_9dd77d8cd6671811: nI,
2148
+ __wbg___wbindgen_is_undefined_9e4d92534c42d778: uI,
2149
+ __wbg___wbindgen_jsval_loose_eq_9dd77d8cd6671811: lI,
2150
2150
  __wbg___wbindgen_bigint_get_as_i64_8fcf4ce7f1ca72a2: tI,
2151
- __wbg___wbindgen_debug_string_0bc8482c6e3508ae: VI,
2151
+ __wbg___wbindgen_debug_string_0bc8482c6e3508ae: ZI,
2152
2152
  __wbindgen_cast_0000000000000001: aC,
2153
2153
  __wbindgen_cast_0000000000000002: qC,
2154
2154
  __wbindgen_cast_0000000000000003: pC,
2155
2155
  __wbindgen_cast_0000000000000004: TC
2156
- } }, kI), zC = w.memory, xC = w.__wbg_wasmassignmentarray_free, fC = w.__wbg_wasmcasebuilder_free, WC = w.__wbg_wasmdeletebuilder_free, eC = w.__wbg_wasmexpr_free, uC = w.__wbg_wasmexprarray_free, rC = w.__wbg_wasminsertbuilder_free, lC = w.__wbg_wasmmergebuilder_free, nC = w.__wbg_wasmselectbuilder_free, mC = w.__wbg_wasmsetopbuilder_free, bC = w.__wbg_wasmupdatebuilder_free, vC = w.__wbg_wasmwindowdefbuilder_free, XC = w.annotate_types, _C = w.annotate_types_value, $C = w.ast_add_where, AB = w.ast_get_aggregate_functions, gB = w.ast_get_column_names, IB = w.ast_get_functions, CB = w.ast_get_literals, BB = w.ast_get_subqueries, QB = w.ast_get_table_names, EB = w.ast_get_window_functions, DB = w.ast_node_count, wB = w.ast_qualify_columns, MB = w.ast_remove_where, iB = w.ast_rename_columns, oB = w.ast_rename_tables, kB = w.ast_set_distinct, NB = w.ast_set_limit, yB = w.diff_sql, KB = w.format_sql, GB = w.format_sql_value, YB = w.format_sql_with_options, SB = w.format_sql_with_options_value, hB = w.generate, HB = w.generate_value, UB = w.get_dialects, LB = w.get_dialects_value, FB = w.lineage_sql, cB = w.lineage_sql_with_schema, JB = w.parse, RB = w.parse_value, sB = w.plan, aB = w.source_tables, qB = w.tokenize, pB = w.tokenize_value, TB = w.transpile, OB = w.transpile_value, jB = w.validate, PB = w.validate_with_options, dB = w.validate_with_schema, tB = w.version, ZB = w.wasm_alias, VB = w.wasm_and, zB = w.wasm_boolean, xB = w.wasm_case_of, fB = w.wasm_cast, WB = w.wasm_col, eB = w.wasm_count_distinct, uB = w.wasm_extract, rB = w.wasm_func, lB = w.wasm_lit, nB = w.wasm_not, mB = w.wasm_null, bB = w.wasm_or, vB = w.wasm_sql_expr, XB = w.wasm_star, _B = w.wasm_subquery, $B = w.wasm_table, AQ = w.wasmassignmentarray_len, gQ = w.wasmassignmentarray_new, IQ = w.wasmassignmentarray_push, CQ = w.wasmcasebuilder_build_expr, BQ = w.wasmcasebuilder_else_, QQ = w.wasmcasebuilder_new, EQ = w.wasmcasebuilder_to_sql, DQ = w.wasmcasebuilder_when, wQ = w.wasmdeletebuilder_build, MQ = w.wasmdeletebuilder_new, iQ = w.wasmdeletebuilder_to_sql, oQ = w.wasmdeletebuilder_where_expr, kQ = w.wasmexpr_add, NQ = w.wasmexpr_alias, yQ = w.wasmexpr_and, KQ = w.wasmexpr_asc, GQ = w.wasmexpr_between, YQ = w.wasmexpr_cast, SQ = w.wasmexpr_desc, hQ = w.wasmexpr_div, HQ = w.wasmexpr_eq, UQ = w.wasmexpr_gt, LQ = w.wasmexpr_gte, FQ = w.wasmexpr_ilike, cQ = w.wasmexpr_in_list, JQ = w.wasmexpr_is_not_null, RQ = w.wasmexpr_is_null, sQ = w.wasmexpr_like, aQ = w.wasmexpr_lt, qQ = w.wasmexpr_lte, pQ = w.wasmexpr_mul, TQ = w.wasmexpr_neq, OQ = w.wasmexpr_not, jQ = w.wasmexpr_not_in, PQ = w.wasmexpr_or, dQ = w.wasmexpr_rlike, tQ = w.wasmexpr_sub, ZQ = w.wasmexpr_to_json, VQ = w.wasmexpr_to_sql, zQ = w.wasmexpr_xor, xQ = w.wasmexprarray_len, fQ = w.wasmexprarray_push, WQ = w.wasmexprarray_push_col, eQ = w.wasmexprarray_push_float, uQ = w.wasmexprarray_push_int, rQ = w.wasmexprarray_push_star, lQ = w.wasmexprarray_push_str, nQ = w.wasminsertbuilder_build, mQ = w.wasminsertbuilder_columns, bQ = w.wasminsertbuilder_new, vQ = w.wasminsertbuilder_query, XQ = w.wasminsertbuilder_to_sql, _Q = w.wasminsertbuilder_values, $Q = w.wasmmergebuilder_build, AE = w.wasmmergebuilder_new, gE = w.wasmmergebuilder_to_sql, IE = w.wasmmergebuilder_using, CE = w.wasmmergebuilder_when_matched_delete, BE = w.wasmmergebuilder_when_matched_update, QE = w.wasmmergebuilder_when_not_matched_insert, EE = w.wasmselectbuilder_build, DE = w.wasmselectbuilder_cross_join, wE = w.wasmselectbuilder_ctas, ME = w.wasmselectbuilder_ctas_sql, iE = w.wasmselectbuilder_distinct, oE = w.wasmselectbuilder_except_, kE = w.wasmselectbuilder_for_update, NE = w.wasmselectbuilder_from, yE = w.wasmselectbuilder_from_expr, KE = w.wasmselectbuilder_group_by_cols, GE = w.wasmselectbuilder_having, YE = w.wasmselectbuilder_hint, SE = w.wasmselectbuilder_intersect, hE = w.wasmselectbuilder_join, HE = w.wasmselectbuilder_lateral_view, UE = w.wasmselectbuilder_left_join, LE = w.wasmselectbuilder_limit, FE = w.wasmselectbuilder_new, cE = w.wasmselectbuilder_offset, JE = w.wasmselectbuilder_order_by_exprs, RE = w.wasmselectbuilder_qualify, sE = w.wasmselectbuilder_right_join, aE = w.wasmselectbuilder_select_col, qE = w.wasmselectbuilder_select_expr, pE = w.wasmselectbuilder_select_exprs, TE = w.wasmselectbuilder_select_star, OE = w.wasmselectbuilder_sort_by_exprs, jE = w.wasmselectbuilder_to_sql, PE = w.wasmselectbuilder_union, dE = w.wasmselectbuilder_union_all, tE = w.wasmselectbuilder_where_expr, ZE = w.wasmselectbuilder_where_sql, VE = w.wasmselectbuilder_window, zE = w.wasmsetopbuilder_build, xE = w.wasmsetopbuilder_limit, fE = w.wasmsetopbuilder_offset, WE = w.wasmsetopbuilder_order_by_exprs, eE = w.wasmsetopbuilder_to_sql, uE = w.wasmupdatebuilder_build, rE = w.wasmupdatebuilder_from, lE = w.wasmupdatebuilder_new, nE = w.wasmupdatebuilder_set, mE = w.wasmupdatebuilder_to_sql, bE = w.wasmupdatebuilder_where_expr, vE = w.wasmwindowdefbuilder_new, XE = w.wasmwindowdefbuilder_order_by, _E = w.wasmwindowdefbuilder_partition_by, $E = w.wasmexprarray_new, AD = w.__wbindgen_export, gD = w.__wbindgen_export2, ID = w.__wbindgen_export3, CD = w.__wbindgen_export4, BD = w.__wbindgen_add_to_stack_pointer, QD = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2156
+ } }, kI), zC = w.memory, xC = w.__wbg_wasmassignmentarray_free, fC = w.__wbg_wasmcasebuilder_free, WC = w.__wbg_wasmdeletebuilder_free, eC = w.__wbg_wasmexpr_free, rC = w.__wbg_wasmexprarray_free, uC = w.__wbg_wasminsertbuilder_free, nC = w.__wbg_wasmmergebuilder_free, lC = w.__wbg_wasmselectbuilder_free, mC = w.__wbg_wasmsetopbuilder_free, vC = w.__wbg_wasmupdatebuilder_free, bC = w.__wbg_wasmwindowdefbuilder_free, XC = w.annotate_types, _C = w.annotate_types_value, $C = w.ast_add_where, AB = w.ast_get_aggregate_functions, gB = w.ast_get_column_names, IB = w.ast_get_functions, CB = w.ast_get_literals, BB = w.ast_get_subqueries, QB = w.ast_get_table_names, EB = w.ast_get_window_functions, DB = w.ast_node_count, wB = w.ast_qualify_columns, MB = w.ast_remove_where, iB = w.ast_rename_columns, oB = w.ast_rename_tables, kB = w.ast_set_distinct, NB = w.ast_set_limit, yB = w.diff_sql, KB = w.format_sql, GB = w.format_sql_value, YB = w.format_sql_with_options, SB = w.format_sql_with_options_value, hB = w.generate, HB = w.generate_value, UB = w.get_dialects, LB = w.get_dialects_value, FB = w.lineage_sql, cB = w.lineage_sql_with_schema, JB = w.parse, RB = w.parse_value, sB = w.plan, aB = w.source_tables, qB = w.tokenize, pB = w.tokenize_value, TB = w.transpile, OB = w.transpile_value, jB = w.validate, PB = w.validate_with_options, dB = w.validate_with_schema, tB = w.version, VB = w.wasm_alias, ZB = w.wasm_and, zB = w.wasm_boolean, xB = w.wasm_case_of, fB = w.wasm_cast, WB = w.wasm_col, eB = w.wasm_count_distinct, rB = w.wasm_extract, uB = w.wasm_func, nB = w.wasm_lit, lB = w.wasm_not, mB = w.wasm_null, vB = w.wasm_or, bB = w.wasm_sql_expr, XB = w.wasm_star, _B = w.wasm_subquery, $B = w.wasm_table, AQ = w.wasmassignmentarray_len, gQ = w.wasmassignmentarray_new, IQ = w.wasmassignmentarray_push, CQ = w.wasmcasebuilder_build_expr, BQ = w.wasmcasebuilder_else_, QQ = w.wasmcasebuilder_new, EQ = w.wasmcasebuilder_to_sql, DQ = w.wasmcasebuilder_when, wQ = w.wasmdeletebuilder_build, MQ = w.wasmdeletebuilder_new, iQ = w.wasmdeletebuilder_to_sql, oQ = w.wasmdeletebuilder_where_expr, kQ = w.wasmexpr_add, NQ = w.wasmexpr_alias, yQ = w.wasmexpr_and, KQ = w.wasmexpr_asc, GQ = w.wasmexpr_between, YQ = w.wasmexpr_cast, SQ = w.wasmexpr_desc, hQ = w.wasmexpr_div, HQ = w.wasmexpr_eq, UQ = w.wasmexpr_gt, LQ = w.wasmexpr_gte, FQ = w.wasmexpr_ilike, cQ = w.wasmexpr_in_list, JQ = w.wasmexpr_is_not_null, RQ = w.wasmexpr_is_null, sQ = w.wasmexpr_like, aQ = w.wasmexpr_lt, qQ = w.wasmexpr_lte, pQ = w.wasmexpr_mul, TQ = w.wasmexpr_neq, OQ = w.wasmexpr_not, jQ = w.wasmexpr_not_in, PQ = w.wasmexpr_or, dQ = w.wasmexpr_rlike, tQ = w.wasmexpr_sub, VQ = w.wasmexpr_to_json, ZQ = w.wasmexpr_to_sql, zQ = w.wasmexpr_xor, xQ = w.wasmexprarray_len, fQ = w.wasmexprarray_push, WQ = w.wasmexprarray_push_col, eQ = w.wasmexprarray_push_float, rQ = w.wasmexprarray_push_int, uQ = w.wasmexprarray_push_star, nQ = w.wasmexprarray_push_str, lQ = w.wasminsertbuilder_build, mQ = w.wasminsertbuilder_columns, vQ = w.wasminsertbuilder_new, bQ = w.wasminsertbuilder_query, XQ = w.wasminsertbuilder_to_sql, _Q = w.wasminsertbuilder_values, $Q = w.wasmmergebuilder_build, AE = w.wasmmergebuilder_new, gE = w.wasmmergebuilder_to_sql, IE = w.wasmmergebuilder_using, CE = w.wasmmergebuilder_when_matched_delete, BE = w.wasmmergebuilder_when_matched_update, QE = w.wasmmergebuilder_when_not_matched_insert, EE = w.wasmselectbuilder_build, DE = w.wasmselectbuilder_cross_join, wE = w.wasmselectbuilder_ctas, ME = w.wasmselectbuilder_ctas_sql, iE = w.wasmselectbuilder_distinct, oE = w.wasmselectbuilder_except_, kE = w.wasmselectbuilder_for_update, NE = w.wasmselectbuilder_from, yE = w.wasmselectbuilder_from_expr, KE = w.wasmselectbuilder_group_by_cols, GE = w.wasmselectbuilder_having, YE = w.wasmselectbuilder_hint, SE = w.wasmselectbuilder_intersect, hE = w.wasmselectbuilder_join, HE = w.wasmselectbuilder_lateral_view, UE = w.wasmselectbuilder_left_join, LE = w.wasmselectbuilder_limit, FE = w.wasmselectbuilder_new, cE = w.wasmselectbuilder_offset, JE = w.wasmselectbuilder_order_by_exprs, RE = w.wasmselectbuilder_qualify, sE = w.wasmselectbuilder_right_join, aE = w.wasmselectbuilder_select_col, qE = w.wasmselectbuilder_select_expr, pE = w.wasmselectbuilder_select_exprs, TE = w.wasmselectbuilder_select_star, OE = w.wasmselectbuilder_sort_by_exprs, jE = w.wasmselectbuilder_to_sql, PE = w.wasmselectbuilder_union, dE = w.wasmselectbuilder_union_all, tE = w.wasmselectbuilder_where_expr, VE = w.wasmselectbuilder_where_sql, ZE = w.wasmselectbuilder_window, zE = w.wasmsetopbuilder_build, xE = w.wasmsetopbuilder_limit, fE = w.wasmsetopbuilder_offset, WE = w.wasmsetopbuilder_order_by_exprs, eE = w.wasmsetopbuilder_to_sql, rE = w.wasmupdatebuilder_build, uE = w.wasmupdatebuilder_from, nE = w.wasmupdatebuilder_new, lE = w.wasmupdatebuilder_set, mE = w.wasmupdatebuilder_to_sql, vE = w.wasmupdatebuilder_where_expr, bE = w.wasmwindowdefbuilder_new, XE = w.wasmwindowdefbuilder_order_by, _E = w.wasmwindowdefbuilder_partition_by, $E = w.wasmexprarray_new, AD = w.__wbindgen_export, gD = w.__wbindgen_export2, ID = w.__wbindgen_export3, CD = w.__wbindgen_export4, BD = w.__wbindgen_add_to_stack_pointer, QD = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2157
2157
  __proto__: null,
2158
2158
  __wbg_wasmassignmentarray_free: xC,
2159
2159
  __wbg_wasmcasebuilder_free: fC,
2160
2160
  __wbg_wasmdeletebuilder_free: WC,
2161
2161
  __wbg_wasmexpr_free: eC,
2162
- __wbg_wasmexprarray_free: uC,
2163
- __wbg_wasminsertbuilder_free: rC,
2164
- __wbg_wasmmergebuilder_free: lC,
2165
- __wbg_wasmselectbuilder_free: nC,
2162
+ __wbg_wasmexprarray_free: rC,
2163
+ __wbg_wasminsertbuilder_free: uC,
2164
+ __wbg_wasmmergebuilder_free: nC,
2165
+ __wbg_wasmselectbuilder_free: lC,
2166
2166
  __wbg_wasmsetopbuilder_free: mC,
2167
- __wbg_wasmupdatebuilder_free: bC,
2168
- __wbg_wasmwindowdefbuilder_free: vC,
2167
+ __wbg_wasmupdatebuilder_free: vC,
2168
+ __wbg_wasmwindowdefbuilder_free: bC,
2169
2169
  __wbindgen_add_to_stack_pointer: BD,
2170
2170
  __wbindgen_export: AD,
2171
2171
  __wbindgen_export2: gD,
@@ -2212,20 +2212,20 @@ const w = await NI({ "./polyglot_sql_wasm_bg.js": {
2212
2212
  validate_with_options: PB,
2213
2213
  validate_with_schema: dB,
2214
2214
  version: tB,
2215
- wasm_alias: ZB,
2216
- wasm_and: VB,
2215
+ wasm_alias: VB,
2216
+ wasm_and: ZB,
2217
2217
  wasm_boolean: zB,
2218
2218
  wasm_case_of: xB,
2219
2219
  wasm_cast: fB,
2220
2220
  wasm_col: WB,
2221
2221
  wasm_count_distinct: eB,
2222
- wasm_extract: uB,
2223
- wasm_func: rB,
2224
- wasm_lit: lB,
2225
- wasm_not: nB,
2222
+ wasm_extract: rB,
2223
+ wasm_func: uB,
2224
+ wasm_lit: nB,
2225
+ wasm_not: lB,
2226
2226
  wasm_null: mB,
2227
- wasm_or: bB,
2228
- wasm_sql_expr: vB,
2227
+ wasm_or: vB,
2228
+ wasm_sql_expr: bB,
2229
2229
  wasm_star: XB,
2230
2230
  wasm_subquery: _B,
2231
2231
  wasm_table: $B,
@@ -2266,21 +2266,21 @@ const w = await NI({ "./polyglot_sql_wasm_bg.js": {
2266
2266
  wasmexpr_or: PQ,
2267
2267
  wasmexpr_rlike: dQ,
2268
2268
  wasmexpr_sub: tQ,
2269
- wasmexpr_to_json: ZQ,
2270
- wasmexpr_to_sql: VQ,
2269
+ wasmexpr_to_json: VQ,
2270
+ wasmexpr_to_sql: ZQ,
2271
2271
  wasmexpr_xor: zQ,
2272
2272
  wasmexprarray_len: xQ,
2273
2273
  wasmexprarray_new: $E,
2274
2274
  wasmexprarray_push: fQ,
2275
2275
  wasmexprarray_push_col: WQ,
2276
2276
  wasmexprarray_push_float: eQ,
2277
- wasmexprarray_push_int: uQ,
2278
- wasmexprarray_push_star: rQ,
2279
- wasmexprarray_push_str: lQ,
2280
- wasminsertbuilder_build: nQ,
2277
+ wasmexprarray_push_int: rQ,
2278
+ wasmexprarray_push_star: uQ,
2279
+ wasmexprarray_push_str: nQ,
2280
+ wasminsertbuilder_build: lQ,
2281
2281
  wasminsertbuilder_columns: mQ,
2282
- wasminsertbuilder_new: bQ,
2283
- wasminsertbuilder_query: vQ,
2282
+ wasminsertbuilder_new: vQ,
2283
+ wasminsertbuilder_query: bQ,
2284
2284
  wasminsertbuilder_to_sql: XQ,
2285
2285
  wasminsertbuilder_values: _Q,
2286
2286
  wasmmergebuilder_build: $Q,
@@ -2321,28 +2321,28 @@ const w = await NI({ "./polyglot_sql_wasm_bg.js": {
2321
2321
  wasmselectbuilder_union: PE,
2322
2322
  wasmselectbuilder_union_all: dE,
2323
2323
  wasmselectbuilder_where_expr: tE,
2324
- wasmselectbuilder_where_sql: ZE,
2325
- wasmselectbuilder_window: VE,
2324
+ wasmselectbuilder_where_sql: VE,
2325
+ wasmselectbuilder_window: ZE,
2326
2326
  wasmsetopbuilder_build: zE,
2327
2327
  wasmsetopbuilder_limit: xE,
2328
2328
  wasmsetopbuilder_offset: fE,
2329
2329
  wasmsetopbuilder_order_by_exprs: WE,
2330
2330
  wasmsetopbuilder_to_sql: eE,
2331
- wasmupdatebuilder_build: uE,
2332
- wasmupdatebuilder_from: rE,
2333
- wasmupdatebuilder_new: lE,
2334
- wasmupdatebuilder_set: nE,
2331
+ wasmupdatebuilder_build: rE,
2332
+ wasmupdatebuilder_from: uE,
2333
+ wasmupdatebuilder_new: nE,
2334
+ wasmupdatebuilder_set: lE,
2335
2335
  wasmupdatebuilder_to_sql: mE,
2336
- wasmupdatebuilder_where_expr: bE,
2337
- wasmwindowdefbuilder_new: vE,
2336
+ wasmupdatebuilder_where_expr: vE,
2337
+ wasmwindowdefbuilder_new: bE,
2338
2338
  wasmwindowdefbuilder_order_by: XE,
2339
2339
  wasmwindowdefbuilder_partition_by: _E
2340
2340
  }, Symbol.toStringTag, { value: "Module" }));
2341
- VC(QD);
2341
+ ZC(QD);
2342
2342
  const pg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2343
2343
  __proto__: null,
2344
2344
  WasmAssignmentArray: CA,
2345
- WasmCaseBuilder: l,
2345
+ WasmCaseBuilder: n,
2346
2346
  WasmDeleteBuilder: MA,
2347
2347
  WasmExpr: K,
2348
2348
  WasmExprArray: T,
@@ -2354,8 +2354,8 @@ const pg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2354
2354
  WasmWindowDefBuilder: BA,
2355
2355
  annotate_types: yI,
2356
2356
  annotate_types_value: KI,
2357
- ast_add_where: bA,
2358
- ast_get_aggregate_functions: vA,
2357
+ ast_add_where: vA,
2358
+ ast_get_aggregate_functions: bA,
2359
2359
  ast_get_column_names: XA,
2360
2360
  ast_get_functions: _A,
2361
2361
  ast_get_literals: $A,
@@ -2425,7 +2425,7 @@ function x(g) {
2425
2425
  const C = g[A[0]];
2426
2426
  return C === null || typeof C == "object" && !Array.isArray(C);
2427
2427
  }
2428
- function Z(g, A) {
2428
+ function V(g, A) {
2429
2429
  return { [g]: A };
2430
2430
  }
2431
2431
  function Tg(g) {
@@ -2439,7 +2439,7 @@ function Tg(g) {
2439
2439
  function Y(g) {
2440
2440
  return (A) => g in A;
2441
2441
  }
2442
- const Og = Y("select"), ED = Y("insert"), DD = Y("update"), wD = Y("delete"), MD = Y("union"), iD = Y("intersect"), oD = Y("except"), kD = Y("subquery"), ND = Y("identifier"), jg = Y("column"), yD = Y("table"), KD = Y("star"), Pg = Y("literal"), GD = Y("boolean"), YD = Y("null"), SD = Y("and"), hD = Y("or"), HD = Y("not"), UD = Y("eq"), LD = Y("neq"), FD = Y("lt"), cD = Y("lte"), JD = Y("gt"), RD = Y("gte"), sD = Y("like"), aD = Y("i_like"), qD = Y("add"), pD = Y("sub"), TD = Y("mul"), OD = Y("div"), jD = Y("mod"), PD = Y("concat"), dD = Y("in"), tD = Y("between"), ZD = Y("is_null"), VD = Y("exists"), dg = Y("function"), zD = Y("aggregate_function"), xD = Y("window_function"), fD = Y("count"), WD = Y("sum"), eD = Y("avg"), uD = Y("min"), rD = Y("max"), lD = Y("coalesce"), nD = Y("null_if"), mD = Y("cast"), bD = Y("try_cast"), vD = Y("safe_cast"), XD = Y("case"), _D = Y("from"), $D = Y("join"), Aw = Y("where"), gw = Y("group_by"), Iw = Y("having"), Cw = Y("order_by"), Bw = Y("limit"), Qw = Y("offset"), Ew = Y("with"), Dw = Y("cte"), ww = Y("alias"), Mw = Y("paren"), iw = Y("ordered"), ow = Y("create_table"), kw = Y("drop_table"), Nw = Y("alter_table"), yw = Y("create_index"), Kw = Y("drop_index"), Gw = Y("create_view"), Yw = Y("drop_view");
2442
+ const Og = Y("select"), ED = Y("insert"), DD = Y("update"), wD = Y("delete"), MD = Y("union"), iD = Y("intersect"), oD = Y("except"), kD = Y("subquery"), ND = Y("identifier"), jg = Y("column"), yD = Y("table"), KD = Y("star"), Pg = Y("literal"), GD = Y("boolean"), YD = Y("null"), SD = Y("and"), hD = Y("or"), HD = Y("not"), UD = Y("eq"), LD = Y("neq"), FD = Y("lt"), cD = Y("lte"), JD = Y("gt"), RD = Y("gte"), sD = Y("like"), aD = Y("i_like"), qD = Y("add"), pD = Y("sub"), TD = Y("mul"), OD = Y("div"), jD = Y("mod"), PD = Y("concat"), dD = Y("in"), tD = Y("between"), VD = Y("is_null"), ZD = Y("exists"), dg = Y("function"), zD = Y("aggregate_function"), xD = Y("window_function"), fD = Y("count"), WD = Y("sum"), eD = Y("avg"), rD = Y("min"), uD = Y("max"), nD = Y("coalesce"), lD = Y("null_if"), mD = Y("cast"), vD = Y("try_cast"), bD = Y("safe_cast"), XD = Y("case"), _D = Y("from"), $D = Y("join"), Aw = Y("where"), gw = Y("group_by"), Iw = Y("having"), Cw = Y("order_by"), Bw = Y("limit"), Qw = Y("offset"), Ew = Y("with"), Dw = Y("cte"), ww = Y("alias"), Mw = Y("paren"), iw = Y("ordered"), ow = Y("create_table"), kw = Y("drop_table"), Nw = Y("alter_table"), yw = Y("create_index"), Kw = Y("drop_index"), Gw = Y("create_view"), Yw = Y("drop_view");
2443
2443
  function Sw(g) {
2444
2444
  const A = p(g);
2445
2445
  return A === "select" || A === "insert" || A === "update" || A === "delete";
@@ -2467,7 +2467,7 @@ function Fw(g) {
2467
2467
  function f(g) {
2468
2468
  return JSON.stringify(g);
2469
2469
  }
2470
- function n(g) {
2470
+ function l(g) {
2471
2471
  const A = JSON.parse(g);
2472
2472
  return A.success ? JSON.parse(A.ast) : null;
2473
2473
  }
@@ -2508,14 +2508,14 @@ function wA(g, A, C, B, Q) {
2508
2508
  const N = p(E), y = O(E);
2509
2509
  let G;
2510
2510
  if (y == null)
2511
- G = Z(N, y);
2511
+ G = V(N, y);
2512
2512
  else {
2513
2513
  const h = { ...y };
2514
2514
  for (const [R, q] of Object.entries(h)) {
2515
2515
  const j = tg(q, A, E);
2516
2516
  j !== q && (h[R] = j);
2517
2517
  }
2518
- G = Z(N, h);
2518
+ G = V(N, h);
2519
2519
  }
2520
2520
  if (A.leave) {
2521
2521
  const h = A.leave(G, C, B, Q);
@@ -2527,7 +2527,7 @@ function wA(g, A, C, B, Q) {
2527
2527
  function GA(g, A) {
2528
2528
  return wA(g, A, null, null, null);
2529
2529
  }
2530
- function Zg(g, A, C) {
2530
+ function Vg(g, A, C) {
2531
2531
  return GA(g, {
2532
2532
  enter: (B, Q) => {
2533
2533
  if (A(B, Q))
@@ -2536,40 +2536,40 @@ function Zg(g, A, C) {
2536
2536
  });
2537
2537
  }
2538
2538
  function cw(g, A, C) {
2539
- return Zg(
2539
+ return Vg(
2540
2540
  g,
2541
2541
  (B) => p(B) === A,
2542
2542
  typeof C == "function" ? (B) => C(B) : C
2543
2543
  );
2544
2544
  }
2545
- function Vg(g, A) {
2546
- return n(
2545
+ function Zg(g, A) {
2546
+ return l(
2547
2547
  Eg(f(g), JSON.stringify(A))
2548
2548
  ) ?? g;
2549
2549
  }
2550
2550
  function Jw(g, A) {
2551
- return n(
2551
+ return l(
2552
2552
  Dg(f(g), JSON.stringify(A))
2553
2553
  ) ?? g;
2554
2554
  }
2555
2555
  function Rw(g, A) {
2556
- return n(
2556
+ return l(
2557
2557
  Bg(f(g), A)
2558
2558
  ) ?? g;
2559
2559
  }
2560
2560
  function sw(g, A, C = "and") {
2561
- return n(
2562
- bA(f(g), f(A), C === "or")
2561
+ return l(
2562
+ vA(f(g), f(A), C === "or")
2563
2563
  ) ?? g;
2564
2564
  }
2565
2565
  function aw(g) {
2566
- return n(Qg(f(g))) ?? g;
2566
+ return l(Qg(f(g))) ?? g;
2567
2567
  }
2568
2568
  function qw(g, ...A) {
2569
2569
  if (p(g) !== "select")
2570
2570
  return g;
2571
2571
  const C = O(g);
2572
- return Z("select", {
2572
+ return V("select", {
2573
2573
  ...C,
2574
2574
  expressions: [...C.expressions, ...A]
2575
2575
  });
@@ -2578,18 +2578,18 @@ function pw(g, A) {
2578
2578
  if (p(g) !== "select")
2579
2579
  return g;
2580
2580
  const C = O(g);
2581
- return Z("select", {
2581
+ return V("select", {
2582
2582
  ...C,
2583
2583
  expressions: C.expressions.filter((B) => !A(B))
2584
2584
  });
2585
2585
  }
2586
2586
  function Tw(g, A) {
2587
2587
  if (typeof A == "number")
2588
- return n(Mg(f(g), A)) ?? g;
2588
+ return l(Mg(f(g), A)) ?? g;
2589
2589
  if (p(g) !== "select")
2590
2590
  return g;
2591
2591
  const C = O(g);
2592
- return Z("select", {
2592
+ return V("select", {
2593
2593
  ...C,
2594
2594
  limit: { this: A }
2595
2595
  });
@@ -2597,8 +2597,8 @@ function Tw(g, A) {
2597
2597
  function Ow(g, A) {
2598
2598
  if (p(g) !== "select")
2599
2599
  return g;
2600
- const C = O(g), B = typeof A == "number" ? Z("literal", { literal_type: "number", value: String(A) }) : A;
2601
- return Z("select", {
2600
+ const C = O(g), B = typeof A == "number" ? V("literal", { literal_type: "number", value: String(A) }) : A;
2601
+ return V("select", {
2602
2602
  ...C,
2603
2603
  offset: { this: B }
2604
2604
  });
@@ -2607,14 +2607,14 @@ function jw(g) {
2607
2607
  if (p(g) !== "select")
2608
2608
  return g;
2609
2609
  const A = O(g);
2610
- return Z("select", {
2610
+ return V("select", {
2611
2611
  ...A,
2612
2612
  limit: null,
2613
2613
  offset: null
2614
2614
  });
2615
2615
  }
2616
2616
  function Pw(g, A = !0) {
2617
- return n(wg(f(g), A)) ?? g;
2617
+ return l(wg(f(g), A)) ?? g;
2618
2618
  }
2619
2619
  function dw(g) {
2620
2620
  return GA(g, {});
@@ -2642,7 +2642,7 @@ function LA(g, A) {
2642
2642
  const i = zg(D, A, g);
2643
2643
  i !== D && (Q[E] = i);
2644
2644
  }
2645
- return Z(C, Q);
2645
+ return V(C, Q);
2646
2646
  }
2647
2647
  function e(g) {
2648
2648
  return JSON.stringify(g);
@@ -2707,7 +2707,7 @@ function Wg(g, A) {
2707
2707
  function tw(g, A) {
2708
2708
  return Wg(g, A) !== void 0;
2709
2709
  }
2710
- function Zw(g, A) {
2710
+ function Vw(g, A) {
2711
2711
  let C = !0;
2712
2712
  return t(g, {
2713
2713
  enter: (B, Q) => {
@@ -2715,7 +2715,7 @@ function Zw(g, A) {
2715
2715
  }
2716
2716
  }), C;
2717
2717
  }
2718
- function Vw(g, A) {
2718
+ function Zw(g, A) {
2719
2719
  return YA(g, A).length;
2720
2720
  }
2721
2721
  function eg(g) {
@@ -2732,14 +2732,14 @@ function fw(g) {
2732
2732
  return A.success ? JSON.parse(A.ast) : [];
2733
2733
  }
2734
2734
  function IA(g) {
2735
- const A = JSON.parse(vA(e(g)));
2735
+ const A = JSON.parse(bA(e(g)));
2736
2736
  return A.success ? JSON.parse(A.ast) : [];
2737
2737
  }
2738
- function ug(g) {
2738
+ function rg(g) {
2739
2739
  const A = JSON.parse(Ig(e(g)));
2740
2740
  return A.success ? JSON.parse(A.ast) : [];
2741
2741
  }
2742
- function rg(g) {
2742
+ function ug(g) {
2743
2743
  const A = JSON.parse(Ag(e(g)));
2744
2744
  return A.success ? JSON.parse(A.ast) : [];
2745
2745
  }
@@ -2751,20 +2751,20 @@ function ew(g) {
2751
2751
  const A = JSON.parse(XA(e(g)));
2752
2752
  return A.success ? A.result : [];
2753
2753
  }
2754
- function uw(g) {
2754
+ function rw(g) {
2755
2755
  const A = JSON.parse(gg(e(g)));
2756
2756
  return A.success ? A.result : [];
2757
2757
  }
2758
- function lg(g) {
2758
+ function ng(g) {
2759
2759
  return IA(g).length > 0;
2760
2760
  }
2761
- function rw(g) {
2762
- return ug(g).length > 0;
2763
- }
2764
- function lw(g) {
2761
+ function uw(g) {
2765
2762
  return rg(g).length > 0;
2766
2763
  }
2767
2764
  function nw(g) {
2765
+ return ug(g).length > 0;
2766
+ }
2767
+ function lw(g) {
2768
2768
  let A = 0, C = 0;
2769
2769
  return t(g, {
2770
2770
  enter: () => {
@@ -2779,7 +2779,7 @@ function mw(g) {
2779
2779
  const A = JSON.parse(Cg(e(g)));
2780
2780
  return A.success ? A.result : 0;
2781
2781
  }
2782
- function bw(g, A) {
2782
+ function vw(g, A) {
2783
2783
  let C = null;
2784
2784
  return t(g, {
2785
2785
  enter: (B, Q) => {
@@ -2787,7 +2787,7 @@ function bw(g, A) {
2787
2787
  }
2788
2788
  }), C;
2789
2789
  }
2790
- function vw(g, A, C) {
2790
+ function bw(g, A, C) {
2791
2791
  const B = [];
2792
2792
  let Q = null;
2793
2793
  return t(g, {
@@ -2825,17 +2825,17 @@ const _w = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2825
2825
  addSelectColumns: qw,
2826
2826
  addWhere: sw,
2827
2827
  clone: dw,
2828
- countNodes: Vw,
2829
- every: Zw,
2828
+ countNodes: Zw,
2829
+ every: Vw,
2830
2830
  findAll: YA,
2831
- findAncestor: vw,
2831
+ findAncestor: bw,
2832
2832
  findByType: QA,
2833
2833
  findFirst: Wg,
2834
2834
  getAggregateFunctions: IA,
2835
2835
  getChildren: fg,
2836
2836
  getColumnNames: ew,
2837
2837
  getColumns: eg,
2838
- getDepth: nw,
2838
+ getDepth: lw,
2839
2839
  getExprData: O,
2840
2840
  getExprType: p,
2841
2841
  getFunctions: fw,
@@ -2843,14 +2843,14 @@ const _w = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2843
2843
  getInferredType: Tg,
2844
2844
  getLiterals: Ww,
2845
2845
  getNodeDepth: Xw,
2846
- getParent: bw,
2847
- getSubqueries: rg,
2848
- getTableNames: uw,
2846
+ getParent: vw,
2847
+ getSubqueries: ug,
2848
+ getTableNames: rw,
2849
2849
  getTables: zw,
2850
- getWindowFunctions: ug,
2851
- hasAggregates: lg,
2852
- hasSubqueries: lw,
2853
- hasWindowFunctions: rw,
2850
+ getWindowFunctions: rg,
2851
+ hasAggregates: ng,
2852
+ hasSubqueries: nw,
2853
+ hasWindowFunctions: uw,
2854
2854
  isAdd: qD,
2855
2855
  isAggregateFunction: zD,
2856
2856
  isAlias: ww,
@@ -2862,7 +2862,7 @@ const _w = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2862
2862
  isBoolean: GD,
2863
2863
  isCase: XD,
2864
2864
  isCast: mD,
2865
- isCoalesce: lD,
2865
+ isCoalesce: nD,
2866
2866
  isColumn: jg,
2867
2867
  isComparison: Hw,
2868
2868
  isConcat: PD,
@@ -2879,7 +2879,7 @@ const _w = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2879
2879
  isDropView: Yw,
2880
2880
  isEq: UD,
2881
2881
  isExcept: oD,
2882
- isExists: VD,
2882
+ isExists: ZD,
2883
2883
  isExpressionValue: x,
2884
2884
  isFrom: _D,
2885
2885
  isFunction: dg,
@@ -2892,7 +2892,7 @@ const _w = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2892
2892
  isIn: dD,
2893
2893
  isInsert: ED,
2894
2894
  isIntersect: iD,
2895
- isIsNull: ZD,
2895
+ isIsNull: VD,
2896
2896
  isJoin: $D,
2897
2897
  isLike: sD,
2898
2898
  isLimit: Bw,
@@ -2900,13 +2900,13 @@ const _w = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2900
2900
  isLogical: Lw,
2901
2901
  isLt: FD,
2902
2902
  isLte: cD,
2903
- isMax: rD,
2904
- isMin: uD,
2903
+ isMax: uD,
2904
+ isMin: rD,
2905
2905
  isMod: jD,
2906
2906
  isMul: TD,
2907
2907
  isNeq: LD,
2908
2908
  isNot: HD,
2909
- isNullIf: nD,
2909
+ isNullIf: lD,
2910
2910
  isNullLiteral: YD,
2911
2911
  isOffset: Qw,
2912
2912
  isOr: hD,
@@ -2914,7 +2914,7 @@ const _w = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2914
2914
  isOrdered: iw,
2915
2915
  isParen: Mw,
2916
2916
  isQuery: Sw,
2917
- isSafeCast: vD,
2917
+ isSafeCast: bD,
2918
2918
  isSelect: Og,
2919
2919
  isSetOperation: hw,
2920
2920
  isStar: KD,
@@ -2922,23 +2922,23 @@ const _w = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2922
2922
  isSubquery: kD,
2923
2923
  isSum: WD,
2924
2924
  isTable: yD,
2925
- isTryCast: bD,
2925
+ isTryCast: vD,
2926
2926
  isUnion: MD,
2927
2927
  isUpdate: DD,
2928
2928
  isWhere: Aw,
2929
2929
  isWindowFunction: xD,
2930
2930
  isWith: Ew,
2931
- makeExpr: Z,
2931
+ makeExpr: V,
2932
2932
  nodeCount: mw,
2933
2933
  qualifyColumns: Rw,
2934
2934
  remove: LA,
2935
2935
  removeLimitOffset: jw,
2936
2936
  removeSelectColumns: pw,
2937
2937
  removeWhere: aw,
2938
- renameColumns: Vg,
2938
+ renameColumns: Zg,
2939
2939
  renameTables: Jw,
2940
2940
  replaceByType: cw,
2941
- replaceNodes: Zg,
2941
+ replaceNodes: Vg,
2942
2942
  setDistinct: Pw,
2943
2943
  setLimit: Tw,
2944
2944
  setOffset: Ow,
@@ -3088,7 +3088,7 @@ function AM(g) {
3088
3088
  function gM(g) {
3089
3089
  return new H(NA(g));
3090
3090
  }
3091
- function ng() {
3091
+ function lg() {
3092
3092
  return new H(sg());
3093
3093
  }
3094
3094
  function IM() {
@@ -3140,7 +3140,7 @@ function iM(...g) {
3140
3140
  return new H(A);
3141
3141
  }
3142
3142
  function oM(g) {
3143
- return g !== void 0 ? J("COUNT", g) : J("COUNT", ng());
3143
+ return g !== void 0 ? J("COUNT", g) : J("COUNT", lg());
3144
3144
  }
3145
3145
  function kM(g) {
3146
3146
  return new H(Ug(L(g)));
@@ -3217,10 +3217,10 @@ function dM(g, A) {
3217
3217
  function tM(g) {
3218
3218
  return J("SQRT", g);
3219
3219
  }
3220
- function ZM(g) {
3220
+ function VM(g) {
3221
3221
  return J("LN", g);
3222
3222
  }
3223
- function VM(g) {
3223
+ function ZM(g) {
3224
3224
  return J("EXP", g);
3225
3225
  }
3226
3226
  function zM(g) {
@@ -3238,22 +3238,22 @@ function WM() {
3238
3238
  function eM() {
3239
3239
  return J("CURRENT_TIME");
3240
3240
  }
3241
- function uM() {
3241
+ function rM() {
3242
3242
  return J("CURRENT_TIMESTAMP");
3243
3243
  }
3244
- function rM(g, A) {
3244
+ function uM(g, A) {
3245
3245
  return new H(Lg(g, L(A)));
3246
3246
  }
3247
- function lM() {
3247
+ function nM() {
3248
3248
  return J("ROW_NUMBER");
3249
3249
  }
3250
- function nM() {
3250
+ function lM() {
3251
3251
  return J("RANK");
3252
3252
  }
3253
3253
  function mM() {
3254
3254
  return J("DENSE_RANK");
3255
3255
  }
3256
- class bg {
3256
+ class vg {
3257
3257
  /** @internal */
3258
3258
  _w;
3259
3259
  constructor() {
@@ -3380,11 +3380,11 @@ class bg {
3380
3380
  this._w.free();
3381
3381
  }
3382
3382
  }
3383
- function bM(...g) {
3384
- const A = new bg();
3383
+ function vM(...g) {
3384
+ const A = new vg();
3385
3385
  return g.length > 0 && A.select(...g), A;
3386
3386
  }
3387
- class vg {
3387
+ class bg {
3388
3388
  /** @internal */
3389
3389
  _w;
3390
3390
  constructor(A) {
@@ -3416,9 +3416,9 @@ class vg {
3416
3416
  }
3417
3417
  }
3418
3418
  function Xg(g) {
3419
- return new vg(g);
3419
+ return new bg(g);
3420
3420
  }
3421
- function vM(g) {
3421
+ function bM(g) {
3422
3422
  return Xg(g);
3423
3423
  }
3424
3424
  class _g {
@@ -3550,7 +3550,7 @@ class RA {
3550
3550
  }
3551
3551
  }
3552
3552
  function Ai() {
3553
- return new RA(new l());
3553
+ return new RA(new n());
3554
3554
  }
3555
3555
  function gi(g) {
3556
3556
  return new RA(hg(L(g)));
@@ -3618,7 +3618,7 @@ function Di(g, A) {
3618
3618
  });
3619
3619
  }
3620
3620
  const Q = O(g);
3621
- if (lg(g) && !Q.group_by) {
3621
+ if (ng(g) && !Q.group_by) {
3622
3622
  const E = IA(g), D = Q.expressions || [];
3623
3623
  if (D.some((N) => {
3624
3624
  const y = p(N);
@@ -3850,7 +3850,7 @@ function dA() {
3850
3850
  function tA() {
3851
3851
  return a.version();
3852
3852
  }
3853
- function ZA(g, A = "generic", C) {
3853
+ function VA(g, A = "generic", C) {
3854
3854
  try {
3855
3855
  const B = C ? JSON.stringify(C) : "";
3856
3856
  return typeof a.annotate_types_value == "function" ? W(
@@ -3868,7 +3868,7 @@ function ZA(g, A = "generic", C) {
3868
3868
  };
3869
3869
  }
3870
3870
  }
3871
- class r {
3871
+ class u {
3872
3872
  static instance = null;
3873
3873
  constructor() {
3874
3874
  }
@@ -3877,7 +3877,7 @@ class r {
3877
3877
  * The WASM module is automatically initialized on import.
3878
3878
  */
3879
3879
  static getInstance() {
3880
- return r.instance || (r.instance = new r()), r.instance;
3880
+ return u.instance || (u.instance = new u()), u.instance;
3881
3881
  }
3882
3882
  /**
3883
3883
  * Transpile SQL from one dialect to another.
@@ -3936,7 +3936,7 @@ class r {
3936
3936
  * Parse SQL and annotate the AST with inferred type information.
3937
3937
  */
3938
3938
  annotateTypes(A, C = "generic", B) {
3939
- return ZA(A, C, B);
3939
+ return VA(A, C, B);
3940
3940
  }
3941
3941
  }
3942
3942
  const Ni = {
@@ -3947,7 +3947,7 @@ const Ni = {
3947
3947
  tokenize: TA,
3948
3948
  generate: OA,
3949
3949
  format: jA,
3950
- annotateTypes: ZA,
3950
+ annotateTypes: VA,
3951
3951
  getDialects: dA,
3952
3952
  getVersion: tA,
3953
3953
  lineage: II,
@@ -3958,17 +3958,17 @@ const Ni = {
3958
3958
  changesOnly: DI,
3959
3959
  plan: wI,
3960
3960
  Dialect: sA,
3961
- Polyglot: r
3961
+ Polyglot: u
3962
3962
  }, yi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3963
3963
  __proto__: null,
3964
3964
  CaseBuilder: RA,
3965
3965
  DeleteBuilder: $g,
3966
3966
  Dialect: sA,
3967
3967
  Expr: H,
3968
- InsertBuilder: vg,
3968
+ InsertBuilder: bg,
3969
3969
  MergeBuilder: gI,
3970
- Polyglot: r,
3971
- SelectBuilder: bg,
3970
+ Polyglot: u,
3971
+ SelectBuilder: vg,
3972
3972
  SetOpBuilder: _,
3973
3973
  UpdateBuilder: _g,
3974
3974
  ValidationSeverity: ii,
@@ -3976,7 +3976,7 @@ const Ni = {
3976
3976
  abs: TM,
3977
3977
  alias: DM,
3978
3978
  and: MM,
3979
- annotateTypes: ZA,
3979
+ annotateTypes: VA,
3980
3980
  ast: _w,
3981
3981
  avg: yM,
3982
3982
  boolean: JA,
@@ -3993,15 +3993,15 @@ const Ni = {
3993
3993
  countDistinct: kM,
3994
3994
  currentDate: WM,
3995
3995
  currentTime: eM,
3996
- currentTimestamp: uM,
3996
+ currentTimestamp: rM,
3997
3997
  default: Ni,
3998
3998
  del: _M,
3999
3999
  deleteFrom: AI,
4000
4000
  denseRank: mM,
4001
4001
  diff: QI,
4002
4002
  except: Qi,
4003
- exp: VM,
4004
- extract: rM,
4003
+ exp: ZM,
4004
+ extract: uM,
4005
4005
  findAll: YA,
4006
4006
  floor: jM,
4007
4007
  format: jA,
@@ -4018,7 +4018,7 @@ const Ni = {
4018
4018
  ifNull: pM,
4019
4019
  init: MI,
4020
4020
  initcap: cM,
4021
- insert: vM,
4021
+ insert: bM,
4022
4022
  insertInto: Xg,
4023
4023
  intersect: Bi,
4024
4024
  isColumn: jg,
@@ -4031,7 +4031,7 @@ const Ni = {
4031
4031
  lineage: II,
4032
4032
  lineageWithSchema: CI,
4033
4033
  lit: gM,
4034
- ln: ZM,
4034
+ ln: VM,
4035
4035
  lower: SM,
4036
4036
  ltrim: UM,
4037
4037
  max: GM,
@@ -4043,19 +4043,19 @@ const Ni = {
4043
4043
  parse: pA,
4044
4044
  plan: wI,
4045
4045
  power: dM,
4046
- rank: nM,
4047
- renameColumns: Vg,
4046
+ rank: lM,
4047
+ renameColumns: Zg,
4048
4048
  replace: RM,
4049
4049
  reverse: FM,
4050
4050
  round: OM,
4051
- rowNumber: lM,
4051
+ rowNumber: nM,
4052
4052
  rtrim: LM,
4053
- select: bM,
4053
+ select: vM,
4054
4054
  sign: zM,
4055
4055
  sqlExpr: mg,
4056
4056
  sqlNull: IM,
4057
4057
  sqrt: tM,
4058
- star: ng,
4058
+ star: lg,
4059
4059
  subquery: wM,
4060
4060
  substring: JM,
4061
4061
  sum: NM,
@@ -4077,17 +4077,17 @@ export {
4077
4077
  $g as DeleteBuilder,
4078
4078
  sA as Dialect,
4079
4079
  H as Expr,
4080
- vg as InsertBuilder,
4080
+ bg as InsertBuilder,
4081
4081
  gI as MergeBuilder,
4082
- r as Polyglot,
4083
- bg as SelectBuilder,
4082
+ u as Polyglot,
4083
+ vg as SelectBuilder,
4084
4084
  _ as SetOpBuilder,
4085
4085
  _g as UpdateBuilder,
4086
4086
  ii as ValidationSeverity,
4087
4087
  TM as abs,
4088
4088
  DM as alias,
4089
4089
  MM as and,
4090
- ZA as annotateTypes,
4090
+ VA as annotateTypes,
4091
4091
  _w as ast,
4092
4092
  yM as avg,
4093
4093
  JA as boolean,
@@ -4103,14 +4103,14 @@ export {
4103
4103
  kM as countDistinct,
4104
4104
  WM as currentDate,
4105
4105
  eM as currentTime,
4106
- uM as currentTimestamp,
4106
+ rM as currentTimestamp,
4107
4107
  yi as default,
4108
4108
  _M as del,
4109
4109
  AI as deleteFrom,
4110
4110
  mM as denseRank,
4111
4111
  Qi as except,
4112
- VM as exp,
4113
- rM as extract,
4112
+ ZM as exp,
4113
+ uM as extract,
4114
4114
  YA as findAll,
4115
4115
  jM as floor,
4116
4116
  jA as format,
@@ -4125,7 +4125,7 @@ export {
4125
4125
  pM as ifNull,
4126
4126
  MI as init,
4127
4127
  cM as initcap,
4128
- vM as insert,
4128
+ bM as insert,
4129
4129
  Xg as insertInto,
4130
4130
  Bi as intersect,
4131
4131
  jg as isColumn,
@@ -4136,7 +4136,7 @@ export {
4136
4136
  fM as least,
4137
4137
  hM as length,
4138
4138
  gM as lit,
4139
- ZM as ln,
4139
+ VM as ln,
4140
4140
  SM as lower,
4141
4141
  UM as ltrim,
4142
4142
  GM as max,
@@ -4147,19 +4147,19 @@ export {
4147
4147
  iM as or,
4148
4148
  pA as parse,
4149
4149
  dM as power,
4150
- nM as rank,
4151
- Vg as renameColumns,
4150
+ lM as rank,
4151
+ Zg as renameColumns,
4152
4152
  RM as replace,
4153
4153
  FM as reverse,
4154
4154
  OM as round,
4155
- lM as rowNumber,
4155
+ nM as rowNumber,
4156
4156
  LM as rtrim,
4157
- bM as select,
4157
+ vM as select,
4158
4158
  zM as sign,
4159
4159
  mg as sqlExpr,
4160
4160
  IM as sqlNull,
4161
4161
  tM as sqrt,
4162
- ng as star,
4162
+ lg as star,
4163
4163
  JM as substring,
4164
4164
  NM as sum,
4165
4165
  CM as table,
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polyglot-sql/sdk",
3
- "version": "0.3.8",
3
+ "version": "0.3.9",
4
4
  "description": "SQL dialect translator powered by WebAssembly",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",