@polyglot-sql/sdk 0.3.4 → 0.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,31 +1,31 @@
1
1
  (()=>{if(typeof globalThis.process<"u"&&globalThis.process.versions?.node){const _f=globalThis.fetch;globalThis.fetch=async function(u,...a){if(typeof u==="string"&&u.startsWith("file:")||u instanceof URL&&u.protocol==="file:"){const{readFileSync:r}=await import("node:fs");const{fileURLToPath:p}=await import("node:url");const b=r(p(typeof u==="string"?u:u.href));return new Response(b,{headers:{"Content-Type":"application/wasm"}})}return _f(u,...a)}}})();
2
- const MI = new URL("../polyglot_sql_wasm_bg.wasm",import.meta.url).href, NI = async (g = {}, A) => {
3
- let Q;
2
+ const kI = new URL("../polyglot_sql_wasm_bg.wasm",import.meta.url).href, NI = async (g = {}, A) => {
3
+ let C;
4
4
  if (A.startsWith("data:")) {
5
- const C = A.replace(/^data:.*?base64,/, "");
5
+ const Q = A.replace(/^data:.*?base64,/, "");
6
6
  let B;
7
7
  if (typeof Buffer == "function" && typeof Buffer.from == "function")
8
- B = Buffer.from(C, "base64");
8
+ B = Buffer.from(Q, "base64");
9
9
  else if (typeof atob == "function") {
10
- const E = atob(C);
10
+ const E = atob(Q);
11
11
  B = new Uint8Array(E.length);
12
12
  for (let D = 0; D < E.length; D++)
13
13
  B[D] = E.charCodeAt(D);
14
14
  } else
15
15
  throw new Error("Cannot decode base64-encoded data URL");
16
- Q = await WebAssembly.instantiate(B, g);
16
+ C = await WebAssembly.instantiate(B, g);
17
17
  } else {
18
- const C = await fetch(A), B = C.headers.get("Content-Type") || "";
18
+ const Q = await fetch(A), B = Q.headers.get("Content-Type") || "";
19
19
  if ("instantiateStreaming" in WebAssembly && B.startsWith("application/wasm"))
20
- Q = await WebAssembly.instantiateStreaming(C, g);
20
+ C = await WebAssembly.instantiateStreaming(Q, g);
21
21
  else {
22
- const E = await C.arrayBuffer();
23
- Q = await WebAssembly.instantiate(E, g);
22
+ const E = await Q.arrayBuffer();
23
+ C = await WebAssembly.instantiate(E, g);
24
24
  }
25
25
  }
26
- return Q.instance.exports;
26
+ return C.instance.exports;
27
27
  };
28
- class QA {
28
+ class CA {
29
29
  __destroy_into_raw() {
30
30
  const A = this.__wbg_ptr;
31
31
  return this.__wbg_ptr = 0, tA.unregister(this), A;
@@ -53,17 +53,17 @@ class QA {
53
53
  * @param {string} column
54
54
  * @param {WasmExpr} value
55
55
  */
56
- push(A, Q) {
57
- const C = M(A, I.__wbindgen_export, I.__wbindgen_export2), B = k;
58
- h(Q, K), I.wasmassignmentarray_push(this.__wbg_ptr, C, B, Q.__wbg_ptr);
56
+ push(A, C) {
57
+ const Q = k(A, I.__wbindgen_export, I.__wbindgen_export2), B = M;
58
+ h(C, y), I.wasmassignmentarray_push(this.__wbg_ptr, Q, B, C.__wbg_ptr);
59
59
  }
60
60
  }
61
- Symbol.dispose && (QA.prototype[Symbol.dispose] = QA.prototype.free);
62
- class l {
61
+ Symbol.dispose && (CA.prototype[Symbol.dispose] = CA.prototype.free);
62
+ class r {
63
63
  static __wrap(A) {
64
64
  A = A >>> 0;
65
- const Q = Object.create(l.prototype);
66
- return Q.__wbg_ptr = A, SA.register(Q, Q.__wbg_ptr, Q), Q;
65
+ const C = Object.create(r.prototype);
66
+ return C.__wbg_ptr = A, SA.register(C, C.__wbg_ptr, C), C;
67
67
  }
68
68
  __destroy_into_raw() {
69
69
  const A = this.__wbg_ptr;
@@ -81,10 +81,10 @@ class l {
81
81
  try {
82
82
  const B = I.__wbindgen_add_to_stack_pointer(-16);
83
83
  I.wasmcasebuilder_build_expr(B, this.__wbg_ptr);
84
- var A = i().getInt32(B + 0, !0), Q = i().getInt32(B + 4, !0), C = i().getInt32(B + 8, !0);
85
- if (C)
86
- throw U(Q);
87
- return K.__wrap(A);
84
+ var A = i().getInt32(B + 0, !0), C = i().getInt32(B + 4, !0), Q = i().getInt32(B + 8, !0);
85
+ if (Q)
86
+ throw U(C);
87
+ return y.__wrap(A);
88
88
  } finally {
89
89
  I.__wbindgen_add_to_stack_pointer(16);
90
90
  }
@@ -94,7 +94,7 @@ class l {
94
94
  * @param {WasmExpr} result
95
95
  */
96
96
  else_(A) {
97
- h(A, K), I.wasmcasebuilder_else_(this.__wbg_ptr, A.__wbg_ptr);
97
+ h(A, y), I.wasmcasebuilder_else_(this.__wbg_ptr, A.__wbg_ptr);
98
98
  }
99
99
  /**
100
100
  * Create a new searched CASE builder (CASE WHEN ... THEN ...).
@@ -108,16 +108,16 @@ class l {
108
108
  * @returns {string}
109
109
  */
110
110
  to_sql() {
111
- let A, Q;
111
+ let A, C;
112
112
  try {
113
- const y = I.__wbindgen_add_to_stack_pointer(-16);
114
- I.wasmcasebuilder_to_sql(y, this.__wbg_ptr);
115
- var C = i().getInt32(y + 0, !0), B = i().getInt32(y + 4, !0), E = i().getInt32(y + 8, !0), D = i().getInt32(y + 12, !0), o = C, N = B;
113
+ const K = I.__wbindgen_add_to_stack_pointer(-16);
114
+ I.wasmcasebuilder_to_sql(K, this.__wbg_ptr);
115
+ var Q = i().getInt32(K + 0, !0), B = i().getInt32(K + 4, !0), E = i().getInt32(K + 8, !0), D = i().getInt32(K + 12, !0), o = Q, N = B;
116
116
  if (D)
117
117
  throw o = 0, N = 0, U(E);
118
- return A = o, Q = N, F(o, N);
118
+ return A = o, C = N, F(o, N);
119
119
  } finally {
120
- I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, Q, 1);
120
+ I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
121
121
  }
122
122
  }
123
123
  /**
@@ -125,11 +125,11 @@ class l {
125
125
  * @param {WasmExpr} condition
126
126
  * @param {WasmExpr} result
127
127
  */
128
- when(A, Q) {
129
- h(A, K), h(Q, K), I.wasmcasebuilder_when(this.__wbg_ptr, A.__wbg_ptr, Q.__wbg_ptr);
128
+ when(A, C) {
129
+ h(A, y), h(C, y), 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 && (r.prototype[Symbol.dispose] = r.prototype.free);
133
133
  class iA {
134
134
  __destroy_into_raw() {
135
135
  const A = this.__wbg_ptr;
@@ -147,9 +147,9 @@ class iA {
147
147
  try {
148
148
  const B = I.__wbindgen_add_to_stack_pointer(-16);
149
149
  I.wasmdeletebuilder_build(B, this.__wbg_ptr);
150
- var A = i().getInt32(B + 0, !0), Q = i().getInt32(B + 4, !0), C = i().getInt32(B + 8, !0);
151
- if (C)
152
- throw U(Q);
150
+ var A = i().getInt32(B + 0, !0), C = i().getInt32(B + 4, !0), Q = i().getInt32(B + 8, !0);
151
+ if (Q)
152
+ throw U(C);
153
153
  return U(A);
154
154
  } finally {
155
155
  I.__wbindgen_add_to_stack_pointer(16);
@@ -160,7 +160,7 @@ class iA {
160
160
  * @param {string} table_name
161
161
  */
162
162
  constructor(A) {
163
- const Q = M(A, I.__wbindgen_export, I.__wbindgen_export2), C = k, B = I.wasmdeletebuilder_new(Q, C);
163
+ const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), Q = M, B = I.wasmdeletebuilder_new(C, Q);
164
164
  return this.__wbg_ptr = B >>> 0, zA.register(this, this.__wbg_ptr, this), this;
165
165
  }
166
166
  /**
@@ -169,16 +169,16 @@ class iA {
169
169
  * @returns {string}
170
170
  */
171
171
  to_sql(A) {
172
- let Q, C;
172
+ let C, Q;
173
173
  try {
174
- const G = I.__wbindgen_add_to_stack_pointer(-16), S = M(A, I.__wbindgen_export, I.__wbindgen_export2), R = k;
175
- I.wasmdeletebuilder_to_sql(G, this.__wbg_ptr, S, R);
176
- var B = i().getInt32(G + 0, !0), E = i().getInt32(G + 4, !0), D = i().getInt32(G + 8, !0), o = i().getInt32(G + 12, !0), N = B, y = E;
174
+ const G = I.__wbindgen_add_to_stack_pointer(-16), S = k(A, I.__wbindgen_export, I.__wbindgen_export2), L = M;
175
+ I.wasmdeletebuilder_to_sql(G, this.__wbg_ptr, S, L);
176
+ var B = i().getInt32(G + 0, !0), E = i().getInt32(G + 4, !0), D = i().getInt32(G + 8, !0), o = i().getInt32(G + 12, !0), N = B, K = E;
177
177
  if (o)
178
- throw N = 0, y = 0, U(D);
179
- return Q = N, C = y, F(N, y);
178
+ throw N = 0, K = 0, U(D);
179
+ return C = N, Q = K, F(N, K);
180
180
  } finally {
181
- I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, C, 1);
181
+ I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, Q, 1);
182
182
  }
183
183
  }
184
184
  /**
@@ -186,15 +186,15 @@ class iA {
186
186
  * @param {WasmExpr} condition
187
187
  */
188
188
  where_expr(A) {
189
- h(A, K), I.wasmdeletebuilder_where_expr(this.__wbg_ptr, A.__wbg_ptr);
189
+ h(A, y), I.wasmdeletebuilder_where_expr(this.__wbg_ptr, A.__wbg_ptr);
190
190
  }
191
191
  }
192
192
  Symbol.dispose && (iA.prototype[Symbol.dispose] = iA.prototype.free);
193
- class K {
193
+ class y {
194
194
  static __wrap(A) {
195
195
  A = A >>> 0;
196
- const Q = Object.create(K.prototype);
197
- return Q.__wbg_ptr = A, xA.register(Q, Q.__wbg_ptr, Q), Q;
196
+ const C = Object.create(y.prototype);
197
+ return C.__wbg_ptr = A, xA.register(C, C.__wbg_ptr, C), C;
198
198
  }
199
199
  __destroy_into_raw() {
200
200
  const A = this.__wbg_ptr;
@@ -210,9 +210,9 @@ class K {
210
210
  * @returns {WasmExpr}
211
211
  */
212
212
  add(A) {
213
- h(A, K);
214
- const Q = I.wasmexpr_add(this.__wbg_ptr, A.__wbg_ptr);
215
- return K.__wrap(Q);
213
+ h(A, y);
214
+ const C = I.wasmexpr_add(this.__wbg_ptr, A.__wbg_ptr);
215
+ return y.__wrap(C);
216
216
  }
217
217
  /**
218
218
  * Produce `self AS name`.
@@ -220,8 +220,8 @@ class K {
220
220
  * @returns {WasmExpr}
221
221
  */
222
222
  alias(A) {
223
- const Q = M(A, I.__wbindgen_export, I.__wbindgen_export2), C = k, B = I.wasmexpr_alias(this.__wbg_ptr, Q, C);
224
- return K.__wrap(B);
223
+ const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), Q = M, B = I.wasmexpr_alias(this.__wbg_ptr, C, Q);
224
+ return y.__wrap(B);
225
225
  }
226
226
  /**
227
227
  * Produce `self AND other`.
@@ -229,9 +229,9 @@ class K {
229
229
  * @returns {WasmExpr}
230
230
  */
231
231
  and(A) {
232
- h(A, K);
233
- const Q = I.wasmexpr_and(this.__wbg_ptr, A.__wbg_ptr);
234
- return K.__wrap(Q);
232
+ h(A, y);
233
+ const C = I.wasmexpr_and(this.__wbg_ptr, A.__wbg_ptr);
234
+ return y.__wrap(C);
235
235
  }
236
236
  /**
237
237
  * Wrap with ascending sort order.
@@ -239,7 +239,7 @@ class K {
239
239
  */
240
240
  asc() {
241
241
  const A = I.wasmexpr_asc(this.__wbg_ptr);
242
- return K.__wrap(A);
242
+ return y.__wrap(A);
243
243
  }
244
244
  /**
245
245
  * Produce `self BETWEEN low AND high`.
@@ -247,10 +247,10 @@ class K {
247
247
  * @param {WasmExpr} high
248
248
  * @returns {WasmExpr}
249
249
  */
250
- between(A, Q) {
251
- h(A, K), h(Q, K);
252
- const C = I.wasmexpr_between(this.__wbg_ptr, A.__wbg_ptr, Q.__wbg_ptr);
253
- return K.__wrap(C);
250
+ between(A, C) {
251
+ h(A, y), h(C, y);
252
+ const Q = I.wasmexpr_between(this.__wbg_ptr, A.__wbg_ptr, C.__wbg_ptr);
253
+ return y.__wrap(Q);
254
254
  }
255
255
  /**
256
256
  * Produce `CAST(self AS type)`.
@@ -258,8 +258,8 @@ class K {
258
258
  * @returns {WasmExpr}
259
259
  */
260
260
  cast(A) {
261
- const Q = M(A, I.__wbindgen_export, I.__wbindgen_export2), C = k, B = I.wasmexpr_cast(this.__wbg_ptr, Q, C);
262
- return K.__wrap(B);
261
+ const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), Q = M, B = I.wasmexpr_cast(this.__wbg_ptr, C, Q);
262
+ return y.__wrap(B);
263
263
  }
264
264
  /**
265
265
  * Wrap with descending sort order.
@@ -267,7 +267,7 @@ class K {
267
267
  */
268
268
  desc() {
269
269
  const A = I.wasmexpr_desc(this.__wbg_ptr);
270
- return K.__wrap(A);
270
+ return y.__wrap(A);
271
271
  }
272
272
  /**
273
273
  * Produce `self / other`.
@@ -275,9 +275,9 @@ class K {
275
275
  * @returns {WasmExpr}
276
276
  */
277
277
  div(A) {
278
- h(A, K);
279
- const Q = I.wasmexpr_div(this.__wbg_ptr, A.__wbg_ptr);
280
- return K.__wrap(Q);
278
+ h(A, y);
279
+ const C = I.wasmexpr_div(this.__wbg_ptr, A.__wbg_ptr);
280
+ return y.__wrap(C);
281
281
  }
282
282
  /**
283
283
  * Produce `self = other`.
@@ -285,9 +285,9 @@ class K {
285
285
  * @returns {WasmExpr}
286
286
  */
287
287
  eq(A) {
288
- h(A, K);
289
- const Q = I.wasmexpr_eq(this.__wbg_ptr, A.__wbg_ptr);
290
- return K.__wrap(Q);
288
+ h(A, y);
289
+ const C = I.wasmexpr_eq(this.__wbg_ptr, A.__wbg_ptr);
290
+ return y.__wrap(C);
291
291
  }
292
292
  /**
293
293
  * Produce `self > other`.
@@ -295,9 +295,9 @@ class K {
295
295
  * @returns {WasmExpr}
296
296
  */
297
297
  gt(A) {
298
- h(A, K);
299
- const Q = I.wasmexpr_gt(this.__wbg_ptr, A.__wbg_ptr);
300
- return K.__wrap(Q);
298
+ h(A, y);
299
+ const C = I.wasmexpr_gt(this.__wbg_ptr, A.__wbg_ptr);
300
+ return y.__wrap(C);
301
301
  }
302
302
  /**
303
303
  * Produce `self >= other`.
@@ -305,9 +305,9 @@ class K {
305
305
  * @returns {WasmExpr}
306
306
  */
307
307
  gte(A) {
308
- h(A, K);
309
- const Q = I.wasmexpr_gte(this.__wbg_ptr, A.__wbg_ptr);
310
- return K.__wrap(Q);
308
+ h(A, y);
309
+ const C = I.wasmexpr_gte(this.__wbg_ptr, A.__wbg_ptr);
310
+ return y.__wrap(C);
311
311
  }
312
312
  /**
313
313
  * Produce `self ILIKE pattern`.
@@ -315,9 +315,9 @@ class K {
315
315
  * @returns {WasmExpr}
316
316
  */
317
317
  ilike(A) {
318
- h(A, K);
319
- const Q = I.wasmexpr_ilike(this.__wbg_ptr, A.__wbg_ptr);
320
- return K.__wrap(Q);
318
+ h(A, y);
319
+ const C = I.wasmexpr_ilike(this.__wbg_ptr, A.__wbg_ptr);
320
+ return y.__wrap(C);
321
321
  }
322
322
  /**
323
323
  * Produce `self IN (values...)`.
@@ -325,9 +325,9 @@ class K {
325
325
  * @returns {WasmExpr}
326
326
  */
327
327
  in_list(A) {
328
- h(A, P);
329
- const Q = I.wasmexpr_in_list(this.__wbg_ptr, A.__wbg_ptr);
330
- return K.__wrap(Q);
328
+ h(A, O);
329
+ const C = I.wasmexpr_in_list(this.__wbg_ptr, A.__wbg_ptr);
330
+ return y.__wrap(C);
331
331
  }
332
332
  /**
333
333
  * Produce `self IS NOT NULL`.
@@ -335,7 +335,7 @@ class K {
335
335
  */
336
336
  is_not_null() {
337
337
  const A = I.wasmexpr_is_not_null(this.__wbg_ptr);
338
- return K.__wrap(A);
338
+ return y.__wrap(A);
339
339
  }
340
340
  /**
341
341
  * Produce `self IS NULL`.
@@ -343,7 +343,7 @@ class K {
343
343
  */
344
344
  is_null() {
345
345
  const A = I.wasmexpr_is_null(this.__wbg_ptr);
346
- return K.__wrap(A);
346
+ return y.__wrap(A);
347
347
  }
348
348
  /**
349
349
  * Produce `self LIKE pattern`.
@@ -351,9 +351,9 @@ class K {
351
351
  * @returns {WasmExpr}
352
352
  */
353
353
  like(A) {
354
- h(A, K);
355
- const Q = I.wasmexpr_like(this.__wbg_ptr, A.__wbg_ptr);
356
- return K.__wrap(Q);
354
+ h(A, y);
355
+ const C = I.wasmexpr_like(this.__wbg_ptr, A.__wbg_ptr);
356
+ return y.__wrap(C);
357
357
  }
358
358
  /**
359
359
  * Produce `self < other`.
@@ -361,9 +361,9 @@ class K {
361
361
  * @returns {WasmExpr}
362
362
  */
363
363
  lt(A) {
364
- h(A, K);
365
- const Q = I.wasmexpr_lt(this.__wbg_ptr, A.__wbg_ptr);
366
- return K.__wrap(Q);
364
+ h(A, y);
365
+ const C = I.wasmexpr_lt(this.__wbg_ptr, A.__wbg_ptr);
366
+ return y.__wrap(C);
367
367
  }
368
368
  /**
369
369
  * Produce `self <= other`.
@@ -371,9 +371,9 @@ class K {
371
371
  * @returns {WasmExpr}
372
372
  */
373
373
  lte(A) {
374
- h(A, K);
375
- const Q = I.wasmexpr_lte(this.__wbg_ptr, A.__wbg_ptr);
376
- return K.__wrap(Q);
374
+ h(A, y);
375
+ const C = I.wasmexpr_lte(this.__wbg_ptr, A.__wbg_ptr);
376
+ return y.__wrap(C);
377
377
  }
378
378
  /**
379
379
  * Produce `self * other`.
@@ -381,9 +381,9 @@ class K {
381
381
  * @returns {WasmExpr}
382
382
  */
383
383
  mul(A) {
384
- h(A, K);
385
- const Q = I.wasmexpr_mul(this.__wbg_ptr, A.__wbg_ptr);
386
- return K.__wrap(Q);
384
+ h(A, y);
385
+ const C = I.wasmexpr_mul(this.__wbg_ptr, A.__wbg_ptr);
386
+ return y.__wrap(C);
387
387
  }
388
388
  /**
389
389
  * Produce `self <> other`.
@@ -391,9 +391,9 @@ class K {
391
391
  * @returns {WasmExpr}
392
392
  */
393
393
  neq(A) {
394
- h(A, K);
395
- const Q = I.wasmexpr_neq(this.__wbg_ptr, A.__wbg_ptr);
396
- return K.__wrap(Q);
394
+ h(A, y);
395
+ const C = I.wasmexpr_neq(this.__wbg_ptr, A.__wbg_ptr);
396
+ return y.__wrap(C);
397
397
  }
398
398
  /**
399
399
  * Produce `NOT self`.
@@ -401,7 +401,7 @@ class K {
401
401
  */
402
402
  not() {
403
403
  const A = I.wasmexpr_not(this.__wbg_ptr);
404
- return K.__wrap(A);
404
+ return y.__wrap(A);
405
405
  }
406
406
  /**
407
407
  * Produce `self NOT IN (values...)`.
@@ -409,9 +409,9 @@ class K {
409
409
  * @returns {WasmExpr}
410
410
  */
411
411
  not_in(A) {
412
- h(A, P);
413
- const Q = I.wasmexpr_not_in(this.__wbg_ptr, A.__wbg_ptr);
414
- return K.__wrap(Q);
412
+ h(A, O);
413
+ const C = I.wasmexpr_not_in(this.__wbg_ptr, A.__wbg_ptr);
414
+ return y.__wrap(C);
415
415
  }
416
416
  /**
417
417
  * Produce `self OR other`.
@@ -419,9 +419,9 @@ class K {
419
419
  * @returns {WasmExpr}
420
420
  */
421
421
  or(A) {
422
- h(A, K);
423
- const Q = I.wasmexpr_or(this.__wbg_ptr, A.__wbg_ptr);
424
- return K.__wrap(Q);
422
+ h(A, y);
423
+ const C = I.wasmexpr_or(this.__wbg_ptr, A.__wbg_ptr);
424
+ return y.__wrap(C);
425
425
  }
426
426
  /**
427
427
  * Produce `REGEXP_LIKE(self, pattern)`.
@@ -429,9 +429,9 @@ class K {
429
429
  * @returns {WasmExpr}
430
430
  */
431
431
  rlike(A) {
432
- h(A, K);
433
- const Q = I.wasmexpr_rlike(this.__wbg_ptr, A.__wbg_ptr);
434
- return K.__wrap(Q);
432
+ h(A, y);
433
+ const C = I.wasmexpr_rlike(this.__wbg_ptr, A.__wbg_ptr);
434
+ return y.__wrap(C);
435
435
  }
436
436
  /**
437
437
  * Produce `self - other`.
@@ -439,9 +439,9 @@ class K {
439
439
  * @returns {WasmExpr}
440
440
  */
441
441
  sub(A) {
442
- h(A, K);
443
- const Q = I.wasmexpr_sub(this.__wbg_ptr, A.__wbg_ptr);
444
- return K.__wrap(Q);
442
+ h(A, y);
443
+ const C = I.wasmexpr_sub(this.__wbg_ptr, A.__wbg_ptr);
444
+ return y.__wrap(C);
445
445
  }
446
446
  /**
447
447
  * Return the expression AST as a JSON value.
@@ -451,9 +451,9 @@ class K {
451
451
  try {
452
452
  const B = I.__wbindgen_add_to_stack_pointer(-16);
453
453
  I.wasmexpr_to_json(B, this.__wbg_ptr);
454
- var A = i().getInt32(B + 0, !0), Q = i().getInt32(B + 4, !0), C = i().getInt32(B + 8, !0);
455
- if (C)
456
- throw U(Q);
454
+ var A = i().getInt32(B + 0, !0), C = i().getInt32(B + 4, !0), Q = i().getInt32(B + 8, !0);
455
+ if (Q)
456
+ throw U(C);
457
457
  return U(A);
458
458
  } finally {
459
459
  I.__wbindgen_add_to_stack_pointer(16);
@@ -464,16 +464,16 @@ class K {
464
464
  * @returns {string}
465
465
  */
466
466
  to_sql() {
467
- let A, Q;
467
+ let A, C;
468
468
  try {
469
- const y = I.__wbindgen_add_to_stack_pointer(-16);
470
- I.wasmexpr_to_sql(y, this.__wbg_ptr);
471
- var C = i().getInt32(y + 0, !0), B = i().getInt32(y + 4, !0), E = i().getInt32(y + 8, !0), D = i().getInt32(y + 12, !0), o = C, N = B;
469
+ const K = I.__wbindgen_add_to_stack_pointer(-16);
470
+ I.wasmexpr_to_sql(K, this.__wbg_ptr);
471
+ var Q = i().getInt32(K + 0, !0), B = i().getInt32(K + 4, !0), E = i().getInt32(K + 8, !0), D = i().getInt32(K + 12, !0), o = Q, N = B;
472
472
  if (D)
473
473
  throw o = 0, N = 0, U(E);
474
- return A = o, Q = N, F(o, N);
474
+ return A = o, C = N, F(o, N);
475
475
  } finally {
476
- I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, Q, 1);
476
+ I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
477
477
  }
478
478
  }
479
479
  /**
@@ -482,13 +482,13 @@ class K {
482
482
  * @returns {WasmExpr}
483
483
  */
484
484
  xor(A) {
485
- h(A, K);
486
- const Q = I.wasmexpr_xor(this.__wbg_ptr, A.__wbg_ptr);
487
- return K.__wrap(Q);
485
+ h(A, y);
486
+ const C = I.wasmexpr_xor(this.__wbg_ptr, A.__wbg_ptr);
487
+ return y.__wrap(C);
488
488
  }
489
489
  }
490
- Symbol.dispose && (K.prototype[Symbol.dispose] = K.prototype.free);
491
- class P {
490
+ Symbol.dispose && (y.prototype[Symbol.dispose] = y.prototype.free);
491
+ class O {
492
492
  __destroy_into_raw() {
493
493
  const A = this.__wbg_ptr;
494
494
  return this.__wbg_ptr = 0, WA.unregister(this), A;
@@ -516,15 +516,15 @@ class P {
516
516
  * @param {WasmExpr} expr
517
517
  */
518
518
  push(A) {
519
- h(A, K), I.wasmexprarray_push(this.__wbg_ptr, A.__wbg_ptr);
519
+ h(A, y), I.wasmexprarray_push(this.__wbg_ptr, A.__wbg_ptr);
520
520
  }
521
521
  /**
522
522
  * Push a column reference by name.
523
523
  * @param {string} name
524
524
  */
525
525
  push_col(A) {
526
- const Q = M(A, I.__wbindgen_export, I.__wbindgen_export2), C = k;
527
- I.wasmexprarray_push_col(this.__wbg_ptr, Q, C);
526
+ const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), Q = M;
527
+ I.wasmexprarray_push_col(this.__wbg_ptr, C, Q);
528
528
  }
529
529
  /**
530
530
  * Push a float literal.
@@ -551,11 +551,11 @@ class P {
551
551
  * @param {string} value
552
552
  */
553
553
  push_str(A) {
554
- const Q = M(A, I.__wbindgen_export, I.__wbindgen_export2), C = k;
555
- I.wasmexprarray_push_str(this.__wbg_ptr, Q, C);
554
+ const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), Q = M;
555
+ I.wasmexprarray_push_str(this.__wbg_ptr, C, Q);
556
556
  }
557
557
  }
558
- Symbol.dispose && (P.prototype[Symbol.dispose] = P.prototype.free);
558
+ Symbol.dispose && (O.prototype[Symbol.dispose] = O.prototype.free);
559
559
  class oA {
560
560
  __destroy_into_raw() {
561
561
  const A = this.__wbg_ptr;
@@ -573,9 +573,9 @@ class oA {
573
573
  try {
574
574
  const B = I.__wbindgen_add_to_stack_pointer(-16);
575
575
  I.wasminsertbuilder_build(B, this.__wbg_ptr);
576
- var A = i().getInt32(B + 0, !0), Q = i().getInt32(B + 4, !0), C = i().getInt32(B + 8, !0);
577
- if (C)
578
- throw U(Q);
576
+ var A = i().getInt32(B + 0, !0), C = i().getInt32(B + 4, !0), Q = i().getInt32(B + 8, !0);
577
+ if (Q)
578
+ throw U(C);
579
579
  return U(A);
580
580
  } finally {
581
581
  I.__wbindgen_add_to_stack_pointer(16);
@@ -586,15 +586,15 @@ class oA {
586
586
  * @param {string[]} cols
587
587
  */
588
588
  columns(A) {
589
- const Q = FA(A, I.__wbindgen_export), C = k;
590
- I.wasminsertbuilder_columns(this.__wbg_ptr, Q, C);
589
+ const C = FA(A, I.__wbindgen_export), Q = M;
590
+ I.wasminsertbuilder_columns(this.__wbg_ptr, C, Q);
591
591
  }
592
592
  /**
593
593
  * Create a new INSERT INTO builder for the given table.
594
594
  * @param {string} table_name
595
595
  */
596
596
  constructor(A) {
597
- const Q = M(A, I.__wbindgen_export, I.__wbindgen_export2), C = k, B = I.wasminsertbuilder_new(Q, C);
597
+ const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), Q = M, B = I.wasminsertbuilder_new(C, Q);
598
598
  return this.__wbg_ptr = B >>> 0, nA.register(this, this.__wbg_ptr, this), this;
599
599
  }
600
600
  /**
@@ -605,9 +605,9 @@ class oA {
605
605
  try {
606
606
  const B = I.__wbindgen_add_to_stack_pointer(-16);
607
607
  h(A, j), I.wasminsertbuilder_query(B, this.__wbg_ptr, A.__wbg_ptr);
608
- var Q = i().getInt32(B + 0, !0), C = i().getInt32(B + 4, !0);
609
- if (C)
610
- throw U(Q);
608
+ var C = i().getInt32(B + 0, !0), Q = i().getInt32(B + 4, !0);
609
+ if (Q)
610
+ throw U(C);
611
611
  } finally {
612
612
  I.__wbindgen_add_to_stack_pointer(16);
613
613
  }
@@ -618,16 +618,16 @@ class oA {
618
618
  * @returns {string}
619
619
  */
620
620
  to_sql(A) {
621
- let Q, C;
621
+ let C, Q;
622
622
  try {
623
- const G = I.__wbindgen_add_to_stack_pointer(-16), S = M(A, I.__wbindgen_export, I.__wbindgen_export2), R = k;
624
- I.wasminsertbuilder_to_sql(G, this.__wbg_ptr, S, R);
625
- var B = i().getInt32(G + 0, !0), E = i().getInt32(G + 4, !0), D = i().getInt32(G + 8, !0), o = i().getInt32(G + 12, !0), N = B, y = E;
623
+ const G = I.__wbindgen_add_to_stack_pointer(-16), S = k(A, I.__wbindgen_export, I.__wbindgen_export2), L = M;
624
+ I.wasminsertbuilder_to_sql(G, this.__wbg_ptr, S, L);
625
+ var B = i().getInt32(G + 0, !0), E = i().getInt32(G + 4, !0), D = i().getInt32(G + 8, !0), o = i().getInt32(G + 12, !0), N = B, K = E;
626
626
  if (o)
627
- throw N = 0, y = 0, U(D);
628
- return Q = N, C = y, F(N, y);
627
+ throw N = 0, K = 0, U(D);
628
+ return C = N, Q = K, F(N, K);
629
629
  } finally {
630
- I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, C, 1);
630
+ I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, Q, 1);
631
631
  }
632
632
  }
633
633
  /**
@@ -635,14 +635,14 @@ class oA {
635
635
  * @param {WasmExprArray} vals
636
636
  */
637
637
  values(A) {
638
- h(A, P), I.wasminsertbuilder_values(this.__wbg_ptr, A.__wbg_ptr);
638
+ h(A, O), I.wasminsertbuilder_values(this.__wbg_ptr, A.__wbg_ptr);
639
639
  }
640
640
  }
641
641
  Symbol.dispose && (oA.prototype[Symbol.dispose] = oA.prototype.free);
642
- class kA {
642
+ class MA {
643
643
  __destroy_into_raw() {
644
644
  const A = this.__wbg_ptr;
645
- return this.__wbg_ptr = 0, eA.unregister(this), A;
645
+ return this.__wbg_ptr = 0, fA.unregister(this), A;
646
646
  }
647
647
  free() {
648
648
  const A = this.__destroy_into_raw();
@@ -656,9 +656,9 @@ class kA {
656
656
  try {
657
657
  const B = I.__wbindgen_add_to_stack_pointer(-16);
658
658
  I.wasmmergebuilder_build(B, this.__wbg_ptr);
659
- var A = i().getInt32(B + 0, !0), Q = i().getInt32(B + 4, !0), C = i().getInt32(B + 8, !0);
660
- if (C)
661
- throw U(Q);
659
+ var A = i().getInt32(B + 0, !0), C = i().getInt32(B + 4, !0), Q = i().getInt32(B + 8, !0);
660
+ if (Q)
661
+ throw U(C);
662
662
  return U(A);
663
663
  } finally {
664
664
  I.__wbindgen_add_to_stack_pointer(16);
@@ -669,8 +669,8 @@ class kA {
669
669
  * @param {string} target
670
670
  */
671
671
  constructor(A) {
672
- const Q = M(A, I.__wbindgen_export, I.__wbindgen_export2), C = k, B = I.wasmmergebuilder_new(Q, C);
673
- return this.__wbg_ptr = B >>> 0, eA.register(this, this.__wbg_ptr, this), this;
672
+ const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), Q = M, B = I.wasmmergebuilder_new(C, Q);
673
+ return this.__wbg_ptr = B >>> 0, fA.register(this, this.__wbg_ptr, this), this;
674
674
  }
675
675
  /**
676
676
  * Generate SQL string for the given dialect.
@@ -678,16 +678,16 @@ class kA {
678
678
  * @returns {string}
679
679
  */
680
680
  to_sql(A) {
681
- let Q, C;
681
+ let C, Q;
682
682
  try {
683
- const G = I.__wbindgen_add_to_stack_pointer(-16), S = M(A, I.__wbindgen_export, I.__wbindgen_export2), R = k;
684
- I.wasmmergebuilder_to_sql(G, this.__wbg_ptr, S, R);
685
- var B = i().getInt32(G + 0, !0), E = i().getInt32(G + 4, !0), D = i().getInt32(G + 8, !0), o = i().getInt32(G + 12, !0), N = B, y = E;
683
+ const G = I.__wbindgen_add_to_stack_pointer(-16), S = k(A, I.__wbindgen_export, I.__wbindgen_export2), L = M;
684
+ I.wasmmergebuilder_to_sql(G, this.__wbg_ptr, S, L);
685
+ var B = i().getInt32(G + 0, !0), E = i().getInt32(G + 4, !0), D = i().getInt32(G + 8, !0), o = i().getInt32(G + 12, !0), N = B, K = E;
686
686
  if (o)
687
- throw N = 0, y = 0, U(D);
688
- return Q = N, C = y, F(N, y);
687
+ throw N = 0, K = 0, U(D);
688
+ return C = N, Q = K, F(N, K);
689
689
  } finally {
690
- I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, C, 1);
690
+ I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, Q, 1);
691
691
  }
692
692
  }
693
693
  /**
@@ -695,9 +695,9 @@ class kA {
695
695
  * @param {string} source
696
696
  * @param {WasmExpr} on
697
697
  */
698
- using(A, Q) {
699
- const C = M(A, I.__wbindgen_export, I.__wbindgen_export2), B = k;
700
- h(Q, K), I.wasmmergebuilder_using(this.__wbg_ptr, C, B, Q.__wbg_ptr);
698
+ using(A, C) {
699
+ const Q = k(A, I.__wbindgen_export, I.__wbindgen_export2), B = M;
700
+ h(C, y), I.wasmmergebuilder_using(this.__wbg_ptr, Q, B, C.__wbg_ptr);
701
701
  }
702
702
  /**
703
703
  * Add a WHEN MATCHED THEN DELETE clause.
@@ -710,23 +710,23 @@ class kA {
710
710
  * @param {WasmAssignmentArray} assignments
711
711
  */
712
712
  when_matched_update(A) {
713
- h(A, QA), I.wasmmergebuilder_when_matched_update(this.__wbg_ptr, A.__wbg_ptr);
713
+ h(A, CA), I.wasmmergebuilder_when_matched_update(this.__wbg_ptr, A.__wbg_ptr);
714
714
  }
715
715
  /**
716
716
  * Add a WHEN NOT MATCHED THEN INSERT clause.
717
717
  * @param {string[]} columns
718
718
  * @param {WasmExprArray} values
719
719
  */
720
- when_not_matched_insert(A, Q) {
721
- const C = FA(A, I.__wbindgen_export), B = k;
722
- h(Q, P), I.wasmmergebuilder_when_not_matched_insert(this.__wbg_ptr, C, B, Q.__wbg_ptr);
720
+ when_not_matched_insert(A, C) {
721
+ const Q = FA(A, I.__wbindgen_export), B = M;
722
+ h(C, O), I.wasmmergebuilder_when_not_matched_insert(this.__wbg_ptr, Q, B, C.__wbg_ptr);
723
723
  }
724
724
  }
725
- Symbol.dispose && (kA.prototype[Symbol.dispose] = kA.prototype.free);
725
+ Symbol.dispose && (MA.prototype[Symbol.dispose] = MA.prototype.free);
726
726
  class j {
727
727
  __destroy_into_raw() {
728
728
  const A = this.__wbg_ptr;
729
- return this.__wbg_ptr = 0, fA.unregister(this), A;
729
+ return this.__wbg_ptr = 0, eA.unregister(this), A;
730
730
  }
731
731
  free() {
732
732
  const A = this.__destroy_into_raw();
@@ -740,9 +740,9 @@ class j {
740
740
  try {
741
741
  const B = I.__wbindgen_add_to_stack_pointer(-16);
742
742
  I.wasmselectbuilder_build(B, this.__wbg_ptr);
743
- var A = i().getInt32(B + 0, !0), Q = i().getInt32(B + 4, !0), C = i().getInt32(B + 8, !0);
744
- if (C)
745
- throw U(Q);
743
+ var A = i().getInt32(B + 0, !0), C = i().getInt32(B + 4, !0), Q = i().getInt32(B + 8, !0);
744
+ if (Q)
745
+ throw U(C);
746
746
  return U(A);
747
747
  } finally {
748
748
  I.__wbindgen_add_to_stack_pointer(16);
@@ -753,8 +753,8 @@ class j {
753
753
  * @param {string} table
754
754
  */
755
755
  cross_join(A) {
756
- const Q = M(A, I.__wbindgen_export, I.__wbindgen_export2), C = k;
757
- I.wasmselectbuilder_cross_join(this.__wbg_ptr, Q, C);
756
+ const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), Q = M;
757
+ I.wasmselectbuilder_cross_join(this.__wbg_ptr, C, Q);
758
758
  }
759
759
  /**
760
760
  * Convert to CREATE TABLE AS SELECT. Returns the AST JSON.
@@ -763,12 +763,12 @@ class j {
763
763
  */
764
764
  ctas(A) {
765
765
  try {
766
- const E = I.__wbindgen_add_to_stack_pointer(-16), D = M(A, I.__wbindgen_export, I.__wbindgen_export2), o = k;
766
+ const E = I.__wbindgen_add_to_stack_pointer(-16), D = k(A, I.__wbindgen_export, I.__wbindgen_export2), o = M;
767
767
  I.wasmselectbuilder_ctas(E, this.__wbg_ptr, D, o);
768
- var Q = i().getInt32(E + 0, !0), C = i().getInt32(E + 4, !0), B = i().getInt32(E + 8, !0);
768
+ var C = i().getInt32(E + 0, !0), Q = i().getInt32(E + 4, !0), B = i().getInt32(E + 8, !0);
769
769
  if (B)
770
- throw U(C);
771
- return U(Q);
770
+ throw U(Q);
771
+ return U(C);
772
772
  } finally {
773
773
  I.__wbindgen_add_to_stack_pointer(16);
774
774
  }
@@ -779,17 +779,17 @@ class j {
779
779
  * @param {string} dialect
780
780
  * @returns {string}
781
781
  */
782
- ctas_sql(A, Q) {
783
- let C, B;
782
+ ctas_sql(A, C) {
783
+ let Q, B;
784
784
  try {
785
- const S = I.__wbindgen_add_to_stack_pointer(-16), R = M(A, I.__wbindgen_export, I.__wbindgen_export2), q = k, T = M(Q, I.__wbindgen_export, I.__wbindgen_export2), f = k;
786
- I.wasmselectbuilder_ctas_sql(S, this.__wbg_ptr, R, q, T, f);
787
- var E = i().getInt32(S + 0, !0), D = i().getInt32(S + 4, !0), o = i().getInt32(S + 8, !0), N = i().getInt32(S + 12, !0), y = E, G = D;
785
+ const S = I.__wbindgen_add_to_stack_pointer(-16), L = k(A, I.__wbindgen_export, I.__wbindgen_export2), q = M, P = k(C, I.__wbindgen_export, I.__wbindgen_export2), e = M;
786
+ I.wasmselectbuilder_ctas_sql(S, this.__wbg_ptr, L, q, P, e);
787
+ var E = i().getInt32(S + 0, !0), D = i().getInt32(S + 4, !0), o = i().getInt32(S + 8, !0), N = i().getInt32(S + 12, !0), K = E, G = D;
788
788
  if (N)
789
- throw y = 0, G = 0, U(o);
790
- return C = y, B = G, F(y, G);
789
+ throw K = 0, G = 0, U(o);
790
+ return Q = K, B = G, F(K, G);
791
791
  } finally {
792
- I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
792
+ I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, B, 1);
793
793
  }
794
794
  }
795
795
  /**
@@ -807,10 +807,10 @@ class j {
807
807
  try {
808
808
  const E = I.__wbindgen_add_to_stack_pointer(-16);
809
809
  h(A, j), I.wasmselectbuilder_except_(E, this.__wbg_ptr, A.__wbg_ptr);
810
- var Q = i().getInt32(E + 0, !0), C = i().getInt32(E + 4, !0), B = i().getInt32(E + 8, !0);
810
+ var C = i().getInt32(E + 0, !0), Q = i().getInt32(E + 4, !0), B = i().getInt32(E + 8, !0);
811
811
  if (B)
812
- throw U(C);
813
- return z.__wrap(Q);
812
+ throw U(Q);
813
+ return z.__wrap(C);
814
814
  } finally {
815
815
  I.__wbindgen_add_to_stack_pointer(16);
816
816
  }
@@ -826,37 +826,37 @@ class j {
826
826
  * @param {string} table
827
827
  */
828
828
  from(A) {
829
- const Q = M(A, I.__wbindgen_export, I.__wbindgen_export2), C = k;
830
- I.wasmselectbuilder_from(this.__wbg_ptr, Q, C);
829
+ const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), Q = M;
830
+ I.wasmselectbuilder_from(this.__wbg_ptr, C, Q);
831
831
  }
832
832
  /**
833
833
  * Set the FROM clause to an arbitrary expression.
834
834
  * @param {WasmExpr} expr
835
835
  */
836
836
  from_expr(A) {
837
- h(A, K), I.wasmselectbuilder_from_expr(this.__wbg_ptr, A.__wbg_ptr);
837
+ h(A, y), I.wasmselectbuilder_from_expr(this.__wbg_ptr, A.__wbg_ptr);
838
838
  }
839
839
  /**
840
840
  * Set the GROUP BY clause.
841
841
  * @param {WasmExprArray} cols
842
842
  */
843
843
  group_by_cols(A) {
844
- h(A, P), I.wasmselectbuilder_group_by_cols(this.__wbg_ptr, A.__wbg_ptr);
844
+ h(A, O), I.wasmselectbuilder_group_by_cols(this.__wbg_ptr, A.__wbg_ptr);
845
845
  }
846
846
  /**
847
847
  * Set the HAVING clause.
848
848
  * @param {WasmExpr} condition
849
849
  */
850
850
  having(A) {
851
- h(A, K), I.wasmselectbuilder_having(this.__wbg_ptr, A.__wbg_ptr);
851
+ h(A, y), I.wasmselectbuilder_having(this.__wbg_ptr, A.__wbg_ptr);
852
852
  }
853
853
  /**
854
854
  * Add a query hint.
855
855
  * @param {string} hint_text
856
856
  */
857
857
  hint(A) {
858
- const Q = M(A, I.__wbindgen_export, I.__wbindgen_export2), C = k;
859
- I.wasmselectbuilder_hint(this.__wbg_ptr, Q, C);
858
+ const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), Q = M;
859
+ I.wasmselectbuilder_hint(this.__wbg_ptr, C, Q);
860
860
  }
861
861
  /**
862
862
  * Combine with INTERSECT. Consumes both builders.
@@ -867,10 +867,10 @@ class j {
867
867
  try {
868
868
  const E = I.__wbindgen_add_to_stack_pointer(-16);
869
869
  h(A, j), I.wasmselectbuilder_intersect(E, this.__wbg_ptr, A.__wbg_ptr);
870
- var Q = i().getInt32(E + 0, !0), C = i().getInt32(E + 4, !0), B = i().getInt32(E + 8, !0);
870
+ var C = i().getInt32(E + 0, !0), Q = i().getInt32(E + 4, !0), B = i().getInt32(E + 8, !0);
871
871
  if (B)
872
- throw U(C);
873
- return z.__wrap(Q);
872
+ throw U(Q);
873
+ return z.__wrap(C);
874
874
  } finally {
875
875
  I.__wbindgen_add_to_stack_pointer(16);
876
876
  }
@@ -880,9 +880,9 @@ class j {
880
880
  * @param {string} table
881
881
  * @param {WasmExpr} on
882
882
  */
883
- join(A, Q) {
884
- const C = M(A, I.__wbindgen_export, I.__wbindgen_export2), B = k;
885
- h(Q, K), I.wasmselectbuilder_join(this.__wbg_ptr, C, B, Q.__wbg_ptr);
883
+ join(A, C) {
884
+ const Q = k(A, I.__wbindgen_export, I.__wbindgen_export2), B = M;
885
+ h(C, y), I.wasmselectbuilder_join(this.__wbg_ptr, Q, B, C.__wbg_ptr);
886
886
  }
887
887
  /**
888
888
  * Add a LATERAL VIEW clause (Hive/Spark).
@@ -890,9 +890,9 @@ class j {
890
890
  * @param {string} table_alias
891
891
  * @param {string[]} col_aliases
892
892
  */
893
- lateral_view(A, Q, C) {
894
- h(A, K);
895
- const B = M(Q, I.__wbindgen_export, I.__wbindgen_export2), E = k, D = FA(C, I.__wbindgen_export), o = k;
893
+ lateral_view(A, C, Q) {
894
+ h(A, y);
895
+ const B = k(C, I.__wbindgen_export, I.__wbindgen_export2), E = M, D = FA(Q, I.__wbindgen_export), o = M;
896
896
  I.wasmselectbuilder_lateral_view(this.__wbg_ptr, A.__wbg_ptr, B, E, D, o);
897
897
  }
898
898
  /**
@@ -900,9 +900,9 @@ class j {
900
900
  * @param {string} table
901
901
  * @param {WasmExpr} on
902
902
  */
903
- left_join(A, Q) {
904
- const C = M(A, I.__wbindgen_export, I.__wbindgen_export2), B = k;
905
- h(Q, K), I.wasmselectbuilder_left_join(this.__wbg_ptr, C, B, Q.__wbg_ptr);
903
+ left_join(A, C) {
904
+ const Q = k(A, I.__wbindgen_export, I.__wbindgen_export2), B = M;
905
+ h(C, y), I.wasmselectbuilder_left_join(this.__wbg_ptr, Q, B, C.__wbg_ptr);
906
906
  }
907
907
  /**
908
908
  * Set the LIMIT clause.
@@ -916,7 +916,7 @@ class j {
916
916
  */
917
917
  constructor() {
918
918
  const A = I.wasmselectbuilder_new();
919
- return this.__wbg_ptr = A >>> 0, fA.register(this, this.__wbg_ptr, this), this;
919
+ return this.__wbg_ptr = A >>> 0, eA.register(this, this.__wbg_ptr, this), this;
920
920
  }
921
921
  /**
922
922
  * Set the OFFSET clause.
@@ -930,45 +930,45 @@ class j {
930
930
  * @param {WasmExprArray} exprs
931
931
  */
932
932
  order_by_exprs(A) {
933
- h(A, P), I.wasmselectbuilder_order_by_exprs(this.__wbg_ptr, A.__wbg_ptr);
933
+ h(A, O), I.wasmselectbuilder_order_by_exprs(this.__wbg_ptr, A.__wbg_ptr);
934
934
  }
935
935
  /**
936
936
  * Set the QUALIFY clause.
937
937
  * @param {WasmExpr} condition
938
938
  */
939
939
  qualify(A) {
940
- h(A, K), I.wasmselectbuilder_qualify(this.__wbg_ptr, A.__wbg_ptr);
940
+ h(A, y), I.wasmselectbuilder_qualify(this.__wbg_ptr, A.__wbg_ptr);
941
941
  }
942
942
  /**
943
943
  * Add a RIGHT JOIN.
944
944
  * @param {string} table
945
945
  * @param {WasmExpr} on
946
946
  */
947
- right_join(A, Q) {
948
- const C = M(A, I.__wbindgen_export, I.__wbindgen_export2), B = k;
949
- h(Q, K), I.wasmselectbuilder_right_join(this.__wbg_ptr, C, B, Q.__wbg_ptr);
947
+ right_join(A, C) {
948
+ const Q = k(A, I.__wbindgen_export, I.__wbindgen_export2), B = M;
949
+ h(C, y), I.wasmselectbuilder_right_join(this.__wbg_ptr, Q, B, C.__wbg_ptr);
950
950
  }
951
951
  /**
952
952
  * Add a column by name to the SELECT list.
953
953
  * @param {string} name
954
954
  */
955
955
  select_col(A) {
956
- const Q = M(A, I.__wbindgen_export, I.__wbindgen_export2), C = k;
957
- I.wasmselectbuilder_select_col(this.__wbg_ptr, Q, C);
956
+ const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), Q = M;
957
+ I.wasmselectbuilder_select_col(this.__wbg_ptr, C, Q);
958
958
  }
959
959
  /**
960
960
  * Add a single expression to the SELECT list.
961
961
  * @param {WasmExpr} expr
962
962
  */
963
963
  select_expr(A) {
964
- h(A, K), I.wasmselectbuilder_select_expr(this.__wbg_ptr, A.__wbg_ptr);
964
+ h(A, y), I.wasmselectbuilder_select_expr(this.__wbg_ptr, A.__wbg_ptr);
965
965
  }
966
966
  /**
967
967
  * Add multiple expressions to the SELECT list.
968
968
  * @param {WasmExprArray} exprs
969
969
  */
970
970
  select_exprs(A) {
971
- h(A, P), I.wasmselectbuilder_select_exprs(this.__wbg_ptr, A.__wbg_ptr);
971
+ h(A, O), I.wasmselectbuilder_select_exprs(this.__wbg_ptr, A.__wbg_ptr);
972
972
  }
973
973
  /**
974
974
  * Add a star (*) to the SELECT list.
@@ -981,7 +981,7 @@ class j {
981
981
  * @param {WasmExprArray} exprs
982
982
  */
983
983
  sort_by_exprs(A) {
984
- h(A, P), I.wasmselectbuilder_sort_by_exprs(this.__wbg_ptr, A.__wbg_ptr);
984
+ h(A, O), I.wasmselectbuilder_sort_by_exprs(this.__wbg_ptr, A.__wbg_ptr);
985
985
  }
986
986
  /**
987
987
  * Generate SQL string for the given dialect.
@@ -989,16 +989,16 @@ class j {
989
989
  * @returns {string}
990
990
  */
991
991
  to_sql(A) {
992
- let Q, C;
992
+ let C, Q;
993
993
  try {
994
- const G = I.__wbindgen_add_to_stack_pointer(-16), S = M(A, I.__wbindgen_export, I.__wbindgen_export2), R = k;
995
- I.wasmselectbuilder_to_sql(G, this.__wbg_ptr, S, R);
996
- var B = i().getInt32(G + 0, !0), E = i().getInt32(G + 4, !0), D = i().getInt32(G + 8, !0), o = i().getInt32(G + 12, !0), N = B, y = E;
994
+ const G = I.__wbindgen_add_to_stack_pointer(-16), S = k(A, I.__wbindgen_export, I.__wbindgen_export2), L = M;
995
+ I.wasmselectbuilder_to_sql(G, this.__wbg_ptr, S, L);
996
+ var B = i().getInt32(G + 0, !0), E = i().getInt32(G + 4, !0), D = i().getInt32(G + 8, !0), o = i().getInt32(G + 12, !0), N = B, K = E;
997
997
  if (o)
998
- throw N = 0, y = 0, U(D);
999
- return Q = N, C = y, F(N, y);
998
+ throw N = 0, K = 0, U(D);
999
+ return C = N, Q = K, F(N, K);
1000
1000
  } finally {
1001
- I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, C, 1);
1001
+ I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, Q, 1);
1002
1002
  }
1003
1003
  }
1004
1004
  /**
@@ -1010,10 +1010,10 @@ class j {
1010
1010
  try {
1011
1011
  const E = I.__wbindgen_add_to_stack_pointer(-16);
1012
1012
  h(A, j), I.wasmselectbuilder_union(E, this.__wbg_ptr, A.__wbg_ptr);
1013
- var Q = i().getInt32(E + 0, !0), C = i().getInt32(E + 4, !0), B = i().getInt32(E + 8, !0);
1013
+ var C = i().getInt32(E + 0, !0), Q = i().getInt32(E + 4, !0), B = i().getInt32(E + 8, !0);
1014
1014
  if (B)
1015
- throw U(C);
1016
- return z.__wrap(Q);
1015
+ throw U(Q);
1016
+ return z.__wrap(C);
1017
1017
  } finally {
1018
1018
  I.__wbindgen_add_to_stack_pointer(16);
1019
1019
  }
@@ -1027,10 +1027,10 @@ class j {
1027
1027
  try {
1028
1028
  const E = I.__wbindgen_add_to_stack_pointer(-16);
1029
1029
  h(A, j), I.wasmselectbuilder_union_all(E, this.__wbg_ptr, A.__wbg_ptr);
1030
- var Q = i().getInt32(E + 0, !0), C = i().getInt32(E + 4, !0), B = i().getInt32(E + 8, !0);
1030
+ var C = i().getInt32(E + 0, !0), Q = i().getInt32(E + 4, !0), B = i().getInt32(E + 8, !0);
1031
1031
  if (B)
1032
- throw U(C);
1033
- return z.__wrap(Q);
1032
+ throw U(Q);
1033
+ return z.__wrap(C);
1034
1034
  } finally {
1035
1035
  I.__wbindgen_add_to_stack_pointer(16);
1036
1036
  }
@@ -1040,28 +1040,28 @@ class j {
1040
1040
  * @param {WasmExpr} condition
1041
1041
  */
1042
1042
  where_expr(A) {
1043
- h(A, K), I.wasmselectbuilder_where_expr(this.__wbg_ptr, A.__wbg_ptr);
1043
+ h(A, y), I.wasmselectbuilder_where_expr(this.__wbg_ptr, A.__wbg_ptr);
1044
1044
  }
1045
1045
  /**
1046
1046
  * Set the WHERE clause by parsing a raw SQL condition string.
1047
1047
  * @param {string} sql
1048
1048
  */
1049
1049
  where_sql(A) {
1050
- const Q = M(A, I.__wbindgen_export, I.__wbindgen_export2), C = k;
1051
- I.wasmselectbuilder_where_sql(this.__wbg_ptr, Q, C);
1050
+ const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), Q = M;
1051
+ I.wasmselectbuilder_where_sql(this.__wbg_ptr, C, Q);
1052
1052
  }
1053
1053
  /**
1054
1054
  * Add a named WINDOW clause definition.
1055
1055
  * @param {string} name
1056
1056
  * @param {WasmWindowDefBuilder} def
1057
1057
  */
1058
- window(A, Q) {
1058
+ window(A, C) {
1059
1059
  try {
1060
- const E = I.__wbindgen_add_to_stack_pointer(-16), D = M(A, I.__wbindgen_export, I.__wbindgen_export2), o = k;
1061
- h(Q, CA), I.wasmselectbuilder_window(E, this.__wbg_ptr, D, o, Q.__wbg_ptr);
1062
- var C = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0);
1060
+ const E = I.__wbindgen_add_to_stack_pointer(-16), D = k(A, I.__wbindgen_export, I.__wbindgen_export2), o = M;
1061
+ h(C, QA), I.wasmselectbuilder_window(E, this.__wbg_ptr, D, o, C.__wbg_ptr);
1062
+ var Q = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0);
1063
1063
  if (B)
1064
- throw U(C);
1064
+ throw U(Q);
1065
1065
  } finally {
1066
1066
  I.__wbindgen_add_to_stack_pointer(16);
1067
1067
  }
@@ -1071,12 +1071,12 @@ Symbol.dispose && (j.prototype[Symbol.dispose] = j.prototype.free);
1071
1071
  class z {
1072
1072
  static __wrap(A) {
1073
1073
  A = A >>> 0;
1074
- const Q = Object.create(z.prototype);
1075
- return Q.__wbg_ptr = A, uA.register(Q, Q.__wbg_ptr, Q), Q;
1074
+ const C = Object.create(z.prototype);
1075
+ return C.__wbg_ptr = A, lA.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, uA.unregister(this), A;
1079
+ return this.__wbg_ptr = 0, lA.unregister(this), A;
1080
1080
  }
1081
1081
  free() {
1082
1082
  const A = this.__destroy_into_raw();
@@ -1090,9 +1090,9 @@ class z {
1090
1090
  try {
1091
1091
  const B = I.__wbindgen_add_to_stack_pointer(-16);
1092
1092
  I.wasmsetopbuilder_build(B, this.__wbg_ptr);
1093
- var A = i().getInt32(B + 0, !0), Q = i().getInt32(B + 4, !0), C = i().getInt32(B + 8, !0);
1094
- if (C)
1095
- throw U(Q);
1093
+ var A = i().getInt32(B + 0, !0), C = i().getInt32(B + 4, !0), Q = i().getInt32(B + 8, !0);
1094
+ if (Q)
1095
+ throw U(C);
1096
1096
  return U(A);
1097
1097
  } finally {
1098
1098
  I.__wbindgen_add_to_stack_pointer(16);
@@ -1117,7 +1117,7 @@ class z {
1117
1117
  * @param {WasmExprArray} exprs
1118
1118
  */
1119
1119
  order_by_exprs(A) {
1120
- h(A, P), I.wasmsetopbuilder_order_by_exprs(this.__wbg_ptr, A.__wbg_ptr);
1120
+ h(A, O), I.wasmsetopbuilder_order_by_exprs(this.__wbg_ptr, A.__wbg_ptr);
1121
1121
  }
1122
1122
  /**
1123
1123
  * Generate SQL string for the given dialect.
@@ -1125,24 +1125,24 @@ class z {
1125
1125
  * @returns {string}
1126
1126
  */
1127
1127
  to_sql(A) {
1128
- let Q, C;
1128
+ let C, Q;
1129
1129
  try {
1130
- const G = I.__wbindgen_add_to_stack_pointer(-16), S = M(A, I.__wbindgen_export, I.__wbindgen_export2), R = k;
1131
- I.wasmsetopbuilder_to_sql(G, this.__wbg_ptr, S, R);
1132
- var B = i().getInt32(G + 0, !0), E = i().getInt32(G + 4, !0), D = i().getInt32(G + 8, !0), o = i().getInt32(G + 12, !0), N = B, y = E;
1130
+ const G = I.__wbindgen_add_to_stack_pointer(-16), S = k(A, I.__wbindgen_export, I.__wbindgen_export2), L = M;
1131
+ I.wasmsetopbuilder_to_sql(G, this.__wbg_ptr, S, L);
1132
+ var B = i().getInt32(G + 0, !0), E = i().getInt32(G + 4, !0), D = i().getInt32(G + 8, !0), o = i().getInt32(G + 12, !0), N = B, K = E;
1133
1133
  if (o)
1134
- throw N = 0, y = 0, U(D);
1135
- return Q = N, C = y, F(N, y);
1134
+ throw N = 0, K = 0, U(D);
1135
+ return C = N, Q = K, F(N, K);
1136
1136
  } finally {
1137
- I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, C, 1);
1137
+ I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, Q, 1);
1138
1138
  }
1139
1139
  }
1140
1140
  }
1141
1141
  Symbol.dispose && (z.prototype[Symbol.dispose] = z.prototype.free);
1142
- class MA {
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, rA.unregister(this), A;
1146
1146
  }
1147
1147
  free() {
1148
1148
  const A = this.__destroy_into_raw();
@@ -1156,9 +1156,9 @@ class MA {
1156
1156
  try {
1157
1157
  const B = I.__wbindgen_add_to_stack_pointer(-16);
1158
1158
  I.wasmupdatebuilder_build(B, this.__wbg_ptr);
1159
- var A = i().getInt32(B + 0, !0), Q = i().getInt32(B + 4, !0), C = i().getInt32(B + 8, !0);
1160
- if (C)
1161
- throw U(Q);
1159
+ var A = i().getInt32(B + 0, !0), C = i().getInt32(B + 4, !0), Q = i().getInt32(B + 8, !0);
1160
+ if (Q)
1161
+ throw U(C);
1162
1162
  return U(A);
1163
1163
  } finally {
1164
1164
  I.__wbindgen_add_to_stack_pointer(16);
@@ -1169,25 +1169,25 @@ class MA {
1169
1169
  * @param {string} table
1170
1170
  */
1171
1171
  from(A) {
1172
- const Q = M(A, I.__wbindgen_export, I.__wbindgen_export2), C = k;
1173
- I.wasmupdatebuilder_from(this.__wbg_ptr, Q, C);
1172
+ const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), Q = M;
1173
+ I.wasmupdatebuilder_from(this.__wbg_ptr, C, Q);
1174
1174
  }
1175
1175
  /**
1176
1176
  * Create a new UPDATE builder for the given table.
1177
1177
  * @param {string} table_name
1178
1178
  */
1179
1179
  constructor(A) {
1180
- const Q = M(A, I.__wbindgen_export, I.__wbindgen_export2), C = k, B = I.wasmupdatebuilder_new(Q, C);
1181
- return this.__wbg_ptr = B >>> 0, lA.register(this, this.__wbg_ptr, this), this;
1180
+ const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), Q = M, B = I.wasmupdatebuilder_new(C, Q);
1181
+ return this.__wbg_ptr = B >>> 0, rA.register(this, this.__wbg_ptr, this), this;
1182
1182
  }
1183
1183
  /**
1184
1184
  * Add a SET column = value assignment.
1185
1185
  * @param {string} column
1186
1186
  * @param {WasmExpr} value
1187
1187
  */
1188
- set(A, Q) {
1189
- const C = M(A, I.__wbindgen_export, I.__wbindgen_export2), B = k;
1190
- h(Q, K), I.wasmupdatebuilder_set(this.__wbg_ptr, C, B, Q.__wbg_ptr);
1188
+ set(A, C) {
1189
+ const Q = k(A, I.__wbindgen_export, I.__wbindgen_export2), B = M;
1190
+ h(C, y), I.wasmupdatebuilder_set(this.__wbg_ptr, Q, B, C.__wbg_ptr);
1191
1191
  }
1192
1192
  /**
1193
1193
  * Generate SQL string for the given dialect.
@@ -1195,16 +1195,16 @@ class MA {
1195
1195
  * @returns {string}
1196
1196
  */
1197
1197
  to_sql(A) {
1198
- let Q, C;
1198
+ let C, Q;
1199
1199
  try {
1200
- const G = I.__wbindgen_add_to_stack_pointer(-16), S = M(A, I.__wbindgen_export, I.__wbindgen_export2), R = k;
1201
- I.wasmupdatebuilder_to_sql(G, this.__wbg_ptr, S, R);
1202
- var B = i().getInt32(G + 0, !0), E = i().getInt32(G + 4, !0), D = i().getInt32(G + 8, !0), o = i().getInt32(G + 12, !0), N = B, y = E;
1200
+ const G = I.__wbindgen_add_to_stack_pointer(-16), S = k(A, I.__wbindgen_export, I.__wbindgen_export2), L = M;
1201
+ I.wasmupdatebuilder_to_sql(G, this.__wbg_ptr, S, L);
1202
+ var B = i().getInt32(G + 0, !0), E = i().getInt32(G + 4, !0), D = i().getInt32(G + 8, !0), o = i().getInt32(G + 12, !0), N = B, K = E;
1203
1203
  if (o)
1204
- throw N = 0, y = 0, U(D);
1205
- return Q = N, C = y, F(N, y);
1204
+ throw N = 0, K = 0, U(D);
1205
+ return C = N, Q = K, F(N, K);
1206
1206
  } finally {
1207
- I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, C, 1);
1207
+ I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, Q, 1);
1208
1208
  }
1209
1209
  }
1210
1210
  /**
@@ -1212,14 +1212,14 @@ class MA {
1212
1212
  * @param {WasmExpr} condition
1213
1213
  */
1214
1214
  where_expr(A) {
1215
- h(A, K), I.wasmupdatebuilder_where_expr(this.__wbg_ptr, A.__wbg_ptr);
1215
+ h(A, y), I.wasmupdatebuilder_where_expr(this.__wbg_ptr, A.__wbg_ptr);
1216
1216
  }
1217
1217
  }
1218
- Symbol.dispose && (MA.prototype[Symbol.dispose] = MA.prototype.free);
1219
- class CA {
1218
+ Symbol.dispose && (kA.prototype[Symbol.dispose] = kA.prototype.free);
1219
+ class QA {
1220
1220
  __destroy_into_raw() {
1221
1221
  const A = this.__wbg_ptr;
1222
- return this.__wbg_ptr = 0, rA.unregister(this), A;
1222
+ return this.__wbg_ptr = 0, uA.unregister(this), A;
1223
1223
  }
1224
1224
  free() {
1225
1225
  const A = this.__destroy_into_raw();
@@ -1230,267 +1230,267 @@ class CA {
1230
1230
  */
1231
1231
  constructor() {
1232
1232
  const A = I.wasmwindowdefbuilder_new();
1233
- return this.__wbg_ptr = A >>> 0, rA.register(this, this.__wbg_ptr, this), this;
1233
+ return this.__wbg_ptr = A >>> 0, uA.register(this, this.__wbg_ptr, this), this;
1234
1234
  }
1235
1235
  /**
1236
1236
  * Set the ORDER BY expressions.
1237
1237
  * @param {WasmExprArray} exprs
1238
1238
  */
1239
1239
  order_by(A) {
1240
- h(A, P), I.wasmwindowdefbuilder_order_by(this.__wbg_ptr, A.__wbg_ptr);
1240
+ h(A, O), I.wasmwindowdefbuilder_order_by(this.__wbg_ptr, A.__wbg_ptr);
1241
1241
  }
1242
1242
  /**
1243
1243
  * Set the PARTITION BY expressions.
1244
1244
  * @param {WasmExprArray} exprs
1245
1245
  */
1246
1246
  partition_by(A) {
1247
- h(A, P), I.wasmwindowdefbuilder_partition_by(this.__wbg_ptr, A.__wbg_ptr);
1247
+ h(A, O), I.wasmwindowdefbuilder_partition_by(this.__wbg_ptr, A.__wbg_ptr);
1248
1248
  }
1249
1249
  }
1250
- Symbol.dispose && (CA.prototype[Symbol.dispose] = CA.prototype.free);
1251
- function yI(g, A, Q) {
1252
- let C, B;
1250
+ Symbol.dispose && (QA.prototype[Symbol.dispose] = QA.prototype.free);
1251
+ function KI(g, A, C) {
1252
+ let Q, B;
1253
1253
  try {
1254
- const o = I.__wbindgen_add_to_stack_pointer(-16), N = M(g, I.__wbindgen_export, I.__wbindgen_export2), y = k, G = M(A, I.__wbindgen_export, I.__wbindgen_export2), S = k, R = M(Q, I.__wbindgen_export, I.__wbindgen_export2), q = k;
1255
- I.annotate_types(o, N, y, G, S, R, q);
1254
+ const o = I.__wbindgen_add_to_stack_pointer(-16), N = k(g, I.__wbindgen_export, I.__wbindgen_export2), K = M, G = k(A, I.__wbindgen_export, I.__wbindgen_export2), S = M, L = k(C, I.__wbindgen_export, I.__wbindgen_export2), q = M;
1255
+ I.annotate_types(o, N, K, G, S, L, q);
1256
1256
  var E = i().getInt32(o + 0, !0), D = i().getInt32(o + 4, !0);
1257
- return C = E, B = D, F(E, D);
1257
+ return Q = E, B = D, F(E, D);
1258
1258
  } finally {
1259
- I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
1259
+ I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, B, 1);
1260
1260
  }
1261
1261
  }
1262
- function KI(g, A, Q) {
1263
- const C = M(g, I.__wbindgen_export, I.__wbindgen_export2), B = k, E = M(A, I.__wbindgen_export, I.__wbindgen_export2), D = k, o = M(Q, I.__wbindgen_export, I.__wbindgen_export2), N = k, y = I.annotate_types_value(C, B, E, D, o, N);
1264
- return U(y);
1262
+ function yI(g, A, C) {
1263
+ const Q = k(g, I.__wbindgen_export, I.__wbindgen_export2), B = M, E = k(A, I.__wbindgen_export, I.__wbindgen_export2), D = M, o = k(C, I.__wbindgen_export, I.__wbindgen_export2), N = M, K = I.annotate_types_value(Q, B, E, D, o, N);
1264
+ return U(K);
1265
1265
  }
1266
- function bA(g, A, Q) {
1267
- let C, B;
1266
+ function bA(g, A, C) {
1267
+ let Q, B;
1268
1268
  try {
1269
- const o = I.__wbindgen_add_to_stack_pointer(-16), N = M(g, I.__wbindgen_export, I.__wbindgen_export2), y = k, G = M(A, I.__wbindgen_export, I.__wbindgen_export2), S = k;
1270
- I.ast_add_where(o, N, y, G, S, Q);
1269
+ const o = I.__wbindgen_add_to_stack_pointer(-16), N = k(g, I.__wbindgen_export, I.__wbindgen_export2), K = M, G = k(A, I.__wbindgen_export, I.__wbindgen_export2), S = M;
1270
+ I.ast_add_where(o, N, K, G, S, C);
1271
1271
  var E = i().getInt32(o + 0, !0), D = i().getInt32(o + 4, !0);
1272
- return C = E, B = D, F(E, D);
1272
+ return Q = E, B = D, F(E, D);
1273
1273
  } finally {
1274
- I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
1274
+ I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, B, 1);
1275
1275
  }
1276
1276
  }
1277
1277
  function vA(g) {
1278
- let A, Q;
1278
+ let A, C;
1279
1279
  try {
1280
- const E = I.__wbindgen_add_to_stack_pointer(-16), D = M(g, I.__wbindgen_export, I.__wbindgen_export2), o = k;
1280
+ const E = I.__wbindgen_add_to_stack_pointer(-16), D = k(g, I.__wbindgen_export, I.__wbindgen_export2), o = M;
1281
1281
  I.ast_get_aggregate_functions(E, D, o);
1282
- var C = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0);
1283
- return A = C, Q = B, F(C, B);
1282
+ var Q = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0);
1283
+ return A = Q, C = B, F(Q, B);
1284
1284
  } finally {
1285
- I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, Q, 1);
1285
+ I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
1286
1286
  }
1287
1287
  }
1288
1288
  function XA(g) {
1289
- let A, Q;
1289
+ let A, C;
1290
1290
  try {
1291
- const E = I.__wbindgen_add_to_stack_pointer(-16), D = M(g, I.__wbindgen_export, I.__wbindgen_export2), o = k;
1291
+ const E = I.__wbindgen_add_to_stack_pointer(-16), D = k(g, I.__wbindgen_export, I.__wbindgen_export2), o = M;
1292
1292
  I.ast_get_column_names(E, D, o);
1293
- var C = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0);
1294
- return A = C, Q = B, F(C, B);
1293
+ var Q = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0);
1294
+ return A = Q, C = B, F(Q, B);
1295
1295
  } finally {
1296
- I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, Q, 1);
1296
+ I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
1297
1297
  }
1298
1298
  }
1299
1299
  function _A(g) {
1300
- let A, Q;
1300
+ let A, C;
1301
1301
  try {
1302
- const E = I.__wbindgen_add_to_stack_pointer(-16), D = M(g, I.__wbindgen_export, I.__wbindgen_export2), o = k;
1302
+ const E = I.__wbindgen_add_to_stack_pointer(-16), D = k(g, I.__wbindgen_export, I.__wbindgen_export2), o = M;
1303
1303
  I.ast_get_functions(E, D, o);
1304
- var C = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0);
1305
- return A = C, Q = B, F(C, B);
1304
+ var Q = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0);
1305
+ return A = Q, C = B, F(Q, B);
1306
1306
  } finally {
1307
- I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, Q, 1);
1307
+ I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
1308
1308
  }
1309
1309
  }
1310
1310
  function $A(g) {
1311
- let A, Q;
1311
+ let A, C;
1312
1312
  try {
1313
- const E = I.__wbindgen_add_to_stack_pointer(-16), D = M(g, I.__wbindgen_export, I.__wbindgen_export2), o = k;
1313
+ const E = I.__wbindgen_add_to_stack_pointer(-16), D = k(g, I.__wbindgen_export, I.__wbindgen_export2), o = M;
1314
1314
  I.ast_get_literals(E, D, o);
1315
- var C = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0);
1316
- return A = C, Q = B, F(C, B);
1315
+ var Q = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0);
1316
+ return A = Q, C = B, F(Q, B);
1317
1317
  } finally {
1318
- I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, Q, 1);
1318
+ I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
1319
1319
  }
1320
1320
  }
1321
1321
  function Ag(g) {
1322
- let A, Q;
1322
+ let A, C;
1323
1323
  try {
1324
- const E = I.__wbindgen_add_to_stack_pointer(-16), D = M(g, I.__wbindgen_export, I.__wbindgen_export2), o = k;
1324
+ const E = I.__wbindgen_add_to_stack_pointer(-16), D = k(g, I.__wbindgen_export, I.__wbindgen_export2), o = M;
1325
1325
  I.ast_get_subqueries(E, D, o);
1326
- var C = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0);
1327
- return A = C, Q = B, F(C, B);
1326
+ var Q = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0);
1327
+ return A = Q, C = B, F(Q, B);
1328
1328
  } finally {
1329
- I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, Q, 1);
1329
+ I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
1330
1330
  }
1331
1331
  }
1332
1332
  function gg(g) {
1333
- let A, Q;
1333
+ let A, C;
1334
1334
  try {
1335
- const E = I.__wbindgen_add_to_stack_pointer(-16), D = M(g, I.__wbindgen_export, I.__wbindgen_export2), o = k;
1335
+ const E = I.__wbindgen_add_to_stack_pointer(-16), D = k(g, I.__wbindgen_export, I.__wbindgen_export2), o = M;
1336
1336
  I.ast_get_table_names(E, D, o);
1337
- var C = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0);
1338
- return A = C, Q = B, F(C, B);
1337
+ var Q = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0);
1338
+ return A = Q, C = B, F(Q, B);
1339
1339
  } finally {
1340
- I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, Q, 1);
1340
+ I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
1341
1341
  }
1342
1342
  }
1343
1343
  function Ig(g) {
1344
- let A, Q;
1344
+ let A, C;
1345
1345
  try {
1346
- const E = I.__wbindgen_add_to_stack_pointer(-16), D = M(g, I.__wbindgen_export, I.__wbindgen_export2), o = k;
1346
+ const E = I.__wbindgen_add_to_stack_pointer(-16), D = k(g, I.__wbindgen_export, I.__wbindgen_export2), o = M;
1347
1347
  I.ast_get_window_functions(E, D, o);
1348
- var C = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0);
1349
- return A = C, Q = B, F(C, B);
1348
+ var Q = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0);
1349
+ return A = Q, C = B, F(Q, B);
1350
1350
  } finally {
1351
- I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, Q, 1);
1351
+ I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
1352
1352
  }
1353
1353
  }
1354
- function Qg(g) {
1355
- let A, Q;
1354
+ function Cg(g) {
1355
+ let A, C;
1356
1356
  try {
1357
- const E = I.__wbindgen_add_to_stack_pointer(-16), D = M(g, I.__wbindgen_export, I.__wbindgen_export2), o = k;
1357
+ const E = I.__wbindgen_add_to_stack_pointer(-16), D = k(g, I.__wbindgen_export, I.__wbindgen_export2), o = M;
1358
1358
  I.ast_node_count(E, D, o);
1359
- var C = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0);
1360
- return A = C, Q = B, F(C, B);
1359
+ var Q = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0);
1360
+ return A = Q, C = B, F(Q, B);
1361
1361
  } finally {
1362
- I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, Q, 1);
1362
+ I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
1363
1363
  }
1364
1364
  }
1365
- function Cg(g, A) {
1366
- let Q, C;
1365
+ function Qg(g, A) {
1366
+ let C, Q;
1367
1367
  try {
1368
- const D = I.__wbindgen_add_to_stack_pointer(-16), o = M(g, I.__wbindgen_export, I.__wbindgen_export2), N = k, y = M(A, I.__wbindgen_export, I.__wbindgen_export2), G = k;
1369
- I.ast_qualify_columns(D, o, N, y, G);
1368
+ const D = I.__wbindgen_add_to_stack_pointer(-16), o = k(g, I.__wbindgen_export, I.__wbindgen_export2), N = M, K = k(A, I.__wbindgen_export, I.__wbindgen_export2), G = M;
1369
+ I.ast_qualify_columns(D, o, N, K, G);
1370
1370
  var B = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
1371
- return Q = B, C = E, F(B, E);
1371
+ return C = B, Q = E, F(B, E);
1372
1372
  } finally {
1373
- I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, C, 1);
1373
+ I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, Q, 1);
1374
1374
  }
1375
1375
  }
1376
1376
  function Bg(g) {
1377
- let A, Q;
1377
+ let A, C;
1378
1378
  try {
1379
- const E = I.__wbindgen_add_to_stack_pointer(-16), D = M(g, I.__wbindgen_export, I.__wbindgen_export2), o = k;
1379
+ const E = I.__wbindgen_add_to_stack_pointer(-16), D = k(g, I.__wbindgen_export, I.__wbindgen_export2), o = M;
1380
1380
  I.ast_remove_where(E, D, o);
1381
- var C = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0);
1382
- return A = C, Q = B, F(C, B);
1381
+ var Q = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0);
1382
+ return A = Q, C = B, F(Q, B);
1383
1383
  } finally {
1384
- I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, Q, 1);
1384
+ I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
1385
1385
  }
1386
1386
  }
1387
1387
  function Eg(g, A) {
1388
- let Q, C;
1388
+ let C, Q;
1389
1389
  try {
1390
- const D = I.__wbindgen_add_to_stack_pointer(-16), o = M(g, I.__wbindgen_export, I.__wbindgen_export2), N = k, y = M(A, I.__wbindgen_export, I.__wbindgen_export2), G = k;
1391
- I.ast_rename_columns(D, o, N, y, G);
1390
+ const D = I.__wbindgen_add_to_stack_pointer(-16), o = k(g, I.__wbindgen_export, I.__wbindgen_export2), N = M, K = k(A, I.__wbindgen_export, I.__wbindgen_export2), G = M;
1391
+ I.ast_rename_columns(D, o, N, K, G);
1392
1392
  var B = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
1393
- return Q = B, C = E, F(B, E);
1393
+ return C = B, Q = E, F(B, E);
1394
1394
  } finally {
1395
- I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, C, 1);
1395
+ I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, Q, 1);
1396
1396
  }
1397
1397
  }
1398
1398
  function Dg(g, A) {
1399
- let Q, C;
1399
+ let C, Q;
1400
1400
  try {
1401
- const D = I.__wbindgen_add_to_stack_pointer(-16), o = M(g, I.__wbindgen_export, I.__wbindgen_export2), N = k, y = M(A, I.__wbindgen_export, I.__wbindgen_export2), G = k;
1402
- I.ast_rename_tables(D, o, N, y, G);
1401
+ const D = I.__wbindgen_add_to_stack_pointer(-16), o = k(g, I.__wbindgen_export, I.__wbindgen_export2), N = M, K = k(A, I.__wbindgen_export, I.__wbindgen_export2), G = M;
1402
+ I.ast_rename_tables(D, o, N, K, G);
1403
1403
  var B = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
1404
- return Q = B, C = E, F(B, E);
1404
+ return C = B, Q = E, F(B, E);
1405
1405
  } finally {
1406
- I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, C, 1);
1406
+ I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, Q, 1);
1407
1407
  }
1408
1408
  }
1409
1409
  function wg(g, A) {
1410
- let Q, C;
1410
+ let C, Q;
1411
1411
  try {
1412
- const D = I.__wbindgen_add_to_stack_pointer(-16), o = M(g, I.__wbindgen_export, I.__wbindgen_export2), N = k;
1412
+ const D = I.__wbindgen_add_to_stack_pointer(-16), o = k(g, I.__wbindgen_export, I.__wbindgen_export2), N = M;
1413
1413
  I.ast_set_distinct(D, o, N, A);
1414
1414
  var B = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
1415
- return Q = B, C = E, F(B, E);
1415
+ return C = B, Q = E, F(B, E);
1416
1416
  } finally {
1417
- I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, C, 1);
1417
+ I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, Q, 1);
1418
1418
  }
1419
1419
  }
1420
1420
  function ig(g, A) {
1421
- let Q, C;
1421
+ let C, Q;
1422
1422
  try {
1423
- const D = I.__wbindgen_add_to_stack_pointer(-16), o = M(g, I.__wbindgen_export, I.__wbindgen_export2), N = k;
1423
+ const D = I.__wbindgen_add_to_stack_pointer(-16), o = k(g, I.__wbindgen_export, I.__wbindgen_export2), N = M;
1424
1424
  I.ast_set_limit(D, o, N, A);
1425
1425
  var B = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
1426
- return Q = B, C = E, F(B, E);
1426
+ return C = B, Q = E, F(B, E);
1427
1427
  } finally {
1428
- I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, C, 1);
1428
+ I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, Q, 1);
1429
1429
  }
1430
1430
  }
1431
- function og(g, A, Q, C, B, E) {
1431
+ function og(g, A, C, Q, B, E) {
1432
1432
  let D, o;
1433
1433
  try {
1434
- const G = I.__wbindgen_add_to_stack_pointer(-16), S = M(g, I.__wbindgen_export, I.__wbindgen_export2), R = k, q = M(A, I.__wbindgen_export, I.__wbindgen_export2), T = k, f = M(Q, I.__wbindgen_export, I.__wbindgen_export2), v = k;
1435
- I.diff_sql(G, S, R, q, T, f, v, C, B, E);
1436
- var N = i().getInt32(G + 0, !0), y = i().getInt32(G + 4, !0);
1437
- return D = N, o = y, F(N, y);
1434
+ const G = I.__wbindgen_add_to_stack_pointer(-16), S = k(g, I.__wbindgen_export, I.__wbindgen_export2), L = M, q = k(A, I.__wbindgen_export, I.__wbindgen_export2), P = M, e = k(C, I.__wbindgen_export, I.__wbindgen_export2), v = M;
1435
+ I.diff_sql(G, S, L, q, P, e, v, Q, B, E);
1436
+ var N = i().getInt32(G + 0, !0), K = i().getInt32(G + 4, !0);
1437
+ return D = N, o = K, F(N, K);
1438
1438
  } finally {
1439
1439
  I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(D, o, 1);
1440
1440
  }
1441
1441
  }
1442
1442
  function GI(g, A) {
1443
- let Q, C;
1443
+ let C, Q;
1444
1444
  try {
1445
- const D = I.__wbindgen_add_to_stack_pointer(-16), o = M(g, I.__wbindgen_export, I.__wbindgen_export2), N = k, y = M(A, I.__wbindgen_export, I.__wbindgen_export2), G = k;
1446
- I.format_sql(D, o, N, y, G);
1445
+ const D = I.__wbindgen_add_to_stack_pointer(-16), o = k(g, I.__wbindgen_export, I.__wbindgen_export2), N = M, K = k(A, I.__wbindgen_export, I.__wbindgen_export2), G = M;
1446
+ I.format_sql(D, o, N, K, G);
1447
1447
  var B = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
1448
- return Q = B, C = E, F(B, E);
1448
+ return C = B, Q = E, F(B, E);
1449
1449
  } finally {
1450
- I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, C, 1);
1450
+ I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, Q, 1);
1451
1451
  }
1452
1452
  }
1453
1453
  function YI(g, A) {
1454
- const Q = M(g, I.__wbindgen_export, I.__wbindgen_export2), C = k, B = M(A, I.__wbindgen_export, I.__wbindgen_export2), E = k, D = I.format_sql_value(Q, C, B, E);
1454
+ const C = k(g, I.__wbindgen_export, I.__wbindgen_export2), Q = M, B = k(A, I.__wbindgen_export, I.__wbindgen_export2), E = M, D = I.format_sql_value(C, Q, B, E);
1455
1455
  return U(D);
1456
1456
  }
1457
- function hI(g, A, Q) {
1458
- let C, B;
1457
+ function hI(g, A, C) {
1458
+ let Q, B;
1459
1459
  try {
1460
- const o = I.__wbindgen_add_to_stack_pointer(-16), N = M(g, I.__wbindgen_export, I.__wbindgen_export2), y = k, G = M(A, I.__wbindgen_export, I.__wbindgen_export2), S = k, R = M(Q, I.__wbindgen_export, I.__wbindgen_export2), q = k;
1461
- I.format_sql_with_options(o, N, y, G, S, R, q);
1460
+ const o = I.__wbindgen_add_to_stack_pointer(-16), N = k(g, I.__wbindgen_export, I.__wbindgen_export2), K = M, G = k(A, I.__wbindgen_export, I.__wbindgen_export2), S = M, L = k(C, I.__wbindgen_export, I.__wbindgen_export2), q = M;
1461
+ I.format_sql_with_options(o, N, K, G, S, L, q);
1462
1462
  var E = i().getInt32(o + 0, !0), D = i().getInt32(o + 4, !0);
1463
- return C = E, B = D, F(E, D);
1463
+ return Q = E, B = D, F(E, D);
1464
1464
  } finally {
1465
- I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
1465
+ I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, B, 1);
1466
1466
  }
1467
1467
  }
1468
- function SI(g, A, Q) {
1469
- const C = M(g, I.__wbindgen_export, I.__wbindgen_export2), B = k, E = M(A, I.__wbindgen_export, I.__wbindgen_export2), D = k, o = I.format_sql_with_options_value(C, B, E, D, s(Q));
1468
+ function SI(g, A, C) {
1469
+ const Q = k(g, I.__wbindgen_export, I.__wbindgen_export2), B = M, E = k(A, I.__wbindgen_export, I.__wbindgen_export2), D = M, o = I.format_sql_with_options_value(Q, B, E, D, s(C));
1470
1470
  return U(o);
1471
1471
  }
1472
1472
  function cI(g, A) {
1473
- let Q, C;
1473
+ let C, Q;
1474
1474
  try {
1475
- const D = I.__wbindgen_add_to_stack_pointer(-16), o = M(g, I.__wbindgen_export, I.__wbindgen_export2), N = k, y = M(A, I.__wbindgen_export, I.__wbindgen_export2), G = k;
1476
- I.generate(D, o, N, y, G);
1475
+ const D = I.__wbindgen_add_to_stack_pointer(-16), o = k(g, I.__wbindgen_export, I.__wbindgen_export2), N = M, K = k(A, I.__wbindgen_export, I.__wbindgen_export2), G = M;
1476
+ I.generate(D, o, N, K, G);
1477
1477
  var B = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
1478
- return Q = B, C = E, F(B, E);
1478
+ return C = B, Q = E, F(B, E);
1479
1479
  } finally {
1480
- I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, C, 1);
1480
+ I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, Q, 1);
1481
1481
  }
1482
1482
  }
1483
- function JI(g, A) {
1484
- const Q = M(A, I.__wbindgen_export, I.__wbindgen_export2), C = k, B = I.generate_value(s(g), Q, C);
1483
+ function HI(g, A) {
1484
+ const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), Q = M, B = I.generate_value(s(g), C, Q);
1485
1485
  return U(B);
1486
1486
  }
1487
- function HI() {
1487
+ function JI() {
1488
1488
  let g, A;
1489
1489
  try {
1490
1490
  const B = I.__wbindgen_add_to_stack_pointer(-16);
1491
1491
  I.get_dialects(B);
1492
- var Q = i().getInt32(B + 0, !0), C = i().getInt32(B + 4, !0);
1493
- return g = Q, A = C, F(Q, C);
1492
+ var C = i().getInt32(B + 0, !0), Q = i().getInt32(B + 4, !0);
1493
+ return g = C, A = Q, F(C, Q);
1494
1494
  } finally {
1495
1495
  I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(g, A, 1);
1496
1496
  }
@@ -1499,450 +1499,450 @@ function UI() {
1499
1499
  const g = I.get_dialects_value();
1500
1500
  return U(g);
1501
1501
  }
1502
- function kg(g, A, Q, C) {
1502
+ function Mg(g, A, C, Q) {
1503
1503
  let B, E;
1504
1504
  try {
1505
- const N = I.__wbindgen_add_to_stack_pointer(-16), y = M(g, I.__wbindgen_export, I.__wbindgen_export2), G = k, S = M(A, I.__wbindgen_export, I.__wbindgen_export2), R = k, q = M(Q, I.__wbindgen_export, I.__wbindgen_export2), T = k;
1506
- I.lineage_sql(N, y, G, S, R, q, T, C);
1505
+ const N = I.__wbindgen_add_to_stack_pointer(-16), K = k(g, I.__wbindgen_export, I.__wbindgen_export2), G = M, S = k(A, I.__wbindgen_export, I.__wbindgen_export2), L = M, q = k(C, I.__wbindgen_export, I.__wbindgen_export2), P = M;
1506
+ I.lineage_sql(N, K, G, S, L, q, P, Q);
1507
1507
  var D = i().getInt32(N + 0, !0), o = i().getInt32(N + 4, !0);
1508
1508
  return B = D, E = o, F(D, o);
1509
1509
  } finally {
1510
1510
  I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, E, 1);
1511
1511
  }
1512
1512
  }
1513
- function Mg(g, A, Q, C, B) {
1513
+ function kg(g, A, C, Q, B) {
1514
1514
  let E, D;
1515
1515
  try {
1516
- const y = I.__wbindgen_add_to_stack_pointer(-16), G = M(g, I.__wbindgen_export, I.__wbindgen_export2), S = k, R = M(A, I.__wbindgen_export, I.__wbindgen_export2), q = k, T = M(Q, I.__wbindgen_export, I.__wbindgen_export2), f = k, v = M(C, I.__wbindgen_export, I.__wbindgen_export2), kI = k;
1517
- I.lineage_sql_with_schema(y, G, S, R, q, T, f, v, kI, B);
1518
- var o = i().getInt32(y + 0, !0), N = i().getInt32(y + 4, !0);
1516
+ const K = I.__wbindgen_add_to_stack_pointer(-16), G = k(g, I.__wbindgen_export, I.__wbindgen_export2), S = M, L = k(A, I.__wbindgen_export, I.__wbindgen_export2), q = M, P = k(C, I.__wbindgen_export, I.__wbindgen_export2), e = M, v = k(Q, I.__wbindgen_export, I.__wbindgen_export2), MI = M;
1517
+ I.lineage_sql_with_schema(K, G, S, L, q, P, e, v, MI, B);
1518
+ var o = i().getInt32(K + 0, !0), N = i().getInt32(K + 4, !0);
1519
1519
  return E = o, D = N, F(o, N);
1520
1520
  } finally {
1521
1521
  I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(E, D, 1);
1522
1522
  }
1523
1523
  }
1524
1524
  function FI(g, A) {
1525
- let Q, C;
1525
+ let C, Q;
1526
1526
  try {
1527
- const D = I.__wbindgen_add_to_stack_pointer(-16), o = M(g, I.__wbindgen_export, I.__wbindgen_export2), N = k, y = M(A, I.__wbindgen_export, I.__wbindgen_export2), G = k;
1528
- I.parse(D, o, N, y, G);
1527
+ const D = I.__wbindgen_add_to_stack_pointer(-16), o = k(g, I.__wbindgen_export, I.__wbindgen_export2), N = M, K = k(A, I.__wbindgen_export, I.__wbindgen_export2), G = M;
1528
+ I.parse(D, o, N, K, G);
1529
1529
  var B = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
1530
- return Q = B, C = E, F(B, E);
1530
+ return C = B, Q = E, F(B, E);
1531
1531
  } finally {
1532
- I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, C, 1);
1532
+ I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, Q, 1);
1533
1533
  }
1534
1534
  }
1535
- function LI(g, A) {
1536
- const Q = M(g, I.__wbindgen_export, I.__wbindgen_export2), C = k, B = M(A, I.__wbindgen_export, I.__wbindgen_export2), E = k, D = I.parse_value(Q, C, B, E);
1535
+ function RI(g, A) {
1536
+ const C = k(g, I.__wbindgen_export, I.__wbindgen_export2), Q = M, B = k(A, I.__wbindgen_export, I.__wbindgen_export2), E = M, D = I.parse_value(C, Q, B, E);
1537
1537
  return U(D);
1538
1538
  }
1539
1539
  function Ng(g, A) {
1540
- let Q, C;
1540
+ let C, Q;
1541
1541
  try {
1542
- const D = I.__wbindgen_add_to_stack_pointer(-16), o = M(g, I.__wbindgen_export, I.__wbindgen_export2), N = k, y = M(A, I.__wbindgen_export, I.__wbindgen_export2), G = k;
1543
- I.plan(D, o, N, y, G);
1542
+ const D = I.__wbindgen_add_to_stack_pointer(-16), o = k(g, I.__wbindgen_export, I.__wbindgen_export2), N = M, K = k(A, I.__wbindgen_export, I.__wbindgen_export2), G = M;
1543
+ I.plan(D, o, N, K, G);
1544
1544
  var B = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
1545
- return Q = B, C = E, F(B, E);
1545
+ return C = B, Q = E, F(B, E);
1546
1546
  } finally {
1547
- I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, C, 1);
1547
+ I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, Q, 1);
1548
1548
  }
1549
1549
  }
1550
- function yg(g, A, Q) {
1551
- let C, B;
1550
+ function Kg(g, A, C) {
1551
+ let Q, B;
1552
1552
  try {
1553
- const o = I.__wbindgen_add_to_stack_pointer(-16), N = M(g, I.__wbindgen_export, I.__wbindgen_export2), y = k, G = M(A, I.__wbindgen_export, I.__wbindgen_export2), S = k, R = M(Q, I.__wbindgen_export, I.__wbindgen_export2), q = k;
1554
- I.source_tables(o, N, y, G, S, R, q);
1553
+ const o = I.__wbindgen_add_to_stack_pointer(-16), N = k(g, I.__wbindgen_export, I.__wbindgen_export2), K = M, G = k(A, I.__wbindgen_export, I.__wbindgen_export2), S = M, L = k(C, I.__wbindgen_export, I.__wbindgen_export2), q = M;
1554
+ I.source_tables(o, N, K, G, S, L, q);
1555
1555
  var E = i().getInt32(o + 0, !0), D = i().getInt32(o + 4, !0);
1556
- return C = E, B = D, F(E, D);
1556
+ return Q = E, B = D, F(E, D);
1557
1557
  } finally {
1558
- I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
1558
+ I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, B, 1);
1559
1559
  }
1560
1560
  }
1561
- function RI(g, A) {
1562
- let Q, C;
1561
+ function LI(g, A) {
1562
+ let C, Q;
1563
1563
  try {
1564
- const D = I.__wbindgen_add_to_stack_pointer(-16), o = M(g, I.__wbindgen_export, I.__wbindgen_export2), N = k, y = M(A, I.__wbindgen_export, I.__wbindgen_export2), G = k;
1565
- I.tokenize(D, o, N, y, G);
1564
+ const D = I.__wbindgen_add_to_stack_pointer(-16), o = k(g, I.__wbindgen_export, I.__wbindgen_export2), N = M, K = k(A, I.__wbindgen_export, I.__wbindgen_export2), G = M;
1565
+ I.tokenize(D, o, N, K, G);
1566
1566
  var B = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
1567
- return Q = B, C = E, F(B, E);
1567
+ return C = B, Q = E, F(B, E);
1568
1568
  } finally {
1569
- I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, C, 1);
1569
+ I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, Q, 1);
1570
1570
  }
1571
1571
  }
1572
1572
  function sI(g, A) {
1573
- const Q = M(g, I.__wbindgen_export, I.__wbindgen_export2), C = k, B = M(A, I.__wbindgen_export, I.__wbindgen_export2), E = k, D = I.tokenize_value(Q, C, B, E);
1573
+ const C = k(g, I.__wbindgen_export, I.__wbindgen_export2), Q = M, B = k(A, I.__wbindgen_export, I.__wbindgen_export2), E = M, D = I.tokenize_value(C, Q, B, E);
1574
1574
  return U(D);
1575
1575
  }
1576
- function aI(g, A, Q) {
1577
- let C, B;
1576
+ function aI(g, A, C) {
1577
+ let Q, B;
1578
1578
  try {
1579
- const o = I.__wbindgen_add_to_stack_pointer(-16), N = M(g, I.__wbindgen_export, I.__wbindgen_export2), y = k, G = M(A, I.__wbindgen_export, I.__wbindgen_export2), S = k, R = M(Q, I.__wbindgen_export, I.__wbindgen_export2), q = k;
1580
- I.transpile(o, N, y, G, S, R, q);
1579
+ const o = I.__wbindgen_add_to_stack_pointer(-16), N = k(g, I.__wbindgen_export, I.__wbindgen_export2), K = M, G = k(A, I.__wbindgen_export, I.__wbindgen_export2), S = M, L = k(C, I.__wbindgen_export, I.__wbindgen_export2), q = M;
1580
+ I.transpile(o, N, K, G, S, L, q);
1581
1581
  var E = i().getInt32(o + 0, !0), D = i().getInt32(o + 4, !0);
1582
- return C = E, B = D, F(E, D);
1582
+ return Q = E, B = D, F(E, D);
1583
1583
  } finally {
1584
- I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
1584
+ I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, B, 1);
1585
1585
  }
1586
1586
  }
1587
- function qI(g, A, Q) {
1588
- const C = M(g, I.__wbindgen_export, I.__wbindgen_export2), B = k, E = M(A, I.__wbindgen_export, I.__wbindgen_export2), D = k, o = M(Q, I.__wbindgen_export, I.__wbindgen_export2), N = k, y = I.transpile_value(C, B, E, D, o, N);
1589
- return U(y);
1587
+ function qI(g, A, C) {
1588
+ const Q = k(g, I.__wbindgen_export, I.__wbindgen_export2), B = M, E = k(A, I.__wbindgen_export, I.__wbindgen_export2), D = M, o = k(C, I.__wbindgen_export, I.__wbindgen_export2), N = M, K = I.transpile_value(Q, B, E, D, o, N);
1589
+ return U(K);
1590
1590
  }
1591
1591
  function pI(g, A) {
1592
- let Q, C;
1592
+ let C, Q;
1593
1593
  try {
1594
- const D = I.__wbindgen_add_to_stack_pointer(-16), o = M(g, I.__wbindgen_export, I.__wbindgen_export2), N = k, y = M(A, I.__wbindgen_export, I.__wbindgen_export2), G = k;
1595
- I.validate(D, o, N, y, G);
1594
+ const D = I.__wbindgen_add_to_stack_pointer(-16), o = k(g, I.__wbindgen_export, I.__wbindgen_export2), N = M, K = k(A, I.__wbindgen_export, I.__wbindgen_export2), G = M;
1595
+ I.validate(D, o, N, K, G);
1596
1596
  var B = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
1597
- return Q = B, C = E, F(B, E);
1597
+ return C = B, Q = E, F(B, E);
1598
1598
  } finally {
1599
- I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, C, 1);
1599
+ I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, Q, 1);
1600
1600
  }
1601
1601
  }
1602
- function PI(g, A, Q) {
1603
- let C, B;
1602
+ function OI(g, A, C) {
1603
+ let Q, B;
1604
1604
  try {
1605
- const o = I.__wbindgen_add_to_stack_pointer(-16), N = M(g, I.__wbindgen_export, I.__wbindgen_export2), y = k, G = M(A, I.__wbindgen_export, I.__wbindgen_export2), S = k, R = M(Q, I.__wbindgen_export, I.__wbindgen_export2), q = k;
1606
- I.validate_with_options(o, N, y, G, S, R, q);
1605
+ const o = I.__wbindgen_add_to_stack_pointer(-16), N = k(g, I.__wbindgen_export, I.__wbindgen_export2), K = M, G = k(A, I.__wbindgen_export, I.__wbindgen_export2), S = M, L = k(C, I.__wbindgen_export, I.__wbindgen_export2), q = M;
1606
+ I.validate_with_options(o, N, K, G, S, L, q);
1607
1607
  var E = i().getInt32(o + 0, !0), D = i().getInt32(o + 4, !0);
1608
- return C = E, B = D, F(E, D);
1608
+ return Q = E, B = D, F(E, D);
1609
1609
  } finally {
1610
- I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, B, 1);
1610
+ I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, B, 1);
1611
1611
  }
1612
1612
  }
1613
- function Kg(g, A, Q, C) {
1613
+ function yg(g, A, C, Q) {
1614
1614
  let B, E;
1615
1615
  try {
1616
- const N = I.__wbindgen_add_to_stack_pointer(-16), y = M(g, I.__wbindgen_export, I.__wbindgen_export2), G = k, S = M(A, I.__wbindgen_export, I.__wbindgen_export2), R = k, q = M(Q, I.__wbindgen_export, I.__wbindgen_export2), T = k, f = M(C, I.__wbindgen_export, I.__wbindgen_export2), v = k;
1617
- I.validate_with_schema(N, y, G, S, R, q, T, f, v);
1616
+ const N = I.__wbindgen_add_to_stack_pointer(-16), K = k(g, I.__wbindgen_export, I.__wbindgen_export2), G = M, S = k(A, I.__wbindgen_export, I.__wbindgen_export2), L = M, q = k(C, I.__wbindgen_export, I.__wbindgen_export2), P = M, e = k(Q, I.__wbindgen_export, I.__wbindgen_export2), v = M;
1617
+ I.validate_with_schema(N, K, G, S, L, q, P, e, v);
1618
1618
  var D = i().getInt32(N + 0, !0), o = i().getInt32(N + 4, !0);
1619
1619
  return B = D, E = o, F(D, o);
1620
1620
  } finally {
1621
1621
  I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, E, 1);
1622
1622
  }
1623
1623
  }
1624
- function OI() {
1624
+ function TI() {
1625
1625
  let g, A;
1626
1626
  try {
1627
1627
  const B = I.__wbindgen_add_to_stack_pointer(-16);
1628
1628
  I.version(B);
1629
- var Q = i().getInt32(B + 0, !0), C = i().getInt32(B + 4, !0);
1630
- return g = Q, A = C, F(Q, C);
1629
+ var C = i().getInt32(B + 0, !0), Q = i().getInt32(B + 4, !0);
1630
+ return g = C, A = Q, F(C, Q);
1631
1631
  } finally {
1632
1632
  I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(g, A, 1);
1633
1633
  }
1634
1634
  }
1635
1635
  function Gg(g, A) {
1636
- h(g, K);
1637
- const Q = M(A, I.__wbindgen_export, I.__wbindgen_export2), C = k, B = I.wasm_alias(g.__wbg_ptr, Q, C);
1638
- return K.__wrap(B);
1636
+ h(g, y);
1637
+ const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), Q = M, B = I.wasm_alias(g.__wbg_ptr, C, Q);
1638
+ return y.__wrap(B);
1639
1639
  }
1640
1640
  function Yg(g, A) {
1641
- h(g, K), h(A, K);
1642
- const Q = I.wasm_and(g.__wbg_ptr, A.__wbg_ptr);
1643
- return K.__wrap(Q);
1641
+ h(g, y), h(A, y);
1642
+ const C = I.wasm_and(g.__wbg_ptr, A.__wbg_ptr);
1643
+ return y.__wrap(C);
1644
1644
  }
1645
1645
  function hg(g) {
1646
1646
  const A = I.wasm_boolean(g);
1647
- return K.__wrap(A);
1647
+ return y.__wrap(A);
1648
1648
  }
1649
1649
  function Sg(g) {
1650
- h(g, K);
1650
+ h(g, y);
1651
1651
  const A = I.wasm_case_of(g.__wbg_ptr);
1652
- return l.__wrap(A);
1652
+ return r.__wrap(A);
1653
1653
  }
1654
1654
  function cg(g, A) {
1655
- h(g, K);
1656
- const Q = M(A, I.__wbindgen_export, I.__wbindgen_export2), C = k, B = I.wasm_cast(g.__wbg_ptr, Q, C);
1657
- return K.__wrap(B);
1655
+ h(g, y);
1656
+ const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), Q = M, B = I.wasm_cast(g.__wbg_ptr, C, Q);
1657
+ return y.__wrap(B);
1658
1658
  }
1659
1659
  function UA(g) {
1660
- const A = M(g, I.__wbindgen_export, I.__wbindgen_export2), Q = k, C = I.wasm_col(A, Q);
1661
- return K.__wrap(C);
1660
+ const A = k(g, I.__wbindgen_export, I.__wbindgen_export2), C = M, Q = I.wasm_col(A, C);
1661
+ return y.__wrap(Q);
1662
1662
  }
1663
- function Jg(g) {
1664
- h(g, K);
1663
+ function Hg(g) {
1664
+ h(g, y);
1665
1665
  const A = I.wasm_count_distinct(g.__wbg_ptr);
1666
- return K.__wrap(A);
1666
+ return y.__wrap(A);
1667
1667
  }
1668
- function Hg(g, A) {
1669
- const Q = M(g, I.__wbindgen_export, I.__wbindgen_export2), C = k;
1670
- h(A, K);
1671
- const B = I.wasm_extract(Q, C, A.__wbg_ptr);
1672
- return K.__wrap(B);
1668
+ function Jg(g, A) {
1669
+ const C = k(g, I.__wbindgen_export, I.__wbindgen_export2), Q = M;
1670
+ h(A, y);
1671
+ const B = I.wasm_extract(C, Q, A.__wbg_ptr);
1672
+ return y.__wrap(B);
1673
1673
  }
1674
1674
  function Ug(g, A) {
1675
- const Q = M(g, I.__wbindgen_export, I.__wbindgen_export2), C = k;
1676
- h(A, P);
1677
- const B = I.wasm_func(Q, C, A.__wbg_ptr);
1678
- return K.__wrap(B);
1675
+ const C = k(g, I.__wbindgen_export, I.__wbindgen_export2), Q = M;
1676
+ h(A, O);
1677
+ const B = I.wasm_func(C, Q, A.__wbg_ptr);
1678
+ return y.__wrap(B);
1679
1679
  }
1680
1680
  function NA(g) {
1681
1681
  const A = I.wasm_lit(s(g));
1682
- return K.__wrap(A);
1682
+ return y.__wrap(A);
1683
1683
  }
1684
1684
  function Fg(g) {
1685
- h(g, K);
1685
+ h(g, y);
1686
1686
  const A = I.wasm_not(g.__wbg_ptr);
1687
- return K.__wrap(A);
1687
+ return y.__wrap(A);
1688
1688
  }
1689
- function yA() {
1689
+ function KA() {
1690
1690
  const g = I.wasm_null();
1691
- return K.__wrap(g);
1691
+ return y.__wrap(g);
1692
1692
  }
1693
- function Lg(g, A) {
1694
- h(g, K), h(A, K);
1695
- const Q = I.wasm_or(g.__wbg_ptr, A.__wbg_ptr);
1696
- return K.__wrap(Q);
1693
+ function Rg(g, A) {
1694
+ h(g, y), h(A, y);
1695
+ const C = I.wasm_or(g.__wbg_ptr, A.__wbg_ptr);
1696
+ return y.__wrap(C);
1697
1697
  }
1698
- function Rg(g) {
1699
- const A = M(g, I.__wbindgen_export, I.__wbindgen_export2), Q = k, C = I.wasm_sql_expr(A, Q);
1700
- return K.__wrap(C);
1698
+ function Lg(g) {
1699
+ const A = k(g, I.__wbindgen_export, I.__wbindgen_export2), C = M, Q = I.wasm_sql_expr(A, C);
1700
+ return y.__wrap(Q);
1701
1701
  }
1702
1702
  function sg() {
1703
1703
  const g = I.wasm_star();
1704
- return K.__wrap(g);
1704
+ return y.__wrap(g);
1705
1705
  }
1706
1706
  function ag(g, A) {
1707
1707
  try {
1708
1708
  const E = I.__wbindgen_add_to_stack_pointer(-16);
1709
1709
  h(g, j);
1710
- const D = M(A, I.__wbindgen_export, I.__wbindgen_export2), o = k;
1710
+ const D = k(A, I.__wbindgen_export, I.__wbindgen_export2), o = M;
1711
1711
  I.wasm_subquery(E, g.__wbg_ptr, D, o);
1712
- var Q = i().getInt32(E + 0, !0), C = i().getInt32(E + 4, !0), B = i().getInt32(E + 8, !0);
1712
+ var C = i().getInt32(E + 0, !0), Q = i().getInt32(E + 4, !0), B = i().getInt32(E + 8, !0);
1713
1713
  if (B)
1714
- throw U(C);
1715
- return K.__wrap(Q);
1714
+ throw U(Q);
1715
+ return y.__wrap(C);
1716
1716
  } finally {
1717
1717
  I.__wbindgen_add_to_stack_pointer(16);
1718
1718
  }
1719
1719
  }
1720
1720
  function qg(g) {
1721
- const A = M(g, I.__wbindgen_export, I.__wbindgen_export2), Q = k, C = I.wasm_table(A, Q);
1722
- return K.__wrap(C);
1721
+ const A = k(g, I.__wbindgen_export, I.__wbindgen_export2), C = M, Q = I.wasm_table(A, C);
1722
+ return y.__wrap(Q);
1723
1723
  }
1724
- function TI(g, A) {
1725
- const Q = Error(F(g, A));
1726
- return s(Q);
1724
+ function PI(g, A) {
1725
+ const C = Error(F(g, A));
1726
+ return s(C);
1727
1727
  }
1728
1728
  function jI(g) {
1729
- return Number(J(g));
1729
+ return Number(H(g));
1730
1730
  }
1731
1731
  function dI(g, A) {
1732
- const Q = String(J(A)), C = M(Q, I.__wbindgen_export, I.__wbindgen_export2), B = k;
1733
- i().setInt32(g + 4, B, !0), i().setInt32(g + 0, C, !0);
1732
+ const C = String(H(A)), Q = k(C, I.__wbindgen_export, I.__wbindgen_export2), B = M;
1733
+ i().setInt32(g + 4, B, !0), i().setInt32(g + 0, Q, !0);
1734
1734
  }
1735
1735
  function ZI(g, A) {
1736
- const Q = J(A), C = typeof Q == "bigint" ? Q : void 0;
1737
- i().setBigInt64(g + 8, b(C) ? BigInt(0) : C, !0), i().setInt32(g + 0, !b(C), !0);
1736
+ const C = H(A), Q = typeof C == "bigint" ? C : void 0;
1737
+ i().setBigInt64(g + 8, b(Q) ? BigInt(0) : Q, !0), i().setInt32(g + 0, !b(Q), !0);
1738
1738
  }
1739
1739
  function VI(g) {
1740
- const A = J(g), Q = typeof A == "boolean" ? A : void 0;
1741
- return b(Q) ? 16777215 : Q ? 1 : 0;
1740
+ const A = H(g), C = typeof A == "boolean" ? A : void 0;
1741
+ return b(C) ? 16777215 : C ? 1 : 0;
1742
1742
  }
1743
1743
  function tI(g, A) {
1744
- const Q = JA(J(A)), C = M(Q, I.__wbindgen_export, I.__wbindgen_export2), B = k;
1745
- i().setInt32(g + 4, B, !0), i().setInt32(g + 0, C, !0);
1744
+ const C = HA(H(A)), Q = k(C, I.__wbindgen_export, I.__wbindgen_export2), B = M;
1745
+ i().setInt32(g + 4, B, !0), i().setInt32(g + 0, Q, !0);
1746
1746
  }
1747
1747
  function zI(g, A) {
1748
- return J(g) in J(A);
1748
+ return H(g) in H(A);
1749
1749
  }
1750
1750
  function xI(g) {
1751
- return typeof J(g) == "bigint";
1751
+ return typeof H(g) == "bigint";
1752
1752
  }
1753
1753
  function WI(g) {
1754
- return typeof J(g) == "function";
1754
+ return typeof H(g) == "function";
1755
1755
  }
1756
1756
  function nI(g) {
1757
- return J(g) === null;
1758
- }
1759
- function eI(g) {
1760
- const A = J(g);
1761
- return typeof A == "object" && A !== null;
1757
+ return H(g) === null;
1762
1758
  }
1763
1759
  function fI(g) {
1764
- return typeof J(g) == "string";
1760
+ const A = H(g);
1761
+ return typeof A == "object" && A !== null;
1765
1762
  }
1766
- function uI(g) {
1767
- return J(g) === void 0;
1763
+ function eI(g) {
1764
+ return typeof H(g) == "string";
1768
1765
  }
1769
- function lI(g, A) {
1770
- return J(g) === J(A);
1766
+ function lI(g) {
1767
+ return H(g) === void 0;
1771
1768
  }
1772
1769
  function rI(g, A) {
1773
- return J(g) == J(A);
1770
+ return H(g) === H(A);
1771
+ }
1772
+ function uI(g, A) {
1773
+ return H(g) == H(A);
1774
1774
  }
1775
1775
  function mI(g, A) {
1776
- const Q = J(A), C = typeof Q == "number" ? Q : void 0;
1777
- i().setFloat64(g + 8, b(C) ? 0 : C, !0), i().setInt32(g + 0, !b(C), !0);
1776
+ const C = H(A), Q = typeof C == "number" ? C : void 0;
1777
+ i().setFloat64(g + 8, b(Q) ? 0 : Q, !0), i().setInt32(g + 0, !b(Q), !0);
1778
1778
  }
1779
1779
  function bI(g, A) {
1780
- const Q = J(A), C = typeof Q == "string" ? Q : void 0;
1781
- var B = b(C) ? 0 : M(C, I.__wbindgen_export, I.__wbindgen_export2), E = k;
1780
+ const C = H(A), Q = typeof C == "string" ? C : void 0;
1781
+ var B = b(Q) ? 0 : k(Q, I.__wbindgen_export, I.__wbindgen_export2), E = M;
1782
1782
  i().setInt32(g + 4, E, !0), i().setInt32(g + 0, B, !0);
1783
1783
  }
1784
1784
  function vI(g, A) {
1785
1785
  throw new Error(F(g, A));
1786
1786
  }
1787
1787
  function XI() {
1788
- return KA(function(g, A) {
1789
- const Q = J(g).call(J(A));
1790
- return s(Q);
1788
+ return yA(function(g, A) {
1789
+ const C = H(g).call(H(A));
1790
+ return s(C);
1791
1791
  }, arguments);
1792
1792
  }
1793
1793
  function _I(g, A) {
1794
- const Q = J(g).codePointAt(A >>> 0);
1795
- return s(Q);
1794
+ const C = H(g).codePointAt(A >>> 0);
1795
+ return s(C);
1796
1796
  }
1797
1797
  function $I(g) {
1798
- return J(g).done;
1798
+ return H(g).done;
1799
1799
  }
1800
- function AQ(g) {
1801
- const A = Object.entries(J(g));
1800
+ function AC(g) {
1801
+ const A = Object.entries(H(g));
1802
1802
  return s(A);
1803
1803
  }
1804
- function gQ(g, A) {
1805
- let Q, C;
1804
+ function gC(g, A) {
1805
+ let C, Q;
1806
1806
  try {
1807
- Q = g, C = A, console.error(F(g, A));
1807
+ C = g, Q = A, console.error(F(g, A));
1808
1808
  } finally {
1809
- I.__wbindgen_export4(Q, C, 1);
1809
+ I.__wbindgen_export4(C, Q, 1);
1810
1810
  }
1811
1811
  }
1812
- function IQ() {
1813
- return KA(function(g) {
1812
+ function IC() {
1813
+ return yA(function(g) {
1814
1814
  const A = String.fromCodePoint(g >>> 0);
1815
1815
  return s(A);
1816
1816
  }, arguments);
1817
1817
  }
1818
- function QQ(g, A) {
1819
- const Q = J(g)[A >>> 0];
1820
- return s(Q);
1818
+ function CC(g, A) {
1819
+ const C = H(g)[A >>> 0];
1820
+ return s(C);
1821
1821
  }
1822
- function CQ() {
1823
- return KA(function(g, A) {
1824
- const Q = Reflect.get(J(g), J(A));
1825
- return s(Q);
1822
+ function QC() {
1823
+ return yA(function(g, A) {
1824
+ const C = Reflect.get(H(g), H(A));
1825
+ return s(C);
1826
1826
  }, arguments);
1827
1827
  }
1828
- function BQ(g, A) {
1829
- const Q = J(g)[J(A)];
1830
- return s(Q);
1828
+ function BC(g, A) {
1829
+ const C = H(g)[H(A)];
1830
+ return s(C);
1831
1831
  }
1832
- function EQ(g) {
1832
+ function EC(g) {
1833
1833
  let A;
1834
1834
  try {
1835
- A = J(g) instanceof ArrayBuffer;
1835
+ A = H(g) instanceof ArrayBuffer;
1836
1836
  } catch {
1837
1837
  A = !1;
1838
1838
  }
1839
1839
  return A;
1840
1840
  }
1841
- function DQ(g) {
1841
+ function DC(g) {
1842
1842
  let A;
1843
1843
  try {
1844
- A = J(g) instanceof Map;
1844
+ A = H(g) instanceof Map;
1845
1845
  } catch {
1846
1846
  A = !1;
1847
1847
  }
1848
1848
  return A;
1849
1849
  }
1850
- function wQ(g) {
1850
+ function wC(g) {
1851
1851
  let A;
1852
1852
  try {
1853
- A = J(g) instanceof Uint8Array;
1853
+ A = H(g) instanceof Uint8Array;
1854
1854
  } catch {
1855
1855
  A = !1;
1856
1856
  }
1857
1857
  return A;
1858
1858
  }
1859
- function iQ(g) {
1860
- return Array.isArray(J(g));
1859
+ function iC(g) {
1860
+ return Array.isArray(H(g));
1861
1861
  }
1862
- function oQ(g) {
1863
- return Number.isSafeInteger(J(g));
1862
+ function oC(g) {
1863
+ return Number.isSafeInteger(H(g));
1864
1864
  }
1865
- function kQ() {
1865
+ function MC() {
1866
1866
  return s(Symbol.iterator);
1867
1867
  }
1868
- function MQ(g) {
1869
- return J(g).length;
1868
+ function kC(g) {
1869
+ return H(g).length;
1870
1870
  }
1871
- function NQ(g) {
1872
- return J(g).length;
1871
+ function NC(g) {
1872
+ return H(g).length;
1873
1873
  }
1874
- function yQ(g) {
1875
- return J(g).length;
1874
+ function KC(g) {
1875
+ return H(g).length;
1876
1876
  }
1877
- function KQ() {
1877
+ function yC() {
1878
1878
  const g = new Object();
1879
1879
  return s(g);
1880
1880
  }
1881
- function GQ() {
1881
+ function GC() {
1882
1882
  const g = new Array();
1883
1883
  return s(g);
1884
1884
  }
1885
- function YQ() {
1885
+ function YC() {
1886
1886
  const g = new Error();
1887
1887
  return s(g);
1888
1888
  }
1889
- function hQ() {
1889
+ function hC() {
1890
1890
  return s(/* @__PURE__ */ new Map());
1891
1891
  }
1892
- function SQ(g) {
1893
- const A = new Uint8Array(J(g));
1892
+ function SC(g) {
1893
+ const A = new Uint8Array(H(g));
1894
1894
  return s(A);
1895
1895
  }
1896
- function cQ() {
1897
- return KA(function(g) {
1898
- const A = J(g).next();
1896
+ function cC() {
1897
+ return yA(function(g) {
1898
+ const A = H(g).next();
1899
1899
  return s(A);
1900
1900
  }, arguments);
1901
1901
  }
1902
- function JQ(g) {
1903
- const A = J(g).next;
1902
+ function HC(g) {
1903
+ const A = H(g).next;
1904
1904
  return s(A);
1905
1905
  }
1906
- function HQ(g, A, Q) {
1907
- Uint8Array.prototype.set.call(dQ(g, A), J(Q));
1906
+ function JC(g, A, C) {
1907
+ Uint8Array.prototype.set.call(dC(g, A), H(C));
1908
1908
  }
1909
- function UQ(g, A, Q) {
1910
- const C = J(g).set(J(A), J(Q));
1911
- return s(C);
1909
+ function UC(g, A, C) {
1910
+ const Q = H(g).set(H(A), H(C));
1911
+ return s(Q);
1912
1912
  }
1913
- function FQ(g, A, Q) {
1914
- J(g)[U(A)] = U(Q);
1913
+ function FC(g, A, C) {
1914
+ H(g)[U(A)] = U(C);
1915
1915
  }
1916
- function LQ(g, A, Q) {
1917
- J(g)[A >>> 0] = U(Q);
1916
+ function RC(g, A, C) {
1917
+ H(g)[A >>> 0] = U(C);
1918
1918
  }
1919
- function RQ(g, A) {
1920
- const Q = J(A).stack, C = M(Q, I.__wbindgen_export, I.__wbindgen_export2), B = k;
1921
- i().setInt32(g + 4, B, !0), i().setInt32(g + 0, C, !0);
1919
+ function LC(g, A) {
1920
+ const C = H(A).stack, Q = k(C, I.__wbindgen_export, I.__wbindgen_export2), B = M;
1921
+ i().setInt32(g + 4, B, !0), i().setInt32(g + 0, Q, !0);
1922
1922
  }
1923
- function sQ(g) {
1924
- const A = J(g).value;
1923
+ function sC(g) {
1924
+ const A = H(g).value;
1925
1925
  return s(A);
1926
1926
  }
1927
- function aQ(g) {
1927
+ function aC(g) {
1928
1928
  return s(g);
1929
1929
  }
1930
- function qQ(g) {
1930
+ function qC(g) {
1931
1931
  return s(g);
1932
1932
  }
1933
- function pQ(g, A) {
1934
- const Q = F(g, A);
1935
- return s(Q);
1933
+ function pC(g, A) {
1934
+ const C = F(g, A);
1935
+ return s(C);
1936
1936
  }
1937
- function PQ(g) {
1937
+ function OC(g) {
1938
1938
  const A = BigInt.asUintN(64, g);
1939
1939
  return s(A);
1940
1940
  }
1941
- function OQ(g) {
1942
- const A = J(g);
1941
+ function TC(g) {
1942
+ const A = H(g);
1943
1943
  return s(A);
1944
1944
  }
1945
- function TQ(g) {
1945
+ function PC(g) {
1946
1946
  U(g);
1947
1947
  }
1948
1948
  const tA = typeof FinalizationRegistry > "u" ? { register: () => {
@@ -1957,15 +1957,15 @@ const tA = typeof FinalizationRegistry > "u" ? { register: () => {
1957
1957
  }, unregister: () => {
1958
1958
  } } : new FinalizationRegistry((g) => I.__wbg_wasmexprarray_free(g >>> 0, 1)), nA = typeof FinalizationRegistry > "u" ? { register: () => {
1959
1959
  }, unregister: () => {
1960
- } } : new FinalizationRegistry((g) => I.__wbg_wasminsertbuilder_free(g >>> 0, 1)), eA = typeof FinalizationRegistry > "u" ? { register: () => {
1960
+ } } : new FinalizationRegistry((g) => I.__wbg_wasminsertbuilder_free(g >>> 0, 1)), fA = typeof FinalizationRegistry > "u" ? { register: () => {
1961
1961
  }, unregister: () => {
1962
- } } : new FinalizationRegistry((g) => I.__wbg_wasmmergebuilder_free(g >>> 0, 1)), fA = typeof FinalizationRegistry > "u" ? { register: () => {
1962
+ } } : new FinalizationRegistry((g) => I.__wbg_wasmmergebuilder_free(g >>> 0, 1)), eA = typeof FinalizationRegistry > "u" ? { register: () => {
1963
1963
  }, unregister: () => {
1964
- } } : new FinalizationRegistry((g) => I.__wbg_wasmselectbuilder_free(g >>> 0, 1)), uA = typeof FinalizationRegistry > "u" ? { register: () => {
1964
+ } } : new FinalizationRegistry((g) => I.__wbg_wasmselectbuilder_free(g >>> 0, 1)), lA = 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)), rA = typeof FinalizationRegistry > "u" ? { register: () => {
1967
1967
  }, unregister: () => {
1968
- } } : new FinalizationRegistry((g) => I.__wbg_wasmupdatebuilder_free(g >>> 0, 1)), rA = typeof FinalizationRegistry > "u" ? { register: () => {
1968
+ } } : new FinalizationRegistry((g) => I.__wbg_wasmupdatebuilder_free(g >>> 0, 1)), uA = typeof FinalizationRegistry > "u" ? { register: () => {
1969
1969
  }, unregister: () => {
1970
1970
  } } : new FinalizationRegistry((g) => I.__wbg_wasmwindowdefbuilder_free(g >>> 0, 1));
1971
1971
  function s(g) {
@@ -1977,7 +1977,7 @@ function h(g, A) {
1977
1977
  if (!(g instanceof A))
1978
1978
  throw new Error(`expected instance of ${A.name}`);
1979
1979
  }
1980
- function JA(g) {
1980
+ function HA(g) {
1981
1981
  const A = typeof g;
1982
1982
  if (A == "number" || A == "boolean" || g == null)
1983
1983
  return `${g}`;
@@ -1994,30 +1994,30 @@ function JA(g) {
1994
1994
  if (Array.isArray(g)) {
1995
1995
  const B = g.length;
1996
1996
  let E = "[";
1997
- B > 0 && (E += JA(g[0]));
1997
+ B > 0 && (E += HA(g[0]));
1998
1998
  for (let D = 1; D < B; D++)
1999
- E += ", " + JA(g[D]);
1999
+ E += ", " + HA(g[D]);
2000
2000
  return E += "]", E;
2001
2001
  }
2002
- const Q = /\[object ([^\]]+)\]/.exec(toString.call(g));
2003
- let C;
2004
- if (Q && Q.length > 1)
2005
- C = Q[1];
2002
+ const C = /\[object ([^\]]+)\]/.exec(toString.call(g));
2003
+ let Q;
2004
+ if (C && C.length > 1)
2005
+ Q = C[1];
2006
2006
  else
2007
2007
  return toString.call(g);
2008
- if (C == "Object")
2008
+ if (Q == "Object")
2009
2009
  try {
2010
2010
  return "Object(" + JSON.stringify(g) + ")";
2011
2011
  } catch {
2012
2012
  return "Object";
2013
2013
  }
2014
2014
  return g instanceof Error ? `${g.name}: ${g.message}
2015
- ${g.stack}` : C;
2015
+ ${g.stack}` : Q;
2016
2016
  }
2017
- function jQ(g) {
2017
+ function jC(g) {
2018
2018
  g < 132 || (t[g] = AA, AA = g);
2019
2019
  }
2020
- function dQ(g, A) {
2020
+ function dC(g, A) {
2021
2021
  return g = g >>> 0, $().subarray(g / 1, g / 1 + A);
2022
2022
  }
2023
2023
  let m = null;
@@ -2025,20 +2025,20 @@ function i() {
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 F(g, A) {
2028
- return g = g >>> 0, VQ(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
- function J(g) {
2034
+ function H(g) {
2035
2035
  return t[g];
2036
2036
  }
2037
- function KA(g, A) {
2037
+ function yA(g, A) {
2038
2038
  try {
2039
2039
  return g.apply(this, A);
2040
- } catch (Q) {
2041
- I.__wbindgen_export3(s(Q));
2040
+ } catch (C) {
2041
+ I.__wbindgen_export3(s(C));
2042
2042
  }
2043
2043
  }
2044
2044
  let t = new Array(128).fill(void 0);
@@ -2048,221 +2048,221 @@ function b(g) {
2048
2048
  return g == null;
2049
2049
  }
2050
2050
  function FA(g, A) {
2051
- const Q = A(g.length * 4, 4) >>> 0, C = i();
2051
+ const C = A(g.length * 4, 4) >>> 0, Q = i();
2052
2052
  for (let B = 0; B < g.length; B++)
2053
- C.setUint32(Q + 4 * B, s(g[B]), !0);
2054
- return k = g.length, Q;
2053
+ Q.setUint32(C + 4 * B, s(g[B]), !0);
2054
+ return M = g.length, C;
2055
2055
  }
2056
- function M(g, A, Q) {
2057
- if (Q === void 0) {
2056
+ function k(g, A, C) {
2057
+ if (C === void 0) {
2058
2058
  const o = gA.encode(g), N = A(o.length, 1) >>> 0;
2059
- return $().subarray(N, N + o.length).set(o), k = o.length, N;
2059
+ return $().subarray(N, N + o.length).set(o), M = o.length, N;
2060
2060
  }
2061
- let C = g.length, B = A(C, 1) >>> 0;
2061
+ let Q = g.length, B = A(Q, 1) >>> 0;
2062
2062
  const E = $();
2063
2063
  let D = 0;
2064
- for (; D < C; D++) {
2064
+ for (; D < Q; D++) {
2065
2065
  const o = g.charCodeAt(D);
2066
2066
  if (o > 127) break;
2067
2067
  E[B + D] = o;
2068
2068
  }
2069
- if (D !== C) {
2070
- D !== 0 && (g = g.slice(D)), B = Q(B, C, C = D + g.length * 3, 1) >>> 0;
2071
- const o = $().subarray(B + D, B + C), N = gA.encodeInto(g, o);
2072
- D += N.written, B = Q(B, C, D, 1) >>> 0;
2069
+ if (D !== Q) {
2070
+ D !== 0 && (g = g.slice(D)), B = C(B, Q, Q = D + g.length * 3, 1) >>> 0;
2071
+ const o = $().subarray(B + D, B + Q), N = gA.encodeInto(g, o);
2072
+ D += N.written, B = C(B, Q, D, 1) >>> 0;
2073
2073
  }
2074
- return k = D, B;
2074
+ return M = D, B;
2075
2075
  }
2076
2076
  function U(g) {
2077
- const A = J(g);
2078
- return jQ(g), A;
2077
+ const A = H(g);
2078
+ return jC(g), A;
2079
2079
  }
2080
2080
  let DA = new TextDecoder("utf-8", { ignoreBOM: !0, fatal: !0 });
2081
2081
  DA.decode();
2082
- const ZQ = 2146435072;
2082
+ const ZC = 2146435072;
2083
2083
  let cA = 0;
2084
- function VQ(g, A) {
2085
- return cA += A, cA >= ZQ && (DA = new TextDecoder("utf-8", { ignoreBOM: !0, fatal: !0 }), DA.decode(), cA = A), DA.decode($().subarray(g, g + A));
2084
+ function VC(g, A) {
2085
+ return cA += A, cA >= ZC && (DA = new TextDecoder("utf-8", { ignoreBOM: !0, fatal: !0 }), DA.decode(), cA = A), DA.decode($().subarray(g, g + A));
2086
2086
  }
2087
2087
  const gA = new TextEncoder();
2088
2088
  "encodeInto" in gA || (gA.encodeInto = function(g, A) {
2089
- const Q = gA.encode(g);
2090
- return A.set(Q), {
2089
+ const C = gA.encode(g);
2090
+ return A.set(C), {
2091
2091
  read: g.length,
2092
- written: Q.length
2092
+ written: C.length
2093
2093
  };
2094
2094
  });
2095
- let k = 0, I;
2096
- function tQ(g) {
2095
+ let M = 0, I;
2096
+ function tC(g) {
2097
2097
  I = g;
2098
2098
  }
2099
2099
  URL = globalThis.URL;
2100
2100
  const w = await NI({ "./polyglot_sql_wasm_bg.js": {
2101
- __wbindgen_object_drop_ref: TQ,
2102
- __wbindgen_object_clone_ref: OQ,
2103
- __wbg_new_8a6f238a6ece86ea: YQ,
2104
- __wbg_stack_0ed75d68575b0f3c: RQ,
2105
- __wbg_error_7534b8e9a36f1ab4: gQ,
2106
- __wbg_get_with_ref_key_1dc361bd10053bfe: BQ,
2107
- __wbg_set_3f1d0b984ed272ed: FQ,
2101
+ __wbindgen_object_drop_ref: PC,
2102
+ __wbindgen_object_clone_ref: TC,
2103
+ __wbg_new_8a6f238a6ece86ea: YC,
2104
+ __wbg_stack_0ed75d68575b0f3c: LC,
2105
+ __wbg_error_7534b8e9a36f1ab4: gC,
2106
+ __wbg_get_with_ref_key_1dc361bd10053bfe: BC,
2107
+ __wbg_set_3f1d0b984ed272ed: FC,
2108
2108
  __wbg_String_8f0eb39a4a4c2f66: dI,
2109
- __wbg_new_dd2b680c8bf6ae29: SQ,
2110
- __wbg_length_32ed9a279acd054c: MQ,
2111
- __wbg_prototypesetcall_bdcdcc5842e4d77d: HQ,
2109
+ __wbg_new_dd2b680c8bf6ae29: SC,
2110
+ __wbg_length_32ed9a279acd054c: kC,
2111
+ __wbg_prototypesetcall_bdcdcc5842e4d77d: JC,
2112
2112
  __wbg_done_57b39ecd9addfe81: $I,
2113
- __wbg_value_0546255b415e96c1: sQ,
2114
- __wbg_instanceof_Map_53af74335dec57f4: DQ,
2115
- __wbg_instanceof_Uint8Array_9b9075935c74707c: wQ,
2116
- __wbg_instanceof_ArrayBuffer_c367199e2fa2aa04: EQ,
2117
- __wbg_new_dca287b076112a51: hQ,
2118
- __wbg_set_1eb0999cf5d27fc8: UQ,
2119
- __wbg_get_9b94d73e6221f75c: QQ,
2120
- __wbg_new_3eb36ae241fe6f44: GQ,
2121
- __wbg_set_f43e577aea94465b: LQ,
2122
- __wbg_length_35a7bace40f36eac: NQ,
2123
- __wbg_isArray_d314bb98fcf08331: iQ,
2124
- __wbg_isSafeInteger_bfbc7332a9768d2a: oQ,
2125
- __wbg_new_361308b2356cecd0: KQ,
2126
- __wbg_entries_58c7934c745daac7: AQ,
2127
- __wbg_iterator_6ff6560ca1568e55: kQ,
2128
- __wbg_get_b3ed3ad4be2bc8ac: CQ,
2113
+ __wbg_value_0546255b415e96c1: sC,
2114
+ __wbg_instanceof_Map_53af74335dec57f4: DC,
2115
+ __wbg_instanceof_Uint8Array_9b9075935c74707c: wC,
2116
+ __wbg_instanceof_ArrayBuffer_c367199e2fa2aa04: EC,
2117
+ __wbg_new_dca287b076112a51: hC,
2118
+ __wbg_set_1eb0999cf5d27fc8: UC,
2119
+ __wbg_get_9b94d73e6221f75c: CC,
2120
+ __wbg_new_3eb36ae241fe6f44: GC,
2121
+ __wbg_set_f43e577aea94465b: RC,
2122
+ __wbg_length_35a7bace40f36eac: NC,
2123
+ __wbg_isArray_d314bb98fcf08331: iC,
2124
+ __wbg_isSafeInteger_bfbc7332a9768d2a: oC,
2125
+ __wbg_new_361308b2356cecd0: yC,
2126
+ __wbg_entries_58c7934c745daac7: AC,
2127
+ __wbg_iterator_6ff6560ca1568e55: MC,
2128
+ __wbg_get_b3ed3ad4be2bc8ac: QC,
2129
2129
  __wbg_call_389efe28435a9388: XI,
2130
- __wbg_next_418f80d8f5303233: JQ,
2131
- __wbg_next_3482f54c49e8af19: cQ,
2130
+ __wbg_next_418f80d8f5303233: HC,
2131
+ __wbg_next_3482f54c49e8af19: cC,
2132
2132
  __wbg_codePointAt_bf59dbf74d8db275: _I,
2133
- __wbg_fromCodePoint_22365db7b7d6ac39: IQ,
2134
- __wbg_length_68dc7c5cf1b6d349: yQ,
2133
+ __wbg_fromCodePoint_22365db7b7d6ac39: IC,
2134
+ __wbg_length_68dc7c5cf1b6d349: KC,
2135
2135
  __wbg___wbindgen_in_47fa6863be6f2f25: zI,
2136
2136
  __wbg___wbindgen_throw_be289d5034ed271b: vI,
2137
2137
  __wbg___wbindgen_is_null_ac34f5003991759a: nI,
2138
- __wbg___wbindgen_jsval_eq_11888390b0186270: lI,
2138
+ __wbg___wbindgen_jsval_eq_11888390b0186270: rI,
2139
2139
  __wbg_Number_04624de7d0e8332d: jI,
2140
- __wbg_Error_8c4e43fe74559d73: TI,
2140
+ __wbg_Error_8c4e43fe74559d73: PI,
2141
2141
  __wbg___wbindgen_is_bigint_31b12575b56f32fc: xI,
2142
- __wbg___wbindgen_is_object_5ae8e5880f2c1fbd: eI,
2143
- __wbg___wbindgen_is_string_cd444516edc5b180: fI,
2142
+ __wbg___wbindgen_is_object_5ae8e5880f2c1fbd: fI,
2143
+ __wbg___wbindgen_is_string_cd444516edc5b180: eI,
2144
2144
  __wbg___wbindgen_number_get_8ff4255516ccad3e: mI,
2145
2145
  __wbg___wbindgen_string_get_72fb696202c56729: bI,
2146
2146
  __wbg___wbindgen_boolean_get_bbbb1c18aa2f5e25: VI,
2147
2147
  __wbg___wbindgen_is_function_0095a73b8b156f76: WI,
2148
- __wbg___wbindgen_is_undefined_9e4d92534c42d778: uI,
2149
- __wbg___wbindgen_jsval_loose_eq_9dd77d8cd6671811: rI,
2148
+ __wbg___wbindgen_is_undefined_9e4d92534c42d778: lI,
2149
+ __wbg___wbindgen_jsval_loose_eq_9dd77d8cd6671811: uI,
2150
2150
  __wbg___wbindgen_bigint_get_as_i64_8fcf4ce7f1ca72a2: ZI,
2151
2151
  __wbg___wbindgen_debug_string_0bc8482c6e3508ae: tI,
2152
- __wbindgen_cast_0000000000000001: aQ,
2153
- __wbindgen_cast_0000000000000002: qQ,
2154
- __wbindgen_cast_0000000000000003: pQ,
2155
- __wbindgen_cast_0000000000000004: PQ
2156
- } }, MI), zQ = w.memory, xQ = w.__wbg_wasmassignmentarray_free, WQ = w.__wbg_wasmcasebuilder_free, nQ = w.__wbg_wasmdeletebuilder_free, eQ = w.__wbg_wasmexpr_free, fQ = w.__wbg_wasmexprarray_free, uQ = w.__wbg_wasminsertbuilder_free, lQ = w.__wbg_wasmmergebuilder_free, rQ = w.__wbg_wasmselectbuilder_free, mQ = w.__wbg_wasmsetopbuilder_free, bQ = w.__wbg_wasmupdatebuilder_free, vQ = w.__wbg_wasmwindowdefbuilder_free, XQ = w.annotate_types, _Q = w.annotate_types_value, $Q = w.ast_add_where, AC = w.ast_get_aggregate_functions, gC = w.ast_get_column_names, IC = w.ast_get_functions, QC = w.ast_get_literals, CC = w.ast_get_subqueries, BC = w.ast_get_table_names, EC = w.ast_get_window_functions, DC = w.ast_node_count, wC = w.ast_qualify_columns, iC = w.ast_remove_where, oC = w.ast_rename_columns, kC = w.ast_rename_tables, MC = w.ast_set_distinct, NC = w.ast_set_limit, yC = w.diff_sql, KC = w.format_sql, GC = w.format_sql_value, YC = w.format_sql_with_options, hC = w.format_sql_with_options_value, SC = w.generate, cC = w.generate_value, JC = w.get_dialects, HC = w.get_dialects_value, UC = w.lineage_sql, FC = w.lineage_sql_with_schema, LC = w.parse, RC = w.parse_value, sC = w.plan, aC = w.source_tables, qC = w.tokenize, pC = w.tokenize_value, PC = w.transpile, OC = w.transpile_value, TC = w.validate, jC = w.validate_with_options, dC = w.validate_with_schema, ZC = w.version, VC = w.wasm_alias, tC = w.wasm_and, zC = w.wasm_boolean, xC = w.wasm_case_of, WC = w.wasm_cast, nC = w.wasm_col, eC = w.wasm_count_distinct, fC = w.wasm_extract, uC = w.wasm_func, lC = w.wasm_lit, rC = w.wasm_not, mC = w.wasm_null, bC = w.wasm_or, vC = w.wasm_sql_expr, XC = w.wasm_star, _C = w.wasm_subquery, $C = w.wasm_table, AB = w.wasmassignmentarray_len, gB = w.wasmassignmentarray_new, IB = w.wasmassignmentarray_push, QB = w.wasmcasebuilder_build_expr, CB = w.wasmcasebuilder_else_, BB = w.wasmcasebuilder_new, EB = w.wasmcasebuilder_to_sql, DB = w.wasmcasebuilder_when, wB = w.wasmdeletebuilder_build, iB = w.wasmdeletebuilder_new, oB = w.wasmdeletebuilder_to_sql, kB = w.wasmdeletebuilder_where_expr, MB = w.wasmexpr_add, NB = w.wasmexpr_alias, yB = w.wasmexpr_and, KB = w.wasmexpr_asc, GB = w.wasmexpr_between, YB = w.wasmexpr_cast, hB = w.wasmexpr_desc, SB = w.wasmexpr_div, cB = w.wasmexpr_eq, JB = w.wasmexpr_gt, HB = w.wasmexpr_gte, UB = w.wasmexpr_ilike, FB = w.wasmexpr_in_list, LB = w.wasmexpr_is_not_null, RB = w.wasmexpr_is_null, sB = w.wasmexpr_like, aB = w.wasmexpr_lt, qB = w.wasmexpr_lte, pB = w.wasmexpr_mul, PB = w.wasmexpr_neq, OB = w.wasmexpr_not, TB = w.wasmexpr_not_in, jB = w.wasmexpr_or, dB = w.wasmexpr_rlike, ZB = w.wasmexpr_sub, VB = w.wasmexpr_to_json, tB = w.wasmexpr_to_sql, zB = w.wasmexpr_xor, xB = w.wasmexprarray_len, WB = w.wasmexprarray_push, nB = w.wasmexprarray_push_col, eB = w.wasmexprarray_push_float, fB = w.wasmexprarray_push_int, uB = w.wasmexprarray_push_star, lB = w.wasmexprarray_push_str, rB = w.wasminsertbuilder_build, mB = w.wasminsertbuilder_columns, bB = w.wasminsertbuilder_new, vB = w.wasminsertbuilder_query, XB = w.wasminsertbuilder_to_sql, _B = w.wasminsertbuilder_values, $B = w.wasmmergebuilder_build, AE = w.wasmmergebuilder_new, gE = w.wasmmergebuilder_to_sql, IE = w.wasmmergebuilder_using, QE = w.wasmmergebuilder_when_matched_delete, CE = w.wasmmergebuilder_when_matched_update, BE = w.wasmmergebuilder_when_not_matched_insert, EE = w.wasmselectbuilder_build, DE = w.wasmselectbuilder_cross_join, wE = w.wasmselectbuilder_ctas, iE = w.wasmselectbuilder_ctas_sql, oE = w.wasmselectbuilder_distinct, kE = w.wasmselectbuilder_except_, ME = 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, hE = w.wasmselectbuilder_intersect, SE = w.wasmselectbuilder_join, cE = w.wasmselectbuilder_lateral_view, JE = w.wasmselectbuilder_left_join, HE = w.wasmselectbuilder_limit, UE = w.wasmselectbuilder_new, FE = w.wasmselectbuilder_offset, LE = 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, PE = w.wasmselectbuilder_select_star, OE = w.wasmselectbuilder_sort_by_exprs, TE = w.wasmselectbuilder_to_sql, jE = w.wasmselectbuilder_union, dE = w.wasmselectbuilder_union_all, ZE = w.wasmselectbuilder_where_expr, VE = w.wasmselectbuilder_where_sql, tE = w.wasmselectbuilder_window, zE = w.wasmsetopbuilder_build, xE = w.wasmsetopbuilder_limit, WE = w.wasmsetopbuilder_offset, nE = w.wasmsetopbuilder_order_by_exprs, eE = w.wasmsetopbuilder_to_sql, fE = w.wasmupdatebuilder_build, uE = w.wasmupdatebuilder_from, lE = w.wasmupdatebuilder_new, rE = 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, QD = w.__wbindgen_export4, CD = w.__wbindgen_add_to_stack_pointer, BD = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2152
+ __wbindgen_cast_0000000000000001: aC,
2153
+ __wbindgen_cast_0000000000000002: qC,
2154
+ __wbindgen_cast_0000000000000003: pC,
2155
+ __wbindgen_cast_0000000000000004: OC
2156
+ } }, kI), zC = w.memory, xC = w.__wbg_wasmassignmentarray_free, WC = w.__wbg_wasmcasebuilder_free, nC = w.__wbg_wasmdeletebuilder_free, fC = w.__wbg_wasmexpr_free, eC = w.__wbg_wasmexprarray_free, lC = w.__wbg_wasminsertbuilder_free, rC = w.__wbg_wasmmergebuilder_free, uC = 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, AQ = w.ast_get_aggregate_functions, gQ = w.ast_get_column_names, IQ = w.ast_get_functions, CQ = w.ast_get_literals, QQ = w.ast_get_subqueries, BQ = w.ast_get_table_names, EQ = w.ast_get_window_functions, DQ = w.ast_node_count, wQ = w.ast_qualify_columns, iQ = w.ast_remove_where, oQ = w.ast_rename_columns, MQ = w.ast_rename_tables, kQ = w.ast_set_distinct, NQ = w.ast_set_limit, KQ = w.diff_sql, yQ = w.format_sql, GQ = w.format_sql_value, YQ = w.format_sql_with_options, hQ = w.format_sql_with_options_value, SQ = w.generate, cQ = w.generate_value, HQ = w.get_dialects, JQ = w.get_dialects_value, UQ = w.lineage_sql, FQ = w.lineage_sql_with_schema, RQ = w.parse, LQ = w.parse_value, sQ = w.plan, aQ = w.source_tables, qQ = w.tokenize, pQ = w.tokenize_value, OQ = w.transpile, TQ = w.transpile_value, PQ = w.validate, jQ = w.validate_with_options, dQ = w.validate_with_schema, ZQ = w.version, VQ = w.wasm_alias, tQ = w.wasm_and, zQ = w.wasm_boolean, xQ = w.wasm_case_of, WQ = w.wasm_cast, nQ = w.wasm_col, fQ = w.wasm_count_distinct, eQ = w.wasm_extract, lQ = w.wasm_func, rQ = w.wasm_lit, uQ = w.wasm_not, mQ = w.wasm_null, bQ = w.wasm_or, vQ = w.wasm_sql_expr, XQ = w.wasm_star, _Q = w.wasm_subquery, $Q = w.wasm_table, AB = w.wasmassignmentarray_len, gB = w.wasmassignmentarray_new, IB = w.wasmassignmentarray_push, CB = w.wasmcasebuilder_build_expr, QB = w.wasmcasebuilder_else_, BB = w.wasmcasebuilder_new, EB = w.wasmcasebuilder_to_sql, DB = w.wasmcasebuilder_when, wB = w.wasmdeletebuilder_build, iB = w.wasmdeletebuilder_new, oB = w.wasmdeletebuilder_to_sql, MB = w.wasmdeletebuilder_where_expr, kB = w.wasmexpr_add, NB = w.wasmexpr_alias, KB = w.wasmexpr_and, yB = w.wasmexpr_asc, GB = w.wasmexpr_between, YB = w.wasmexpr_cast, hB = w.wasmexpr_desc, SB = w.wasmexpr_div, cB = w.wasmexpr_eq, HB = w.wasmexpr_gt, JB = w.wasmexpr_gte, UB = w.wasmexpr_ilike, FB = w.wasmexpr_in_list, RB = w.wasmexpr_is_not_null, LB = w.wasmexpr_is_null, sB = w.wasmexpr_like, aB = w.wasmexpr_lt, qB = w.wasmexpr_lte, pB = w.wasmexpr_mul, OB = w.wasmexpr_neq, TB = w.wasmexpr_not, PB = w.wasmexpr_not_in, jB = w.wasmexpr_or, dB = w.wasmexpr_rlike, ZB = w.wasmexpr_sub, VB = w.wasmexpr_to_json, tB = w.wasmexpr_to_sql, zB = w.wasmexpr_xor, xB = w.wasmexprarray_len, WB = w.wasmexprarray_push, nB = w.wasmexprarray_push_col, fB = w.wasmexprarray_push_float, eB = w.wasmexprarray_push_int, lB = w.wasmexprarray_push_star, rB = w.wasmexprarray_push_str, uB = w.wasminsertbuilder_build, mB = w.wasminsertbuilder_columns, bB = w.wasminsertbuilder_new, vB = w.wasminsertbuilder_query, XB = w.wasminsertbuilder_to_sql, _B = w.wasminsertbuilder_values, $B = w.wasmmergebuilder_build, AE = w.wasmmergebuilder_new, gE = w.wasmmergebuilder_to_sql, IE = w.wasmmergebuilder_using, CE = w.wasmmergebuilder_when_matched_delete, QE = w.wasmmergebuilder_when_matched_update, BE = w.wasmmergebuilder_when_not_matched_insert, EE = w.wasmselectbuilder_build, DE = w.wasmselectbuilder_cross_join, wE = w.wasmselectbuilder_ctas, iE = w.wasmselectbuilder_ctas_sql, oE = w.wasmselectbuilder_distinct, ME = w.wasmselectbuilder_except_, kE = w.wasmselectbuilder_for_update, NE = w.wasmselectbuilder_from, KE = w.wasmselectbuilder_from_expr, yE = w.wasmselectbuilder_group_by_cols, GE = w.wasmselectbuilder_having, YE = w.wasmselectbuilder_hint, hE = w.wasmselectbuilder_intersect, SE = w.wasmselectbuilder_join, cE = w.wasmselectbuilder_lateral_view, HE = w.wasmselectbuilder_left_join, JE = w.wasmselectbuilder_limit, UE = w.wasmselectbuilder_new, FE = w.wasmselectbuilder_offset, RE = w.wasmselectbuilder_order_by_exprs, LE = w.wasmselectbuilder_qualify, sE = w.wasmselectbuilder_right_join, aE = w.wasmselectbuilder_select_col, qE = w.wasmselectbuilder_select_expr, pE = w.wasmselectbuilder_select_exprs, OE = w.wasmselectbuilder_select_star, TE = w.wasmselectbuilder_sort_by_exprs, PE = w.wasmselectbuilder_to_sql, jE = w.wasmselectbuilder_union, dE = w.wasmselectbuilder_union_all, ZE = w.wasmselectbuilder_where_expr, VE = w.wasmselectbuilder_where_sql, tE = w.wasmselectbuilder_window, zE = w.wasmsetopbuilder_build, xE = w.wasmsetopbuilder_limit, WE = w.wasmsetopbuilder_offset, nE = w.wasmsetopbuilder_order_by_exprs, fE = w.wasmsetopbuilder_to_sql, eE = w.wasmupdatebuilder_build, lE = w.wasmupdatebuilder_from, rE = w.wasmupdatebuilder_new, uE = 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, QD = w.__wbindgen_add_to_stack_pointer, BD = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2157
2157
  __proto__: null,
2158
- __wbg_wasmassignmentarray_free: xQ,
2159
- __wbg_wasmcasebuilder_free: WQ,
2160
- __wbg_wasmdeletebuilder_free: nQ,
2161
- __wbg_wasmexpr_free: eQ,
2162
- __wbg_wasmexprarray_free: fQ,
2163
- __wbg_wasminsertbuilder_free: uQ,
2164
- __wbg_wasmmergebuilder_free: lQ,
2165
- __wbg_wasmselectbuilder_free: rQ,
2166
- __wbg_wasmsetopbuilder_free: mQ,
2167
- __wbg_wasmupdatebuilder_free: bQ,
2168
- __wbg_wasmwindowdefbuilder_free: vQ,
2169
- __wbindgen_add_to_stack_pointer: CD,
2158
+ __wbg_wasmassignmentarray_free: xC,
2159
+ __wbg_wasmcasebuilder_free: WC,
2160
+ __wbg_wasmdeletebuilder_free: nC,
2161
+ __wbg_wasmexpr_free: fC,
2162
+ __wbg_wasmexprarray_free: eC,
2163
+ __wbg_wasminsertbuilder_free: lC,
2164
+ __wbg_wasmmergebuilder_free: rC,
2165
+ __wbg_wasmselectbuilder_free: uC,
2166
+ __wbg_wasmsetopbuilder_free: mC,
2167
+ __wbg_wasmupdatebuilder_free: bC,
2168
+ __wbg_wasmwindowdefbuilder_free: vC,
2169
+ __wbindgen_add_to_stack_pointer: QD,
2170
2170
  __wbindgen_export: AD,
2171
2171
  __wbindgen_export2: gD,
2172
2172
  __wbindgen_export3: ID,
2173
- __wbindgen_export4: QD,
2174
- annotate_types: XQ,
2175
- annotate_types_value: _Q,
2176
- ast_add_where: $Q,
2177
- ast_get_aggregate_functions: AC,
2178
- ast_get_column_names: gC,
2179
- ast_get_functions: IC,
2180
- ast_get_literals: QC,
2181
- ast_get_subqueries: CC,
2182
- ast_get_table_names: BC,
2183
- ast_get_window_functions: EC,
2184
- ast_node_count: DC,
2185
- ast_qualify_columns: wC,
2186
- ast_remove_where: iC,
2187
- ast_rename_columns: oC,
2188
- ast_rename_tables: kC,
2189
- ast_set_distinct: MC,
2190
- ast_set_limit: NC,
2191
- diff_sql: yC,
2192
- format_sql: KC,
2193
- format_sql_value: GC,
2194
- format_sql_with_options: YC,
2195
- format_sql_with_options_value: hC,
2196
- generate: SC,
2197
- generate_value: cC,
2198
- get_dialects: JC,
2199
- get_dialects_value: HC,
2200
- lineage_sql: UC,
2201
- lineage_sql_with_schema: FC,
2202
- memory: zQ,
2203
- parse: LC,
2204
- parse_value: RC,
2205
- plan: sC,
2206
- source_tables: aC,
2207
- tokenize: qC,
2208
- tokenize_value: pC,
2209
- transpile: PC,
2210
- transpile_value: OC,
2211
- validate: TC,
2212
- validate_with_options: jC,
2213
- validate_with_schema: dC,
2214
- version: ZC,
2215
- wasm_alias: VC,
2216
- wasm_and: tC,
2217
- wasm_boolean: zC,
2218
- wasm_case_of: xC,
2219
- wasm_cast: WC,
2220
- wasm_col: nC,
2221
- wasm_count_distinct: eC,
2222
- wasm_extract: fC,
2223
- wasm_func: uC,
2224
- wasm_lit: lC,
2225
- wasm_not: rC,
2226
- wasm_null: mC,
2227
- wasm_or: bC,
2228
- wasm_sql_expr: vC,
2229
- wasm_star: XC,
2230
- wasm_subquery: _C,
2231
- wasm_table: $C,
2173
+ __wbindgen_export4: CD,
2174
+ annotate_types: XC,
2175
+ annotate_types_value: _C,
2176
+ ast_add_where: $C,
2177
+ ast_get_aggregate_functions: AQ,
2178
+ ast_get_column_names: gQ,
2179
+ ast_get_functions: IQ,
2180
+ ast_get_literals: CQ,
2181
+ ast_get_subqueries: QQ,
2182
+ ast_get_table_names: BQ,
2183
+ ast_get_window_functions: EQ,
2184
+ ast_node_count: DQ,
2185
+ ast_qualify_columns: wQ,
2186
+ ast_remove_where: iQ,
2187
+ ast_rename_columns: oQ,
2188
+ ast_rename_tables: MQ,
2189
+ ast_set_distinct: kQ,
2190
+ ast_set_limit: NQ,
2191
+ diff_sql: KQ,
2192
+ format_sql: yQ,
2193
+ format_sql_value: GQ,
2194
+ format_sql_with_options: YQ,
2195
+ format_sql_with_options_value: hQ,
2196
+ generate: SQ,
2197
+ generate_value: cQ,
2198
+ get_dialects: HQ,
2199
+ get_dialects_value: JQ,
2200
+ lineage_sql: UQ,
2201
+ lineage_sql_with_schema: FQ,
2202
+ memory: zC,
2203
+ parse: RQ,
2204
+ parse_value: LQ,
2205
+ plan: sQ,
2206
+ source_tables: aQ,
2207
+ tokenize: qQ,
2208
+ tokenize_value: pQ,
2209
+ transpile: OQ,
2210
+ transpile_value: TQ,
2211
+ validate: PQ,
2212
+ validate_with_options: jQ,
2213
+ validate_with_schema: dQ,
2214
+ version: ZQ,
2215
+ wasm_alias: VQ,
2216
+ wasm_and: tQ,
2217
+ wasm_boolean: zQ,
2218
+ wasm_case_of: xQ,
2219
+ wasm_cast: WQ,
2220
+ wasm_col: nQ,
2221
+ wasm_count_distinct: fQ,
2222
+ wasm_extract: eQ,
2223
+ wasm_func: lQ,
2224
+ wasm_lit: rQ,
2225
+ wasm_not: uQ,
2226
+ wasm_null: mQ,
2227
+ wasm_or: bQ,
2228
+ wasm_sql_expr: vQ,
2229
+ wasm_star: XQ,
2230
+ wasm_subquery: _Q,
2231
+ wasm_table: $Q,
2232
2232
  wasmassignmentarray_len: AB,
2233
2233
  wasmassignmentarray_new: gB,
2234
2234
  wasmassignmentarray_push: IB,
2235
- wasmcasebuilder_build_expr: QB,
2236
- wasmcasebuilder_else_: CB,
2235
+ wasmcasebuilder_build_expr: CB,
2236
+ wasmcasebuilder_else_: QB,
2237
2237
  wasmcasebuilder_new: BB,
2238
2238
  wasmcasebuilder_to_sql: EB,
2239
2239
  wasmcasebuilder_when: DB,
2240
2240
  wasmdeletebuilder_build: wB,
2241
2241
  wasmdeletebuilder_new: iB,
2242
2242
  wasmdeletebuilder_to_sql: oB,
2243
- wasmdeletebuilder_where_expr: kB,
2244
- wasmexpr_add: MB,
2243
+ wasmdeletebuilder_where_expr: MB,
2244
+ wasmexpr_add: kB,
2245
2245
  wasmexpr_alias: NB,
2246
- wasmexpr_and: yB,
2247
- wasmexpr_asc: KB,
2246
+ wasmexpr_and: KB,
2247
+ wasmexpr_asc: yB,
2248
2248
  wasmexpr_between: GB,
2249
2249
  wasmexpr_cast: YB,
2250
2250
  wasmexpr_desc: hB,
2251
2251
  wasmexpr_div: SB,
2252
2252
  wasmexpr_eq: cB,
2253
- wasmexpr_gt: JB,
2254
- wasmexpr_gte: HB,
2253
+ wasmexpr_gt: HB,
2254
+ wasmexpr_gte: JB,
2255
2255
  wasmexpr_ilike: UB,
2256
2256
  wasmexpr_in_list: FB,
2257
- wasmexpr_is_not_null: LB,
2258
- wasmexpr_is_null: RB,
2257
+ wasmexpr_is_not_null: RB,
2258
+ wasmexpr_is_null: LB,
2259
2259
  wasmexpr_like: sB,
2260
2260
  wasmexpr_lt: aB,
2261
2261
  wasmexpr_lte: qB,
2262
2262
  wasmexpr_mul: pB,
2263
- wasmexpr_neq: PB,
2264
- wasmexpr_not: OB,
2265
- wasmexpr_not_in: TB,
2263
+ wasmexpr_neq: OB,
2264
+ wasmexpr_not: TB,
2265
+ wasmexpr_not_in: PB,
2266
2266
  wasmexpr_or: jB,
2267
2267
  wasmexpr_rlike: dB,
2268
2268
  wasmexpr_sub: ZB,
@@ -2273,11 +2273,11 @@ const w = await NI({ "./polyglot_sql_wasm_bg.js": {
2273
2273
  wasmexprarray_new: $E,
2274
2274
  wasmexprarray_push: WB,
2275
2275
  wasmexprarray_push_col: nB,
2276
- wasmexprarray_push_float: eB,
2277
- wasmexprarray_push_int: fB,
2278
- wasmexprarray_push_star: uB,
2279
- wasmexprarray_push_str: lB,
2280
- wasminsertbuilder_build: rB,
2276
+ wasmexprarray_push_float: fB,
2277
+ wasmexprarray_push_int: eB,
2278
+ wasmexprarray_push_star: lB,
2279
+ wasmexprarray_push_str: rB,
2280
+ wasminsertbuilder_build: uB,
2281
2281
  wasminsertbuilder_columns: mB,
2282
2282
  wasminsertbuilder_new: bB,
2283
2283
  wasminsertbuilder_query: vB,
@@ -2287,37 +2287,37 @@ const w = await NI({ "./polyglot_sql_wasm_bg.js": {
2287
2287
  wasmmergebuilder_new: AE,
2288
2288
  wasmmergebuilder_to_sql: gE,
2289
2289
  wasmmergebuilder_using: IE,
2290
- wasmmergebuilder_when_matched_delete: QE,
2291
- wasmmergebuilder_when_matched_update: CE,
2290
+ wasmmergebuilder_when_matched_delete: CE,
2291
+ wasmmergebuilder_when_matched_update: QE,
2292
2292
  wasmmergebuilder_when_not_matched_insert: BE,
2293
2293
  wasmselectbuilder_build: EE,
2294
2294
  wasmselectbuilder_cross_join: DE,
2295
2295
  wasmselectbuilder_ctas: wE,
2296
2296
  wasmselectbuilder_ctas_sql: iE,
2297
2297
  wasmselectbuilder_distinct: oE,
2298
- wasmselectbuilder_except_: kE,
2299
- wasmselectbuilder_for_update: ME,
2298
+ wasmselectbuilder_except_: ME,
2299
+ wasmselectbuilder_for_update: kE,
2300
2300
  wasmselectbuilder_from: NE,
2301
- wasmselectbuilder_from_expr: yE,
2302
- wasmselectbuilder_group_by_cols: KE,
2301
+ wasmselectbuilder_from_expr: KE,
2302
+ wasmselectbuilder_group_by_cols: yE,
2303
2303
  wasmselectbuilder_having: GE,
2304
2304
  wasmselectbuilder_hint: YE,
2305
2305
  wasmselectbuilder_intersect: hE,
2306
2306
  wasmselectbuilder_join: SE,
2307
2307
  wasmselectbuilder_lateral_view: cE,
2308
- wasmselectbuilder_left_join: JE,
2309
- wasmselectbuilder_limit: HE,
2308
+ wasmselectbuilder_left_join: HE,
2309
+ wasmselectbuilder_limit: JE,
2310
2310
  wasmselectbuilder_new: UE,
2311
2311
  wasmselectbuilder_offset: FE,
2312
- wasmselectbuilder_order_by_exprs: LE,
2313
- wasmselectbuilder_qualify: RE,
2312
+ wasmselectbuilder_order_by_exprs: RE,
2313
+ wasmselectbuilder_qualify: LE,
2314
2314
  wasmselectbuilder_right_join: sE,
2315
2315
  wasmselectbuilder_select_col: aE,
2316
2316
  wasmselectbuilder_select_expr: qE,
2317
2317
  wasmselectbuilder_select_exprs: pE,
2318
- wasmselectbuilder_select_star: PE,
2319
- wasmselectbuilder_sort_by_exprs: OE,
2320
- wasmselectbuilder_to_sql: TE,
2318
+ wasmselectbuilder_select_star: OE,
2319
+ wasmselectbuilder_sort_by_exprs: TE,
2320
+ wasmselectbuilder_to_sql: PE,
2321
2321
  wasmselectbuilder_union: jE,
2322
2322
  wasmselectbuilder_union_all: dE,
2323
2323
  wasmselectbuilder_where_expr: ZE,
@@ -2327,33 +2327,33 @@ const w = await NI({ "./polyglot_sql_wasm_bg.js": {
2327
2327
  wasmsetopbuilder_limit: xE,
2328
2328
  wasmsetopbuilder_offset: WE,
2329
2329
  wasmsetopbuilder_order_by_exprs: nE,
2330
- wasmsetopbuilder_to_sql: eE,
2331
- wasmupdatebuilder_build: fE,
2332
- wasmupdatebuilder_from: uE,
2333
- wasmupdatebuilder_new: lE,
2334
- wasmupdatebuilder_set: rE,
2330
+ wasmsetopbuilder_to_sql: fE,
2331
+ wasmupdatebuilder_build: eE,
2332
+ wasmupdatebuilder_from: lE,
2333
+ wasmupdatebuilder_new: rE,
2334
+ wasmupdatebuilder_set: uE,
2335
2335
  wasmupdatebuilder_to_sql: mE,
2336
2336
  wasmupdatebuilder_where_expr: bE,
2337
2337
  wasmwindowdefbuilder_new: vE,
2338
2338
  wasmwindowdefbuilder_order_by: XE,
2339
2339
  wasmwindowdefbuilder_partition_by: _E
2340
2340
  }, Symbol.toStringTag, { value: "Module" }));
2341
- tQ(BD);
2341
+ tC(BD);
2342
2342
  const pg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2343
2343
  __proto__: null,
2344
- WasmAssignmentArray: QA,
2345
- WasmCaseBuilder: l,
2344
+ WasmAssignmentArray: CA,
2345
+ WasmCaseBuilder: r,
2346
2346
  WasmDeleteBuilder: iA,
2347
- WasmExpr: K,
2348
- WasmExprArray: P,
2347
+ WasmExpr: y,
2348
+ WasmExprArray: O,
2349
2349
  WasmInsertBuilder: oA,
2350
- WasmMergeBuilder: kA,
2350
+ WasmMergeBuilder: MA,
2351
2351
  WasmSelectBuilder: j,
2352
2352
  WasmSetOpBuilder: z,
2353
- WasmUpdateBuilder: MA,
2354
- WasmWindowDefBuilder: CA,
2355
- annotate_types: yI,
2356
- annotate_types_value: KI,
2353
+ WasmUpdateBuilder: kA,
2354
+ WasmWindowDefBuilder: QA,
2355
+ annotate_types: KI,
2356
+ annotate_types_value: yI,
2357
2357
  ast_add_where: bA,
2358
2358
  ast_get_aggregate_functions: vA,
2359
2359
  ast_get_column_names: XA,
@@ -2362,8 +2362,8 @@ const pg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2362
2362
  ast_get_subqueries: Ag,
2363
2363
  ast_get_table_names: gg,
2364
2364
  ast_get_window_functions: Ig,
2365
- ast_node_count: Qg,
2366
- ast_qualify_columns: Cg,
2365
+ ast_node_count: Cg,
2366
+ ast_qualify_columns: Qg,
2367
2367
  ast_remove_where: Bg,
2368
2368
  ast_rename_columns: Eg,
2369
2369
  ast_rename_tables: Dg,
@@ -2375,37 +2375,37 @@ const pg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2375
2375
  format_sql_with_options: hI,
2376
2376
  format_sql_with_options_value: SI,
2377
2377
  generate: cI,
2378
- generate_value: JI,
2379
- get_dialects: HI,
2378
+ generate_value: HI,
2379
+ get_dialects: JI,
2380
2380
  get_dialects_value: UI,
2381
- lineage_sql: kg,
2382
- lineage_sql_with_schema: Mg,
2381
+ lineage_sql: Mg,
2382
+ lineage_sql_with_schema: kg,
2383
2383
  parse: FI,
2384
- parse_value: LI,
2384
+ parse_value: RI,
2385
2385
  plan: Ng,
2386
- source_tables: yg,
2387
- tokenize: RI,
2386
+ source_tables: Kg,
2387
+ tokenize: LI,
2388
2388
  tokenize_value: sI,
2389
2389
  transpile: aI,
2390
2390
  transpile_value: qI,
2391
2391
  validate: pI,
2392
- validate_with_options: PI,
2393
- validate_with_schema: Kg,
2394
- version: OI,
2392
+ validate_with_options: OI,
2393
+ validate_with_schema: yg,
2394
+ version: TI,
2395
2395
  wasm_alias: Gg,
2396
2396
  wasm_and: Yg,
2397
2397
  wasm_boolean: hg,
2398
2398
  wasm_case_of: Sg,
2399
2399
  wasm_cast: cg,
2400
2400
  wasm_col: UA,
2401
- wasm_count_distinct: Jg,
2402
- wasm_extract: Hg,
2401
+ wasm_count_distinct: Hg,
2402
+ wasm_extract: Jg,
2403
2403
  wasm_func: Ug,
2404
2404
  wasm_lit: NA,
2405
2405
  wasm_not: Fg,
2406
- wasm_null: yA,
2407
- wasm_or: Lg,
2408
- wasm_sql_expr: Rg,
2406
+ wasm_null: KA,
2407
+ wasm_or: Rg,
2408
+ wasm_sql_expr: Lg,
2409
2409
  wasm_star: sg,
2410
2410
  wasm_subquery: ag,
2411
2411
  wasm_table: qg
@@ -2413,7 +2413,7 @@ const pg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2413
2413
  function p(g) {
2414
2414
  return Object.keys(g)[0];
2415
2415
  }
2416
- function O(g) {
2416
+ function T(g) {
2417
2417
  const A = Object.keys(g)[0];
2418
2418
  return g[A];
2419
2419
  }
@@ -2422,24 +2422,24 @@ function x(g) {
2422
2422
  return !1;
2423
2423
  const A = Object.keys(g);
2424
2424
  if (A.length !== 1) return !1;
2425
- const Q = g[A[0]];
2426
- return Q === null || typeof Q == "object" && !Array.isArray(Q);
2425
+ const C = g[A[0]];
2426
+ return C === null || typeof C == "object" && !Array.isArray(C);
2427
2427
  }
2428
2428
  function V(g, A) {
2429
2429
  return { [g]: A };
2430
2430
  }
2431
- function Pg(g) {
2432
- const A = O(g);
2431
+ function Og(g) {
2432
+ const A = T(g);
2433
2433
  if (A && typeof A == "object" && "inferred_type" in A) {
2434
- const Q = A.inferred_type;
2435
- if (Q != null)
2436
- return Q;
2434
+ const C = A.inferred_type;
2435
+ if (C != null)
2436
+ return C;
2437
2437
  }
2438
2438
  }
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"), iD = Y("union"), oD = Y("intersect"), kD = Y("except"), MD = Y("subquery"), ND = Y("identifier"), Tg = Y("column"), yD = Y("table"), KD = Y("star"), jg = Y("literal"), GD = Y("boolean"), YD = Y("null"), hD = Y("and"), SD = Y("or"), cD = Y("not"), JD = Y("eq"), HD = Y("neq"), UD = Y("lt"), FD = Y("lte"), LD = Y("gt"), RD = Y("gte"), sD = Y("like"), aD = Y("i_like"), qD = Y("add"), pD = Y("sub"), PD = Y("mul"), OD = Y("div"), TD = Y("mod"), jD = Y("concat"), dD = Y("in"), ZD = Y("between"), VD = Y("is_null"), tD = Y("exists"), dg = Y("function"), zD = Y("aggregate_function"), xD = Y("window_function"), WD = Y("count"), nD = Y("sum"), eD = Y("avg"), fD = Y("min"), uD = Y("max"), lD = Y("coalesce"), rD = 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"), Qw = Y("order_by"), Cw = Y("limit"), Bw = Y("offset"), Ew = Y("with"), Dw = Y("cte"), ww = Y("alias"), iw = Y("paren"), ow = Y("ordered"), kw = Y("create_table"), Mw = 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 Tg = Y("select"), ED = Y("insert"), DD = Y("update"), wD = Y("delete"), iD = Y("union"), oD = Y("intersect"), MD = Y("except"), kD = Y("subquery"), ND = Y("identifier"), Pg = Y("column"), KD = Y("table"), yD = Y("star"), jg = Y("literal"), GD = Y("boolean"), YD = Y("null"), hD = Y("and"), SD = Y("or"), cD = Y("not"), HD = Y("eq"), JD = Y("neq"), UD = Y("lt"), FD = Y("lte"), RD = Y("gt"), LD = Y("gte"), sD = Y("like"), aD = Y("i_like"), qD = Y("add"), pD = Y("sub"), OD = Y("mul"), TD = Y("div"), PD = Y("mod"), jD = Y("concat"), dD = Y("in"), ZD = Y("between"), VD = Y("is_null"), tD = Y("exists"), dg = Y("function"), zD = Y("aggregate_function"), xD = Y("window_function"), WD = Y("count"), nD = Y("sum"), fD = Y("avg"), eD = Y("min"), lD = Y("max"), rD = Y("coalesce"), uD = 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"), Qw = Y("limit"), Bw = Y("offset"), Ew = Y("with"), Dw = Y("cte"), ww = Y("alias"), iw = Y("paren"), ow = Y("ordered"), Mw = Y("create_table"), kw = Y("drop_table"), Nw = Y("alter_table"), Kw = Y("create_index"), yw = Y("drop_index"), Gw = Y("create_view"), Yw = Y("drop_view");
2443
2443
  function hw(g) {
2444
2444
  const A = p(g);
2445
2445
  return A === "select" || A === "insert" || A === "update" || A === "delete";
@@ -2452,11 +2452,11 @@ function cw(g) {
2452
2452
  const A = p(g);
2453
2453
  return A === "eq" || A === "neq" || A === "lt" || A === "lte" || A === "gt" || A === "gte" || A === "like" || A === "i_like";
2454
2454
  }
2455
- function Jw(g) {
2455
+ function Hw(g) {
2456
2456
  const A = p(g);
2457
2457
  return A === "add" || A === "sub" || A === "mul" || A === "div" || A === "mod";
2458
2458
  }
2459
- function Hw(g) {
2459
+ function Jw(g) {
2460
2460
  const A = p(g);
2461
2461
  return A === "and" || A === "or" || A === "not";
2462
2462
  }
@@ -2467,58 +2467,58 @@ function Uw(g) {
2467
2467
  function W(g) {
2468
2468
  return JSON.stringify(g);
2469
2469
  }
2470
- function r(g) {
2470
+ function u(g) {
2471
2471
  const A = JSON.parse(g);
2472
2472
  return A.success ? JSON.parse(A.ast) : null;
2473
2473
  }
2474
- function Zg(g, A, Q) {
2474
+ function Zg(g, A, C) {
2475
2475
  if (g == null) return g;
2476
2476
  if (Array.isArray(g))
2477
2477
  return g.length > 0 && x(g[0]) ? g.map(
2478
- (C, B) => wA(C, A, Q, null, B)
2479
- ) : g.length > 0 && Array.isArray(g[0]) ? g.map((C) => Array.isArray(C) ? C.map((B, E) => x(B) ? wA(B, A, Q, null, E) : B) : C) : g;
2478
+ (Q, B) => wA(Q, A, C, null, B)
2479
+ ) : g.length > 0 && Array.isArray(g[0]) ? g.map((Q) => Array.isArray(Q) ? Q.map((B, E) => x(B) ? wA(B, A, C, null, E) : B) : Q) : g;
2480
2480
  if (x(g))
2481
- return wA(g, A, Q, null, null);
2481
+ return wA(g, A, C, null, null);
2482
2482
  if (typeof g == "object") {
2483
2483
  const B = { ...g };
2484
2484
  let E = !1;
2485
2485
  for (const [D, o] of Object.entries(B)) {
2486
- const N = Zg(o, A, Q);
2486
+ const N = Zg(o, A, C);
2487
2487
  N !== o && (B[D] = N, E = !0);
2488
2488
  }
2489
2489
  return E ? B : g;
2490
2490
  }
2491
2491
  return g;
2492
2492
  }
2493
- function wA(g, A, Q, C, B) {
2493
+ function wA(g, A, C, Q, B) {
2494
2494
  let E = g;
2495
2495
  if (A.enter) {
2496
- const S = A.enter(E, Q, C, B);
2496
+ const S = A.enter(E, C, Q, B);
2497
2497
  if (S === null)
2498
2498
  return E;
2499
2499
  S !== void 0 && (E = S);
2500
2500
  }
2501
2501
  const D = p(E), o = A[D];
2502
2502
  if (o) {
2503
- const S = o(E, Q, C, B);
2503
+ const S = o(E, C, Q, B);
2504
2504
  if (S === null)
2505
2505
  return E;
2506
2506
  S !== void 0 && (E = S);
2507
2507
  }
2508
- const N = p(E), y = O(E);
2508
+ const N = p(E), K = T(E);
2509
2509
  let G;
2510
- if (y == null)
2511
- G = V(N, y);
2510
+ if (K == null)
2511
+ G = V(N, K);
2512
2512
  else {
2513
- const S = { ...y };
2514
- for (const [R, q] of Object.entries(S)) {
2515
- const T = Zg(q, A, E);
2516
- T !== q && (S[R] = T);
2513
+ const S = { ...K };
2514
+ for (const [L, q] of Object.entries(S)) {
2515
+ const P = Zg(q, A, E);
2516
+ P !== q && (S[L] = P);
2517
2517
  }
2518
2518
  G = V(N, S);
2519
2519
  }
2520
2520
  if (A.leave) {
2521
- const S = A.leave(G, Q, C, B);
2521
+ const S = A.leave(G, C, Q, B);
2522
2522
  if (S != null)
2523
2523
  return S;
2524
2524
  }
@@ -2527,86 +2527,86 @@ function wA(g, A, Q, C, B) {
2527
2527
  function GA(g, A) {
2528
2528
  return wA(g, A, null, null, null);
2529
2529
  }
2530
- function Vg(g, A, Q) {
2530
+ function Vg(g, A, C) {
2531
2531
  return GA(g, {
2532
- enter: (C, B) => {
2533
- if (A(C, B))
2534
- return typeof Q == "function" ? Q(C) : Q;
2532
+ enter: (Q, B) => {
2533
+ if (A(Q, B))
2534
+ return typeof C == "function" ? C(Q) : C;
2535
2535
  }
2536
2536
  });
2537
2537
  }
2538
- function Fw(g, A, Q) {
2538
+ function Fw(g, A, C) {
2539
2539
  return Vg(
2540
2540
  g,
2541
- (C) => p(C) === A,
2542
- typeof Q == "function" ? (C) => Q(C) : Q
2541
+ (Q) => p(Q) === A,
2542
+ typeof C == "function" ? (Q) => C(Q) : C
2543
2543
  );
2544
2544
  }
2545
2545
  function tg(g, A) {
2546
- return r(
2546
+ return u(
2547
2547
  Eg(W(g), JSON.stringify(A))
2548
2548
  ) ?? g;
2549
2549
  }
2550
- function Lw(g, A) {
2551
- return r(
2550
+ function Rw(g, A) {
2551
+ return u(
2552
2552
  Dg(W(g), JSON.stringify(A))
2553
2553
  ) ?? g;
2554
2554
  }
2555
- function Rw(g, A) {
2556
- return r(
2557
- Cg(W(g), A)
2555
+ function Lw(g, A) {
2556
+ return u(
2557
+ Qg(W(g), A)
2558
2558
  ) ?? g;
2559
2559
  }
2560
- function sw(g, A, Q = "and") {
2561
- return r(
2562
- bA(W(g), W(A), Q === "or")
2560
+ function sw(g, A, C = "and") {
2561
+ return u(
2562
+ bA(W(g), W(A), C === "or")
2563
2563
  ) ?? g;
2564
2564
  }
2565
2565
  function aw(g) {
2566
- return r(Bg(W(g))) ?? g;
2566
+ return u(Bg(W(g))) ?? g;
2567
2567
  }
2568
2568
  function qw(g, ...A) {
2569
2569
  if (p(g) !== "select")
2570
2570
  return g;
2571
- const Q = O(g);
2571
+ const C = T(g);
2572
2572
  return V("select", {
2573
- ...Q,
2574
- expressions: [...Q.expressions, ...A]
2573
+ ...C,
2574
+ expressions: [...C.expressions, ...A]
2575
2575
  });
2576
2576
  }
2577
2577
  function pw(g, A) {
2578
2578
  if (p(g) !== "select")
2579
2579
  return g;
2580
- const Q = O(g);
2580
+ const C = T(g);
2581
2581
  return V("select", {
2582
- ...Q,
2583
- expressions: Q.expressions.filter((C) => !A(C))
2582
+ ...C,
2583
+ expressions: C.expressions.filter((Q) => !A(Q))
2584
2584
  });
2585
2585
  }
2586
- function Pw(g, A) {
2586
+ function Ow(g, A) {
2587
2587
  if (typeof A == "number")
2588
- return r(ig(W(g), A)) ?? g;
2588
+ return u(ig(W(g), A)) ?? g;
2589
2589
  if (p(g) !== "select")
2590
2590
  return g;
2591
- const Q = O(g);
2591
+ const C = T(g);
2592
2592
  return V("select", {
2593
- ...Q,
2593
+ ...C,
2594
2594
  limit: { this: A }
2595
2595
  });
2596
2596
  }
2597
- function Ow(g, A) {
2597
+ function Tw(g, A) {
2598
2598
  if (p(g) !== "select")
2599
2599
  return g;
2600
- const Q = O(g), C = typeof A == "number" ? V("literal", { literal_type: "number", value: String(A) }) : A;
2600
+ const C = T(g), Q = typeof A == "number" ? V("literal", { literal_type: "number", value: String(A) }) : A;
2601
2601
  return V("select", {
2602
- ...Q,
2603
- offset: { this: C }
2602
+ ...C,
2603
+ offset: { this: Q }
2604
2604
  });
2605
2605
  }
2606
- function Tw(g) {
2606
+ function Pw(g) {
2607
2607
  if (p(g) !== "select")
2608
2608
  return g;
2609
- const A = O(g);
2609
+ const A = T(g);
2610
2610
  return V("select", {
2611
2611
  ...A,
2612
2612
  limit: null,
@@ -2614,111 +2614,111 @@ function Tw(g) {
2614
2614
  });
2615
2615
  }
2616
2616
  function jw(g, A = !0) {
2617
- return r(wg(W(g), A)) ?? g;
2617
+ return u(wg(W(g), A)) ?? g;
2618
2618
  }
2619
2619
  function dw(g) {
2620
2620
  return GA(g, {});
2621
2621
  }
2622
- function zg(g, A, Q) {
2622
+ function zg(g, A, C) {
2623
2623
  if (g == null) return g;
2624
2624
  if (Array.isArray(g))
2625
- return g.length > 0 && x(g[0]) ? g.filter((C) => !A(C, Q)).map((C) => HA(C, A)) : g;
2625
+ return g.length > 0 && x(g[0]) ? g.filter((Q) => !A(Q, C)).map((Q) => JA(Q, A)) : g;
2626
2626
  if (x(g))
2627
- return HA(g, A);
2627
+ return JA(g, A);
2628
2628
  if (typeof g == "object") {
2629
2629
  const B = { ...g };
2630
2630
  let E = !1;
2631
2631
  for (const [D, o] of Object.entries(B)) {
2632
- const N = zg(o, A, Q);
2632
+ const N = zg(o, A, C);
2633
2633
  N !== o && (B[D] = N, E = !0);
2634
2634
  }
2635
2635
  return E ? B : g;
2636
2636
  }
2637
2637
  return g;
2638
2638
  }
2639
- function HA(g, A) {
2640
- const Q = p(g), B = { ...O(g) };
2639
+ function JA(g, A) {
2640
+ const C = p(g), B = { ...T(g) };
2641
2641
  for (const [E, D] of Object.entries(B)) {
2642
2642
  const o = zg(D, A, g);
2643
2643
  o !== D && (B[E] = o);
2644
2644
  }
2645
- return V(Q, B);
2645
+ return V(C, B);
2646
2646
  }
2647
- function e(g) {
2647
+ function f(g) {
2648
2648
  return JSON.stringify(g);
2649
2649
  }
2650
- function xg(g, A, Q) {
2650
+ function xg(g, A, C) {
2651
2651
  if (g != null) {
2652
2652
  if (Array.isArray(g)) {
2653
2653
  if (g.length > 0 && x(g[0]))
2654
- Q.push({ key: A, value: g });
2654
+ C.push({ key: A, value: g });
2655
2655
  else if (g.length > 0 && Array.isArray(g[0])) {
2656
- for (const C of g)
2657
- if (Array.isArray(C))
2658
- for (const B of C)
2659
- x(B) && Q.push({ key: A, value: B });
2656
+ for (const Q of g)
2657
+ if (Array.isArray(Q))
2658
+ for (const B of Q)
2659
+ x(B) && C.push({ key: A, value: B });
2660
2660
  }
2661
2661
  } else if (x(g))
2662
- Q.push({ key: A, value: g });
2662
+ C.push({ key: A, value: g });
2663
2663
  else if (typeof g == "object")
2664
- for (const [, C] of Object.entries(
2664
+ for (const [, Q] of Object.entries(
2665
2665
  g
2666
2666
  ))
2667
- xg(C, A, Q);
2667
+ xg(Q, A, C);
2668
2668
  }
2669
2669
  }
2670
2670
  function Wg(g) {
2671
- const A = [], Q = O(g);
2672
- if (!Q || typeof Q != "object") return A;
2673
- for (const [C, B] of Object.entries(Q))
2674
- xg(B, C, A);
2671
+ const A = [], C = T(g);
2672
+ if (!C || typeof C != "object") return A;
2673
+ for (const [Q, B] of Object.entries(C))
2674
+ xg(B, Q, A);
2675
2675
  return A;
2676
2676
  }
2677
- function Z(g, A, Q = null, C = null, B = null) {
2678
- A.enter && A.enter(g, Q, C, B);
2677
+ function Z(g, A, C = null, Q = null, B = null) {
2678
+ A.enter && A.enter(g, C, Q, B);
2679
2679
  const E = p(g), D = A[E];
2680
- D && D(g, Q, C, B);
2680
+ D && D(g, C, Q, B);
2681
2681
  const o = Wg(g);
2682
2682
  for (const N of o)
2683
- Array.isArray(N.value) ? N.value.forEach((y, G) => {
2684
- Z(y, A, g, N.key, G);
2683
+ Array.isArray(N.value) ? N.value.forEach((K, G) => {
2684
+ Z(K, A, g, N.key, G);
2685
2685
  }) : Z(N.value, A, g, N.key, null);
2686
- A.leave && A.leave(g, Q, C, B);
2686
+ A.leave && A.leave(g, C, Q, B);
2687
2687
  }
2688
2688
  function YA(g, A) {
2689
- const Q = [];
2689
+ const C = [];
2690
2690
  return Z(g, {
2691
- enter: (C, B) => {
2692
- A(C, B) && Q.push(C);
2691
+ enter: (Q, B) => {
2692
+ A(Q, B) && C.push(Q);
2693
2693
  }
2694
- }), Q;
2694
+ }), C;
2695
2695
  }
2696
2696
  function BA(g, A) {
2697
- return YA(g, (Q) => p(Q) === A);
2697
+ return YA(g, (C) => p(C) === A);
2698
2698
  }
2699
2699
  function ng(g, A) {
2700
- let Q, C = !1;
2700
+ let C, Q = !1;
2701
2701
  return Z(g, {
2702
2702
  enter: (B, E) => {
2703
- !C && A(B, E) && (Q = B, C = !0);
2703
+ !Q && A(B, E) && (C = B, Q = !0);
2704
2704
  }
2705
- }), Q;
2705
+ }), C;
2706
2706
  }
2707
2707
  function Zw(g, A) {
2708
2708
  return ng(g, A) !== void 0;
2709
2709
  }
2710
2710
  function Vw(g, A) {
2711
- let Q = !0;
2711
+ let C = !0;
2712
2712
  return Z(g, {
2713
- enter: (C, B) => {
2714
- A(C, B) || (Q = !1);
2713
+ enter: (Q, B) => {
2714
+ A(Q, B) || (C = !1);
2715
2715
  }
2716
- }), Q;
2716
+ }), C;
2717
2717
  }
2718
2718
  function tw(g, A) {
2719
2719
  return YA(g, A).length;
2720
2720
  }
2721
- function eg(g) {
2721
+ function fg(g) {
2722
2722
  return BA(g, "column");
2723
2723
  }
2724
2724
  function zw(g) {
@@ -2728,97 +2728,97 @@ function xw(g) {
2728
2728
  return BA(g, "identifier");
2729
2729
  }
2730
2730
  function Ww(g) {
2731
- const A = JSON.parse(_A(e(g)));
2731
+ const A = JSON.parse(_A(f(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(vA(f(g)));
2736
2736
  return A.success ? JSON.parse(A.ast) : [];
2737
2737
  }
2738
- function fg(g) {
2739
- const A = JSON.parse(Ig(e(g)));
2738
+ function eg(g) {
2739
+ const A = JSON.parse(Ig(f(g)));
2740
2740
  return A.success ? JSON.parse(A.ast) : [];
2741
2741
  }
2742
- function ug(g) {
2743
- const A = JSON.parse(Ag(e(g)));
2742
+ function lg(g) {
2743
+ const A = JSON.parse(Ag(f(g)));
2744
2744
  return A.success ? JSON.parse(A.ast) : [];
2745
2745
  }
2746
2746
  function nw(g) {
2747
- const A = JSON.parse($A(e(g)));
2747
+ const A = JSON.parse($A(f(g)));
2748
2748
  return A.success ? JSON.parse(A.ast) : [];
2749
2749
  }
2750
- function ew(g) {
2751
- const A = JSON.parse(XA(e(g)));
2750
+ function fw(g) {
2751
+ const A = JSON.parse(XA(f(g)));
2752
2752
  return A.success ? A.result : [];
2753
2753
  }
2754
- function fw(g) {
2755
- const A = JSON.parse(gg(e(g)));
2754
+ function ew(g) {
2755
+ const A = JSON.parse(gg(f(g)));
2756
2756
  return A.success ? A.result : [];
2757
2757
  }
2758
- function lg(g) {
2758
+ function rg(g) {
2759
2759
  return IA(g).length > 0;
2760
2760
  }
2761
- function uw(g) {
2762
- return fg(g).length > 0;
2763
- }
2764
2761
  function lw(g) {
2765
- return ug(g).length > 0;
2762
+ return eg(g).length > 0;
2766
2763
  }
2767
2764
  function rw(g) {
2768
- let A = 0, Q = 0;
2765
+ return lg(g).length > 0;
2766
+ }
2767
+ function uw(g) {
2768
+ let A = 0, C = 0;
2769
2769
  return Z(g, {
2770
2770
  enter: () => {
2771
- Q++, A = Math.max(A, Q);
2771
+ C++, A = Math.max(A, C);
2772
2772
  },
2773
2773
  leave: () => {
2774
- Q--;
2774
+ C--;
2775
2775
  }
2776
2776
  }), A;
2777
2777
  }
2778
2778
  function mw(g) {
2779
- const A = JSON.parse(Qg(e(g)));
2779
+ const A = JSON.parse(Cg(f(g)));
2780
2780
  return A.success ? A.result : 0;
2781
2781
  }
2782
2782
  function bw(g, A) {
2783
- let Q = null;
2783
+ let C = null;
2784
2784
  return Z(g, {
2785
- enter: (C, B) => {
2786
- C === A && (Q = B);
2785
+ enter: (Q, B) => {
2786
+ Q === A && (C = B);
2787
2787
  }
2788
- }), Q;
2788
+ }), C;
2789
2789
  }
2790
- function vw(g, A, Q) {
2791
- const C = [];
2790
+ function vw(g, A, C) {
2791
+ const Q = [];
2792
2792
  let B = null;
2793
2793
  return Z(g, {
2794
2794
  enter: (E) => {
2795
2795
  if (B === null) {
2796
2796
  if (E === A)
2797
- for (let D = C.length - 1; D >= 0; D--) {
2798
- const o = D > 0 ? C[D - 1] : null;
2799
- if (Q(C[D], o)) {
2800
- B = C[D];
2797
+ for (let D = Q.length - 1; D >= 0; D--) {
2798
+ const o = D > 0 ? Q[D - 1] : null;
2799
+ if (C(Q[D], o)) {
2800
+ B = Q[D];
2801
2801
  break;
2802
2802
  }
2803
2803
  }
2804
- C.push(E);
2804
+ Q.push(E);
2805
2805
  }
2806
2806
  },
2807
2807
  leave: () => {
2808
- C.pop();
2808
+ Q.pop();
2809
2809
  }
2810
2810
  }), B;
2811
2811
  }
2812
2812
  function Xw(g, A) {
2813
- let Q = 0, C = 0;
2813
+ let C = 0, Q = 0;
2814
2814
  return Z(g, {
2815
2815
  enter: (B) => {
2816
- C++, B === A && (Q = C);
2816
+ Q++, B === A && (C = Q);
2817
2817
  },
2818
2818
  leave: () => {
2819
- C--;
2819
+ Q--;
2820
2820
  }
2821
- }), Q;
2821
+ }), C;
2822
2822
  }
2823
2823
  const _w = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2824
2824
  __proto__: null,
@@ -2833,59 +2833,59 @@ const _w = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2833
2833
  findFirst: ng,
2834
2834
  getAggregateFunctions: IA,
2835
2835
  getChildren: Wg,
2836
- getColumnNames: ew,
2837
- getColumns: eg,
2838
- getDepth: rw,
2839
- getExprData: O,
2836
+ getColumnNames: fw,
2837
+ getColumns: fg,
2838
+ getDepth: uw,
2839
+ getExprData: T,
2840
2840
  getExprType: p,
2841
2841
  getFunctions: Ww,
2842
2842
  getIdentifiers: xw,
2843
- getInferredType: Pg,
2843
+ getInferredType: Og,
2844
2844
  getLiterals: nw,
2845
2845
  getNodeDepth: Xw,
2846
2846
  getParent: bw,
2847
- getSubqueries: ug,
2848
- getTableNames: fw,
2847
+ getSubqueries: lg,
2848
+ getTableNames: ew,
2849
2849
  getTables: zw,
2850
- getWindowFunctions: fg,
2851
- hasAggregates: lg,
2852
- hasSubqueries: lw,
2853
- hasWindowFunctions: uw,
2850
+ getWindowFunctions: eg,
2851
+ hasAggregates: rg,
2852
+ hasSubqueries: rw,
2853
+ hasWindowFunctions: lw,
2854
2854
  isAdd: qD,
2855
2855
  isAggregateFunction: zD,
2856
2856
  isAlias: ww,
2857
2857
  isAlterTable: Nw,
2858
2858
  isAnd: hD,
2859
- isArithmetic: Jw,
2860
- isAvg: eD,
2859
+ isArithmetic: Hw,
2860
+ isAvg: fD,
2861
2861
  isBetween: ZD,
2862
2862
  isBoolean: GD,
2863
2863
  isCase: XD,
2864
2864
  isCast: mD,
2865
- isCoalesce: lD,
2866
- isColumn: Tg,
2865
+ isCoalesce: rD,
2866
+ isColumn: Pg,
2867
2867
  isComparison: cw,
2868
2868
  isConcat: jD,
2869
2869
  isCount: WD,
2870
- isCreateIndex: yw,
2871
- isCreateTable: kw,
2870
+ isCreateIndex: Kw,
2871
+ isCreateTable: Mw,
2872
2872
  isCreateView: Gw,
2873
2873
  isCte: Dw,
2874
2874
  isDDL: Uw,
2875
2875
  isDelete: wD,
2876
- isDiv: OD,
2877
- isDropIndex: Kw,
2878
- isDropTable: Mw,
2876
+ isDiv: TD,
2877
+ isDropIndex: yw,
2878
+ isDropTable: kw,
2879
2879
  isDropView: Yw,
2880
- isEq: JD,
2881
- isExcept: kD,
2880
+ isEq: HD,
2881
+ isExcept: MD,
2882
2882
  isExists: tD,
2883
2883
  isExpressionValue: x,
2884
2884
  isFrom: _D,
2885
2885
  isFunction: dg,
2886
2886
  isGroupBy: gw,
2887
- isGt: LD,
2888
- isGte: RD,
2887
+ isGt: RD,
2888
+ isGte: LD,
2889
2889
  isHaving: Iw,
2890
2890
  isILike: aD,
2891
2891
  isIdentifier: ND,
@@ -2895,33 +2895,33 @@ const _w = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2895
2895
  isIsNull: VD,
2896
2896
  isJoin: $D,
2897
2897
  isLike: sD,
2898
- isLimit: Cw,
2898
+ isLimit: Qw,
2899
2899
  isLiteral: jg,
2900
- isLogical: Hw,
2900
+ isLogical: Jw,
2901
2901
  isLt: UD,
2902
2902
  isLte: FD,
2903
- isMax: uD,
2904
- isMin: fD,
2905
- isMod: TD,
2906
- isMul: PD,
2907
- isNeq: HD,
2903
+ isMax: lD,
2904
+ isMin: eD,
2905
+ isMod: PD,
2906
+ isMul: OD,
2907
+ isNeq: JD,
2908
2908
  isNot: cD,
2909
- isNullIf: rD,
2909
+ isNullIf: uD,
2910
2910
  isNullLiteral: YD,
2911
2911
  isOffset: Bw,
2912
2912
  isOr: SD,
2913
- isOrderBy: Qw,
2913
+ isOrderBy: Cw,
2914
2914
  isOrdered: ow,
2915
2915
  isParen: iw,
2916
2916
  isQuery: hw,
2917
2917
  isSafeCast: vD,
2918
- isSelect: Og,
2918
+ isSelect: Tg,
2919
2919
  isSetOperation: Sw,
2920
- isStar: KD,
2920
+ isStar: yD,
2921
2921
  isSub: pD,
2922
- isSubquery: MD,
2922
+ isSubquery: kD,
2923
2923
  isSum: nD,
2924
- isTable: yD,
2924
+ isTable: KD,
2925
2925
  isTryCast: bD,
2926
2926
  isUnion: iD,
2927
2927
  isUpdate: DD,
@@ -2930,29 +2930,29 @@ const _w = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2930
2930
  isWith: Ew,
2931
2931
  makeExpr: V,
2932
2932
  nodeCount: mw,
2933
- qualifyColumns: Rw,
2934
- remove: HA,
2935
- removeLimitOffset: Tw,
2933
+ qualifyColumns: Lw,
2934
+ remove: JA,
2935
+ removeLimitOffset: Pw,
2936
2936
  removeSelectColumns: pw,
2937
2937
  removeWhere: aw,
2938
2938
  renameColumns: tg,
2939
- renameTables: Lw,
2939
+ renameTables: Rw,
2940
2940
  replaceByType: Fw,
2941
2941
  replaceNodes: Vg,
2942
2942
  setDistinct: jw,
2943
- setLimit: Pw,
2944
- setOffset: Ow,
2943
+ setLimit: Ow,
2944
+ setOffset: Tw,
2945
2945
  some: Zw,
2946
2946
  transform: GA,
2947
2947
  walk: Z
2948
2948
  }, Symbol.toStringTag, { value: "Module" }));
2949
- function H(g) {
2950
- return g instanceof c ? g._w : typeof g == "string" ? UA(g) : typeof g == "number" || typeof g == "boolean" || g === null ? NA(g) : yA();
2949
+ function J(g) {
2950
+ return g instanceof c ? g._w : typeof g == "string" ? UA(g) : typeof g == "number" || typeof g == "boolean" || g === null ? NA(g) : KA();
2951
2951
  }
2952
2952
  function d(g) {
2953
- const A = new P();
2954
- for (const Q of g)
2955
- Q instanceof c ? A.push(Q._w) : typeof Q == "string" ? A.push_col(Q) : typeof Q == "number" ? Number.isInteger(Q) ? A.push_int(Q) : A.push_float(Q) : typeof Q == "boolean" || Q === null ? A.push(NA(Q)) : A.push(yA());
2953
+ const A = new O();
2954
+ for (const C of g)
2955
+ C instanceof c ? A.push(C._w) : typeof C == "string" ? A.push_col(C) : typeof C == "number" ? Number.isInteger(C) ? A.push_int(C) : A.push_float(C) : typeof C == "boolean" || C === null ? A.push(NA(C)) : A.push(KA());
2956
2956
  return A;
2957
2957
  }
2958
2958
  class c {
@@ -2964,58 +2964,58 @@ class c {
2964
2964
  }
2965
2965
  // -- Comparison --
2966
2966
  eq(A) {
2967
- return new c(this._w.eq(H(A)));
2967
+ return new c(this._w.eq(J(A)));
2968
2968
  }
2969
2969
  neq(A) {
2970
- return new c(this._w.neq(H(A)));
2970
+ return new c(this._w.neq(J(A)));
2971
2971
  }
2972
2972
  lt(A) {
2973
- return new c(this._w.lt(H(A)));
2973
+ return new c(this._w.lt(J(A)));
2974
2974
  }
2975
2975
  lte(A) {
2976
- return new c(this._w.lte(H(A)));
2976
+ return new c(this._w.lte(J(A)));
2977
2977
  }
2978
2978
  gt(A) {
2979
- return new c(this._w.gt(H(A)));
2979
+ return new c(this._w.gt(J(A)));
2980
2980
  }
2981
2981
  gte(A) {
2982
- return new c(this._w.gte(H(A)));
2982
+ return new c(this._w.gte(J(A)));
2983
2983
  }
2984
2984
  // -- Logical --
2985
2985
  and(A) {
2986
- return new c(this._w.and(H(A)));
2986
+ return new c(this._w.and(J(A)));
2987
2987
  }
2988
2988
  or(A) {
2989
- return new c(this._w.or(H(A)));
2989
+ return new c(this._w.or(J(A)));
2990
2990
  }
2991
2991
  not() {
2992
2992
  return new c(this._w.not());
2993
2993
  }
2994
2994
  xor(A) {
2995
- return new c(this._w.xor(H(A)));
2995
+ return new c(this._w.xor(J(A)));
2996
2996
  }
2997
2997
  // -- Arithmetic --
2998
2998
  add(A) {
2999
- return new c(this._w.add(H(A)));
2999
+ return new c(this._w.add(J(A)));
3000
3000
  }
3001
3001
  sub(A) {
3002
- return new c(this._w.sub(H(A)));
3002
+ return new c(this._w.sub(J(A)));
3003
3003
  }
3004
3004
  mul(A) {
3005
- return new c(this._w.mul(H(A)));
3005
+ return new c(this._w.mul(J(A)));
3006
3006
  }
3007
3007
  div(A) {
3008
- return new c(this._w.div(H(A)));
3008
+ return new c(this._w.div(J(A)));
3009
3009
  }
3010
3010
  // -- Pattern matching --
3011
3011
  like(A) {
3012
- return new c(this._w.like(H(A)));
3012
+ return new c(this._w.like(J(A)));
3013
3013
  }
3014
3014
  ilike(A) {
3015
- return new c(this._w.ilike(H(A)));
3015
+ return new c(this._w.ilike(J(A)));
3016
3016
  }
3017
3017
  rlike(A) {
3018
- return new c(this._w.rlike(H(A)));
3018
+ return new c(this._w.rlike(J(A)));
3019
3019
  }
3020
3020
  // -- Predicates --
3021
3021
  isNull() {
@@ -3024,8 +3024,8 @@ class c {
3024
3024
  isNotNull() {
3025
3025
  return new c(this._w.is_not_null());
3026
3026
  }
3027
- between(A, Q) {
3028
- return new c(this._w.between(H(A), H(Q)));
3027
+ between(A, C) {
3028
+ return new c(this._w.between(J(A), J(C)));
3029
3029
  }
3030
3030
  inList(...A) {
3031
3031
  return new c(this._w.in_list(d(A)));
@@ -3067,7 +3067,7 @@ class $w {
3067
3067
  /** @internal WASM handle */
3068
3068
  _w;
3069
3069
  constructor() {
3070
- this._w = new CA();
3070
+ this._w = new QA();
3071
3071
  }
3072
3072
  /** Set the PARTITION BY expressions. */
3073
3073
  partitionBy(...A) {
@@ -3088,170 +3088,170 @@ function Ai(g) {
3088
3088
  function gi(g) {
3089
3089
  return new c(NA(g));
3090
3090
  }
3091
- function rg() {
3091
+ function ug() {
3092
3092
  return new c(sg());
3093
3093
  }
3094
3094
  function Ii() {
3095
- return new c(yA());
3095
+ return new c(KA());
3096
3096
  }
3097
- function LA(g) {
3097
+ function RA(g) {
3098
3098
  return new c(hg(g));
3099
3099
  }
3100
- function Qi(g) {
3100
+ function Ci(g) {
3101
3101
  return new c(qg(g));
3102
3102
  }
3103
3103
  function mg(g) {
3104
- return new c(Rg(g));
3104
+ return new c(Lg(g));
3105
3105
  }
3106
- function Ci(g) {
3106
+ function Qi(g) {
3107
3107
  return mg(g);
3108
3108
  }
3109
- function L(g, ...A) {
3109
+ function R(g, ...A) {
3110
3110
  return new c(Ug(g, d(A)));
3111
3111
  }
3112
3112
  function Bi(g) {
3113
- return new c(Fg(H(g)));
3113
+ return new c(Fg(J(g)));
3114
3114
  }
3115
3115
  function Ei(g, A) {
3116
- return new c(cg(H(g), A));
3116
+ return new c(cg(J(g), A));
3117
3117
  }
3118
3118
  function Di(g, A) {
3119
- return new c(Gg(H(g), A));
3119
+ return new c(Gg(J(g), A));
3120
3120
  }
3121
3121
  function wi(g, A) {
3122
3122
  return new c(ag(g._w, A));
3123
3123
  }
3124
3124
  function ii(...g) {
3125
- if (g.length === 0) return LA(!0);
3125
+ if (g.length === 0) return RA(!0);
3126
3126
  if (g.length === 1)
3127
- return g[0] instanceof c ? g[0] : new c(H(g[0]));
3128
- let A = H(g[0]);
3129
- for (let Q = 1; Q < g.length; Q++)
3130
- A = Yg(A, H(g[Q]));
3127
+ return g[0] instanceof c ? g[0] : new c(J(g[0]));
3128
+ let A = J(g[0]);
3129
+ for (let C = 1; C < g.length; C++)
3130
+ A = Yg(A, J(g[C]));
3131
3131
  return new c(A);
3132
3132
  }
3133
3133
  function oi(...g) {
3134
- if (g.length === 0) return LA(!1);
3134
+ if (g.length === 0) return RA(!1);
3135
3135
  if (g.length === 1)
3136
- return g[0] instanceof c ? g[0] : new c(H(g[0]));
3137
- let A = H(g[0]);
3138
- for (let Q = 1; Q < g.length; Q++)
3139
- A = Lg(A, H(g[Q]));
3136
+ return g[0] instanceof c ? g[0] : new c(J(g[0]));
3137
+ let A = J(g[0]);
3138
+ for (let C = 1; C < g.length; C++)
3139
+ A = Rg(A, J(g[C]));
3140
3140
  return new c(A);
3141
3141
  }
3142
- function ki(g) {
3143
- return g !== void 0 ? L("COUNT", g) : L("COUNT", rg());
3144
- }
3145
3142
  function Mi(g) {
3146
- return new c(Jg(H(g)));
3143
+ return g !== void 0 ? R("COUNT", g) : R("COUNT", ug());
3147
3144
  }
3148
- function Ni(g) {
3149
- return L("SUM", g);
3145
+ function ki(g) {
3146
+ return new c(Hg(J(g)));
3150
3147
  }
3151
- function yi(g) {
3152
- return L("AVG", g);
3148
+ function Ni(g) {
3149
+ return R("SUM", g);
3153
3150
  }
3154
3151
  function Ki(g) {
3155
- return L("MIN", g);
3152
+ return R("AVG", g);
3153
+ }
3154
+ function yi(g) {
3155
+ return R("MIN", g);
3156
3156
  }
3157
3157
  function Gi(g) {
3158
- return L("MAX", g);
3158
+ return R("MAX", g);
3159
3159
  }
3160
3160
  function Yi(g) {
3161
- return L("UPPER", g);
3161
+ return R("UPPER", g);
3162
3162
  }
3163
3163
  function hi(g) {
3164
- return L("LOWER", g);
3164
+ return R("LOWER", g);
3165
3165
  }
3166
3166
  function Si(g) {
3167
- return L("LENGTH", g);
3167
+ return R("LENGTH", g);
3168
3168
  }
3169
3169
  function ci(g) {
3170
- return L("TRIM", g);
3171
- }
3172
- function Ji(g) {
3173
- return L("LTRIM", g);
3170
+ return R("TRIM", g);
3174
3171
  }
3175
3172
  function Hi(g) {
3176
- return L("RTRIM", g);
3173
+ return R("LTRIM", g);
3174
+ }
3175
+ function Ji(g) {
3176
+ return R("RTRIM", g);
3177
3177
  }
3178
3178
  function Ui(g) {
3179
- return L("REVERSE", g);
3179
+ return R("REVERSE", g);
3180
3180
  }
3181
3181
  function Fi(g) {
3182
- return L("INITCAP", g);
3182
+ return R("INITCAP", g);
3183
3183
  }
3184
- function Li(g, A, Q) {
3185
- return Q !== void 0 ? L("SUBSTRING", g, A, Q) : L("SUBSTRING", g, A);
3184
+ function Ri(g, A, C) {
3185
+ return C !== void 0 ? R("SUBSTRING", g, A, C) : R("SUBSTRING", g, A);
3186
3186
  }
3187
- function Ri(g, A, Q) {
3188
- return L("REPLACE", g, A, Q);
3187
+ function Li(g, A, C) {
3188
+ return R("REPLACE", g, A, C);
3189
3189
  }
3190
3190
  function si(g, ...A) {
3191
- return L("CONCAT_WS", g, ...A);
3191
+ return R("CONCAT_WS", g, ...A);
3192
3192
  }
3193
3193
  function ai(...g) {
3194
- return L("COALESCE", ...g);
3194
+ return R("COALESCE", ...g);
3195
3195
  }
3196
3196
  function qi(g, A) {
3197
- return L("NULLIF", g, A);
3197
+ return R("NULLIF", g, A);
3198
3198
  }
3199
3199
  function pi(g, A) {
3200
- return L("IFNULL", g, A);
3200
+ return R("IFNULL", g, A);
3201
3201
  }
3202
- function Pi(g) {
3203
- return L("ABS", g);
3202
+ function Oi(g) {
3203
+ return R("ABS", g);
3204
3204
  }
3205
- function Oi(g, A) {
3206
- return A !== void 0 ? L("ROUND", g, A) : L("ROUND", g);
3205
+ function Ti(g, A) {
3206
+ return A !== void 0 ? R("ROUND", g, A) : R("ROUND", g);
3207
3207
  }
3208
- function Ti(g) {
3209
- return L("FLOOR", g);
3208
+ function Pi(g) {
3209
+ return R("FLOOR", g);
3210
3210
  }
3211
3211
  function ji(g) {
3212
- return L("CEIL", g);
3212
+ return R("CEIL", g);
3213
3213
  }
3214
3214
  function di(g, A) {
3215
- return L("POWER", g, A);
3215
+ return R("POWER", g, A);
3216
3216
  }
3217
3217
  function Zi(g) {
3218
- return L("SQRT", g);
3218
+ return R("SQRT", g);
3219
3219
  }
3220
3220
  function Vi(g) {
3221
- return L("LN", g);
3221
+ return R("LN", g);
3222
3222
  }
3223
3223
  function ti(g) {
3224
- return L("EXP", g);
3224
+ return R("EXP", g);
3225
3225
  }
3226
3226
  function zi(g) {
3227
- return L("SIGN", g);
3227
+ return R("SIGN", g);
3228
3228
  }
3229
3229
  function xi(...g) {
3230
- return L("GREATEST", ...g);
3230
+ return R("GREATEST", ...g);
3231
3231
  }
3232
3232
  function Wi(...g) {
3233
- return L("LEAST", ...g);
3233
+ return R("LEAST", ...g);
3234
3234
  }
3235
3235
  function ni() {
3236
- return L("CURRENT_DATE");
3237
- }
3238
- function ei() {
3239
- return L("CURRENT_TIME");
3236
+ return R("CURRENT_DATE");
3240
3237
  }
3241
3238
  function fi() {
3242
- return L("CURRENT_TIMESTAMP");
3239
+ return R("CURRENT_TIME");
3243
3240
  }
3244
- function ui(g, A) {
3245
- return new c(Hg(g, H(A)));
3241
+ function ei() {
3242
+ return R("CURRENT_TIMESTAMP");
3246
3243
  }
3247
- function li() {
3248
- return L("ROW_NUMBER");
3244
+ function li(g, A) {
3245
+ return new c(Jg(g, J(A)));
3249
3246
  }
3250
3247
  function ri() {
3251
- return L("RANK");
3248
+ return R("ROW_NUMBER");
3249
+ }
3250
+ function ui() {
3251
+ return R("RANK");
3252
3252
  }
3253
3253
  function mi() {
3254
- return L("DENSE_RANK");
3254
+ return R("DENSE_RANK");
3255
3255
  }
3256
3256
  class bg {
3257
3257
  /** @internal */
@@ -3261,8 +3261,8 @@ class bg {
3261
3261
  }
3262
3262
  /** Add columns to the SELECT list. Accepts Expr, strings (→ col), or '*'. */
3263
3263
  select(...A) {
3264
- for (const Q of A)
3265
- Q === "*" ? this._w.select_star() : Q instanceof c ? this._w.select_expr(Q._w) : typeof Q == "string" ? this._w.select_col(Q) : this._w.select_expr(H(Q));
3264
+ for (const C of A)
3265
+ C === "*" ? this._w.select_star() : C instanceof c ? this._w.select_expr(C._w) : typeof C == "string" ? this._w.select_col(C) : this._w.select_expr(J(C));
3266
3266
  return this;
3267
3267
  }
3268
3268
  /** Set the FROM clause. */
@@ -3270,16 +3270,16 @@ class bg {
3270
3270
  return typeof A == "string" ? this._w.from(A) : this._w.from_expr(A._w), this;
3271
3271
  }
3272
3272
  /** Add an INNER JOIN. */
3273
- join(A, Q) {
3274
- return this._w.join(A, H(Q)), this;
3273
+ join(A, C) {
3274
+ return this._w.join(A, J(C)), this;
3275
3275
  }
3276
3276
  /** Add a LEFT JOIN. */
3277
- leftJoin(A, Q) {
3278
- return this._w.left_join(A, H(Q)), this;
3277
+ leftJoin(A, C) {
3278
+ return this._w.left_join(A, J(C)), this;
3279
3279
  }
3280
3280
  /** Add a RIGHT JOIN. */
3281
- rightJoin(A, Q) {
3282
- return this._w.right_join(A, H(Q)), this;
3281
+ rightJoin(A, C) {
3282
+ return this._w.right_join(A, J(C)), this;
3283
3283
  }
3284
3284
  /** Add a CROSS JOIN. */
3285
3285
  crossJoin(A) {
@@ -3287,7 +3287,7 @@ class bg {
3287
3287
  }
3288
3288
  /** Set the WHERE clause. Accepts an Expr or a raw SQL string. */
3289
3289
  where(A) {
3290
- return typeof A == "string" ? this._w.where_sql(A) : A instanceof c ? this._w.where_expr(A._w) : this._w.where_expr(H(A)), this;
3290
+ return typeof A == "string" ? this._w.where_sql(A) : A instanceof c ? this._w.where_expr(A._w) : this._w.where_expr(J(A)), this;
3291
3291
  }
3292
3292
  /** Set the GROUP BY clause. */
3293
3293
  groupBy(...A) {
@@ -3295,7 +3295,7 @@ class bg {
3295
3295
  }
3296
3296
  /** Set the HAVING clause. */
3297
3297
  having(A) {
3298
- return this._w.having(H(A)), this;
3298
+ return this._w.having(J(A)), this;
3299
3299
  }
3300
3300
  /** Set the ORDER BY clause. */
3301
3301
  orderBy(...A) {
@@ -3315,19 +3315,19 @@ class bg {
3315
3315
  }
3316
3316
  /** Set the QUALIFY clause (Snowflake/BigQuery/DuckDB). */
3317
3317
  qualify(A) {
3318
- return this._w.qualify(H(A)), this;
3318
+ return this._w.qualify(J(A)), this;
3319
3319
  }
3320
3320
  /** Set the SORT BY clause (Hive/Spark — sorts within each partition). */
3321
3321
  sortBy(...A) {
3322
3322
  return this._w.sort_by_exprs(d(A)), this;
3323
3323
  }
3324
3324
  /** Add a named WINDOW clause definition. */
3325
- window(A, Q) {
3326
- return this._w.window(A, Q._w), this;
3325
+ window(A, C) {
3326
+ return this._w.window(A, C._w), this;
3327
3327
  }
3328
3328
  /** Add a LATERAL VIEW clause (Hive/Spark UDTF expansion). */
3329
- lateral(A, Q, C) {
3330
- return this._w.lateral_view(A._w, Q, C), this;
3329
+ lateral(A, C, Q) {
3330
+ return this._w.lateral_view(A._w, C, Q), this;
3331
3331
  }
3332
3332
  /** Add a query hint (e.g. Oracle hint expressions). */
3333
3333
  hint(A) {
@@ -3344,8 +3344,8 @@ class bg {
3344
3344
  * Convert to CREATE TABLE AS SELECT and return generated SQL.
3345
3345
  * This is a terminal operation that consumes the builder.
3346
3346
  */
3347
- ctasSql(A, Q = "generic") {
3348
- return this._w.ctas_sql(A, Q);
3347
+ ctasSql(A, C = "generic") {
3348
+ return this._w.ctas_sql(A, C);
3349
3349
  }
3350
3350
  /** Add FOR UPDATE locking. */
3351
3351
  forUpdate() {
@@ -3425,15 +3425,15 @@ class _g {
3425
3425
  /** @internal */
3426
3426
  _w;
3427
3427
  constructor(A) {
3428
- this._w = new MA(A);
3428
+ this._w = new kA(A);
3429
3429
  }
3430
3430
  /** Add a SET column = value assignment. */
3431
- set(A, Q) {
3432
- return this._w.set(A, H(Q)), this;
3431
+ set(A, C) {
3432
+ return this._w.set(A, J(C)), this;
3433
3433
  }
3434
3434
  /** Set the WHERE clause. */
3435
3435
  where(A) {
3436
- return this._w.where_expr(H(A)), this;
3436
+ return this._w.where_expr(J(A)), this;
3437
3437
  }
3438
3438
  /** Set the FROM clause (PostgreSQL/Snowflake UPDATE ... FROM). */
3439
3439
  from(A) {
@@ -3463,7 +3463,7 @@ class $g {
3463
3463
  }
3464
3464
  /** Set the WHERE clause. */
3465
3465
  where(A) {
3466
- return this._w.where_expr(H(A)), this;
3466
+ return this._w.where_expr(J(A)), this;
3467
3467
  }
3468
3468
  /** Generate SQL string. Defaults to generic dialect. */
3469
3469
  toSql(A = "generic") {
@@ -3488,26 +3488,26 @@ class gI {
3488
3488
  /** @internal */
3489
3489
  _w;
3490
3490
  constructor(A) {
3491
- this._w = new kA(A);
3491
+ this._w = new MA(A);
3492
3492
  }
3493
3493
  /** Set the source table and ON condition. */
3494
- using(A, Q) {
3495
- return this._w.using(A, H(Q)), this;
3494
+ using(A, C) {
3495
+ return this._w.using(A, J(C)), this;
3496
3496
  }
3497
3497
  /** Add a WHEN MATCHED THEN UPDATE SET clause. */
3498
3498
  whenMatchedUpdate(A) {
3499
- const Q = new QA();
3500
- for (const [C, B] of Object.entries(A))
3501
- Q.push(C, H(B));
3502
- return this._w.when_matched_update(Q), this;
3499
+ const C = new CA();
3500
+ for (const [Q, B] of Object.entries(A))
3501
+ C.push(Q, J(B));
3502
+ return this._w.when_matched_update(C), this;
3503
3503
  }
3504
3504
  /** Add a WHEN MATCHED THEN DELETE clause. */
3505
3505
  whenMatchedDelete() {
3506
3506
  return this._w.when_matched_delete(), this;
3507
3507
  }
3508
3508
  /** Add a WHEN NOT MATCHED THEN INSERT clause. */
3509
- whenNotMatchedInsert(A, Q) {
3510
- return this._w.when_not_matched_insert(A, d(Q)), this;
3509
+ whenNotMatchedInsert(A, C) {
3510
+ return this._w.when_not_matched_insert(A, d(C)), this;
3511
3511
  }
3512
3512
  /** Generate SQL string. Defaults to generic dialect. */
3513
3513
  toSql(A = "generic") {
@@ -3525,7 +3525,7 @@ class gI {
3525
3525
  function $i(g) {
3526
3526
  return new gI(g);
3527
3527
  }
3528
- class RA {
3528
+ class LA {
3529
3529
  /** @internal */
3530
3530
  _w;
3531
3531
  /** @internal */
@@ -3533,12 +3533,12 @@ class RA {
3533
3533
  this._w = A;
3534
3534
  }
3535
3535
  /** Add a WHEN condition THEN result branch. */
3536
- when(A, Q) {
3537
- return this._w.when(H(A), H(Q)), this;
3536
+ when(A, C) {
3537
+ return this._w.when(J(A), J(C)), this;
3538
3538
  }
3539
3539
  /** Set the ELSE result. */
3540
3540
  else_(A) {
3541
- return this._w.else_(H(A)), this;
3541
+ return this._w.else_(J(A)), this;
3542
3542
  }
3543
3543
  /** Build the CASE expression as an Expr. */
3544
3544
  build() {
@@ -3550,10 +3550,10 @@ class RA {
3550
3550
  }
3551
3551
  }
3552
3552
  function Ao() {
3553
- return new RA(new l());
3553
+ return new LA(new r());
3554
3554
  }
3555
3555
  function go(g) {
3556
- return new RA(Sg(H(g)));
3556
+ return new LA(Sg(J(g)));
3557
3557
  }
3558
3558
  class _ {
3559
3559
  /** @internal */
@@ -3590,24 +3590,24 @@ class _ {
3590
3590
  function Io(g, A) {
3591
3591
  return g.union(A);
3592
3592
  }
3593
- function Qo(g, A) {
3593
+ function Co(g, A) {
3594
3594
  return g.unionAll(A);
3595
3595
  }
3596
- function Co(g, A) {
3596
+ function Qo(g, A) {
3597
3597
  return g.intersect(A);
3598
3598
  }
3599
3599
  function Bo(g, A) {
3600
3600
  return g.except(A);
3601
3601
  }
3602
3602
  function Eo(g, A) {
3603
- const Q = [];
3604
- return p(g) === "select" && Q.push(...Do(g)), Q;
3603
+ const C = [];
3604
+ return p(g) === "select" && C.push(...Do(g)), C;
3605
3605
  }
3606
3606
  function Do(g, A) {
3607
- const Q = [], C = BA(g, "star");
3608
- if (C.length > 0) {
3609
- const D = O(C[0])?.span;
3610
- Q.push({
3607
+ const C = [], Q = BA(g, "star");
3608
+ if (Q.length > 0) {
3609
+ const D = T(Q[0])?.span;
3610
+ C.push({
3611
3611
  message: "SELECT * is discouraged; specify columns explicitly for better performance and maintainability",
3612
3612
  severity: "warning",
3613
3613
  code: "W001",
@@ -3617,35 +3617,35 @@ function Do(g, A) {
3617
3617
  end: D?.end
3618
3618
  });
3619
3619
  }
3620
- const B = O(g);
3621
- if (lg(g) && !B.group_by) {
3620
+ const B = T(g);
3621
+ if (rg(g) && !B.group_by) {
3622
3622
  const E = IA(g), D = B.expressions || [];
3623
3623
  if (D.some((N) => {
3624
- const y = p(N);
3625
- return y === "column" || y === "identifier" ? IA(N).length === 0 : !1;
3624
+ const K = p(N);
3625
+ return K === "column" || K === "identifier" ? IA(N).length === 0 : !1;
3626
3626
  }) && E.length > 0) {
3627
3627
  const N = D.find((G) => {
3628
3628
  const S = p(G);
3629
3629
  return S === "column" || S === "identifier" ? IA(G).length === 0 : !1;
3630
- }), y = N ? O(N)?.span : void 0;
3631
- Q.push({
3630
+ }), K = N ? T(N)?.span : void 0;
3631
+ C.push({
3632
3632
  message: "Mixing aggregate functions with non-aggregated columns without GROUP BY may cause errors in strict SQL mode",
3633
3633
  severity: "warning",
3634
3634
  code: "W002",
3635
- line: y?.line,
3636
- column: y?.column,
3637
- start: y?.start,
3638
- end: y?.end
3635
+ line: K?.line,
3636
+ column: K?.column,
3637
+ start: K?.start,
3638
+ end: K?.end
3639
3639
  });
3640
3640
  }
3641
3641
  }
3642
- if (B.distinct && B.order_by && Q.push({
3642
+ if (B.distinct && B.order_by && C.push({
3643
3643
  message: "DISTINCT with ORDER BY: ensure ORDER BY columns are in SELECT list",
3644
3644
  severity: "warning",
3645
3645
  code: "W003"
3646
3646
  }), B.limit && !B.order_by) {
3647
- const E = B.limit, D = E ? O(E)?.span : void 0;
3648
- Q.push({
3647
+ const E = B.limit, D = E ? T(E)?.span : void 0;
3648
+ C.push({
3649
3649
  message: "LIMIT without ORDER BY produces non-deterministic results",
3650
3650
  severity: "warning",
3651
3651
  code: "W004",
@@ -3655,7 +3655,7 @@ function Do(g, A) {
3655
3655
  end: D?.end
3656
3656
  });
3657
3657
  }
3658
- return Q;
3658
+ return C;
3659
3659
  }
3660
3660
  function wo(g) {
3661
3661
  try {
@@ -3673,17 +3673,17 @@ function wo(g) {
3673
3673
  };
3674
3674
  }
3675
3675
  }
3676
- function io(g, A, Q = "generic", C = {}) {
3677
- const B = C.strict ?? A.strict ?? !0, E = {
3678
- check_types: C.checkTypes ?? !1,
3679
- check_references: C.checkReferences ?? !1,
3676
+ function io(g, A, C = "generic", Q = {}) {
3677
+ const B = Q.strict ?? A.strict ?? !0, E = {
3678
+ check_types: Q.checkTypes ?? !1,
3679
+ check_references: Q.checkReferences ?? !1,
3680
3680
  strict: B,
3681
- semantic: C.semantic ?? !1,
3682
- strict_syntax: C.strictSyntax ?? !1
3683
- }, D = Kg(
3681
+ semantic: Q.semantic ?? !1,
3682
+ strict_syntax: Q.strictSyntax ?? !1
3683
+ }, D = yg(
3684
3684
  g,
3685
3685
  JSON.stringify(A),
3686
- Q,
3686
+ C,
3687
3687
  JSON.stringify(E)
3688
3688
  );
3689
3689
  return wo(D);
@@ -3695,13 +3695,13 @@ const oo = {
3695
3695
  function mA(g) {
3696
3696
  return typeof g == "string" ? JSON.parse(g) : g;
3697
3697
  }
3698
- function ko(g, A = "generic", Q = {}) {
3699
- const C = Q.strictSyntax ? X.validate_with_options(
3698
+ function Mo(g, A = "generic", C = {}) {
3699
+ const Q = C.strictSyntax ? X.validate_with_options(
3700
3700
  g,
3701
3701
  A,
3702
3702
  JSON.stringify({ strictSyntax: !0 })
3703
- ) : X.validate(g, A), B = JSON.parse(C);
3704
- if (!B.valid || !Q.semantic)
3703
+ ) : X.validate(g, A), B = JSON.parse(Q);
3704
+ if (!B.valid || !C.semantic)
3705
3705
  return B;
3706
3706
  const E = typeof X.parse_value == "function" ? mA(
3707
3707
  X.parse_value(g, A)
@@ -3711,35 +3711,35 @@ function ko(g, A = "generic", Q = {}) {
3711
3711
  if (!E.success || !E.ast)
3712
3712
  return B;
3713
3713
  const D = typeof E.ast == "string" ? JSON.parse(E.ast) : E.ast, o = [...B.errors];
3714
- for (const y of D) {
3715
- const G = Eo(y);
3714
+ for (const K of D) {
3715
+ const G = Eo(K);
3716
3716
  o.push(...G);
3717
3717
  }
3718
3718
  return {
3719
- valid: !o.some((y) => y.severity === "error"),
3719
+ valid: !o.some((K) => K.severity === "error"),
3720
3720
  errors: o
3721
3721
  };
3722
3722
  }
3723
- function II(g, A, Q = "generic", C = !1) {
3724
- const B = kg(A, g, Q, C);
3723
+ function II(g, A, C = "generic", Q = !1) {
3724
+ const B = Mg(A, g, C, Q);
3725
3725
  return JSON.parse(B);
3726
3726
  }
3727
- function QI(g, A, Q, C = "generic", B = !1) {
3728
- const E = Mg(
3727
+ function CI(g, A, C, Q = "generic", B = !1) {
3728
+ const E = kg(
3729
3729
  A,
3730
3730
  g,
3731
- JSON.stringify(Q),
3732
- C,
3731
+ JSON.stringify(C),
3732
+ Q,
3733
3733
  B
3734
3734
  );
3735
3735
  return JSON.parse(E);
3736
3736
  }
3737
- function CI(g, A, Q = "generic") {
3738
- const C = yg(A, g, Q);
3739
- return JSON.parse(C);
3737
+ function QI(g, A, C = "generic") {
3738
+ const Q = Kg(A, g, C);
3739
+ return JSON.parse(Q);
3740
3740
  }
3741
- function BI(g, A, Q = "generic", C = {}) {
3742
- const { deltaOnly: B = !1, f: E = 0.6, t: D = 0.6 } = C, o = og(g, A, Q, B, E, D);
3741
+ function BI(g, A, C = "generic", Q = {}) {
3742
+ const { deltaOnly: B = !1, f: E = 0.6, t: D = 0.6 } = Q, o = og(g, A, C, B, E, D);
3743
3743
  return JSON.parse(o);
3744
3744
  }
3745
3745
  function EI(g) {
@@ -3749,8 +3749,8 @@ function DI(g) {
3749
3749
  return g.filter((A) => A.type !== "keep");
3750
3750
  }
3751
3751
  function wI(g, A = "generic") {
3752
- const Q = Ng(g, A);
3753
- return JSON.parse(Q);
3752
+ const C = Ng(g, A);
3753
+ return JSON.parse(C);
3754
3754
  }
3755
3755
  var sA = /* @__PURE__ */ ((g) => (g.Generic = "generic", g.PostgreSQL = "postgresql", g.MySQL = "mysql", g.BigQuery = "bigquery", g.Snowflake = "snowflake", g.DuckDB = "duckdb", g.SQLite = "sqlite", g.Hive = "hive", g.Spark = "spark", g.Trino = "trino", g.Presto = "presto", g.Redshift = "redshift", g.TSQL = "tsql", g.Oracle = "oracle", g.ClickHouse = "clickhouse", g.Databricks = "databricks", g.Athena = "athena", g.Teradata = "teradata", g.Doris = "doris", g.StarRocks = "starrocks", g.Materialize = "materialize", g.RisingWave = "risingwave", g.SingleStore = "singlestore", g.CockroachDB = "cockroachdb", g.TiDB = "tidb", g.Druid = "druid", g.Solr = "solr", g.Tableau = "tableau", g.Dune = "dune", g.Fabric = "fabric", g.Drill = "drill", g.Dremio = "dremio", g.Exasol = "exasol", g.DataFusion = "datafusion", g))(sA || {});
3756
3756
  const a = pg;
@@ -3766,7 +3766,7 @@ function aA(g, A) {
3766
3766
  errorColumn: void 0
3767
3767
  };
3768
3768
  }
3769
- function Mo(g, A) {
3769
+ function ko(g, A) {
3770
3770
  return {
3771
3771
  success: !1,
3772
3772
  ast: void 0,
@@ -3784,64 +3784,64 @@ async function iI() {
3784
3784
  function oI() {
3785
3785
  return !0;
3786
3786
  }
3787
- function qA(g, A, Q) {
3787
+ function qA(g, A, C) {
3788
3788
  try {
3789
3789
  return typeof a.transpile_value == "function" ? n(
3790
- a.transpile_value(g, A, Q)
3791
- ) : JSON.parse(a.transpile(g, A, Q));
3792
- } catch (C) {
3793
- return aA("transpile", C);
3790
+ a.transpile_value(g, A, C)
3791
+ ) : JSON.parse(a.transpile(g, A, C));
3792
+ } catch (Q) {
3793
+ return aA("transpile", Q);
3794
3794
  }
3795
3795
  }
3796
3796
  function pA(g, A = "generic") {
3797
3797
  try {
3798
3798
  if (typeof a.parse_value == "function")
3799
3799
  return n(a.parse_value(g, A));
3800
- const Q = JSON.parse(a.parse(g, A));
3801
- return Q.success && typeof Q.ast == "string" && (Q.ast = JSON.parse(Q.ast)), Q;
3802
- } catch (Q) {
3803
- return Mo("parse", Q);
3800
+ const C = JSON.parse(a.parse(g, A));
3801
+ return C.success && typeof C.ast == "string" && (C.ast = JSON.parse(C.ast)), C;
3802
+ } catch (C) {
3803
+ return ko("parse", C);
3804
3804
  }
3805
3805
  }
3806
- function PA(g, A = "generic") {
3806
+ function OA(g, A = "generic") {
3807
3807
  try {
3808
3808
  return typeof a.tokenize_value == "function" ? n(
3809
3809
  a.tokenize_value(g, A)
3810
3810
  ) : JSON.parse(a.tokenize(g, A));
3811
- } catch (Q) {
3811
+ } catch (C) {
3812
3812
  return {
3813
3813
  success: !1,
3814
3814
  tokens: void 0,
3815
- error: `WASM tokenize failed: ${hA(Q)}`
3815
+ error: `WASM tokenize failed: ${hA(C)}`
3816
3816
  };
3817
3817
  }
3818
3818
  }
3819
- function OA(g, A = "generic") {
3819
+ function TA(g, A = "generic") {
3820
3820
  try {
3821
3821
  if (typeof a.generate_value == "function" && Array.isArray(g))
3822
3822
  return n(
3823
3823
  a.generate_value(g, A)
3824
3824
  );
3825
- const Q = JSON.stringify(g);
3826
- return JSON.parse(a.generate(Q, A));
3827
- } catch (Q) {
3828
- return aA("generate", Q);
3825
+ const C = JSON.stringify(g);
3826
+ return JSON.parse(a.generate(C, A));
3827
+ } catch (C) {
3828
+ return aA("generate", C);
3829
3829
  }
3830
3830
  }
3831
- function TA(g, A = "generic") {
3831
+ function PA(g, A = "generic") {
3832
3832
  return jA(g, A, {});
3833
3833
  }
3834
- function jA(g, A = "generic", Q = {}) {
3834
+ function jA(g, A = "generic", C = {}) {
3835
3835
  try {
3836
3836
  return typeof a.format_sql_with_options_value == "function" ? n(
3837
- a.format_sql_with_options_value(g, A, Q)
3837
+ a.format_sql_with_options_value(g, A, C)
3838
3838
  ) : typeof a.format_sql_with_options == "function" ? JSON.parse(
3839
- a.format_sql_with_options(g, A, JSON.stringify(Q))
3839
+ a.format_sql_with_options(g, A, JSON.stringify(C))
3840
3840
  ) : typeof a.format_sql_value == "function" ? n(
3841
3841
  a.format_sql_value(g, A)
3842
3842
  ) : JSON.parse(a.format_sql(g, A));
3843
- } catch (C) {
3844
- return aA("format", C);
3843
+ } catch (Q) {
3844
+ return aA("format", Q);
3845
3845
  }
3846
3846
  }
3847
3847
  function dA() {
@@ -3850,25 +3850,25 @@ function dA() {
3850
3850
  function ZA() {
3851
3851
  return a.version();
3852
3852
  }
3853
- function VA(g, A = "generic", Q) {
3853
+ function VA(g, A = "generic", C) {
3854
3854
  try {
3855
- const C = Q ? JSON.stringify(Q) : "";
3855
+ const Q = C ? JSON.stringify(C) : "";
3856
3856
  return typeof a.annotate_types_value == "function" ? n(
3857
- a.annotate_types_value(g, A, C)
3857
+ a.annotate_types_value(g, A, Q)
3858
3858
  ) : typeof a.annotate_types == "function" ? JSON.parse(
3859
- a.annotate_types(g, A, C)
3859
+ a.annotate_types(g, A, Q)
3860
3860
  ) : {
3861
3861
  success: !1,
3862
3862
  error: "annotate_types not available in this WASM build"
3863
3863
  };
3864
- } catch (C) {
3864
+ } catch (Q) {
3865
3865
  return {
3866
3866
  success: !1,
3867
- error: `WASM annotate_types failed: ${hA(C)}`
3867
+ error: `WASM annotate_types failed: ${hA(Q)}`
3868
3868
  };
3869
3869
  }
3870
3870
  }
3871
- class u {
3871
+ class l {
3872
3872
  static instance = null;
3873
3873
  constructor() {
3874
3874
  }
@@ -3877,7 +3877,7 @@ class u {
3877
3877
  * The WASM module is automatically initialized on import.
3878
3878
  */
3879
3879
  static getInstance() {
3880
- return u.instance || (u.instance = new u()), u.instance;
3880
+ return l.instance || (l.instance = new l()), l.instance;
3881
3881
  }
3882
3882
  /**
3883
3883
  * Transpile SQL from one dialect to another.
@@ -3886,38 +3886,38 @@ class u {
3886
3886
  * Per-dialect builds only support same-dialect and to/from Generic transpilation.
3887
3887
  * Use {@link Polyglot.getDialects} to check available dialects.
3888
3888
  */
3889
- transpile(A, Q, C) {
3890
- return qA(A, Q, C);
3889
+ transpile(A, C, Q) {
3890
+ return qA(A, C, Q);
3891
3891
  }
3892
3892
  /**
3893
3893
  * Parse SQL into an AST.
3894
3894
  */
3895
- parse(A, Q = "generic") {
3896
- return pA(A, Q);
3895
+ parse(A, C = "generic") {
3896
+ return pA(A, C);
3897
3897
  }
3898
3898
  /**
3899
3899
  * Tokenize SQL into a token stream.
3900
3900
  */
3901
- tokenize(A, Q = "generic") {
3902
- return PA(A, Q);
3901
+ tokenize(A, C = "generic") {
3902
+ return OA(A, C);
3903
3903
  }
3904
3904
  /**
3905
3905
  * Generate SQL from an AST.
3906
3906
  */
3907
- generate(A, Q = "generic") {
3908
- return OA(A, Q);
3907
+ generate(A, C = "generic") {
3908
+ return TA(A, C);
3909
3909
  }
3910
3910
  /**
3911
3911
  * Format SQL.
3912
3912
  */
3913
- format(A, Q = "generic") {
3914
- return TA(A, Q);
3913
+ format(A, C = "generic") {
3914
+ return PA(A, C);
3915
3915
  }
3916
3916
  /**
3917
3917
  * Format SQL with explicit guard limits.
3918
3918
  */
3919
- formatWithOptions(A, Q = "generic", C = {}) {
3920
- return jA(A, Q, C);
3919
+ formatWithOptions(A, C = "generic", Q = {}) {
3920
+ return jA(A, C, Q);
3921
3921
  }
3922
3922
  /**
3923
3923
  * Get supported dialects in this build.
@@ -3935,8 +3935,8 @@ class u {
3935
3935
  /**
3936
3936
  * Parse SQL and annotate the AST with inferred type information.
3937
3937
  */
3938
- annotateTypes(A, Q = "generic", C) {
3939
- return VA(A, Q, C);
3938
+ annotateTypes(A, C = "generic", Q) {
3939
+ return VA(A, C, Q);
3940
3940
  }
3941
3941
  }
3942
3942
  const No = {
@@ -3944,42 +3944,42 @@ const No = {
3944
3944
  isInitialized: oI,
3945
3945
  transpile: qA,
3946
3946
  parse: pA,
3947
- tokenize: PA,
3948
- generate: OA,
3949
- format: TA,
3947
+ tokenize: OA,
3948
+ generate: TA,
3949
+ format: PA,
3950
3950
  annotateTypes: VA,
3951
3951
  getDialects: dA,
3952
3952
  getVersion: ZA,
3953
3953
  lineage: II,
3954
- lineageWithSchema: QI,
3955
- getSourceTables: CI,
3954
+ lineageWithSchema: CI,
3955
+ getSourceTables: QI,
3956
3956
  diff: BI,
3957
3957
  hasChanges: EI,
3958
3958
  changesOnly: DI,
3959
3959
  plan: wI,
3960
3960
  Dialect: sA,
3961
- Polyglot: u
3962
- }, yo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3961
+ Polyglot: l
3962
+ }, Ko = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3963
3963
  __proto__: null,
3964
- CaseBuilder: RA,
3964
+ CaseBuilder: LA,
3965
3965
  DeleteBuilder: $g,
3966
3966
  Dialect: sA,
3967
3967
  Expr: c,
3968
3968
  InsertBuilder: vg,
3969
3969
  MergeBuilder: gI,
3970
- Polyglot: u,
3970
+ Polyglot: l,
3971
3971
  SelectBuilder: bg,
3972
3972
  SetOpBuilder: _,
3973
3973
  UpdateBuilder: _g,
3974
3974
  ValidationSeverity: oo,
3975
3975
  WindowDefBuilder: $w,
3976
- abs: Pi,
3976
+ abs: Oi,
3977
3977
  alias: Di,
3978
3978
  and: ii,
3979
3979
  annotateTypes: VA,
3980
3980
  ast: _w,
3981
- avg: yi,
3982
- boolean: LA,
3981
+ avg: Ki,
3982
+ boolean: RA,
3983
3983
  caseOf: go,
3984
3984
  caseWhen: Ao,
3985
3985
  cast: Ei,
@@ -3988,12 +3988,12 @@ const No = {
3988
3988
  coalesce: ai,
3989
3989
  col: Ai,
3990
3990
  concatWs: si,
3991
- condition: Ci,
3992
- count: ki,
3993
- countDistinct: Mi,
3991
+ condition: Qi,
3992
+ count: Mi,
3993
+ countDistinct: ki,
3994
3994
  currentDate: ni,
3995
- currentTime: ei,
3996
- currentTimestamp: fi,
3995
+ currentTime: fi,
3996
+ currentTimestamp: ei,
3997
3997
  default: No,
3998
3998
  del: _i,
3999
3999
  deleteFrom: AI,
@@ -4001,17 +4001,17 @@ const No = {
4001
4001
  diff: BI,
4002
4002
  except: Bo,
4003
4003
  exp: ti,
4004
- extract: ui,
4004
+ extract: li,
4005
4005
  findAll: YA,
4006
- floor: Ti,
4007
- format: TA,
4006
+ floor: Pi,
4007
+ format: PA,
4008
4008
  formatWithOptions: jA,
4009
- func: L,
4010
- generate: OA,
4011
- getColumns: eg,
4009
+ func: R,
4010
+ generate: TA,
4011
+ getColumns: fg,
4012
4012
  getDialects: dA,
4013
- getInferredType: Pg,
4014
- getSourceTables: CI,
4013
+ getInferredType: Og,
4014
+ getSourceTables: QI,
4015
4015
  getVersion: ZA,
4016
4016
  greatest: xi,
4017
4017
  hasChanges: EI,
@@ -4020,77 +4020,77 @@ const No = {
4020
4020
  initcap: Fi,
4021
4021
  insert: vi,
4022
4022
  insertInto: Xg,
4023
- intersect: Co,
4024
- isColumn: Tg,
4023
+ intersect: Qo,
4024
+ isColumn: Pg,
4025
4025
  isFunction: dg,
4026
4026
  isInitialized: oI,
4027
4027
  isLiteral: jg,
4028
- isSelect: Og,
4028
+ isSelect: Tg,
4029
4029
  least: Wi,
4030
4030
  length: Si,
4031
4031
  lineage: II,
4032
- lineageWithSchema: QI,
4032
+ lineageWithSchema: CI,
4033
4033
  lit: gi,
4034
4034
  ln: Vi,
4035
4035
  lower: hi,
4036
- ltrim: Ji,
4036
+ ltrim: Hi,
4037
4037
  max: Gi,
4038
4038
  mergeInto: $i,
4039
- min: Ki,
4039
+ min: yi,
4040
4040
  not: Bi,
4041
4041
  nullIf: qi,
4042
4042
  or: oi,
4043
4043
  parse: pA,
4044
4044
  plan: wI,
4045
4045
  power: di,
4046
- rank: ri,
4046
+ rank: ui,
4047
4047
  renameColumns: tg,
4048
- replace: Ri,
4048
+ replace: Li,
4049
4049
  reverse: Ui,
4050
- round: Oi,
4051
- rowNumber: li,
4052
- rtrim: Hi,
4050
+ round: Ti,
4051
+ rowNumber: ri,
4052
+ rtrim: Ji,
4053
4053
  select: bi,
4054
4054
  sign: zi,
4055
4055
  sqlExpr: mg,
4056
4056
  sqlNull: Ii,
4057
4057
  sqrt: Zi,
4058
- star: rg,
4058
+ star: ug,
4059
4059
  subquery: wi,
4060
- substring: Li,
4060
+ substring: Ri,
4061
4061
  sum: Ni,
4062
- table: Qi,
4063
- tokenize: PA,
4062
+ table: Ci,
4063
+ tokenize: OA,
4064
4064
  transform: GA,
4065
4065
  transpile: qA,
4066
4066
  trim: ci,
4067
4067
  union: Io,
4068
- unionAll: Qo,
4068
+ unionAll: Co,
4069
4069
  update: Xi,
4070
4070
  upper: Yi,
4071
- validate: ko,
4071
+ validate: Mo,
4072
4072
  validateWithSchema: io,
4073
4073
  walk: Z
4074
4074
  }, Symbol.toStringTag, { value: "Module" }));
4075
4075
  export {
4076
- RA as CaseBuilder,
4076
+ LA as CaseBuilder,
4077
4077
  $g as DeleteBuilder,
4078
4078
  sA as Dialect,
4079
4079
  c as Expr,
4080
4080
  vg as InsertBuilder,
4081
4081
  gI as MergeBuilder,
4082
- u as Polyglot,
4082
+ l as Polyglot,
4083
4083
  bg as SelectBuilder,
4084
4084
  _ as SetOpBuilder,
4085
4085
  _g as UpdateBuilder,
4086
4086
  oo as ValidationSeverity,
4087
- Pi as abs,
4087
+ Oi as abs,
4088
4088
  Di as alias,
4089
4089
  ii as and,
4090
4090
  VA as annotateTypes,
4091
4091
  _w as ast,
4092
- yi as avg,
4093
- LA as boolean,
4092
+ Ki as avg,
4093
+ RA as boolean,
4094
4094
  go as caseOf,
4095
4095
  Ao as caseWhen,
4096
4096
  Ei as cast,
@@ -4098,28 +4098,28 @@ export {
4098
4098
  ai as coalesce,
4099
4099
  Ai as col,
4100
4100
  si as concatWs,
4101
- Ci as condition,
4102
- ki as count,
4103
- Mi as countDistinct,
4101
+ Qi as condition,
4102
+ Mi as count,
4103
+ ki as countDistinct,
4104
4104
  ni as currentDate,
4105
- ei as currentTime,
4106
- fi as currentTimestamp,
4107
- yo as default,
4105
+ fi as currentTime,
4106
+ ei as currentTimestamp,
4107
+ Ko as default,
4108
4108
  _i as del,
4109
4109
  AI as deleteFrom,
4110
4110
  mi as denseRank,
4111
4111
  Bo as except,
4112
4112
  ti as exp,
4113
- ui as extract,
4113
+ li as extract,
4114
4114
  YA as findAll,
4115
- Ti as floor,
4116
- TA as format,
4115
+ Pi as floor,
4116
+ PA as format,
4117
4117
  jA as formatWithOptions,
4118
- L as func,
4119
- OA as generate,
4120
- eg as getColumns,
4118
+ R as func,
4119
+ TA as generate,
4120
+ fg as getColumns,
4121
4121
  dA as getDialects,
4122
- Pg as getInferredType,
4122
+ Og as getInferredType,
4123
4123
  ZA as getVersion,
4124
4124
  xi as greatest,
4125
4125
  pi as ifNull,
@@ -4127,50 +4127,50 @@ export {
4127
4127
  Fi as initcap,
4128
4128
  vi as insert,
4129
4129
  Xg as insertInto,
4130
- Co as intersect,
4131
- Tg as isColumn,
4130
+ Qo as intersect,
4131
+ Pg as isColumn,
4132
4132
  dg as isFunction,
4133
4133
  oI as isInitialized,
4134
4134
  jg as isLiteral,
4135
- Og as isSelect,
4135
+ Tg as isSelect,
4136
4136
  Wi as least,
4137
4137
  Si as length,
4138
4138
  gi as lit,
4139
4139
  Vi as ln,
4140
4140
  hi as lower,
4141
- Ji as ltrim,
4141
+ Hi as ltrim,
4142
4142
  Gi as max,
4143
4143
  $i as mergeInto,
4144
- Ki as min,
4144
+ yi as min,
4145
4145
  Bi as not,
4146
4146
  qi as nullIf,
4147
4147
  oi as or,
4148
4148
  pA as parse,
4149
4149
  di as power,
4150
- ri as rank,
4150
+ ui as rank,
4151
4151
  tg as renameColumns,
4152
- Ri as replace,
4152
+ Li as replace,
4153
4153
  Ui as reverse,
4154
- Oi as round,
4155
- li as rowNumber,
4156
- Hi as rtrim,
4154
+ Ti as round,
4155
+ ri as rowNumber,
4156
+ Ji as rtrim,
4157
4157
  bi as select,
4158
4158
  zi as sign,
4159
4159
  mg as sqlExpr,
4160
4160
  Ii as sqlNull,
4161
4161
  Zi as sqrt,
4162
- rg as star,
4163
- Li as substring,
4162
+ ug as star,
4163
+ Ri as substring,
4164
4164
  Ni as sum,
4165
- Qi as table,
4165
+ Ci as table,
4166
4166
  GA as transform,
4167
4167
  qA as transpile,
4168
4168
  ci as trim,
4169
4169
  Io as union,
4170
- Qo as unionAll,
4170
+ Co as unionAll,
4171
4171
  Xi as update,
4172
4172
  Yi as upper,
4173
- ko as validate,
4173
+ Mo as validate,
4174
4174
  io as validateWithSchema,
4175
4175
  Z as walk
4176
4176
  };