@polyglot-sql/sdk 0.1.13 → 0.1.14
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.
- package/dist/cdn/polyglot.esm.js +995 -995
- package/dist/index.d.cts +24 -3
- package/dist/index.d.ts +24 -3
- package/dist/polyglot_sql_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/dist/cdn/polyglot.esm.js
CHANGED
|
@@ -28,7 +28,7 @@ const GI = new URL("../polyglot_sql_wasm_bg.wasm",import.meta.url).href, kI = as
|
|
|
28
28
|
class QA {
|
|
29
29
|
__destroy_into_raw() {
|
|
30
30
|
const A = this.__wbg_ptr;
|
|
31
|
-
return this.__wbg_ptr = 0,
|
|
31
|
+
return this.__wbg_ptr = 0, VA.unregister(this), A;
|
|
32
32
|
}
|
|
33
33
|
free() {
|
|
34
34
|
const A = this.__destroy_into_raw();
|
|
@@ -46,7 +46,7 @@ class QA {
|
|
|
46
46
|
*/
|
|
47
47
|
constructor() {
|
|
48
48
|
const A = I.wasmassignmentarray_new();
|
|
49
|
-
return this.__wbg_ptr = A >>> 0,
|
|
49
|
+
return this.__wbg_ptr = A >>> 0, VA.register(this, this.__wbg_ptr, this), this;
|
|
50
50
|
}
|
|
51
51
|
/**
|
|
52
52
|
* Add a column = value assignment.
|
|
@@ -55,14 +55,14 @@ class QA {
|
|
|
55
55
|
*/
|
|
56
56
|
push(A, Q) {
|
|
57
57
|
const B = G(A, I.__wbindgen_export, I.__wbindgen_export2), C = N;
|
|
58
|
-
Y(Q,
|
|
58
|
+
Y(Q, K), I.wasmassignmentarray_push(this.__wbg_ptr, B, C, Q.__wbg_ptr);
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
Symbol.dispose && (QA.prototype[Symbol.dispose] = QA.prototype.free);
|
|
62
|
-
class
|
|
62
|
+
class f {
|
|
63
63
|
static __wrap(A) {
|
|
64
64
|
A = A >>> 0;
|
|
65
|
-
const Q = Object.create(
|
|
65
|
+
const Q = Object.create(f.prototype);
|
|
66
66
|
return Q.__wbg_ptr = A, RA.register(Q, Q.__wbg_ptr, Q), Q;
|
|
67
67
|
}
|
|
68
68
|
__destroy_into_raw() {
|
|
@@ -81,10 +81,10 @@ class b {
|
|
|
81
81
|
try {
|
|
82
82
|
const C = I.__wbindgen_add_to_stack_pointer(-16);
|
|
83
83
|
I.wasmcasebuilder_build_expr(C, this.__wbg_ptr);
|
|
84
|
-
var A =
|
|
84
|
+
var A = i().getInt32(C + 0, !0), Q = i().getInt32(C + 4, !0), B = i().getInt32(C + 8, !0);
|
|
85
85
|
if (B)
|
|
86
86
|
throw c(Q);
|
|
87
|
-
return
|
|
87
|
+
return K.__wrap(A);
|
|
88
88
|
} finally {
|
|
89
89
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
90
90
|
}
|
|
@@ -94,7 +94,7 @@ class b {
|
|
|
94
94
|
* @param {WasmExpr} result
|
|
95
95
|
*/
|
|
96
96
|
else_(A) {
|
|
97
|
-
Y(A,
|
|
97
|
+
Y(A, K), I.wasmcasebuilder_else_(this.__wbg_ptr, A.__wbg_ptr);
|
|
98
98
|
}
|
|
99
99
|
/**
|
|
100
100
|
* Create a new searched CASE builder (CASE WHEN ... THEN ...).
|
|
@@ -112,10 +112,10 @@ class b {
|
|
|
112
112
|
try {
|
|
113
113
|
const M = I.__wbindgen_add_to_stack_pointer(-16);
|
|
114
114
|
I.wasmcasebuilder_to_sql(M, this.__wbg_ptr);
|
|
115
|
-
var B =
|
|
115
|
+
var B = i().getInt32(M + 0, !0), C = i().getInt32(M + 4, !0), E = i().getInt32(M + 8, !0), D = i().getInt32(M + 12, !0), o = B, k = C;
|
|
116
116
|
if (D)
|
|
117
117
|
throw o = 0, k = 0, c(E);
|
|
118
|
-
return A = o, Q = k,
|
|
118
|
+
return A = o, Q = k, U(o, k);
|
|
119
119
|
} finally {
|
|
120
120
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, Q, 1);
|
|
121
121
|
}
|
|
@@ -126,14 +126,14 @@ class b {
|
|
|
126
126
|
* @param {WasmExpr} result
|
|
127
127
|
*/
|
|
128
128
|
when(A, Q) {
|
|
129
|
-
Y(A,
|
|
129
|
+
Y(A, K), Y(Q, K), I.wasmcasebuilder_when(this.__wbg_ptr, A.__wbg_ptr, Q.__wbg_ptr);
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
|
-
Symbol.dispose && (
|
|
133
|
-
class
|
|
132
|
+
Symbol.dispose && (f.prototype[Symbol.dispose] = f.prototype.free);
|
|
133
|
+
class iA {
|
|
134
134
|
__destroy_into_raw() {
|
|
135
135
|
const A = this.__wbg_ptr;
|
|
136
|
-
return this.__wbg_ptr = 0,
|
|
136
|
+
return this.__wbg_ptr = 0, zA.unregister(this), A;
|
|
137
137
|
}
|
|
138
138
|
free() {
|
|
139
139
|
const A = this.__destroy_into_raw();
|
|
@@ -147,7 +147,7 @@ class wA {
|
|
|
147
147
|
try {
|
|
148
148
|
const C = I.__wbindgen_add_to_stack_pointer(-16);
|
|
149
149
|
I.wasmdeletebuilder_build(C, this.__wbg_ptr);
|
|
150
|
-
var A =
|
|
150
|
+
var A = i().getInt32(C + 0, !0), Q = i().getInt32(C + 4, !0), B = i().getInt32(C + 8, !0);
|
|
151
151
|
if (B)
|
|
152
152
|
throw c(Q);
|
|
153
153
|
return c(A);
|
|
@@ -161,7 +161,7 @@ class wA {
|
|
|
161
161
|
*/
|
|
162
162
|
constructor(A) {
|
|
163
163
|
const Q = G(A, I.__wbindgen_export, I.__wbindgen_export2), B = N, C = I.wasmdeletebuilder_new(Q, B);
|
|
164
|
-
return this.__wbg_ptr = C >>> 0,
|
|
164
|
+
return this.__wbg_ptr = C >>> 0, zA.register(this, this.__wbg_ptr, this), this;
|
|
165
165
|
}
|
|
166
166
|
/**
|
|
167
167
|
* Generate SQL string for the given dialect.
|
|
@@ -171,12 +171,12 @@ class wA {
|
|
|
171
171
|
to_sql(A) {
|
|
172
172
|
let Q, B;
|
|
173
173
|
try {
|
|
174
|
-
const a = I.__wbindgen_add_to_stack_pointer(-16), R = G(A, I.__wbindgen_export, I.__wbindgen_export2),
|
|
175
|
-
I.wasmdeletebuilder_to_sql(a, this.__wbg_ptr, R,
|
|
176
|
-
var C =
|
|
174
|
+
const a = I.__wbindgen_add_to_stack_pointer(-16), R = G(A, I.__wbindgen_export, I.__wbindgen_export2), H = N;
|
|
175
|
+
I.wasmdeletebuilder_to_sql(a, this.__wbg_ptr, R, H);
|
|
176
|
+
var C = i().getInt32(a + 0, !0), E = i().getInt32(a + 4, !0), D = i().getInt32(a + 8, !0), o = i().getInt32(a + 12, !0), k = C, M = E;
|
|
177
177
|
if (o)
|
|
178
178
|
throw k = 0, M = 0, c(D);
|
|
179
|
-
return Q = k, B = M,
|
|
179
|
+
return Q = k, B = M, U(k, M);
|
|
180
180
|
} finally {
|
|
181
181
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, B, 1);
|
|
182
182
|
}
|
|
@@ -186,19 +186,19 @@ class wA {
|
|
|
186
186
|
* @param {WasmExpr} condition
|
|
187
187
|
*/
|
|
188
188
|
where_expr(A) {
|
|
189
|
-
Y(A,
|
|
189
|
+
Y(A, K), I.wasmdeletebuilder_where_expr(this.__wbg_ptr, A.__wbg_ptr);
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
|
-
Symbol.dispose && (
|
|
193
|
-
class
|
|
192
|
+
Symbol.dispose && (iA.prototype[Symbol.dispose] = iA.prototype.free);
|
|
193
|
+
class K {
|
|
194
194
|
static __wrap(A) {
|
|
195
195
|
A = A >>> 0;
|
|
196
|
-
const Q = Object.create(
|
|
197
|
-
return Q.__wbg_ptr = A,
|
|
196
|
+
const Q = Object.create(K.prototype);
|
|
197
|
+
return Q.__wbg_ptr = A, lA.register(Q, Q.__wbg_ptr, Q), Q;
|
|
198
198
|
}
|
|
199
199
|
__destroy_into_raw() {
|
|
200
200
|
const A = this.__wbg_ptr;
|
|
201
|
-
return this.__wbg_ptr = 0,
|
|
201
|
+
return this.__wbg_ptr = 0, lA.unregister(this), A;
|
|
202
202
|
}
|
|
203
203
|
free() {
|
|
204
204
|
const A = this.__destroy_into_raw();
|
|
@@ -210,9 +210,9 @@ class J {
|
|
|
210
210
|
* @returns {WasmExpr}
|
|
211
211
|
*/
|
|
212
212
|
add(A) {
|
|
213
|
-
Y(A,
|
|
213
|
+
Y(A, K);
|
|
214
214
|
const Q = I.wasmexpr_add(this.__wbg_ptr, A.__wbg_ptr);
|
|
215
|
-
return
|
|
215
|
+
return K.__wrap(Q);
|
|
216
216
|
}
|
|
217
217
|
/**
|
|
218
218
|
* Produce `self AS name`.
|
|
@@ -221,7 +221,7 @@ class J {
|
|
|
221
221
|
*/
|
|
222
222
|
alias(A) {
|
|
223
223
|
const Q = G(A, I.__wbindgen_export, I.__wbindgen_export2), B = N, C = I.wasmexpr_alias(this.__wbg_ptr, Q, B);
|
|
224
|
-
return
|
|
224
|
+
return K.__wrap(C);
|
|
225
225
|
}
|
|
226
226
|
/**
|
|
227
227
|
* Produce `self AND other`.
|
|
@@ -229,9 +229,9 @@ class J {
|
|
|
229
229
|
* @returns {WasmExpr}
|
|
230
230
|
*/
|
|
231
231
|
and(A) {
|
|
232
|
-
Y(A,
|
|
232
|
+
Y(A, K);
|
|
233
233
|
const Q = I.wasmexpr_and(this.__wbg_ptr, A.__wbg_ptr);
|
|
234
|
-
return
|
|
234
|
+
return K.__wrap(Q);
|
|
235
235
|
}
|
|
236
236
|
/**
|
|
237
237
|
* Wrap with ascending sort order.
|
|
@@ -239,7 +239,7 @@ class J {
|
|
|
239
239
|
*/
|
|
240
240
|
asc() {
|
|
241
241
|
const A = I.wasmexpr_asc(this.__wbg_ptr);
|
|
242
|
-
return
|
|
242
|
+
return K.__wrap(A);
|
|
243
243
|
}
|
|
244
244
|
/**
|
|
245
245
|
* Produce `self BETWEEN low AND high`.
|
|
@@ -248,9 +248,9 @@ class J {
|
|
|
248
248
|
* @returns {WasmExpr}
|
|
249
249
|
*/
|
|
250
250
|
between(A, Q) {
|
|
251
|
-
Y(A,
|
|
251
|
+
Y(A, K), Y(Q, K);
|
|
252
252
|
const B = I.wasmexpr_between(this.__wbg_ptr, A.__wbg_ptr, Q.__wbg_ptr);
|
|
253
|
-
return
|
|
253
|
+
return K.__wrap(B);
|
|
254
254
|
}
|
|
255
255
|
/**
|
|
256
256
|
* Produce `CAST(self AS type)`.
|
|
@@ -259,7 +259,7 @@ class J {
|
|
|
259
259
|
*/
|
|
260
260
|
cast(A) {
|
|
261
261
|
const Q = G(A, I.__wbindgen_export, I.__wbindgen_export2), B = N, C = I.wasmexpr_cast(this.__wbg_ptr, Q, B);
|
|
262
|
-
return
|
|
262
|
+
return K.__wrap(C);
|
|
263
263
|
}
|
|
264
264
|
/**
|
|
265
265
|
* Wrap with descending sort order.
|
|
@@ -267,7 +267,7 @@ class J {
|
|
|
267
267
|
*/
|
|
268
268
|
desc() {
|
|
269
269
|
const A = I.wasmexpr_desc(this.__wbg_ptr);
|
|
270
|
-
return
|
|
270
|
+
return K.__wrap(A);
|
|
271
271
|
}
|
|
272
272
|
/**
|
|
273
273
|
* Produce `self / other`.
|
|
@@ -275,9 +275,9 @@ class J {
|
|
|
275
275
|
* @returns {WasmExpr}
|
|
276
276
|
*/
|
|
277
277
|
div(A) {
|
|
278
|
-
Y(A,
|
|
278
|
+
Y(A, K);
|
|
279
279
|
const Q = I.wasmexpr_div(this.__wbg_ptr, A.__wbg_ptr);
|
|
280
|
-
return
|
|
280
|
+
return K.__wrap(Q);
|
|
281
281
|
}
|
|
282
282
|
/**
|
|
283
283
|
* Produce `self = other`.
|
|
@@ -285,9 +285,9 @@ class J {
|
|
|
285
285
|
* @returns {WasmExpr}
|
|
286
286
|
*/
|
|
287
287
|
eq(A) {
|
|
288
|
-
Y(A,
|
|
288
|
+
Y(A, K);
|
|
289
289
|
const Q = I.wasmexpr_eq(this.__wbg_ptr, A.__wbg_ptr);
|
|
290
|
-
return
|
|
290
|
+
return K.__wrap(Q);
|
|
291
291
|
}
|
|
292
292
|
/**
|
|
293
293
|
* Produce `self > other`.
|
|
@@ -295,9 +295,9 @@ class J {
|
|
|
295
295
|
* @returns {WasmExpr}
|
|
296
296
|
*/
|
|
297
297
|
gt(A) {
|
|
298
|
-
Y(A,
|
|
298
|
+
Y(A, K);
|
|
299
299
|
const Q = I.wasmexpr_gt(this.__wbg_ptr, A.__wbg_ptr);
|
|
300
|
-
return
|
|
300
|
+
return K.__wrap(Q);
|
|
301
301
|
}
|
|
302
302
|
/**
|
|
303
303
|
* Produce `self >= other`.
|
|
@@ -305,9 +305,9 @@ class J {
|
|
|
305
305
|
* @returns {WasmExpr}
|
|
306
306
|
*/
|
|
307
307
|
gte(A) {
|
|
308
|
-
Y(A,
|
|
308
|
+
Y(A, K);
|
|
309
309
|
const Q = I.wasmexpr_gte(this.__wbg_ptr, A.__wbg_ptr);
|
|
310
|
-
return
|
|
310
|
+
return K.__wrap(Q);
|
|
311
311
|
}
|
|
312
312
|
/**
|
|
313
313
|
* Produce `self ILIKE pattern`.
|
|
@@ -315,9 +315,9 @@ class J {
|
|
|
315
315
|
* @returns {WasmExpr}
|
|
316
316
|
*/
|
|
317
317
|
ilike(A) {
|
|
318
|
-
Y(A,
|
|
318
|
+
Y(A, K);
|
|
319
319
|
const Q = I.wasmexpr_ilike(this.__wbg_ptr, A.__wbg_ptr);
|
|
320
|
-
return
|
|
320
|
+
return K.__wrap(Q);
|
|
321
321
|
}
|
|
322
322
|
/**
|
|
323
323
|
* Produce `self IN (values...)`.
|
|
@@ -325,9 +325,9 @@ class J {
|
|
|
325
325
|
* @returns {WasmExpr}
|
|
326
326
|
*/
|
|
327
327
|
in_list(A) {
|
|
328
|
-
Y(A,
|
|
328
|
+
Y(A, j);
|
|
329
329
|
const Q = I.wasmexpr_in_list(this.__wbg_ptr, A.__wbg_ptr);
|
|
330
|
-
return
|
|
330
|
+
return K.__wrap(Q);
|
|
331
331
|
}
|
|
332
332
|
/**
|
|
333
333
|
* Produce `self IS NOT NULL`.
|
|
@@ -335,7 +335,7 @@ class J {
|
|
|
335
335
|
*/
|
|
336
336
|
is_not_null() {
|
|
337
337
|
const A = I.wasmexpr_is_not_null(this.__wbg_ptr);
|
|
338
|
-
return
|
|
338
|
+
return K.__wrap(A);
|
|
339
339
|
}
|
|
340
340
|
/**
|
|
341
341
|
* Produce `self IS NULL`.
|
|
@@ -343,7 +343,7 @@ class J {
|
|
|
343
343
|
*/
|
|
344
344
|
is_null() {
|
|
345
345
|
const A = I.wasmexpr_is_null(this.__wbg_ptr);
|
|
346
|
-
return
|
|
346
|
+
return K.__wrap(A);
|
|
347
347
|
}
|
|
348
348
|
/**
|
|
349
349
|
* Produce `self LIKE pattern`.
|
|
@@ -351,9 +351,9 @@ class J {
|
|
|
351
351
|
* @returns {WasmExpr}
|
|
352
352
|
*/
|
|
353
353
|
like(A) {
|
|
354
|
-
Y(A,
|
|
354
|
+
Y(A, K);
|
|
355
355
|
const Q = I.wasmexpr_like(this.__wbg_ptr, A.__wbg_ptr);
|
|
356
|
-
return
|
|
356
|
+
return K.__wrap(Q);
|
|
357
357
|
}
|
|
358
358
|
/**
|
|
359
359
|
* Produce `self < other`.
|
|
@@ -361,9 +361,9 @@ class J {
|
|
|
361
361
|
* @returns {WasmExpr}
|
|
362
362
|
*/
|
|
363
363
|
lt(A) {
|
|
364
|
-
Y(A,
|
|
364
|
+
Y(A, K);
|
|
365
365
|
const Q = I.wasmexpr_lt(this.__wbg_ptr, A.__wbg_ptr);
|
|
366
|
-
return
|
|
366
|
+
return K.__wrap(Q);
|
|
367
367
|
}
|
|
368
368
|
/**
|
|
369
369
|
* Produce `self <= other`.
|
|
@@ -371,9 +371,9 @@ class J {
|
|
|
371
371
|
* @returns {WasmExpr}
|
|
372
372
|
*/
|
|
373
373
|
lte(A) {
|
|
374
|
-
Y(A,
|
|
374
|
+
Y(A, K);
|
|
375
375
|
const Q = I.wasmexpr_lte(this.__wbg_ptr, A.__wbg_ptr);
|
|
376
|
-
return
|
|
376
|
+
return K.__wrap(Q);
|
|
377
377
|
}
|
|
378
378
|
/**
|
|
379
379
|
* Produce `self * other`.
|
|
@@ -381,9 +381,9 @@ class J {
|
|
|
381
381
|
* @returns {WasmExpr}
|
|
382
382
|
*/
|
|
383
383
|
mul(A) {
|
|
384
|
-
Y(A,
|
|
384
|
+
Y(A, K);
|
|
385
385
|
const Q = I.wasmexpr_mul(this.__wbg_ptr, A.__wbg_ptr);
|
|
386
|
-
return
|
|
386
|
+
return K.__wrap(Q);
|
|
387
387
|
}
|
|
388
388
|
/**
|
|
389
389
|
* Produce `self <> other`.
|
|
@@ -391,9 +391,9 @@ class J {
|
|
|
391
391
|
* @returns {WasmExpr}
|
|
392
392
|
*/
|
|
393
393
|
neq(A) {
|
|
394
|
-
Y(A,
|
|
394
|
+
Y(A, K);
|
|
395
395
|
const Q = I.wasmexpr_neq(this.__wbg_ptr, A.__wbg_ptr);
|
|
396
|
-
return
|
|
396
|
+
return K.__wrap(Q);
|
|
397
397
|
}
|
|
398
398
|
/**
|
|
399
399
|
* Produce `NOT self`.
|
|
@@ -401,7 +401,7 @@ class J {
|
|
|
401
401
|
*/
|
|
402
402
|
not() {
|
|
403
403
|
const A = I.wasmexpr_not(this.__wbg_ptr);
|
|
404
|
-
return
|
|
404
|
+
return K.__wrap(A);
|
|
405
405
|
}
|
|
406
406
|
/**
|
|
407
407
|
* Produce `self NOT IN (values...)`.
|
|
@@ -409,9 +409,9 @@ class J {
|
|
|
409
409
|
* @returns {WasmExpr}
|
|
410
410
|
*/
|
|
411
411
|
not_in(A) {
|
|
412
|
-
Y(A,
|
|
412
|
+
Y(A, j);
|
|
413
413
|
const Q = I.wasmexpr_not_in(this.__wbg_ptr, A.__wbg_ptr);
|
|
414
|
-
return
|
|
414
|
+
return K.__wrap(Q);
|
|
415
415
|
}
|
|
416
416
|
/**
|
|
417
417
|
* Produce `self OR other`.
|
|
@@ -419,9 +419,9 @@ class J {
|
|
|
419
419
|
* @returns {WasmExpr}
|
|
420
420
|
*/
|
|
421
421
|
or(A) {
|
|
422
|
-
Y(A,
|
|
422
|
+
Y(A, K);
|
|
423
423
|
const Q = I.wasmexpr_or(this.__wbg_ptr, A.__wbg_ptr);
|
|
424
|
-
return
|
|
424
|
+
return K.__wrap(Q);
|
|
425
425
|
}
|
|
426
426
|
/**
|
|
427
427
|
* Produce `REGEXP_LIKE(self, pattern)`.
|
|
@@ -429,9 +429,9 @@ class J {
|
|
|
429
429
|
* @returns {WasmExpr}
|
|
430
430
|
*/
|
|
431
431
|
rlike(A) {
|
|
432
|
-
Y(A,
|
|
432
|
+
Y(A, K);
|
|
433
433
|
const Q = I.wasmexpr_rlike(this.__wbg_ptr, A.__wbg_ptr);
|
|
434
|
-
return
|
|
434
|
+
return K.__wrap(Q);
|
|
435
435
|
}
|
|
436
436
|
/**
|
|
437
437
|
* Produce `self - other`.
|
|
@@ -439,9 +439,9 @@ class J {
|
|
|
439
439
|
* @returns {WasmExpr}
|
|
440
440
|
*/
|
|
441
441
|
sub(A) {
|
|
442
|
-
Y(A,
|
|
442
|
+
Y(A, K);
|
|
443
443
|
const Q = I.wasmexpr_sub(this.__wbg_ptr, A.__wbg_ptr);
|
|
444
|
-
return
|
|
444
|
+
return K.__wrap(Q);
|
|
445
445
|
}
|
|
446
446
|
/**
|
|
447
447
|
* Return the expression AST as a JSON value.
|
|
@@ -451,7 +451,7 @@ class J {
|
|
|
451
451
|
try {
|
|
452
452
|
const C = I.__wbindgen_add_to_stack_pointer(-16);
|
|
453
453
|
I.wasmexpr_to_json(C, this.__wbg_ptr);
|
|
454
|
-
var A =
|
|
454
|
+
var A = i().getInt32(C + 0, !0), Q = i().getInt32(C + 4, !0), B = i().getInt32(C + 8, !0);
|
|
455
455
|
if (B)
|
|
456
456
|
throw c(Q);
|
|
457
457
|
return c(A);
|
|
@@ -468,10 +468,10 @@ class J {
|
|
|
468
468
|
try {
|
|
469
469
|
const M = I.__wbindgen_add_to_stack_pointer(-16);
|
|
470
470
|
I.wasmexpr_to_sql(M, this.__wbg_ptr);
|
|
471
|
-
var B =
|
|
471
|
+
var B = i().getInt32(M + 0, !0), C = i().getInt32(M + 4, !0), E = i().getInt32(M + 8, !0), D = i().getInt32(M + 12, !0), o = B, k = C;
|
|
472
472
|
if (D)
|
|
473
473
|
throw o = 0, k = 0, c(E);
|
|
474
|
-
return A = o, Q = k,
|
|
474
|
+
return A = o, Q = k, U(o, k);
|
|
475
475
|
} finally {
|
|
476
476
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, Q, 1);
|
|
477
477
|
}
|
|
@@ -482,16 +482,16 @@ class J {
|
|
|
482
482
|
* @returns {WasmExpr}
|
|
483
483
|
*/
|
|
484
484
|
xor(A) {
|
|
485
|
-
Y(A,
|
|
485
|
+
Y(A, K);
|
|
486
486
|
const Q = I.wasmexpr_xor(this.__wbg_ptr, A.__wbg_ptr);
|
|
487
|
-
return
|
|
487
|
+
return K.__wrap(Q);
|
|
488
488
|
}
|
|
489
489
|
}
|
|
490
|
-
Symbol.dispose && (
|
|
491
|
-
class
|
|
490
|
+
Symbol.dispose && (K.prototype[Symbol.dispose] = K.prototype.free);
|
|
491
|
+
class j {
|
|
492
492
|
__destroy_into_raw() {
|
|
493
493
|
const A = this.__wbg_ptr;
|
|
494
|
-
return this.__wbg_ptr = 0,
|
|
494
|
+
return this.__wbg_ptr = 0, mA.unregister(this), A;
|
|
495
495
|
}
|
|
496
496
|
free() {
|
|
497
497
|
const A = this.__destroy_into_raw();
|
|
@@ -509,14 +509,14 @@ class O {
|
|
|
509
509
|
*/
|
|
510
510
|
constructor() {
|
|
511
511
|
const A = I.wasmassignmentarray_new();
|
|
512
|
-
return this.__wbg_ptr = A >>> 0,
|
|
512
|
+
return this.__wbg_ptr = A >>> 0, mA.register(this, this.__wbg_ptr, this), this;
|
|
513
513
|
}
|
|
514
514
|
/**
|
|
515
515
|
* Push an expression.
|
|
516
516
|
* @param {WasmExpr} expr
|
|
517
517
|
*/
|
|
518
518
|
push(A) {
|
|
519
|
-
Y(A,
|
|
519
|
+
Y(A, K), I.wasmexprarray_push(this.__wbg_ptr, A.__wbg_ptr);
|
|
520
520
|
}
|
|
521
521
|
/**
|
|
522
522
|
* Push a column reference by name.
|
|
@@ -555,11 +555,11 @@ class O {
|
|
|
555
555
|
I.wasmexprarray_push_str(this.__wbg_ptr, Q, B);
|
|
556
556
|
}
|
|
557
557
|
}
|
|
558
|
-
Symbol.dispose && (
|
|
558
|
+
Symbol.dispose && (j.prototype[Symbol.dispose] = j.prototype.free);
|
|
559
559
|
class oA {
|
|
560
560
|
__destroy_into_raw() {
|
|
561
561
|
const A = this.__wbg_ptr;
|
|
562
|
-
return this.__wbg_ptr = 0,
|
|
562
|
+
return this.__wbg_ptr = 0, PA.unregister(this), A;
|
|
563
563
|
}
|
|
564
564
|
free() {
|
|
565
565
|
const A = this.__destroy_into_raw();
|
|
@@ -573,7 +573,7 @@ class oA {
|
|
|
573
573
|
try {
|
|
574
574
|
const C = I.__wbindgen_add_to_stack_pointer(-16);
|
|
575
575
|
I.wasminsertbuilder_build(C, this.__wbg_ptr);
|
|
576
|
-
var A =
|
|
576
|
+
var A = i().getInt32(C + 0, !0), Q = i().getInt32(C + 4, !0), B = i().getInt32(C + 8, !0);
|
|
577
577
|
if (B)
|
|
578
578
|
throw c(Q);
|
|
579
579
|
return c(A);
|
|
@@ -586,7 +586,7 @@ class oA {
|
|
|
586
586
|
* @param {string[]} cols
|
|
587
587
|
*/
|
|
588
588
|
columns(A) {
|
|
589
|
-
const Q =
|
|
589
|
+
const Q = UA(A, I.__wbindgen_export), B = N;
|
|
590
590
|
I.wasminsertbuilder_columns(this.__wbg_ptr, Q, B);
|
|
591
591
|
}
|
|
592
592
|
/**
|
|
@@ -595,7 +595,7 @@ class oA {
|
|
|
595
595
|
*/
|
|
596
596
|
constructor(A) {
|
|
597
597
|
const Q = G(A, I.__wbindgen_export, I.__wbindgen_export2), B = N, C = I.wasminsertbuilder_new(Q, B);
|
|
598
|
-
return this.__wbg_ptr = C >>> 0,
|
|
598
|
+
return this.__wbg_ptr = C >>> 0, PA.register(this, this.__wbg_ptr, this), this;
|
|
599
599
|
}
|
|
600
600
|
/**
|
|
601
601
|
* Set the source query for INSERT ... SELECT.
|
|
@@ -605,7 +605,7 @@ class oA {
|
|
|
605
605
|
try {
|
|
606
606
|
const C = I.__wbindgen_add_to_stack_pointer(-16);
|
|
607
607
|
Y(A, x), I.wasminsertbuilder_query(C, this.__wbg_ptr, A.__wbg_ptr);
|
|
608
|
-
var Q =
|
|
608
|
+
var Q = i().getInt32(C + 0, !0), B = i().getInt32(C + 4, !0);
|
|
609
609
|
if (B)
|
|
610
610
|
throw c(Q);
|
|
611
611
|
} finally {
|
|
@@ -620,12 +620,12 @@ class oA {
|
|
|
620
620
|
to_sql(A) {
|
|
621
621
|
let Q, B;
|
|
622
622
|
try {
|
|
623
|
-
const a = I.__wbindgen_add_to_stack_pointer(-16), R = G(A, I.__wbindgen_export, I.__wbindgen_export2),
|
|
624
|
-
I.wasminsertbuilder_to_sql(a, this.__wbg_ptr, R,
|
|
625
|
-
var C =
|
|
623
|
+
const a = I.__wbindgen_add_to_stack_pointer(-16), R = G(A, I.__wbindgen_export, I.__wbindgen_export2), H = N;
|
|
624
|
+
I.wasminsertbuilder_to_sql(a, this.__wbg_ptr, R, H);
|
|
625
|
+
var C = i().getInt32(a + 0, !0), E = i().getInt32(a + 4, !0), D = i().getInt32(a + 8, !0), o = i().getInt32(a + 12, !0), k = C, M = E;
|
|
626
626
|
if (o)
|
|
627
627
|
throw k = 0, M = 0, c(D);
|
|
628
|
-
return Q = k, B = M,
|
|
628
|
+
return Q = k, B = M, U(k, M);
|
|
629
629
|
} finally {
|
|
630
630
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, B, 1);
|
|
631
631
|
}
|
|
@@ -635,7 +635,7 @@ class oA {
|
|
|
635
635
|
* @param {WasmExprArray} vals
|
|
636
636
|
*/
|
|
637
637
|
values(A) {
|
|
638
|
-
Y(A,
|
|
638
|
+
Y(A, j), I.wasminsertbuilder_values(this.__wbg_ptr, A.__wbg_ptr);
|
|
639
639
|
}
|
|
640
640
|
}
|
|
641
641
|
Symbol.dispose && (oA.prototype[Symbol.dispose] = oA.prototype.free);
|
|
@@ -656,7 +656,7 @@ class NA {
|
|
|
656
656
|
try {
|
|
657
657
|
const C = I.__wbindgen_add_to_stack_pointer(-16);
|
|
658
658
|
I.wasmmergebuilder_build(C, this.__wbg_ptr);
|
|
659
|
-
var A =
|
|
659
|
+
var A = i().getInt32(C + 0, !0), Q = i().getInt32(C + 4, !0), B = i().getInt32(C + 8, !0);
|
|
660
660
|
if (B)
|
|
661
661
|
throw c(Q);
|
|
662
662
|
return c(A);
|
|
@@ -680,12 +680,12 @@ class NA {
|
|
|
680
680
|
to_sql(A) {
|
|
681
681
|
let Q, B;
|
|
682
682
|
try {
|
|
683
|
-
const a = I.__wbindgen_add_to_stack_pointer(-16), R = G(A, I.__wbindgen_export, I.__wbindgen_export2),
|
|
684
|
-
I.wasmmergebuilder_to_sql(a, this.__wbg_ptr, R,
|
|
685
|
-
var C =
|
|
683
|
+
const a = I.__wbindgen_add_to_stack_pointer(-16), R = G(A, I.__wbindgen_export, I.__wbindgen_export2), H = N;
|
|
684
|
+
I.wasmmergebuilder_to_sql(a, this.__wbg_ptr, R, H);
|
|
685
|
+
var C = i().getInt32(a + 0, !0), E = i().getInt32(a + 4, !0), D = i().getInt32(a + 8, !0), o = i().getInt32(a + 12, !0), k = C, M = E;
|
|
686
686
|
if (o)
|
|
687
687
|
throw k = 0, M = 0, c(D);
|
|
688
|
-
return Q = k, B = M,
|
|
688
|
+
return Q = k, B = M, U(k, M);
|
|
689
689
|
} finally {
|
|
690
690
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, B, 1);
|
|
691
691
|
}
|
|
@@ -697,7 +697,7 @@ class NA {
|
|
|
697
697
|
*/
|
|
698
698
|
using(A, Q) {
|
|
699
699
|
const B = G(A, I.__wbindgen_export, I.__wbindgen_export2), C = N;
|
|
700
|
-
Y(Q,
|
|
700
|
+
Y(Q, K), I.wasmmergebuilder_using(this.__wbg_ptr, B, C, Q.__wbg_ptr);
|
|
701
701
|
}
|
|
702
702
|
/**
|
|
703
703
|
* Add a WHEN MATCHED THEN DELETE clause.
|
|
@@ -718,8 +718,8 @@ class NA {
|
|
|
718
718
|
* @param {WasmExprArray} values
|
|
719
719
|
*/
|
|
720
720
|
when_not_matched_insert(A, Q) {
|
|
721
|
-
const B =
|
|
722
|
-
Y(Q,
|
|
721
|
+
const B = UA(A, I.__wbindgen_export), C = N;
|
|
722
|
+
Y(Q, j), I.wasmmergebuilder_when_not_matched_insert(this.__wbg_ptr, B, C, Q.__wbg_ptr);
|
|
723
723
|
}
|
|
724
724
|
}
|
|
725
725
|
Symbol.dispose && (NA.prototype[Symbol.dispose] = NA.prototype.free);
|
|
@@ -740,7 +740,7 @@ class x {
|
|
|
740
740
|
try {
|
|
741
741
|
const C = I.__wbindgen_add_to_stack_pointer(-16);
|
|
742
742
|
I.wasmselectbuilder_build(C, this.__wbg_ptr);
|
|
743
|
-
var A =
|
|
743
|
+
var A = i().getInt32(C + 0, !0), Q = i().getInt32(C + 4, !0), B = i().getInt32(C + 8, !0);
|
|
744
744
|
if (B)
|
|
745
745
|
throw c(Q);
|
|
746
746
|
return c(A);
|
|
@@ -765,7 +765,7 @@ class x {
|
|
|
765
765
|
try {
|
|
766
766
|
const E = I.__wbindgen_add_to_stack_pointer(-16), D = G(A, I.__wbindgen_export, I.__wbindgen_export2), o = N;
|
|
767
767
|
I.wasmselectbuilder_ctas(E, this.__wbg_ptr, D, o);
|
|
768
|
-
var Q =
|
|
768
|
+
var Q = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0), C = i().getInt32(E + 8, !0);
|
|
769
769
|
if (C)
|
|
770
770
|
throw c(B);
|
|
771
771
|
return c(Q);
|
|
@@ -782,12 +782,12 @@ class x {
|
|
|
782
782
|
ctas_sql(A, Q) {
|
|
783
783
|
let B, C;
|
|
784
784
|
try {
|
|
785
|
-
const R = I.__wbindgen_add_to_stack_pointer(-16),
|
|
786
|
-
I.wasmselectbuilder_ctas_sql(R, this.__wbg_ptr,
|
|
787
|
-
var E =
|
|
785
|
+
const R = I.__wbindgen_add_to_stack_pointer(-16), H = G(A, I.__wbindgen_export, I.__wbindgen_export2), s = N, T = G(Q, I.__wbindgen_export, I.__wbindgen_export2), W = N;
|
|
786
|
+
I.wasmselectbuilder_ctas_sql(R, this.__wbg_ptr, H, s, T, W);
|
|
787
|
+
var E = i().getInt32(R + 0, !0), D = i().getInt32(R + 4, !0), o = i().getInt32(R + 8, !0), k = i().getInt32(R + 12, !0), M = E, a = D;
|
|
788
788
|
if (k)
|
|
789
789
|
throw M = 0, a = 0, c(o);
|
|
790
|
-
return B = M, C = a,
|
|
790
|
+
return B = M, C = a, U(M, a);
|
|
791
791
|
} finally {
|
|
792
792
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, C, 1);
|
|
793
793
|
}
|
|
@@ -807,10 +807,10 @@ class x {
|
|
|
807
807
|
try {
|
|
808
808
|
const E = I.__wbindgen_add_to_stack_pointer(-16);
|
|
809
809
|
Y(A, x), I.wasmselectbuilder_except_(E, this.__wbg_ptr, A.__wbg_ptr);
|
|
810
|
-
var Q =
|
|
810
|
+
var Q = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0), C = i().getInt32(E + 8, !0);
|
|
811
811
|
if (C)
|
|
812
812
|
throw c(B);
|
|
813
|
-
return
|
|
813
|
+
return z.__wrap(Q);
|
|
814
814
|
} finally {
|
|
815
815
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
816
816
|
}
|
|
@@ -834,21 +834,21 @@ class x {
|
|
|
834
834
|
* @param {WasmExpr} expr
|
|
835
835
|
*/
|
|
836
836
|
from_expr(A) {
|
|
837
|
-
Y(A,
|
|
837
|
+
Y(A, K), I.wasmselectbuilder_from_expr(this.__wbg_ptr, A.__wbg_ptr);
|
|
838
838
|
}
|
|
839
839
|
/**
|
|
840
840
|
* Set the GROUP BY clause.
|
|
841
841
|
* @param {WasmExprArray} cols
|
|
842
842
|
*/
|
|
843
843
|
group_by_cols(A) {
|
|
844
|
-
Y(A,
|
|
844
|
+
Y(A, j), 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
|
-
Y(A,
|
|
851
|
+
Y(A, K), I.wasmselectbuilder_having(this.__wbg_ptr, A.__wbg_ptr);
|
|
852
852
|
}
|
|
853
853
|
/**
|
|
854
854
|
* Add a query hint.
|
|
@@ -867,10 +867,10 @@ class x {
|
|
|
867
867
|
try {
|
|
868
868
|
const E = I.__wbindgen_add_to_stack_pointer(-16);
|
|
869
869
|
Y(A, x), I.wasmselectbuilder_intersect(E, this.__wbg_ptr, A.__wbg_ptr);
|
|
870
|
-
var Q =
|
|
870
|
+
var Q = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0), C = i().getInt32(E + 8, !0);
|
|
871
871
|
if (C)
|
|
872
872
|
throw c(B);
|
|
873
|
-
return
|
|
873
|
+
return z.__wrap(Q);
|
|
874
874
|
} finally {
|
|
875
875
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
876
876
|
}
|
|
@@ -882,7 +882,7 @@ class x {
|
|
|
882
882
|
*/
|
|
883
883
|
join(A, Q) {
|
|
884
884
|
const B = G(A, I.__wbindgen_export, I.__wbindgen_export2), C = N;
|
|
885
|
-
Y(Q,
|
|
885
|
+
Y(Q, K), I.wasmselectbuilder_join(this.__wbg_ptr, B, C, Q.__wbg_ptr);
|
|
886
886
|
}
|
|
887
887
|
/**
|
|
888
888
|
* Add a LATERAL VIEW clause (Hive/Spark).
|
|
@@ -891,8 +891,8 @@ class x {
|
|
|
891
891
|
* @param {string[]} col_aliases
|
|
892
892
|
*/
|
|
893
893
|
lateral_view(A, Q, B) {
|
|
894
|
-
Y(A,
|
|
895
|
-
const C = G(Q, I.__wbindgen_export, I.__wbindgen_export2), E = N, D =
|
|
894
|
+
Y(A, K);
|
|
895
|
+
const C = G(Q, I.__wbindgen_export, I.__wbindgen_export2), E = N, D = UA(B, I.__wbindgen_export), o = N;
|
|
896
896
|
I.wasmselectbuilder_lateral_view(this.__wbg_ptr, A.__wbg_ptr, C, E, D, o);
|
|
897
897
|
}
|
|
898
898
|
/**
|
|
@@ -902,7 +902,7 @@ class x {
|
|
|
902
902
|
*/
|
|
903
903
|
left_join(A, Q) {
|
|
904
904
|
const B = G(A, I.__wbindgen_export, I.__wbindgen_export2), C = N;
|
|
905
|
-
Y(Q,
|
|
905
|
+
Y(Q, K), I.wasmselectbuilder_left_join(this.__wbg_ptr, B, C, Q.__wbg_ptr);
|
|
906
906
|
}
|
|
907
907
|
/**
|
|
908
908
|
* Set the LIMIT clause.
|
|
@@ -930,14 +930,14 @@ class x {
|
|
|
930
930
|
* @param {WasmExprArray} exprs
|
|
931
931
|
*/
|
|
932
932
|
order_by_exprs(A) {
|
|
933
|
-
Y(A,
|
|
933
|
+
Y(A, j), 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
|
-
Y(A,
|
|
940
|
+
Y(A, K), I.wasmselectbuilder_qualify(this.__wbg_ptr, A.__wbg_ptr);
|
|
941
941
|
}
|
|
942
942
|
/**
|
|
943
943
|
* Add a RIGHT JOIN.
|
|
@@ -946,7 +946,7 @@ class x {
|
|
|
946
946
|
*/
|
|
947
947
|
right_join(A, Q) {
|
|
948
948
|
const B = G(A, I.__wbindgen_export, I.__wbindgen_export2), C = N;
|
|
949
|
-
Y(Q,
|
|
949
|
+
Y(Q, K), I.wasmselectbuilder_right_join(this.__wbg_ptr, B, C, Q.__wbg_ptr);
|
|
950
950
|
}
|
|
951
951
|
/**
|
|
952
952
|
* Add a column by name to the SELECT list.
|
|
@@ -961,14 +961,14 @@ class x {
|
|
|
961
961
|
* @param {WasmExpr} expr
|
|
962
962
|
*/
|
|
963
963
|
select_expr(A) {
|
|
964
|
-
Y(A,
|
|
964
|
+
Y(A, K), I.wasmselectbuilder_select_expr(this.__wbg_ptr, A.__wbg_ptr);
|
|
965
965
|
}
|
|
966
966
|
/**
|
|
967
967
|
* Add multiple expressions to the SELECT list.
|
|
968
968
|
* @param {WasmExprArray} exprs
|
|
969
969
|
*/
|
|
970
970
|
select_exprs(A) {
|
|
971
|
-
Y(A,
|
|
971
|
+
Y(A, j), 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 x {
|
|
|
981
981
|
* @param {WasmExprArray} exprs
|
|
982
982
|
*/
|
|
983
983
|
sort_by_exprs(A) {
|
|
984
|
-
Y(A,
|
|
984
|
+
Y(A, j), I.wasmselectbuilder_sort_by_exprs(this.__wbg_ptr, A.__wbg_ptr);
|
|
985
985
|
}
|
|
986
986
|
/**
|
|
987
987
|
* Generate SQL string for the given dialect.
|
|
@@ -991,12 +991,12 @@ class x {
|
|
|
991
991
|
to_sql(A) {
|
|
992
992
|
let Q, B;
|
|
993
993
|
try {
|
|
994
|
-
const a = I.__wbindgen_add_to_stack_pointer(-16), R = G(A, I.__wbindgen_export, I.__wbindgen_export2),
|
|
995
|
-
I.wasmselectbuilder_to_sql(a, this.__wbg_ptr, R,
|
|
996
|
-
var C =
|
|
994
|
+
const a = I.__wbindgen_add_to_stack_pointer(-16), R = G(A, I.__wbindgen_export, I.__wbindgen_export2), H = N;
|
|
995
|
+
I.wasmselectbuilder_to_sql(a, this.__wbg_ptr, R, H);
|
|
996
|
+
var C = i().getInt32(a + 0, !0), E = i().getInt32(a + 4, !0), D = i().getInt32(a + 8, !0), o = i().getInt32(a + 12, !0), k = C, M = E;
|
|
997
997
|
if (o)
|
|
998
998
|
throw k = 0, M = 0, c(D);
|
|
999
|
-
return Q = k, B = M,
|
|
999
|
+
return Q = k, B = M, U(k, M);
|
|
1000
1000
|
} finally {
|
|
1001
1001
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, B, 1);
|
|
1002
1002
|
}
|
|
@@ -1010,10 +1010,10 @@ class x {
|
|
|
1010
1010
|
try {
|
|
1011
1011
|
const E = I.__wbindgen_add_to_stack_pointer(-16);
|
|
1012
1012
|
Y(A, x), I.wasmselectbuilder_union(E, this.__wbg_ptr, A.__wbg_ptr);
|
|
1013
|
-
var Q =
|
|
1013
|
+
var Q = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0), C = i().getInt32(E + 8, !0);
|
|
1014
1014
|
if (C)
|
|
1015
1015
|
throw c(B);
|
|
1016
|
-
return
|
|
1016
|
+
return z.__wrap(Q);
|
|
1017
1017
|
} finally {
|
|
1018
1018
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
1019
1019
|
}
|
|
@@ -1027,10 +1027,10 @@ class x {
|
|
|
1027
1027
|
try {
|
|
1028
1028
|
const E = I.__wbindgen_add_to_stack_pointer(-16);
|
|
1029
1029
|
Y(A, x), I.wasmselectbuilder_union_all(E, this.__wbg_ptr, A.__wbg_ptr);
|
|
1030
|
-
var Q =
|
|
1030
|
+
var Q = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0), C = i().getInt32(E + 8, !0);
|
|
1031
1031
|
if (C)
|
|
1032
1032
|
throw c(B);
|
|
1033
|
-
return
|
|
1033
|
+
return z.__wrap(Q);
|
|
1034
1034
|
} finally {
|
|
1035
1035
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
1036
1036
|
}
|
|
@@ -1040,7 +1040,7 @@ class x {
|
|
|
1040
1040
|
* @param {WasmExpr} condition
|
|
1041
1041
|
*/
|
|
1042
1042
|
where_expr(A) {
|
|
1043
|
-
Y(A,
|
|
1043
|
+
Y(A, K), I.wasmselectbuilder_where_expr(this.__wbg_ptr, A.__wbg_ptr);
|
|
1044
1044
|
}
|
|
1045
1045
|
/**
|
|
1046
1046
|
* Set the WHERE clause by parsing a raw SQL condition string.
|
|
@@ -1059,7 +1059,7 @@ class x {
|
|
|
1059
1059
|
try {
|
|
1060
1060
|
const E = I.__wbindgen_add_to_stack_pointer(-16), D = G(A, I.__wbindgen_export, I.__wbindgen_export2), o = N;
|
|
1061
1061
|
Y(Q, BA), I.wasmselectbuilder_window(E, this.__wbg_ptr, D, o, Q.__wbg_ptr);
|
|
1062
|
-
var B =
|
|
1062
|
+
var B = i().getInt32(E + 0, !0), C = i().getInt32(E + 4, !0);
|
|
1063
1063
|
if (C)
|
|
1064
1064
|
throw c(B);
|
|
1065
1065
|
} finally {
|
|
@@ -1068,15 +1068,15 @@ class x {
|
|
|
1068
1068
|
}
|
|
1069
1069
|
}
|
|
1070
1070
|
Symbol.dispose && (x.prototype[Symbol.dispose] = x.prototype.free);
|
|
1071
|
-
class
|
|
1071
|
+
class z {
|
|
1072
1072
|
static __wrap(A) {
|
|
1073
1073
|
A = A >>> 0;
|
|
1074
|
-
const Q = Object.create(
|
|
1075
|
-
return Q.__wbg_ptr = A,
|
|
1074
|
+
const Q = Object.create(z.prototype);
|
|
1075
|
+
return Q.__wbg_ptr = A, rA.register(Q, Q.__wbg_ptr, Q), Q;
|
|
1076
1076
|
}
|
|
1077
1077
|
__destroy_into_raw() {
|
|
1078
1078
|
const A = this.__wbg_ptr;
|
|
1079
|
-
return this.__wbg_ptr = 0,
|
|
1079
|
+
return this.__wbg_ptr = 0, rA.unregister(this), A;
|
|
1080
1080
|
}
|
|
1081
1081
|
free() {
|
|
1082
1082
|
const A = this.__destroy_into_raw();
|
|
@@ -1090,7 +1090,7 @@ class l {
|
|
|
1090
1090
|
try {
|
|
1091
1091
|
const C = I.__wbindgen_add_to_stack_pointer(-16);
|
|
1092
1092
|
I.wasmsetopbuilder_build(C, this.__wbg_ptr);
|
|
1093
|
-
var A =
|
|
1093
|
+
var A = i().getInt32(C + 0, !0), Q = i().getInt32(C + 4, !0), B = i().getInt32(C + 8, !0);
|
|
1094
1094
|
if (B)
|
|
1095
1095
|
throw c(Q);
|
|
1096
1096
|
return c(A);
|
|
@@ -1117,7 +1117,7 @@ class l {
|
|
|
1117
1117
|
* @param {WasmExprArray} exprs
|
|
1118
1118
|
*/
|
|
1119
1119
|
order_by_exprs(A) {
|
|
1120
|
-
Y(A,
|
|
1120
|
+
Y(A, j), I.wasmsetopbuilder_order_by_exprs(this.__wbg_ptr, A.__wbg_ptr);
|
|
1121
1121
|
}
|
|
1122
1122
|
/**
|
|
1123
1123
|
* Generate SQL string for the given dialect.
|
|
@@ -1127,22 +1127,22 @@ class l {
|
|
|
1127
1127
|
to_sql(A) {
|
|
1128
1128
|
let Q, B;
|
|
1129
1129
|
try {
|
|
1130
|
-
const a = I.__wbindgen_add_to_stack_pointer(-16), R = G(A, I.__wbindgen_export, I.__wbindgen_export2),
|
|
1131
|
-
I.wasmsetopbuilder_to_sql(a, this.__wbg_ptr, R,
|
|
1132
|
-
var C =
|
|
1130
|
+
const a = I.__wbindgen_add_to_stack_pointer(-16), R = G(A, I.__wbindgen_export, I.__wbindgen_export2), H = N;
|
|
1131
|
+
I.wasmsetopbuilder_to_sql(a, this.__wbg_ptr, R, H);
|
|
1132
|
+
var C = i().getInt32(a + 0, !0), E = i().getInt32(a + 4, !0), D = i().getInt32(a + 8, !0), o = i().getInt32(a + 12, !0), k = C, M = E;
|
|
1133
1133
|
if (o)
|
|
1134
1134
|
throw k = 0, M = 0, c(D);
|
|
1135
|
-
return Q = k, B = M,
|
|
1135
|
+
return Q = k, B = M, U(k, M);
|
|
1136
1136
|
} finally {
|
|
1137
1137
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, B, 1);
|
|
1138
1138
|
}
|
|
1139
1139
|
}
|
|
1140
1140
|
}
|
|
1141
|
-
Symbol.dispose && (
|
|
1141
|
+
Symbol.dispose && (z.prototype[Symbol.dispose] = z.prototype.free);
|
|
1142
1142
|
class GA {
|
|
1143
1143
|
__destroy_into_raw() {
|
|
1144
1144
|
const A = this.__wbg_ptr;
|
|
1145
|
-
return this.__wbg_ptr = 0,
|
|
1145
|
+
return this.__wbg_ptr = 0, fA.unregister(this), A;
|
|
1146
1146
|
}
|
|
1147
1147
|
free() {
|
|
1148
1148
|
const A = this.__destroy_into_raw();
|
|
@@ -1156,7 +1156,7 @@ class GA {
|
|
|
1156
1156
|
try {
|
|
1157
1157
|
const C = I.__wbindgen_add_to_stack_pointer(-16);
|
|
1158
1158
|
I.wasmupdatebuilder_build(C, this.__wbg_ptr);
|
|
1159
|
-
var A =
|
|
1159
|
+
var A = i().getInt32(C + 0, !0), Q = i().getInt32(C + 4, !0), B = i().getInt32(C + 8, !0);
|
|
1160
1160
|
if (B)
|
|
1161
1161
|
throw c(Q);
|
|
1162
1162
|
return c(A);
|
|
@@ -1178,7 +1178,7 @@ class GA {
|
|
|
1178
1178
|
*/
|
|
1179
1179
|
constructor(A) {
|
|
1180
1180
|
const Q = G(A, I.__wbindgen_export, I.__wbindgen_export2), B = N, C = I.wasmupdatebuilder_new(Q, B);
|
|
1181
|
-
return this.__wbg_ptr = C >>> 0,
|
|
1181
|
+
return this.__wbg_ptr = C >>> 0, fA.register(this, this.__wbg_ptr, this), this;
|
|
1182
1182
|
}
|
|
1183
1183
|
/**
|
|
1184
1184
|
* Add a SET column = value assignment.
|
|
@@ -1187,7 +1187,7 @@ class GA {
|
|
|
1187
1187
|
*/
|
|
1188
1188
|
set(A, Q) {
|
|
1189
1189
|
const B = G(A, I.__wbindgen_export, I.__wbindgen_export2), C = N;
|
|
1190
|
-
Y(Q,
|
|
1190
|
+
Y(Q, K), I.wasmupdatebuilder_set(this.__wbg_ptr, B, C, Q.__wbg_ptr);
|
|
1191
1191
|
}
|
|
1192
1192
|
/**
|
|
1193
1193
|
* Generate SQL string for the given dialect.
|
|
@@ -1197,12 +1197,12 @@ class GA {
|
|
|
1197
1197
|
to_sql(A) {
|
|
1198
1198
|
let Q, B;
|
|
1199
1199
|
try {
|
|
1200
|
-
const a = I.__wbindgen_add_to_stack_pointer(-16), R = G(A, I.__wbindgen_export, I.__wbindgen_export2),
|
|
1201
|
-
I.wasmupdatebuilder_to_sql(a, this.__wbg_ptr, R,
|
|
1202
|
-
var C =
|
|
1200
|
+
const a = I.__wbindgen_add_to_stack_pointer(-16), R = G(A, I.__wbindgen_export, I.__wbindgen_export2), H = N;
|
|
1201
|
+
I.wasmupdatebuilder_to_sql(a, this.__wbg_ptr, R, H);
|
|
1202
|
+
var C = i().getInt32(a + 0, !0), E = i().getInt32(a + 4, !0), D = i().getInt32(a + 8, !0), o = i().getInt32(a + 12, !0), k = C, M = E;
|
|
1203
1203
|
if (o)
|
|
1204
1204
|
throw k = 0, M = 0, c(D);
|
|
1205
|
-
return Q = k, B = M,
|
|
1205
|
+
return Q = k, B = M, U(k, M);
|
|
1206
1206
|
} finally {
|
|
1207
1207
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, B, 1);
|
|
1208
1208
|
}
|
|
@@ -1212,14 +1212,14 @@ class GA {
|
|
|
1212
1212
|
* @param {WasmExpr} condition
|
|
1213
1213
|
*/
|
|
1214
1214
|
where_expr(A) {
|
|
1215
|
-
Y(A,
|
|
1215
|
+
Y(A, K), I.wasmupdatebuilder_where_expr(this.__wbg_ptr, A.__wbg_ptr);
|
|
1216
1216
|
}
|
|
1217
1217
|
}
|
|
1218
1218
|
Symbol.dispose && (GA.prototype[Symbol.dispose] = GA.prototype.free);
|
|
1219
1219
|
class BA {
|
|
1220
1220
|
__destroy_into_raw() {
|
|
1221
1221
|
const A = this.__wbg_ptr;
|
|
1222
|
-
return this.__wbg_ptr = 0,
|
|
1222
|
+
return this.__wbg_ptr = 0, bA.unregister(this), A;
|
|
1223
1223
|
}
|
|
1224
1224
|
free() {
|
|
1225
1225
|
const A = this.__destroy_into_raw();
|
|
@@ -1230,36 +1230,36 @@ class BA {
|
|
|
1230
1230
|
*/
|
|
1231
1231
|
constructor() {
|
|
1232
1232
|
const A = I.wasmwindowdefbuilder_new();
|
|
1233
|
-
return this.__wbg_ptr = A >>> 0,
|
|
1233
|
+
return this.__wbg_ptr = A >>> 0, bA.register(this, this.__wbg_ptr, this), this;
|
|
1234
1234
|
}
|
|
1235
1235
|
/**
|
|
1236
1236
|
* Set the ORDER BY expressions.
|
|
1237
1237
|
* @param {WasmExprArray} exprs
|
|
1238
1238
|
*/
|
|
1239
1239
|
order_by(A) {
|
|
1240
|
-
Y(A,
|
|
1240
|
+
Y(A, j), 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
|
-
Y(A,
|
|
1247
|
+
Y(A, j), I.wasmwindowdefbuilder_partition_by(this.__wbg_ptr, A.__wbg_ptr);
|
|
1248
1248
|
}
|
|
1249
1249
|
}
|
|
1250
1250
|
Symbol.dispose && (BA.prototype[Symbol.dispose] = BA.prototype.free);
|
|
1251
1251
|
function MI(g, A, Q) {
|
|
1252
1252
|
let B, C;
|
|
1253
1253
|
try {
|
|
1254
|
-
const o = I.__wbindgen_add_to_stack_pointer(-16), k = G(g, I.__wbindgen_export, I.__wbindgen_export2), M = N, a = G(A, I.__wbindgen_export, I.__wbindgen_export2), R = N,
|
|
1255
|
-
I.annotate_types(o, k, M, a, R,
|
|
1256
|
-
var E =
|
|
1257
|
-
return B = E, C = D,
|
|
1254
|
+
const o = I.__wbindgen_add_to_stack_pointer(-16), k = G(g, I.__wbindgen_export, I.__wbindgen_export2), M = N, a = G(A, I.__wbindgen_export, I.__wbindgen_export2), R = N, H = G(Q, I.__wbindgen_export, I.__wbindgen_export2), s = N;
|
|
1255
|
+
I.annotate_types(o, k, M, a, R, H, s);
|
|
1256
|
+
var E = i().getInt32(o + 0, !0), D = i().getInt32(o + 4, !0);
|
|
1257
|
+
return B = E, C = D, U(E, D);
|
|
1258
1258
|
} finally {
|
|
1259
1259
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, C, 1);
|
|
1260
1260
|
}
|
|
1261
1261
|
}
|
|
1262
|
-
function
|
|
1262
|
+
function KI(g, A, Q) {
|
|
1263
1263
|
const B = G(g, I.__wbindgen_export, I.__wbindgen_export2), C = N, E = G(A, I.__wbindgen_export, I.__wbindgen_export2), D = N, o = G(Q, I.__wbindgen_export, I.__wbindgen_export2), k = N, M = I.annotate_types_value(B, C, E, D, o, k);
|
|
1264
1264
|
return c(M);
|
|
1265
1265
|
}
|
|
@@ -1268,8 +1268,8 @@ function vA(g, A, Q) {
|
|
|
1268
1268
|
try {
|
|
1269
1269
|
const o = I.__wbindgen_add_to_stack_pointer(-16), k = G(g, I.__wbindgen_export, I.__wbindgen_export2), M = N, a = G(A, I.__wbindgen_export, I.__wbindgen_export2), R = N;
|
|
1270
1270
|
I.ast_add_where(o, k, M, a, R, Q);
|
|
1271
|
-
var E =
|
|
1272
|
-
return B = E, C = D,
|
|
1271
|
+
var E = i().getInt32(o + 0, !0), D = i().getInt32(o + 4, !0);
|
|
1272
|
+
return B = E, C = D, U(E, D);
|
|
1273
1273
|
} finally {
|
|
1274
1274
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, C, 1);
|
|
1275
1275
|
}
|
|
@@ -1279,8 +1279,8 @@ function uA(g) {
|
|
|
1279
1279
|
try {
|
|
1280
1280
|
const E = I.__wbindgen_add_to_stack_pointer(-16), D = G(g, I.__wbindgen_export, I.__wbindgen_export2), o = N;
|
|
1281
1281
|
I.ast_get_aggregate_functions(E, D, o);
|
|
1282
|
-
var B =
|
|
1283
|
-
return A = B, Q = C,
|
|
1282
|
+
var B = i().getInt32(E + 0, !0), C = i().getInt32(E + 4, !0);
|
|
1283
|
+
return A = B, Q = C, U(B, C);
|
|
1284
1284
|
} finally {
|
|
1285
1285
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, Q, 1);
|
|
1286
1286
|
}
|
|
@@ -1290,8 +1290,8 @@ function nA(g) {
|
|
|
1290
1290
|
try {
|
|
1291
1291
|
const E = I.__wbindgen_add_to_stack_pointer(-16), D = G(g, I.__wbindgen_export, I.__wbindgen_export2), o = N;
|
|
1292
1292
|
I.ast_get_column_names(E, D, o);
|
|
1293
|
-
var B =
|
|
1294
|
-
return A = B, Q = C,
|
|
1293
|
+
var B = i().getInt32(E + 0, !0), C = i().getInt32(E + 4, !0);
|
|
1294
|
+
return A = B, Q = C, U(B, C);
|
|
1295
1295
|
} finally {
|
|
1296
1296
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, Q, 1);
|
|
1297
1297
|
}
|
|
@@ -1301,8 +1301,8 @@ function _A(g) {
|
|
|
1301
1301
|
try {
|
|
1302
1302
|
const E = I.__wbindgen_add_to_stack_pointer(-16), D = G(g, I.__wbindgen_export, I.__wbindgen_export2), o = N;
|
|
1303
1303
|
I.ast_get_functions(E, D, o);
|
|
1304
|
-
var B =
|
|
1305
|
-
return A = B, Q = C,
|
|
1304
|
+
var B = i().getInt32(E + 0, !0), C = i().getInt32(E + 4, !0);
|
|
1305
|
+
return A = B, Q = C, U(B, C);
|
|
1306
1306
|
} finally {
|
|
1307
1307
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, Q, 1);
|
|
1308
1308
|
}
|
|
@@ -1312,8 +1312,8 @@ function $A(g) {
|
|
|
1312
1312
|
try {
|
|
1313
1313
|
const E = I.__wbindgen_add_to_stack_pointer(-16), D = G(g, I.__wbindgen_export, I.__wbindgen_export2), o = N;
|
|
1314
1314
|
I.ast_get_literals(E, D, o);
|
|
1315
|
-
var B =
|
|
1316
|
-
return A = B, Q = C,
|
|
1315
|
+
var B = i().getInt32(E + 0, !0), C = i().getInt32(E + 4, !0);
|
|
1316
|
+
return A = B, Q = C, U(B, C);
|
|
1317
1317
|
} finally {
|
|
1318
1318
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, Q, 1);
|
|
1319
1319
|
}
|
|
@@ -1323,8 +1323,8 @@ function Ag(g) {
|
|
|
1323
1323
|
try {
|
|
1324
1324
|
const E = I.__wbindgen_add_to_stack_pointer(-16), D = G(g, I.__wbindgen_export, I.__wbindgen_export2), o = N;
|
|
1325
1325
|
I.ast_get_subqueries(E, D, o);
|
|
1326
|
-
var B =
|
|
1327
|
-
return A = B, Q = C,
|
|
1326
|
+
var B = i().getInt32(E + 0, !0), C = i().getInt32(E + 4, !0);
|
|
1327
|
+
return A = B, Q = C, U(B, C);
|
|
1328
1328
|
} finally {
|
|
1329
1329
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, Q, 1);
|
|
1330
1330
|
}
|
|
@@ -1334,8 +1334,8 @@ function gg(g) {
|
|
|
1334
1334
|
try {
|
|
1335
1335
|
const E = I.__wbindgen_add_to_stack_pointer(-16), D = G(g, I.__wbindgen_export, I.__wbindgen_export2), o = N;
|
|
1336
1336
|
I.ast_get_table_names(E, D, o);
|
|
1337
|
-
var B =
|
|
1338
|
-
return A = B, Q = C,
|
|
1337
|
+
var B = i().getInt32(E + 0, !0), C = i().getInt32(E + 4, !0);
|
|
1338
|
+
return A = B, Q = C, U(B, C);
|
|
1339
1339
|
} finally {
|
|
1340
1340
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, Q, 1);
|
|
1341
1341
|
}
|
|
@@ -1345,8 +1345,8 @@ function Ig(g) {
|
|
|
1345
1345
|
try {
|
|
1346
1346
|
const E = I.__wbindgen_add_to_stack_pointer(-16), D = G(g, I.__wbindgen_export, I.__wbindgen_export2), o = N;
|
|
1347
1347
|
I.ast_get_window_functions(E, D, o);
|
|
1348
|
-
var B =
|
|
1349
|
-
return A = B, Q = C,
|
|
1348
|
+
var B = i().getInt32(E + 0, !0), C = i().getInt32(E + 4, !0);
|
|
1349
|
+
return A = B, Q = C, U(B, C);
|
|
1350
1350
|
} finally {
|
|
1351
1351
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, Q, 1);
|
|
1352
1352
|
}
|
|
@@ -1356,8 +1356,8 @@ function Qg(g) {
|
|
|
1356
1356
|
try {
|
|
1357
1357
|
const E = I.__wbindgen_add_to_stack_pointer(-16), D = G(g, I.__wbindgen_export, I.__wbindgen_export2), o = N;
|
|
1358
1358
|
I.ast_node_count(E, D, o);
|
|
1359
|
-
var B =
|
|
1360
|
-
return A = B, Q = C,
|
|
1359
|
+
var B = i().getInt32(E + 0, !0), C = i().getInt32(E + 4, !0);
|
|
1360
|
+
return A = B, Q = C, U(B, C);
|
|
1361
1361
|
} finally {
|
|
1362
1362
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, Q, 1);
|
|
1363
1363
|
}
|
|
@@ -1367,8 +1367,8 @@ function Bg(g, A) {
|
|
|
1367
1367
|
try {
|
|
1368
1368
|
const D = I.__wbindgen_add_to_stack_pointer(-16), o = G(g, I.__wbindgen_export, I.__wbindgen_export2), k = N, M = G(A, I.__wbindgen_export, I.__wbindgen_export2), a = N;
|
|
1369
1369
|
I.ast_qualify_columns(D, o, k, M, a);
|
|
1370
|
-
var C =
|
|
1371
|
-
return Q = C, B = E,
|
|
1370
|
+
var C = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
|
|
1371
|
+
return Q = C, B = E, U(C, E);
|
|
1372
1372
|
} finally {
|
|
1373
1373
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, B, 1);
|
|
1374
1374
|
}
|
|
@@ -1378,8 +1378,8 @@ function Cg(g) {
|
|
|
1378
1378
|
try {
|
|
1379
1379
|
const E = I.__wbindgen_add_to_stack_pointer(-16), D = G(g, I.__wbindgen_export, I.__wbindgen_export2), o = N;
|
|
1380
1380
|
I.ast_remove_where(E, D, o);
|
|
1381
|
-
var B =
|
|
1382
|
-
return A = B, Q = C,
|
|
1381
|
+
var B = i().getInt32(E + 0, !0), C = i().getInt32(E + 4, !0);
|
|
1382
|
+
return A = B, Q = C, U(B, C);
|
|
1383
1383
|
} finally {
|
|
1384
1384
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, Q, 1);
|
|
1385
1385
|
}
|
|
@@ -1389,8 +1389,8 @@ function Eg(g, A) {
|
|
|
1389
1389
|
try {
|
|
1390
1390
|
const D = I.__wbindgen_add_to_stack_pointer(-16), o = G(g, I.__wbindgen_export, I.__wbindgen_export2), k = N, M = G(A, I.__wbindgen_export, I.__wbindgen_export2), a = N;
|
|
1391
1391
|
I.ast_rename_columns(D, o, k, M, a);
|
|
1392
|
-
var C =
|
|
1393
|
-
return Q = C, B = E,
|
|
1392
|
+
var C = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
|
|
1393
|
+
return Q = C, B = E, U(C, E);
|
|
1394
1394
|
} finally {
|
|
1395
1395
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, B, 1);
|
|
1396
1396
|
}
|
|
@@ -1400,30 +1400,30 @@ function Dg(g, A) {
|
|
|
1400
1400
|
try {
|
|
1401
1401
|
const D = I.__wbindgen_add_to_stack_pointer(-16), o = G(g, I.__wbindgen_export, I.__wbindgen_export2), k = N, M = G(A, I.__wbindgen_export, I.__wbindgen_export2), a = N;
|
|
1402
1402
|
I.ast_rename_tables(D, o, k, M, a);
|
|
1403
|
-
var C =
|
|
1404
|
-
return Q = C, B = E,
|
|
1403
|
+
var C = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
|
|
1404
|
+
return Q = C, B = E, U(C, E);
|
|
1405
1405
|
} finally {
|
|
1406
1406
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, B, 1);
|
|
1407
1407
|
}
|
|
1408
1408
|
}
|
|
1409
|
-
function
|
|
1409
|
+
function wg(g, A) {
|
|
1410
1410
|
let Q, B;
|
|
1411
1411
|
try {
|
|
1412
1412
|
const D = I.__wbindgen_add_to_stack_pointer(-16), o = G(g, I.__wbindgen_export, I.__wbindgen_export2), k = N;
|
|
1413
1413
|
I.ast_set_distinct(D, o, k, A);
|
|
1414
|
-
var C =
|
|
1415
|
-
return Q = C, B = E,
|
|
1414
|
+
var C = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
|
|
1415
|
+
return Q = C, B = E, U(C, E);
|
|
1416
1416
|
} finally {
|
|
1417
1417
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, B, 1);
|
|
1418
1418
|
}
|
|
1419
1419
|
}
|
|
1420
|
-
function
|
|
1420
|
+
function ig(g, A) {
|
|
1421
1421
|
let Q, B;
|
|
1422
1422
|
try {
|
|
1423
1423
|
const D = I.__wbindgen_add_to_stack_pointer(-16), o = G(g, I.__wbindgen_export, I.__wbindgen_export2), k = N;
|
|
1424
1424
|
I.ast_set_limit(D, o, k, A);
|
|
1425
|
-
var C =
|
|
1426
|
-
return Q = C, B = E,
|
|
1425
|
+
var C = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
|
|
1426
|
+
return Q = C, B = E, U(C, E);
|
|
1427
1427
|
} finally {
|
|
1428
1428
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, B, 1);
|
|
1429
1429
|
}
|
|
@@ -1431,10 +1431,10 @@ function wg(g, A) {
|
|
|
1431
1431
|
function og(g, A, Q, B, C, E) {
|
|
1432
1432
|
let D, o;
|
|
1433
1433
|
try {
|
|
1434
|
-
const a = I.__wbindgen_add_to_stack_pointer(-16), R = G(g, I.__wbindgen_export, I.__wbindgen_export2),
|
|
1435
|
-
I.diff_sql(a, R,
|
|
1436
|
-
var k =
|
|
1437
|
-
return D = k, o = M,
|
|
1434
|
+
const a = I.__wbindgen_add_to_stack_pointer(-16), R = G(g, I.__wbindgen_export, I.__wbindgen_export2), H = N, s = G(A, I.__wbindgen_export, I.__wbindgen_export2), T = N, W = G(Q, I.__wbindgen_export, I.__wbindgen_export2), u = N;
|
|
1435
|
+
I.diff_sql(a, R, H, s, T, W, u, B, C, E);
|
|
1436
|
+
var k = i().getInt32(a + 0, !0), M = i().getInt32(a + 4, !0);
|
|
1437
|
+
return D = k, o = M, U(k, M);
|
|
1438
1438
|
} finally {
|
|
1439
1439
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(D, o, 1);
|
|
1440
1440
|
}
|
|
@@ -1444,23 +1444,23 @@ function aI(g, A) {
|
|
|
1444
1444
|
try {
|
|
1445
1445
|
const D = I.__wbindgen_add_to_stack_pointer(-16), o = G(g, I.__wbindgen_export, I.__wbindgen_export2), k = N, M = G(A, I.__wbindgen_export, I.__wbindgen_export2), a = N;
|
|
1446
1446
|
I.format_sql(D, o, k, M, a);
|
|
1447
|
-
var C =
|
|
1448
|
-
return Q = C, B = E,
|
|
1447
|
+
var C = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
|
|
1448
|
+
return Q = C, B = E, U(C, E);
|
|
1449
1449
|
} finally {
|
|
1450
1450
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, B, 1);
|
|
1451
1451
|
}
|
|
1452
1452
|
}
|
|
1453
|
-
function
|
|
1453
|
+
function JI(g, A) {
|
|
1454
1454
|
const Q = G(g, I.__wbindgen_export, I.__wbindgen_export2), B = N, C = G(A, I.__wbindgen_export, I.__wbindgen_export2), E = N, D = I.format_sql_value(Q, B, C, E);
|
|
1455
1455
|
return c(D);
|
|
1456
1456
|
}
|
|
1457
1457
|
function YI(g, A, Q) {
|
|
1458
1458
|
let B, C;
|
|
1459
1459
|
try {
|
|
1460
|
-
const o = I.__wbindgen_add_to_stack_pointer(-16), k = G(g, I.__wbindgen_export, I.__wbindgen_export2), M = N, a = G(A, I.__wbindgen_export, I.__wbindgen_export2), R = N,
|
|
1461
|
-
I.format_sql_with_options(o, k, M, a, R,
|
|
1462
|
-
var E =
|
|
1463
|
-
return B = E, C = D,
|
|
1460
|
+
const o = I.__wbindgen_add_to_stack_pointer(-16), k = G(g, I.__wbindgen_export, I.__wbindgen_export2), M = N, a = G(A, I.__wbindgen_export, I.__wbindgen_export2), R = N, H = G(Q, I.__wbindgen_export, I.__wbindgen_export2), s = N;
|
|
1461
|
+
I.format_sql_with_options(o, k, M, a, R, H, s);
|
|
1462
|
+
var E = i().getInt32(o + 0, !0), D = i().getInt32(o + 4, !0);
|
|
1463
|
+
return B = E, C = D, U(E, D);
|
|
1464
1464
|
} finally {
|
|
1465
1465
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, C, 1);
|
|
1466
1466
|
}
|
|
@@ -1474,8 +1474,8 @@ function yI(g, A) {
|
|
|
1474
1474
|
try {
|
|
1475
1475
|
const D = I.__wbindgen_add_to_stack_pointer(-16), o = G(g, I.__wbindgen_export, I.__wbindgen_export2), k = N, M = G(A, I.__wbindgen_export, I.__wbindgen_export2), a = N;
|
|
1476
1476
|
I.generate(D, o, k, M, a);
|
|
1477
|
-
var C =
|
|
1478
|
-
return Q = C, B = E,
|
|
1477
|
+
var C = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
|
|
1478
|
+
return Q = C, B = E, U(C, E);
|
|
1479
1479
|
} finally {
|
|
1480
1480
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, B, 1);
|
|
1481
1481
|
}
|
|
@@ -1484,13 +1484,13 @@ function qI(g, A) {
|
|
|
1484
1484
|
const Q = G(A, I.__wbindgen_export, I.__wbindgen_export2), B = N, C = I.generate_value(F(g), Q, B);
|
|
1485
1485
|
return c(C);
|
|
1486
1486
|
}
|
|
1487
|
-
function
|
|
1487
|
+
function hI() {
|
|
1488
1488
|
let g, A;
|
|
1489
1489
|
try {
|
|
1490
1490
|
const C = I.__wbindgen_add_to_stack_pointer(-16);
|
|
1491
1491
|
I.get_dialects(C);
|
|
1492
|
-
var Q =
|
|
1493
|
-
return g = Q, A = B,
|
|
1492
|
+
var Q = i().getInt32(C + 0, !0), B = i().getInt32(C + 4, !0);
|
|
1493
|
+
return g = Q, A = B, U(Q, B);
|
|
1494
1494
|
} finally {
|
|
1495
1495
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(g, A, 1);
|
|
1496
1496
|
}
|
|
@@ -1502,10 +1502,10 @@ function cI() {
|
|
|
1502
1502
|
function Ng(g, A, Q, B) {
|
|
1503
1503
|
let C, E;
|
|
1504
1504
|
try {
|
|
1505
|
-
const k = I.__wbindgen_add_to_stack_pointer(-16), M = G(g, I.__wbindgen_export, I.__wbindgen_export2), a = N, R = G(A, I.__wbindgen_export, I.__wbindgen_export2),
|
|
1506
|
-
I.lineage_sql(k, M, a, R,
|
|
1507
|
-
var D =
|
|
1508
|
-
return C = D, E = o,
|
|
1505
|
+
const k = I.__wbindgen_add_to_stack_pointer(-16), M = G(g, I.__wbindgen_export, I.__wbindgen_export2), a = N, R = G(A, I.__wbindgen_export, I.__wbindgen_export2), H = N, s = G(Q, I.__wbindgen_export, I.__wbindgen_export2), T = N;
|
|
1506
|
+
I.lineage_sql(k, M, a, R, H, s, T, B);
|
|
1507
|
+
var D = i().getInt32(k + 0, !0), o = i().getInt32(k + 4, !0);
|
|
1508
|
+
return C = D, E = o, U(D, o);
|
|
1509
1509
|
} finally {
|
|
1510
1510
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, E, 1);
|
|
1511
1511
|
}
|
|
@@ -1513,26 +1513,26 @@ function Ng(g, A, Q, B) {
|
|
|
1513
1513
|
function Gg(g, A, Q, B, C) {
|
|
1514
1514
|
let E, D;
|
|
1515
1515
|
try {
|
|
1516
|
-
const M = I.__wbindgen_add_to_stack_pointer(-16), a = G(g, I.__wbindgen_export, I.__wbindgen_export2), R = N,
|
|
1517
|
-
I.lineage_sql_with_schema(M, a, R,
|
|
1518
|
-
var o =
|
|
1519
|
-
return E = o, D = k,
|
|
1516
|
+
const M = I.__wbindgen_add_to_stack_pointer(-16), a = G(g, I.__wbindgen_export, I.__wbindgen_export2), R = N, H = G(A, I.__wbindgen_export, I.__wbindgen_export2), s = N, T = G(Q, I.__wbindgen_export, I.__wbindgen_export2), W = N, u = G(B, I.__wbindgen_export, I.__wbindgen_export2), NI = N;
|
|
1517
|
+
I.lineage_sql_with_schema(M, a, R, H, s, T, W, u, NI, C);
|
|
1518
|
+
var o = i().getInt32(M + 0, !0), k = i().getInt32(M + 4, !0);
|
|
1519
|
+
return E = o, D = k, U(o, k);
|
|
1520
1520
|
} finally {
|
|
1521
1521
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(E, D, 1);
|
|
1522
1522
|
}
|
|
1523
1523
|
}
|
|
1524
|
-
function
|
|
1524
|
+
function UI(g, A) {
|
|
1525
1525
|
let Q, B;
|
|
1526
1526
|
try {
|
|
1527
1527
|
const D = I.__wbindgen_add_to_stack_pointer(-16), o = G(g, I.__wbindgen_export, I.__wbindgen_export2), k = N, M = G(A, I.__wbindgen_export, I.__wbindgen_export2), a = N;
|
|
1528
1528
|
I.parse(D, o, k, M, a);
|
|
1529
|
-
var C =
|
|
1530
|
-
return Q = C, B = E,
|
|
1529
|
+
var C = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
|
|
1530
|
+
return Q = C, B = E, U(C, E);
|
|
1531
1531
|
} finally {
|
|
1532
1532
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, B, 1);
|
|
1533
1533
|
}
|
|
1534
1534
|
}
|
|
1535
|
-
function
|
|
1535
|
+
function SI(g, A) {
|
|
1536
1536
|
const Q = G(g, I.__wbindgen_export, I.__wbindgen_export2), B = N, C = G(A, I.__wbindgen_export, I.__wbindgen_export2), E = N, D = I.parse_value(Q, B, C, E);
|
|
1537
1537
|
return c(D);
|
|
1538
1538
|
}
|
|
@@ -1541,8 +1541,8 @@ function kg(g, A) {
|
|
|
1541
1541
|
try {
|
|
1542
1542
|
const D = I.__wbindgen_add_to_stack_pointer(-16), o = G(g, I.__wbindgen_export, I.__wbindgen_export2), k = N, M = G(A, I.__wbindgen_export, I.__wbindgen_export2), a = N;
|
|
1543
1543
|
I.plan(D, o, k, M, a);
|
|
1544
|
-
var C =
|
|
1545
|
-
return Q = C, B = E,
|
|
1544
|
+
var C = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
|
|
1545
|
+
return Q = C, B = E, U(C, E);
|
|
1546
1546
|
} finally {
|
|
1547
1547
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, B, 1);
|
|
1548
1548
|
}
|
|
@@ -1550,21 +1550,21 @@ function kg(g, A) {
|
|
|
1550
1550
|
function Mg(g, A, Q) {
|
|
1551
1551
|
let B, C;
|
|
1552
1552
|
try {
|
|
1553
|
-
const o = I.__wbindgen_add_to_stack_pointer(-16), k = G(g, I.__wbindgen_export, I.__wbindgen_export2), M = N, a = G(A, I.__wbindgen_export, I.__wbindgen_export2), R = N,
|
|
1554
|
-
I.source_tables(o, k, M, a, R,
|
|
1555
|
-
var E =
|
|
1556
|
-
return B = E, C = D,
|
|
1553
|
+
const o = I.__wbindgen_add_to_stack_pointer(-16), k = G(g, I.__wbindgen_export, I.__wbindgen_export2), M = N, a = G(A, I.__wbindgen_export, I.__wbindgen_export2), R = N, H = G(Q, I.__wbindgen_export, I.__wbindgen_export2), s = N;
|
|
1554
|
+
I.source_tables(o, k, M, a, R, H, s);
|
|
1555
|
+
var E = i().getInt32(o + 0, !0), D = i().getInt32(o + 4, !0);
|
|
1556
|
+
return B = E, C = D, U(E, D);
|
|
1557
1557
|
} finally {
|
|
1558
1558
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, C, 1);
|
|
1559
1559
|
}
|
|
1560
1560
|
}
|
|
1561
|
-
function
|
|
1561
|
+
function HI(g, A) {
|
|
1562
1562
|
let Q, B;
|
|
1563
1563
|
try {
|
|
1564
1564
|
const D = I.__wbindgen_add_to_stack_pointer(-16), o = G(g, I.__wbindgen_export, I.__wbindgen_export2), k = N, M = G(A, I.__wbindgen_export, I.__wbindgen_export2), a = N;
|
|
1565
1565
|
I.tokenize(D, o, k, M, a);
|
|
1566
|
-
var C =
|
|
1567
|
-
return Q = C, B = E,
|
|
1566
|
+
var C = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
|
|
1567
|
+
return Q = C, B = E, U(C, E);
|
|
1568
1568
|
} finally {
|
|
1569
1569
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, B, 1);
|
|
1570
1570
|
}
|
|
@@ -1576,10 +1576,10 @@ function FI(g, A) {
|
|
|
1576
1576
|
function LI(g, A, Q) {
|
|
1577
1577
|
let B, C;
|
|
1578
1578
|
try {
|
|
1579
|
-
const o = I.__wbindgen_add_to_stack_pointer(-16), k = G(g, I.__wbindgen_export, I.__wbindgen_export2), M = N, a = G(A, I.__wbindgen_export, I.__wbindgen_export2), R = N,
|
|
1580
|
-
I.transpile(o, k, M, a, R,
|
|
1581
|
-
var E =
|
|
1582
|
-
return B = E, C = D,
|
|
1579
|
+
const o = I.__wbindgen_add_to_stack_pointer(-16), k = G(g, I.__wbindgen_export, I.__wbindgen_export2), M = N, a = G(A, I.__wbindgen_export, I.__wbindgen_export2), R = N, H = G(Q, I.__wbindgen_export, I.__wbindgen_export2), s = N;
|
|
1580
|
+
I.transpile(o, k, M, a, R, H, s);
|
|
1581
|
+
var E = i().getInt32(o + 0, !0), D = i().getInt32(o + 4, !0);
|
|
1582
|
+
return B = E, C = D, U(E, D);
|
|
1583
1583
|
} finally {
|
|
1584
1584
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, C, 1);
|
|
1585
1585
|
}
|
|
@@ -1593,115 +1593,115 @@ function pI(g, A) {
|
|
|
1593
1593
|
try {
|
|
1594
1594
|
const D = I.__wbindgen_add_to_stack_pointer(-16), o = G(g, I.__wbindgen_export, I.__wbindgen_export2), k = N, M = G(A, I.__wbindgen_export, I.__wbindgen_export2), a = N;
|
|
1595
1595
|
I.validate(D, o, k, M, a);
|
|
1596
|
-
var C =
|
|
1597
|
-
return Q = C, B = E,
|
|
1596
|
+
var C = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
|
|
1597
|
+
return Q = C, B = E, U(C, E);
|
|
1598
1598
|
} finally {
|
|
1599
1599
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, B, 1);
|
|
1600
1600
|
}
|
|
1601
1601
|
}
|
|
1602
|
-
function
|
|
1602
|
+
function jI(g, A, Q) {
|
|
1603
1603
|
let B, C;
|
|
1604
1604
|
try {
|
|
1605
|
-
const o = I.__wbindgen_add_to_stack_pointer(-16), k = G(g, I.__wbindgen_export, I.__wbindgen_export2), M = N, a = G(A, I.__wbindgen_export, I.__wbindgen_export2), R = N,
|
|
1606
|
-
I.validate_with_options(o, k, M, a, R,
|
|
1607
|
-
var E =
|
|
1608
|
-
return B = E, C = D,
|
|
1605
|
+
const o = I.__wbindgen_add_to_stack_pointer(-16), k = G(g, I.__wbindgen_export, I.__wbindgen_export2), M = N, a = G(A, I.__wbindgen_export, I.__wbindgen_export2), R = N, H = G(Q, I.__wbindgen_export, I.__wbindgen_export2), s = N;
|
|
1606
|
+
I.validate_with_options(o, k, M, a, R, H, s);
|
|
1607
|
+
var E = i().getInt32(o + 0, !0), D = i().getInt32(o + 4, !0);
|
|
1608
|
+
return B = E, C = D, U(E, D);
|
|
1609
1609
|
} finally {
|
|
1610
1610
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, C, 1);
|
|
1611
1611
|
}
|
|
1612
1612
|
}
|
|
1613
|
-
function
|
|
1613
|
+
function Kg(g, A, Q, B) {
|
|
1614
1614
|
let C, E;
|
|
1615
1615
|
try {
|
|
1616
|
-
const k = I.__wbindgen_add_to_stack_pointer(-16), M = G(g, I.__wbindgen_export, I.__wbindgen_export2), a = N, R = G(A, I.__wbindgen_export, I.__wbindgen_export2),
|
|
1617
|
-
I.validate_with_schema(k, M, a, R,
|
|
1618
|
-
var D =
|
|
1619
|
-
return C = D, E = o,
|
|
1616
|
+
const k = I.__wbindgen_add_to_stack_pointer(-16), M = G(g, I.__wbindgen_export, I.__wbindgen_export2), a = N, R = G(A, I.__wbindgen_export, I.__wbindgen_export2), H = N, s = G(Q, I.__wbindgen_export, I.__wbindgen_export2), T = N, W = G(B, I.__wbindgen_export, I.__wbindgen_export2), u = N;
|
|
1617
|
+
I.validate_with_schema(k, M, a, R, H, s, T, W, u);
|
|
1618
|
+
var D = i().getInt32(k + 0, !0), o = i().getInt32(k + 4, !0);
|
|
1619
|
+
return C = D, E = o, U(D, o);
|
|
1620
1620
|
} finally {
|
|
1621
1621
|
I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, E, 1);
|
|
1622
1622
|
}
|
|
1623
1623
|
}
|
|
1624
|
-
function
|
|
1624
|
+
function OI() {
|
|
1625
1625
|
let g, A;
|
|
1626
1626
|
try {
|
|
1627
1627
|
const C = I.__wbindgen_add_to_stack_pointer(-16);
|
|
1628
1628
|
I.version(C);
|
|
1629
|
-
var Q =
|
|
1630
|
-
return g = Q, A = B,
|
|
1629
|
+
var Q = i().getInt32(C + 0, !0), B = i().getInt32(C + 4, !0);
|
|
1630
|
+
return g = Q, A = B, U(Q, B);
|
|
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 ag(g, A) {
|
|
1636
|
-
Y(g,
|
|
1636
|
+
Y(g, K);
|
|
1637
1637
|
const Q = G(A, I.__wbindgen_export, I.__wbindgen_export2), B = N, C = I.wasm_alias(g.__wbg_ptr, Q, B);
|
|
1638
|
-
return
|
|
1638
|
+
return K.__wrap(C);
|
|
1639
1639
|
}
|
|
1640
|
-
function
|
|
1641
|
-
Y(g,
|
|
1640
|
+
function Jg(g, A) {
|
|
1641
|
+
Y(g, K), Y(A, K);
|
|
1642
1642
|
const Q = I.wasm_and(g.__wbg_ptr, A.__wbg_ptr);
|
|
1643
|
-
return
|
|
1643
|
+
return K.__wrap(Q);
|
|
1644
1644
|
}
|
|
1645
1645
|
function Yg(g) {
|
|
1646
1646
|
const A = I.wasm_boolean(g);
|
|
1647
|
-
return
|
|
1647
|
+
return K.__wrap(A);
|
|
1648
1648
|
}
|
|
1649
1649
|
function Rg(g) {
|
|
1650
|
-
Y(g,
|
|
1650
|
+
Y(g, K);
|
|
1651
1651
|
const A = I.wasm_case_of(g.__wbg_ptr);
|
|
1652
|
-
return
|
|
1652
|
+
return f.__wrap(A);
|
|
1653
1653
|
}
|
|
1654
1654
|
function yg(g, A) {
|
|
1655
|
-
Y(g,
|
|
1655
|
+
Y(g, K);
|
|
1656
1656
|
const Q = G(A, I.__wbindgen_export, I.__wbindgen_export2), B = N, C = I.wasm_cast(g.__wbg_ptr, Q, B);
|
|
1657
|
-
return
|
|
1657
|
+
return K.__wrap(C);
|
|
1658
1658
|
}
|
|
1659
1659
|
function cA(g) {
|
|
1660
1660
|
const A = G(g, I.__wbindgen_export, I.__wbindgen_export2), Q = N, B = I.wasm_col(A, Q);
|
|
1661
|
-
return
|
|
1661
|
+
return K.__wrap(B);
|
|
1662
1662
|
}
|
|
1663
1663
|
function qg(g) {
|
|
1664
|
-
Y(g,
|
|
1664
|
+
Y(g, K);
|
|
1665
1665
|
const A = I.wasm_count_distinct(g.__wbg_ptr);
|
|
1666
|
-
return
|
|
1666
|
+
return K.__wrap(A);
|
|
1667
1667
|
}
|
|
1668
|
-
function
|
|
1668
|
+
function hg(g, A) {
|
|
1669
1669
|
const Q = G(g, I.__wbindgen_export, I.__wbindgen_export2), B = N;
|
|
1670
|
-
Y(A,
|
|
1670
|
+
Y(A, K);
|
|
1671
1671
|
const C = I.wasm_extract(Q, B, A.__wbg_ptr);
|
|
1672
|
-
return
|
|
1672
|
+
return K.__wrap(C);
|
|
1673
1673
|
}
|
|
1674
1674
|
function cg(g, A) {
|
|
1675
1675
|
const Q = G(g, I.__wbindgen_export, I.__wbindgen_export2), B = N;
|
|
1676
|
-
Y(A,
|
|
1676
|
+
Y(A, j);
|
|
1677
1677
|
const C = I.wasm_func(Q, B, A.__wbg_ptr);
|
|
1678
|
-
return
|
|
1678
|
+
return K.__wrap(C);
|
|
1679
1679
|
}
|
|
1680
1680
|
function kA(g) {
|
|
1681
1681
|
const A = I.wasm_lit(F(g));
|
|
1682
|
-
return
|
|
1682
|
+
return K.__wrap(A);
|
|
1683
1683
|
}
|
|
1684
|
-
function
|
|
1685
|
-
Y(g,
|
|
1684
|
+
function Ug(g) {
|
|
1685
|
+
Y(g, K);
|
|
1686
1686
|
const A = I.wasm_not(g.__wbg_ptr);
|
|
1687
|
-
return
|
|
1687
|
+
return K.__wrap(A);
|
|
1688
1688
|
}
|
|
1689
1689
|
function MA() {
|
|
1690
1690
|
const g = I.wasm_null();
|
|
1691
|
-
return
|
|
1691
|
+
return K.__wrap(g);
|
|
1692
1692
|
}
|
|
1693
|
-
function
|
|
1694
|
-
Y(g,
|
|
1693
|
+
function Sg(g, A) {
|
|
1694
|
+
Y(g, K), Y(A, K);
|
|
1695
1695
|
const Q = I.wasm_or(g.__wbg_ptr, A.__wbg_ptr);
|
|
1696
|
-
return
|
|
1696
|
+
return K.__wrap(Q);
|
|
1697
1697
|
}
|
|
1698
|
-
function
|
|
1698
|
+
function Hg(g) {
|
|
1699
1699
|
const A = G(g, I.__wbindgen_export, I.__wbindgen_export2), Q = N, B = I.wasm_sql_expr(A, Q);
|
|
1700
|
-
return
|
|
1700
|
+
return K.__wrap(B);
|
|
1701
1701
|
}
|
|
1702
1702
|
function Fg() {
|
|
1703
1703
|
const g = I.wasm_star();
|
|
1704
|
-
return
|
|
1704
|
+
return K.__wrap(g);
|
|
1705
1705
|
}
|
|
1706
1706
|
function Lg(g, A) {
|
|
1707
1707
|
try {
|
|
@@ -1709,51 +1709,51 @@ function Lg(g, A) {
|
|
|
1709
1709
|
Y(g, x);
|
|
1710
1710
|
const D = G(A, I.__wbindgen_export, I.__wbindgen_export2), o = N;
|
|
1711
1711
|
I.wasm_subquery(E, g.__wbg_ptr, D, o);
|
|
1712
|
-
var Q =
|
|
1712
|
+
var Q = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0), C = i().getInt32(E + 8, !0);
|
|
1713
1713
|
if (C)
|
|
1714
1714
|
throw c(B);
|
|
1715
|
-
return
|
|
1715
|
+
return K.__wrap(Q);
|
|
1716
1716
|
} finally {
|
|
1717
1717
|
I.__wbindgen_add_to_stack_pointer(16);
|
|
1718
1718
|
}
|
|
1719
1719
|
}
|
|
1720
1720
|
function sg(g) {
|
|
1721
1721
|
const A = G(g, I.__wbindgen_export, I.__wbindgen_export2), Q = N, B = I.wasm_table(A, Q);
|
|
1722
|
-
return
|
|
1722
|
+
return K.__wrap(B);
|
|
1723
1723
|
}
|
|
1724
|
-
function
|
|
1725
|
-
const Q = Error(
|
|
1724
|
+
function TI(g, A) {
|
|
1725
|
+
const Q = Error(U(g, A));
|
|
1726
1726
|
return F(Q);
|
|
1727
1727
|
}
|
|
1728
1728
|
function xI(g) {
|
|
1729
1729
|
return Number(q(g));
|
|
1730
1730
|
}
|
|
1731
|
-
function
|
|
1731
|
+
function ZI(g, A) {
|
|
1732
1732
|
const Q = String(q(A)), B = G(Q, I.__wbindgen_export, I.__wbindgen_export2), C = N;
|
|
1733
|
-
|
|
1733
|
+
i().setInt32(g + 4, C, !0), i().setInt32(g + 0, B, !0);
|
|
1734
1734
|
}
|
|
1735
1735
|
function tI(g, A) {
|
|
1736
1736
|
const Q = q(A), B = typeof Q == "bigint" ? Q : void 0;
|
|
1737
|
-
|
|
1737
|
+
i().setBigInt64(g + 8, v(B) ? BigInt(0) : B, !0), i().setInt32(g + 0, !v(B), !0);
|
|
1738
1738
|
}
|
|
1739
|
-
function
|
|
1739
|
+
function dI(g) {
|
|
1740
1740
|
const A = q(g), Q = typeof A == "boolean" ? A : void 0;
|
|
1741
1741
|
return v(Q) ? 16777215 : Q ? 1 : 0;
|
|
1742
1742
|
}
|
|
1743
|
-
function
|
|
1743
|
+
function VI(g, A) {
|
|
1744
1744
|
const Q = qA(q(A)), B = G(Q, I.__wbindgen_export, I.__wbindgen_export2), C = N;
|
|
1745
|
-
|
|
1745
|
+
i().setInt32(g + 4, C, !0), i().setInt32(g + 0, B, !0);
|
|
1746
1746
|
}
|
|
1747
|
-
function
|
|
1747
|
+
function zI(g, A) {
|
|
1748
1748
|
return q(g) in q(A);
|
|
1749
1749
|
}
|
|
1750
|
-
function
|
|
1750
|
+
function lI(g) {
|
|
1751
1751
|
return typeof q(g) == "bigint";
|
|
1752
1752
|
}
|
|
1753
|
-
function
|
|
1753
|
+
function mI(g) {
|
|
1754
1754
|
return typeof q(g) == "function";
|
|
1755
1755
|
}
|
|
1756
|
-
function
|
|
1756
|
+
function PI(g) {
|
|
1757
1757
|
return q(g) === null;
|
|
1758
1758
|
}
|
|
1759
1759
|
function eI(g) {
|
|
@@ -1763,29 +1763,29 @@ function eI(g) {
|
|
|
1763
1763
|
function WI(g) {
|
|
1764
1764
|
return typeof q(g) == "string";
|
|
1765
1765
|
}
|
|
1766
|
-
function
|
|
1766
|
+
function rI(g) {
|
|
1767
1767
|
return q(g) === void 0;
|
|
1768
1768
|
}
|
|
1769
|
-
function
|
|
1769
|
+
function fI(g, A) {
|
|
1770
1770
|
return q(g) === q(A);
|
|
1771
1771
|
}
|
|
1772
|
-
function
|
|
1772
|
+
function bI(g, A) {
|
|
1773
1773
|
return q(g) == q(A);
|
|
1774
1774
|
}
|
|
1775
1775
|
function XI(g, A) {
|
|
1776
1776
|
const Q = q(A), B = typeof Q == "number" ? Q : void 0;
|
|
1777
|
-
|
|
1777
|
+
i().setFloat64(g + 8, v(B) ? 0 : B, !0), i().setInt32(g + 0, !v(B), !0);
|
|
1778
1778
|
}
|
|
1779
1779
|
function vI(g, A) {
|
|
1780
1780
|
const Q = q(A), B = typeof Q == "string" ? Q : void 0;
|
|
1781
1781
|
var C = v(B) ? 0 : G(B, I.__wbindgen_export, I.__wbindgen_export2), E = N;
|
|
1782
|
-
|
|
1782
|
+
i().setInt32(g + 4, E, !0), i().setInt32(g + 0, C, !0);
|
|
1783
1783
|
}
|
|
1784
1784
|
function uI(g, A) {
|
|
1785
|
-
throw new Error(
|
|
1785
|
+
throw new Error(U(g, A));
|
|
1786
1786
|
}
|
|
1787
1787
|
function nI() {
|
|
1788
|
-
return
|
|
1788
|
+
return KA(function(g, A) {
|
|
1789
1789
|
const Q = q(g).call(q(A));
|
|
1790
1790
|
return F(Q);
|
|
1791
1791
|
}, arguments);
|
|
@@ -1804,13 +1804,13 @@ function AQ(g) {
|
|
|
1804
1804
|
function gQ(g, A) {
|
|
1805
1805
|
let Q, B;
|
|
1806
1806
|
try {
|
|
1807
|
-
Q = g, B = A, console.error(
|
|
1807
|
+
Q = g, B = A, console.error(U(g, A));
|
|
1808
1808
|
} finally {
|
|
1809
1809
|
I.__wbindgen_export4(Q, B, 1);
|
|
1810
1810
|
}
|
|
1811
1811
|
}
|
|
1812
1812
|
function IQ() {
|
|
1813
|
-
return
|
|
1813
|
+
return KA(function(g) {
|
|
1814
1814
|
const A = String.fromCodePoint(g >>> 0);
|
|
1815
1815
|
return F(A);
|
|
1816
1816
|
}, arguments);
|
|
@@ -1820,7 +1820,7 @@ function QQ(g, A) {
|
|
|
1820
1820
|
return F(Q);
|
|
1821
1821
|
}
|
|
1822
1822
|
function BQ() {
|
|
1823
|
-
return
|
|
1823
|
+
return KA(function(g, A) {
|
|
1824
1824
|
const Q = Reflect.get(q(g), q(A));
|
|
1825
1825
|
return F(Q);
|
|
1826
1826
|
}, arguments);
|
|
@@ -1847,7 +1847,7 @@ function DQ(g) {
|
|
|
1847
1847
|
}
|
|
1848
1848
|
return A;
|
|
1849
1849
|
}
|
|
1850
|
-
function
|
|
1850
|
+
function wQ(g) {
|
|
1851
1851
|
let A;
|
|
1852
1852
|
try {
|
|
1853
1853
|
A = q(g) instanceof Uint8Array;
|
|
@@ -1856,7 +1856,7 @@ function iQ(g) {
|
|
|
1856
1856
|
}
|
|
1857
1857
|
return A;
|
|
1858
1858
|
}
|
|
1859
|
-
function
|
|
1859
|
+
function iQ(g) {
|
|
1860
1860
|
return Array.isArray(q(g));
|
|
1861
1861
|
}
|
|
1862
1862
|
function oQ(g) {
|
|
@@ -1874,7 +1874,7 @@ function kQ(g) {
|
|
|
1874
1874
|
function MQ(g) {
|
|
1875
1875
|
return q(g).length;
|
|
1876
1876
|
}
|
|
1877
|
-
function
|
|
1877
|
+
function KQ() {
|
|
1878
1878
|
const g = new Object();
|
|
1879
1879
|
return F(g);
|
|
1880
1880
|
}
|
|
@@ -1882,7 +1882,7 @@ function aQ() {
|
|
|
1882
1882
|
const g = new Array();
|
|
1883
1883
|
return F(g);
|
|
1884
1884
|
}
|
|
1885
|
-
function
|
|
1885
|
+
function JQ() {
|
|
1886
1886
|
const g = new Error();
|
|
1887
1887
|
return F(g);
|
|
1888
1888
|
}
|
|
@@ -1894,7 +1894,7 @@ function RQ(g) {
|
|
|
1894
1894
|
return F(A);
|
|
1895
1895
|
}
|
|
1896
1896
|
function yQ() {
|
|
1897
|
-
return
|
|
1897
|
+
return KA(function(g) {
|
|
1898
1898
|
const A = q(g).next();
|
|
1899
1899
|
return F(A);
|
|
1900
1900
|
}, arguments);
|
|
@@ -1903,22 +1903,22 @@ function qQ(g) {
|
|
|
1903
1903
|
const A = q(g).next;
|
|
1904
1904
|
return F(A);
|
|
1905
1905
|
}
|
|
1906
|
-
function
|
|
1907
|
-
Uint8Array.prototype.set.call(
|
|
1906
|
+
function hQ(g, A, Q) {
|
|
1907
|
+
Uint8Array.prototype.set.call(ZQ(g, A), q(Q));
|
|
1908
1908
|
}
|
|
1909
1909
|
function cQ(g, A, Q) {
|
|
1910
1910
|
const B = q(g).set(q(A), q(Q));
|
|
1911
1911
|
return F(B);
|
|
1912
1912
|
}
|
|
1913
|
-
function
|
|
1913
|
+
function UQ(g, A, Q) {
|
|
1914
1914
|
q(g)[c(A)] = c(Q);
|
|
1915
1915
|
}
|
|
1916
|
-
function
|
|
1916
|
+
function SQ(g, A, Q) {
|
|
1917
1917
|
q(g)[A >>> 0] = c(Q);
|
|
1918
1918
|
}
|
|
1919
|
-
function
|
|
1919
|
+
function HQ(g, A) {
|
|
1920
1920
|
const Q = q(A).stack, B = G(Q, I.__wbindgen_export, I.__wbindgen_export2), C = N;
|
|
1921
|
-
|
|
1921
|
+
i().setInt32(g + 4, C, !0), i().setInt32(g + 0, B, !0);
|
|
1922
1922
|
}
|
|
1923
1923
|
function FQ(g) {
|
|
1924
1924
|
const A = q(g).value;
|
|
@@ -1931,47 +1931,47 @@ function sQ(g) {
|
|
|
1931
1931
|
return F(g);
|
|
1932
1932
|
}
|
|
1933
1933
|
function pQ(g, A) {
|
|
1934
|
-
const Q =
|
|
1934
|
+
const Q = U(g, A);
|
|
1935
1935
|
return F(Q);
|
|
1936
1936
|
}
|
|
1937
|
-
function
|
|
1937
|
+
function jQ(g) {
|
|
1938
1938
|
const A = BigInt.asUintN(64, g);
|
|
1939
1939
|
return F(A);
|
|
1940
1940
|
}
|
|
1941
|
-
function
|
|
1941
|
+
function OQ(g) {
|
|
1942
1942
|
const A = q(g);
|
|
1943
1943
|
return F(A);
|
|
1944
1944
|
}
|
|
1945
|
-
function
|
|
1945
|
+
function TQ(g) {
|
|
1946
1946
|
c(g);
|
|
1947
1947
|
}
|
|
1948
|
-
const
|
|
1948
|
+
const VA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
1949
1949
|
}, unregister: () => {
|
|
1950
1950
|
} } : new FinalizationRegistry((g) => I.__wbg_wasmassignmentarray_free(g >>> 0, 1)), RA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
1951
1951
|
}, unregister: () => {
|
|
1952
|
-
} } : new FinalizationRegistry((g) => I.__wbg_wasmcasebuilder_free(g >>> 0, 1)),
|
|
1952
|
+
} } : new FinalizationRegistry((g) => I.__wbg_wasmcasebuilder_free(g >>> 0, 1)), zA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
1953
1953
|
}, unregister: () => {
|
|
1954
|
-
} } : new FinalizationRegistry((g) => I.__wbg_wasmdeletebuilder_free(g >>> 0, 1)),
|
|
1954
|
+
} } : new FinalizationRegistry((g) => I.__wbg_wasmdeletebuilder_free(g >>> 0, 1)), lA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
1955
1955
|
}, unregister: () => {
|
|
1956
|
-
} } : new FinalizationRegistry((g) => I.__wbg_wasmexpr_free(g >>> 0, 1)),
|
|
1956
|
+
} } : new FinalizationRegistry((g) => I.__wbg_wasmexpr_free(g >>> 0, 1)), mA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
1957
1957
|
}, unregister: () => {
|
|
1958
|
-
} } : new FinalizationRegistry((g) => I.__wbg_wasmexprarray_free(g >>> 0, 1)),
|
|
1958
|
+
} } : new FinalizationRegistry((g) => I.__wbg_wasmexprarray_free(g >>> 0, 1)), PA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
1959
1959
|
}, unregister: () => {
|
|
1960
1960
|
} } : new FinalizationRegistry((g) => I.__wbg_wasminsertbuilder_free(g >>> 0, 1)), eA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
1961
1961
|
}, unregister: () => {
|
|
1962
1962
|
} } : new FinalizationRegistry((g) => I.__wbg_wasmmergebuilder_free(g >>> 0, 1)), WA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
1963
1963
|
}, unregister: () => {
|
|
1964
|
-
} } : new FinalizationRegistry((g) => I.__wbg_wasmselectbuilder_free(g >>> 0, 1)),
|
|
1964
|
+
} } : new FinalizationRegistry((g) => I.__wbg_wasmselectbuilder_free(g >>> 0, 1)), rA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
1965
1965
|
}, unregister: () => {
|
|
1966
|
-
} } : new FinalizationRegistry((g) => I.__wbg_wasmsetopbuilder_free(g >>> 0, 1)),
|
|
1966
|
+
} } : new FinalizationRegistry((g) => I.__wbg_wasmsetopbuilder_free(g >>> 0, 1)), fA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
1967
1967
|
}, unregister: () => {
|
|
1968
|
-
} } : new FinalizationRegistry((g) => I.__wbg_wasmupdatebuilder_free(g >>> 0, 1)),
|
|
1968
|
+
} } : new FinalizationRegistry((g) => I.__wbg_wasmupdatebuilder_free(g >>> 0, 1)), bA = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
1969
1969
|
}, unregister: () => {
|
|
1970
1970
|
} } : new FinalizationRegistry((g) => I.__wbg_wasmwindowdefbuilder_free(g >>> 0, 1));
|
|
1971
1971
|
function F(g) {
|
|
1972
|
-
AA ===
|
|
1972
|
+
AA === V.length && V.push(V.length + 1);
|
|
1973
1973
|
const A = AA;
|
|
1974
|
-
return AA =
|
|
1974
|
+
return AA = V[A], V[A] = g, A;
|
|
1975
1975
|
}
|
|
1976
1976
|
function Y(g, A) {
|
|
1977
1977
|
if (!(g instanceof A))
|
|
@@ -2015,40 +2015,40 @@ function qA(g) {
|
|
|
2015
2015
|
${g.stack}` : B;
|
|
2016
2016
|
}
|
|
2017
2017
|
function xQ(g) {
|
|
2018
|
-
g < 132 || (
|
|
2018
|
+
g < 132 || (V[g] = AA, AA = g);
|
|
2019
2019
|
}
|
|
2020
|
-
function
|
|
2020
|
+
function ZQ(g, A) {
|
|
2021
2021
|
return g = g >>> 0, $().subarray(g / 1, g / 1 + A);
|
|
2022
2022
|
}
|
|
2023
2023
|
let X = null;
|
|
2024
|
-
function
|
|
2024
|
+
function i() {
|
|
2025
2025
|
return (X === null || X.buffer.detached === !0 || X.buffer.detached === void 0 && X.buffer !== I.memory.buffer) && (X = new DataView(I.memory.buffer)), X;
|
|
2026
2026
|
}
|
|
2027
|
-
function
|
|
2028
|
-
return g = g >>> 0,
|
|
2027
|
+
function U(g, A) {
|
|
2028
|
+
return g = g >>> 0, dQ(g, A);
|
|
2029
2029
|
}
|
|
2030
2030
|
let EA = null;
|
|
2031
2031
|
function $() {
|
|
2032
2032
|
return (EA === null || EA.byteLength === 0) && (EA = new Uint8Array(I.memory.buffer)), EA;
|
|
2033
2033
|
}
|
|
2034
2034
|
function q(g) {
|
|
2035
|
-
return
|
|
2035
|
+
return V[g];
|
|
2036
2036
|
}
|
|
2037
|
-
function
|
|
2037
|
+
function KA(g, A) {
|
|
2038
2038
|
try {
|
|
2039
2039
|
return g.apply(this, A);
|
|
2040
2040
|
} catch (Q) {
|
|
2041
2041
|
I.__wbindgen_export3(F(Q));
|
|
2042
2042
|
}
|
|
2043
2043
|
}
|
|
2044
|
-
let
|
|
2045
|
-
|
|
2046
|
-
let AA =
|
|
2044
|
+
let V = new Array(128).fill(void 0);
|
|
2045
|
+
V.push(void 0, null, !0, !1);
|
|
2046
|
+
let AA = V.length;
|
|
2047
2047
|
function v(g) {
|
|
2048
2048
|
return g == null;
|
|
2049
2049
|
}
|
|
2050
|
-
function
|
|
2051
|
-
const Q = A(g.length * 4, 4) >>> 0, B =
|
|
2050
|
+
function UA(g, A) {
|
|
2051
|
+
const Q = A(g.length * 4, 4) >>> 0, B = i();
|
|
2052
2052
|
for (let C = 0; C < g.length; C++)
|
|
2053
2053
|
B.setUint32(Q + 4 * C, F(g[C]), !0);
|
|
2054
2054
|
return N = g.length, Q;
|
|
@@ -2081,7 +2081,7 @@ let DA = new TextDecoder("utf-8", { ignoreBOM: !0, fatal: !0 });
|
|
|
2081
2081
|
DA.decode();
|
|
2082
2082
|
const tQ = 2146435072;
|
|
2083
2083
|
let yA = 0;
|
|
2084
|
-
function
|
|
2084
|
+
function dQ(g, A) {
|
|
2085
2085
|
return yA += A, yA >= tQ && (DA = new TextDecoder("utf-8", { ignoreBOM: !0, fatal: !0 }), DA.decode(), yA = A), DA.decode($().subarray(g, g + A));
|
|
2086
2086
|
}
|
|
2087
2087
|
const gA = new TextEncoder();
|
|
@@ -2093,36 +2093,36 @@ const gA = new TextEncoder();
|
|
|
2093
2093
|
};
|
|
2094
2094
|
});
|
|
2095
2095
|
let N = 0, I;
|
|
2096
|
-
function
|
|
2096
|
+
function VQ(g) {
|
|
2097
2097
|
I = g;
|
|
2098
2098
|
}
|
|
2099
2099
|
URL = globalThis.URL;
|
|
2100
|
-
const
|
|
2101
|
-
__wbindgen_object_drop_ref:
|
|
2102
|
-
__wbindgen_object_clone_ref:
|
|
2103
|
-
__wbg_new_8a6f238a6ece86ea:
|
|
2104
|
-
__wbg_stack_0ed75d68575b0f3c:
|
|
2100
|
+
const w = await kI({ "./polyglot_sql_wasm_bg.js": {
|
|
2101
|
+
__wbindgen_object_drop_ref: TQ,
|
|
2102
|
+
__wbindgen_object_clone_ref: OQ,
|
|
2103
|
+
__wbg_new_8a6f238a6ece86ea: JQ,
|
|
2104
|
+
__wbg_stack_0ed75d68575b0f3c: HQ,
|
|
2105
2105
|
__wbg_error_7534b8e9a36f1ab4: gQ,
|
|
2106
2106
|
__wbg_get_with_ref_key_1dc361bd10053bfe: CQ,
|
|
2107
|
-
__wbg_set_3f1d0b984ed272ed:
|
|
2108
|
-
__wbg_String_8f0eb39a4a4c2f66:
|
|
2107
|
+
__wbg_set_3f1d0b984ed272ed: UQ,
|
|
2108
|
+
__wbg_String_8f0eb39a4a4c2f66: ZI,
|
|
2109
2109
|
__wbg_new_dd2b680c8bf6ae29: RQ,
|
|
2110
2110
|
__wbg_length_32ed9a279acd054c: GQ,
|
|
2111
|
-
__wbg_prototypesetcall_bdcdcc5842e4d77d:
|
|
2111
|
+
__wbg_prototypesetcall_bdcdcc5842e4d77d: hQ,
|
|
2112
2112
|
__wbg_done_57b39ecd9addfe81: $I,
|
|
2113
2113
|
__wbg_value_0546255b415e96c1: FQ,
|
|
2114
2114
|
__wbg_instanceof_Map_53af74335dec57f4: DQ,
|
|
2115
|
-
__wbg_instanceof_Uint8Array_9b9075935c74707c:
|
|
2115
|
+
__wbg_instanceof_Uint8Array_9b9075935c74707c: wQ,
|
|
2116
2116
|
__wbg_instanceof_ArrayBuffer_c367199e2fa2aa04: EQ,
|
|
2117
2117
|
__wbg_new_dca287b076112a51: YQ,
|
|
2118
2118
|
__wbg_set_1eb0999cf5d27fc8: cQ,
|
|
2119
2119
|
__wbg_get_9b94d73e6221f75c: QQ,
|
|
2120
2120
|
__wbg_new_3eb36ae241fe6f44: aQ,
|
|
2121
|
-
__wbg_set_f43e577aea94465b:
|
|
2121
|
+
__wbg_set_f43e577aea94465b: SQ,
|
|
2122
2122
|
__wbg_length_35a7bace40f36eac: kQ,
|
|
2123
|
-
__wbg_isArray_d314bb98fcf08331:
|
|
2123
|
+
__wbg_isArray_d314bb98fcf08331: iQ,
|
|
2124
2124
|
__wbg_isSafeInteger_bfbc7332a9768d2a: oQ,
|
|
2125
|
-
__wbg_new_361308b2356cecd0:
|
|
2125
|
+
__wbg_new_361308b2356cecd0: KQ,
|
|
2126
2126
|
__wbg_entries_58c7934c745daac7: AQ,
|
|
2127
2127
|
__wbg_iterator_6ff6560ca1568e55: NQ,
|
|
2128
2128
|
__wbg_get_b3ed3ad4be2bc8ac: BQ,
|
|
@@ -2132,37 +2132,37 @@ const i = await kI({ "./polyglot_sql_wasm_bg.js": {
|
|
|
2132
2132
|
__wbg_codePointAt_bf59dbf74d8db275: _I,
|
|
2133
2133
|
__wbg_fromCodePoint_22365db7b7d6ac39: IQ,
|
|
2134
2134
|
__wbg_length_68dc7c5cf1b6d349: MQ,
|
|
2135
|
-
__wbg___wbindgen_in_47fa6863be6f2f25:
|
|
2135
|
+
__wbg___wbindgen_in_47fa6863be6f2f25: zI,
|
|
2136
2136
|
__wbg___wbindgen_throw_be289d5034ed271b: uI,
|
|
2137
|
-
__wbg___wbindgen_is_null_ac34f5003991759a:
|
|
2138
|
-
__wbg___wbindgen_jsval_eq_11888390b0186270:
|
|
2137
|
+
__wbg___wbindgen_is_null_ac34f5003991759a: PI,
|
|
2138
|
+
__wbg___wbindgen_jsval_eq_11888390b0186270: fI,
|
|
2139
2139
|
__wbg_Number_04624de7d0e8332d: xI,
|
|
2140
|
-
__wbg_Error_8c4e43fe74559d73:
|
|
2141
|
-
__wbg___wbindgen_is_bigint_31b12575b56f32fc:
|
|
2140
|
+
__wbg_Error_8c4e43fe74559d73: TI,
|
|
2141
|
+
__wbg___wbindgen_is_bigint_31b12575b56f32fc: lI,
|
|
2142
2142
|
__wbg___wbindgen_is_object_5ae8e5880f2c1fbd: eI,
|
|
2143
2143
|
__wbg___wbindgen_is_string_cd444516edc5b180: WI,
|
|
2144
2144
|
__wbg___wbindgen_number_get_8ff4255516ccad3e: XI,
|
|
2145
2145
|
__wbg___wbindgen_string_get_72fb696202c56729: vI,
|
|
2146
|
-
__wbg___wbindgen_boolean_get_bbbb1c18aa2f5e25:
|
|
2147
|
-
__wbg___wbindgen_is_function_0095a73b8b156f76:
|
|
2148
|
-
__wbg___wbindgen_is_undefined_9e4d92534c42d778:
|
|
2149
|
-
__wbg___wbindgen_jsval_loose_eq_9dd77d8cd6671811:
|
|
2146
|
+
__wbg___wbindgen_boolean_get_bbbb1c18aa2f5e25: dI,
|
|
2147
|
+
__wbg___wbindgen_is_function_0095a73b8b156f76: mI,
|
|
2148
|
+
__wbg___wbindgen_is_undefined_9e4d92534c42d778: rI,
|
|
2149
|
+
__wbg___wbindgen_jsval_loose_eq_9dd77d8cd6671811: bI,
|
|
2150
2150
|
__wbg___wbindgen_bigint_get_as_i64_8fcf4ce7f1ca72a2: tI,
|
|
2151
|
-
__wbg___wbindgen_debug_string_0bc8482c6e3508ae:
|
|
2151
|
+
__wbg___wbindgen_debug_string_0bc8482c6e3508ae: VI,
|
|
2152
2152
|
__wbindgen_cast_0000000000000001: LQ,
|
|
2153
2153
|
__wbindgen_cast_0000000000000002: sQ,
|
|
2154
2154
|
__wbindgen_cast_0000000000000003: pQ,
|
|
2155
|
-
__wbindgen_cast_0000000000000004:
|
|
2156
|
-
} }, GI),
|
|
2155
|
+
__wbindgen_cast_0000000000000004: jQ
|
|
2156
|
+
} }, GI), zQ = w.memory, lQ = w.__wbg_wasmassignmentarray_free, mQ = w.__wbg_wasmcasebuilder_free, PQ = w.__wbg_wasmdeletebuilder_free, eQ = w.__wbg_wasmexpr_free, WQ = w.__wbg_wasmexprarray_free, rQ = w.__wbg_wasminsertbuilder_free, fQ = w.__wbg_wasmmergebuilder_free, bQ = w.__wbg_wasmselectbuilder_free, XQ = w.__wbg_wasmsetopbuilder_free, vQ = w.__wbg_wasmupdatebuilder_free, uQ = w.__wbg_wasmwindowdefbuilder_free, nQ = w.annotate_types, _Q = w.annotate_types_value, $Q = w.ast_add_where, AB = w.ast_get_aggregate_functions, gB = w.ast_get_column_names, IB = w.ast_get_functions, QB = w.ast_get_literals, BB = w.ast_get_subqueries, CB = w.ast_get_table_names, EB = w.ast_get_window_functions, DB = w.ast_node_count, wB = w.ast_qualify_columns, iB = w.ast_remove_where, oB = w.ast_rename_columns, NB = w.ast_rename_tables, GB = w.ast_set_distinct, kB = w.ast_set_limit, MB = w.diff_sql, KB = w.format_sql, aB = w.format_sql_value, JB = w.format_sql_with_options, YB = w.format_sql_with_options_value, RB = w.generate, yB = w.generate_value, qB = w.get_dialects, hB = w.get_dialects_value, cB = w.lineage_sql, UB = w.lineage_sql_with_schema, SB = w.parse, HB = w.parse_value, FB = w.plan, LB = w.source_tables, sB = w.tokenize, pB = w.tokenize_value, jB = w.transpile, OB = w.transpile_value, TB = w.validate, xB = w.validate_with_options, ZB = w.validate_with_schema, tB = w.version, dB = w.wasm_alias, VB = w.wasm_and, zB = w.wasm_boolean, lB = w.wasm_case_of, mB = w.wasm_cast, PB = w.wasm_col, eB = w.wasm_count_distinct, WB = w.wasm_extract, rB = w.wasm_func, fB = w.wasm_lit, bB = w.wasm_not, XB = w.wasm_null, vB = w.wasm_or, uB = w.wasm_sql_expr, nB = w.wasm_star, _B = w.wasm_subquery, $B = w.wasm_table, AC = w.wasmassignmentarray_len, gC = w.wasmassignmentarray_new, IC = w.wasmassignmentarray_push, QC = w.wasmcasebuilder_build_expr, BC = w.wasmcasebuilder_else_, CC = w.wasmcasebuilder_new, EC = w.wasmcasebuilder_to_sql, DC = w.wasmcasebuilder_when, wC = w.wasmdeletebuilder_build, iC = w.wasmdeletebuilder_new, oC = w.wasmdeletebuilder_to_sql, NC = w.wasmdeletebuilder_where_expr, GC = w.wasmexpr_add, kC = w.wasmexpr_alias, MC = w.wasmexpr_and, KC = w.wasmexpr_asc, aC = w.wasmexpr_between, JC = w.wasmexpr_cast, YC = w.wasmexpr_desc, RC = w.wasmexpr_div, yC = w.wasmexpr_eq, qC = w.wasmexpr_gt, hC = w.wasmexpr_gte, cC = w.wasmexpr_ilike, UC = w.wasmexpr_in_list, SC = w.wasmexpr_is_not_null, HC = w.wasmexpr_is_null, FC = w.wasmexpr_like, LC = w.wasmexpr_lt, sC = w.wasmexpr_lte, pC = w.wasmexpr_mul, jC = w.wasmexpr_neq, OC = w.wasmexpr_not, TC = w.wasmexpr_not_in, xC = w.wasmexpr_or, ZC = w.wasmexpr_rlike, tC = w.wasmexpr_sub, dC = w.wasmexpr_to_json, VC = w.wasmexpr_to_sql, zC = w.wasmexpr_xor, lC = w.wasmexprarray_len, mC = w.wasmexprarray_push, PC = w.wasmexprarray_push_col, eC = w.wasmexprarray_push_float, WC = w.wasmexprarray_push_int, rC = w.wasmexprarray_push_star, fC = w.wasmexprarray_push_str, bC = w.wasminsertbuilder_build, XC = w.wasminsertbuilder_columns, vC = w.wasminsertbuilder_new, uC = w.wasminsertbuilder_query, nC = w.wasminsertbuilder_to_sql, _C = w.wasminsertbuilder_values, $C = w.wasmmergebuilder_build, AE = w.wasmmergebuilder_new, gE = w.wasmmergebuilder_to_sql, IE = w.wasmmergebuilder_using, QE = w.wasmmergebuilder_when_matched_delete, BE = w.wasmmergebuilder_when_matched_update, CE = 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, NE = w.wasmselectbuilder_except_, GE = w.wasmselectbuilder_for_update, kE = w.wasmselectbuilder_from, ME = w.wasmselectbuilder_from_expr, KE = w.wasmselectbuilder_group_by_cols, aE = w.wasmselectbuilder_having, JE = w.wasmselectbuilder_hint, YE = w.wasmselectbuilder_intersect, RE = w.wasmselectbuilder_join, yE = w.wasmselectbuilder_lateral_view, qE = w.wasmselectbuilder_left_join, hE = w.wasmselectbuilder_limit, cE = w.wasmselectbuilder_new, UE = w.wasmselectbuilder_offset, SE = w.wasmselectbuilder_order_by_exprs, HE = w.wasmselectbuilder_qualify, FE = w.wasmselectbuilder_right_join, LE = w.wasmselectbuilder_select_col, sE = w.wasmselectbuilder_select_expr, pE = w.wasmselectbuilder_select_exprs, jE = w.wasmselectbuilder_select_star, OE = w.wasmselectbuilder_sort_by_exprs, TE = w.wasmselectbuilder_to_sql, xE = w.wasmselectbuilder_union, ZE = w.wasmselectbuilder_union_all, tE = w.wasmselectbuilder_where_expr, dE = w.wasmselectbuilder_where_sql, VE = w.wasmselectbuilder_window, zE = w.wasmsetopbuilder_build, lE = w.wasmsetopbuilder_limit, mE = w.wasmsetopbuilder_offset, PE = w.wasmsetopbuilder_order_by_exprs, eE = w.wasmsetopbuilder_to_sql, WE = w.wasmupdatebuilder_build, rE = w.wasmupdatebuilder_from, fE = w.wasmupdatebuilder_new, bE = w.wasmupdatebuilder_set, XE = w.wasmupdatebuilder_to_sql, vE = w.wasmupdatebuilder_where_expr, uE = w.wasmwindowdefbuilder_new, nE = 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, BD = w.__wbindgen_add_to_stack_pointer, CD = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2157
2157
|
__proto__: null,
|
|
2158
|
-
__wbg_wasmassignmentarray_free:
|
|
2159
|
-
__wbg_wasmcasebuilder_free:
|
|
2160
|
-
__wbg_wasmdeletebuilder_free:
|
|
2158
|
+
__wbg_wasmassignmentarray_free: lQ,
|
|
2159
|
+
__wbg_wasmcasebuilder_free: mQ,
|
|
2160
|
+
__wbg_wasmdeletebuilder_free: PQ,
|
|
2161
2161
|
__wbg_wasmexpr_free: eQ,
|
|
2162
2162
|
__wbg_wasmexprarray_free: WQ,
|
|
2163
|
-
__wbg_wasminsertbuilder_free:
|
|
2164
|
-
__wbg_wasmmergebuilder_free:
|
|
2165
|
-
__wbg_wasmselectbuilder_free:
|
|
2163
|
+
__wbg_wasminsertbuilder_free: rQ,
|
|
2164
|
+
__wbg_wasmmergebuilder_free: fQ,
|
|
2165
|
+
__wbg_wasmselectbuilder_free: bQ,
|
|
2166
2166
|
__wbg_wasmsetopbuilder_free: XQ,
|
|
2167
2167
|
__wbg_wasmupdatebuilder_free: vQ,
|
|
2168
2168
|
__wbg_wasmwindowdefbuilder_free: uQ,
|
|
@@ -2182,47 +2182,47 @@ const i = await kI({ "./polyglot_sql_wasm_bg.js": {
|
|
|
2182
2182
|
ast_get_table_names: CB,
|
|
2183
2183
|
ast_get_window_functions: EB,
|
|
2184
2184
|
ast_node_count: DB,
|
|
2185
|
-
ast_qualify_columns:
|
|
2186
|
-
ast_remove_where:
|
|
2185
|
+
ast_qualify_columns: wB,
|
|
2186
|
+
ast_remove_where: iB,
|
|
2187
2187
|
ast_rename_columns: oB,
|
|
2188
2188
|
ast_rename_tables: NB,
|
|
2189
2189
|
ast_set_distinct: GB,
|
|
2190
2190
|
ast_set_limit: kB,
|
|
2191
2191
|
diff_sql: MB,
|
|
2192
|
-
format_sql:
|
|
2192
|
+
format_sql: KB,
|
|
2193
2193
|
format_sql_value: aB,
|
|
2194
|
-
format_sql_with_options:
|
|
2194
|
+
format_sql_with_options: JB,
|
|
2195
2195
|
format_sql_with_options_value: YB,
|
|
2196
2196
|
generate: RB,
|
|
2197
2197
|
generate_value: yB,
|
|
2198
2198
|
get_dialects: qB,
|
|
2199
|
-
get_dialects_value:
|
|
2199
|
+
get_dialects_value: hB,
|
|
2200
2200
|
lineage_sql: cB,
|
|
2201
|
-
lineage_sql_with_schema:
|
|
2202
|
-
memory:
|
|
2203
|
-
parse:
|
|
2204
|
-
parse_value:
|
|
2201
|
+
lineage_sql_with_schema: UB,
|
|
2202
|
+
memory: zQ,
|
|
2203
|
+
parse: SB,
|
|
2204
|
+
parse_value: HB,
|
|
2205
2205
|
plan: FB,
|
|
2206
2206
|
source_tables: LB,
|
|
2207
2207
|
tokenize: sB,
|
|
2208
2208
|
tokenize_value: pB,
|
|
2209
|
-
transpile:
|
|
2210
|
-
transpile_value:
|
|
2211
|
-
validate:
|
|
2209
|
+
transpile: jB,
|
|
2210
|
+
transpile_value: OB,
|
|
2211
|
+
validate: TB,
|
|
2212
2212
|
validate_with_options: xB,
|
|
2213
|
-
validate_with_schema:
|
|
2213
|
+
validate_with_schema: ZB,
|
|
2214
2214
|
version: tB,
|
|
2215
|
-
wasm_alias:
|
|
2216
|
-
wasm_and:
|
|
2217
|
-
wasm_boolean:
|
|
2218
|
-
wasm_case_of:
|
|
2219
|
-
wasm_cast:
|
|
2220
|
-
wasm_col:
|
|
2215
|
+
wasm_alias: dB,
|
|
2216
|
+
wasm_and: VB,
|
|
2217
|
+
wasm_boolean: zB,
|
|
2218
|
+
wasm_case_of: lB,
|
|
2219
|
+
wasm_cast: mB,
|
|
2220
|
+
wasm_col: PB,
|
|
2221
2221
|
wasm_count_distinct: eB,
|
|
2222
2222
|
wasm_extract: WB,
|
|
2223
|
-
wasm_func:
|
|
2224
|
-
wasm_lit:
|
|
2225
|
-
wasm_not:
|
|
2223
|
+
wasm_func: rB,
|
|
2224
|
+
wasm_lit: fB,
|
|
2225
|
+
wasm_not: bB,
|
|
2226
2226
|
wasm_null: XB,
|
|
2227
2227
|
wasm_or: vB,
|
|
2228
2228
|
wasm_sql_expr: uB,
|
|
@@ -2237,47 +2237,47 @@ const i = await kI({ "./polyglot_sql_wasm_bg.js": {
|
|
|
2237
2237
|
wasmcasebuilder_new: CC,
|
|
2238
2238
|
wasmcasebuilder_to_sql: EC,
|
|
2239
2239
|
wasmcasebuilder_when: DC,
|
|
2240
|
-
wasmdeletebuilder_build:
|
|
2241
|
-
wasmdeletebuilder_new:
|
|
2240
|
+
wasmdeletebuilder_build: wC,
|
|
2241
|
+
wasmdeletebuilder_new: iC,
|
|
2242
2242
|
wasmdeletebuilder_to_sql: oC,
|
|
2243
2243
|
wasmdeletebuilder_where_expr: NC,
|
|
2244
2244
|
wasmexpr_add: GC,
|
|
2245
2245
|
wasmexpr_alias: kC,
|
|
2246
2246
|
wasmexpr_and: MC,
|
|
2247
|
-
wasmexpr_asc:
|
|
2247
|
+
wasmexpr_asc: KC,
|
|
2248
2248
|
wasmexpr_between: aC,
|
|
2249
|
-
wasmexpr_cast:
|
|
2249
|
+
wasmexpr_cast: JC,
|
|
2250
2250
|
wasmexpr_desc: YC,
|
|
2251
2251
|
wasmexpr_div: RC,
|
|
2252
2252
|
wasmexpr_eq: yC,
|
|
2253
2253
|
wasmexpr_gt: qC,
|
|
2254
|
-
wasmexpr_gte:
|
|
2254
|
+
wasmexpr_gte: hC,
|
|
2255
2255
|
wasmexpr_ilike: cC,
|
|
2256
|
-
wasmexpr_in_list:
|
|
2257
|
-
wasmexpr_is_not_null:
|
|
2258
|
-
wasmexpr_is_null:
|
|
2256
|
+
wasmexpr_in_list: UC,
|
|
2257
|
+
wasmexpr_is_not_null: SC,
|
|
2258
|
+
wasmexpr_is_null: HC,
|
|
2259
2259
|
wasmexpr_like: FC,
|
|
2260
2260
|
wasmexpr_lt: LC,
|
|
2261
2261
|
wasmexpr_lte: sC,
|
|
2262
2262
|
wasmexpr_mul: pC,
|
|
2263
|
-
wasmexpr_neq:
|
|
2264
|
-
wasmexpr_not:
|
|
2265
|
-
wasmexpr_not_in:
|
|
2263
|
+
wasmexpr_neq: jC,
|
|
2264
|
+
wasmexpr_not: OC,
|
|
2265
|
+
wasmexpr_not_in: TC,
|
|
2266
2266
|
wasmexpr_or: xC,
|
|
2267
|
-
wasmexpr_rlike:
|
|
2267
|
+
wasmexpr_rlike: ZC,
|
|
2268
2268
|
wasmexpr_sub: tC,
|
|
2269
|
-
wasmexpr_to_json:
|
|
2270
|
-
wasmexpr_to_sql:
|
|
2271
|
-
wasmexpr_xor:
|
|
2272
|
-
wasmexprarray_len:
|
|
2269
|
+
wasmexpr_to_json: dC,
|
|
2270
|
+
wasmexpr_to_sql: VC,
|
|
2271
|
+
wasmexpr_xor: zC,
|
|
2272
|
+
wasmexprarray_len: lC,
|
|
2273
2273
|
wasmexprarray_new: $E,
|
|
2274
|
-
wasmexprarray_push:
|
|
2275
|
-
wasmexprarray_push_col:
|
|
2274
|
+
wasmexprarray_push: mC,
|
|
2275
|
+
wasmexprarray_push_col: PC,
|
|
2276
2276
|
wasmexprarray_push_float: eC,
|
|
2277
2277
|
wasmexprarray_push_int: WC,
|
|
2278
|
-
wasmexprarray_push_star:
|
|
2279
|
-
wasmexprarray_push_str:
|
|
2280
|
-
wasminsertbuilder_build:
|
|
2278
|
+
wasmexprarray_push_star: rC,
|
|
2279
|
+
wasmexprarray_push_str: fC,
|
|
2280
|
+
wasminsertbuilder_build: bC,
|
|
2281
2281
|
wasminsertbuilder_columns: XC,
|
|
2282
2282
|
wasminsertbuilder_new: vC,
|
|
2283
2283
|
wasminsertbuilder_query: uC,
|
|
@@ -2292,68 +2292,68 @@ const i = await kI({ "./polyglot_sql_wasm_bg.js": {
|
|
|
2292
2292
|
wasmmergebuilder_when_not_matched_insert: CE,
|
|
2293
2293
|
wasmselectbuilder_build: EE,
|
|
2294
2294
|
wasmselectbuilder_cross_join: DE,
|
|
2295
|
-
wasmselectbuilder_ctas:
|
|
2296
|
-
wasmselectbuilder_ctas_sql:
|
|
2295
|
+
wasmselectbuilder_ctas: wE,
|
|
2296
|
+
wasmselectbuilder_ctas_sql: iE,
|
|
2297
2297
|
wasmselectbuilder_distinct: oE,
|
|
2298
2298
|
wasmselectbuilder_except_: NE,
|
|
2299
2299
|
wasmselectbuilder_for_update: GE,
|
|
2300
2300
|
wasmselectbuilder_from: kE,
|
|
2301
2301
|
wasmselectbuilder_from_expr: ME,
|
|
2302
|
-
wasmselectbuilder_group_by_cols:
|
|
2302
|
+
wasmselectbuilder_group_by_cols: KE,
|
|
2303
2303
|
wasmselectbuilder_having: aE,
|
|
2304
|
-
wasmselectbuilder_hint:
|
|
2304
|
+
wasmselectbuilder_hint: JE,
|
|
2305
2305
|
wasmselectbuilder_intersect: YE,
|
|
2306
2306
|
wasmselectbuilder_join: RE,
|
|
2307
2307
|
wasmselectbuilder_lateral_view: yE,
|
|
2308
2308
|
wasmselectbuilder_left_join: qE,
|
|
2309
|
-
wasmselectbuilder_limit:
|
|
2309
|
+
wasmselectbuilder_limit: hE,
|
|
2310
2310
|
wasmselectbuilder_new: cE,
|
|
2311
|
-
wasmselectbuilder_offset:
|
|
2312
|
-
wasmselectbuilder_order_by_exprs:
|
|
2313
|
-
wasmselectbuilder_qualify:
|
|
2311
|
+
wasmselectbuilder_offset: UE,
|
|
2312
|
+
wasmselectbuilder_order_by_exprs: SE,
|
|
2313
|
+
wasmselectbuilder_qualify: HE,
|
|
2314
2314
|
wasmselectbuilder_right_join: FE,
|
|
2315
2315
|
wasmselectbuilder_select_col: LE,
|
|
2316
2316
|
wasmselectbuilder_select_expr: sE,
|
|
2317
2317
|
wasmselectbuilder_select_exprs: pE,
|
|
2318
|
-
wasmselectbuilder_select_star:
|
|
2319
|
-
wasmselectbuilder_sort_by_exprs:
|
|
2320
|
-
wasmselectbuilder_to_sql:
|
|
2318
|
+
wasmselectbuilder_select_star: jE,
|
|
2319
|
+
wasmselectbuilder_sort_by_exprs: OE,
|
|
2320
|
+
wasmselectbuilder_to_sql: TE,
|
|
2321
2321
|
wasmselectbuilder_union: xE,
|
|
2322
|
-
wasmselectbuilder_union_all:
|
|
2322
|
+
wasmselectbuilder_union_all: ZE,
|
|
2323
2323
|
wasmselectbuilder_where_expr: tE,
|
|
2324
|
-
wasmselectbuilder_where_sql:
|
|
2325
|
-
wasmselectbuilder_window:
|
|
2326
|
-
wasmsetopbuilder_build:
|
|
2327
|
-
wasmsetopbuilder_limit:
|
|
2328
|
-
wasmsetopbuilder_offset:
|
|
2329
|
-
wasmsetopbuilder_order_by_exprs:
|
|
2324
|
+
wasmselectbuilder_where_sql: dE,
|
|
2325
|
+
wasmselectbuilder_window: VE,
|
|
2326
|
+
wasmsetopbuilder_build: zE,
|
|
2327
|
+
wasmsetopbuilder_limit: lE,
|
|
2328
|
+
wasmsetopbuilder_offset: mE,
|
|
2329
|
+
wasmsetopbuilder_order_by_exprs: PE,
|
|
2330
2330
|
wasmsetopbuilder_to_sql: eE,
|
|
2331
2331
|
wasmupdatebuilder_build: WE,
|
|
2332
|
-
wasmupdatebuilder_from:
|
|
2333
|
-
wasmupdatebuilder_new:
|
|
2334
|
-
wasmupdatebuilder_set:
|
|
2332
|
+
wasmupdatebuilder_from: rE,
|
|
2333
|
+
wasmupdatebuilder_new: fE,
|
|
2334
|
+
wasmupdatebuilder_set: bE,
|
|
2335
2335
|
wasmupdatebuilder_to_sql: XE,
|
|
2336
2336
|
wasmupdatebuilder_where_expr: vE,
|
|
2337
2337
|
wasmwindowdefbuilder_new: uE,
|
|
2338
2338
|
wasmwindowdefbuilder_order_by: nE,
|
|
2339
2339
|
wasmwindowdefbuilder_partition_by: _E
|
|
2340
2340
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2341
|
-
|
|
2341
|
+
VQ(CD);
|
|
2342
2342
|
const pg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2343
2343
|
__proto__: null,
|
|
2344
2344
|
WasmAssignmentArray: QA,
|
|
2345
|
-
WasmCaseBuilder:
|
|
2346
|
-
WasmDeleteBuilder:
|
|
2347
|
-
WasmExpr:
|
|
2348
|
-
WasmExprArray:
|
|
2345
|
+
WasmCaseBuilder: f,
|
|
2346
|
+
WasmDeleteBuilder: iA,
|
|
2347
|
+
WasmExpr: K,
|
|
2348
|
+
WasmExprArray: j,
|
|
2349
2349
|
WasmInsertBuilder: oA,
|
|
2350
2350
|
WasmMergeBuilder: NA,
|
|
2351
2351
|
WasmSelectBuilder: x,
|
|
2352
|
-
WasmSetOpBuilder:
|
|
2352
|
+
WasmSetOpBuilder: z,
|
|
2353
2353
|
WasmUpdateBuilder: GA,
|
|
2354
2354
|
WasmWindowDefBuilder: BA,
|
|
2355
2355
|
annotate_types: MI,
|
|
2356
|
-
annotate_types_value:
|
|
2356
|
+
annotate_types_value: KI,
|
|
2357
2357
|
ast_add_where: vA,
|
|
2358
2358
|
ast_get_aggregate_functions: uA,
|
|
2359
2359
|
ast_get_column_names: nA,
|
|
@@ -2367,45 +2367,45 @@ const pg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2367
2367
|
ast_remove_where: Cg,
|
|
2368
2368
|
ast_rename_columns: Eg,
|
|
2369
2369
|
ast_rename_tables: Dg,
|
|
2370
|
-
ast_set_distinct:
|
|
2371
|
-
ast_set_limit:
|
|
2370
|
+
ast_set_distinct: wg,
|
|
2371
|
+
ast_set_limit: ig,
|
|
2372
2372
|
diff_sql: og,
|
|
2373
2373
|
format_sql: aI,
|
|
2374
|
-
format_sql_value:
|
|
2374
|
+
format_sql_value: JI,
|
|
2375
2375
|
format_sql_with_options: YI,
|
|
2376
2376
|
format_sql_with_options_value: RI,
|
|
2377
2377
|
generate: yI,
|
|
2378
2378
|
generate_value: qI,
|
|
2379
|
-
get_dialects:
|
|
2379
|
+
get_dialects: hI,
|
|
2380
2380
|
get_dialects_value: cI,
|
|
2381
2381
|
lineage_sql: Ng,
|
|
2382
2382
|
lineage_sql_with_schema: Gg,
|
|
2383
|
-
parse:
|
|
2384
|
-
parse_value:
|
|
2383
|
+
parse: UI,
|
|
2384
|
+
parse_value: SI,
|
|
2385
2385
|
plan: kg,
|
|
2386
2386
|
source_tables: Mg,
|
|
2387
|
-
tokenize:
|
|
2387
|
+
tokenize: HI,
|
|
2388
2388
|
tokenize_value: FI,
|
|
2389
2389
|
transpile: LI,
|
|
2390
2390
|
transpile_value: sI,
|
|
2391
2391
|
validate: pI,
|
|
2392
|
-
validate_with_options:
|
|
2393
|
-
validate_with_schema:
|
|
2394
|
-
version:
|
|
2392
|
+
validate_with_options: jI,
|
|
2393
|
+
validate_with_schema: Kg,
|
|
2394
|
+
version: OI,
|
|
2395
2395
|
wasm_alias: ag,
|
|
2396
|
-
wasm_and:
|
|
2396
|
+
wasm_and: Jg,
|
|
2397
2397
|
wasm_boolean: Yg,
|
|
2398
2398
|
wasm_case_of: Rg,
|
|
2399
2399
|
wasm_cast: yg,
|
|
2400
2400
|
wasm_col: cA,
|
|
2401
2401
|
wasm_count_distinct: qg,
|
|
2402
|
-
wasm_extract:
|
|
2402
|
+
wasm_extract: hg,
|
|
2403
2403
|
wasm_func: cg,
|
|
2404
2404
|
wasm_lit: kA,
|
|
2405
|
-
wasm_not:
|
|
2405
|
+
wasm_not: Ug,
|
|
2406
2406
|
wasm_null: MA,
|
|
2407
|
-
wasm_or:
|
|
2408
|
-
wasm_sql_expr:
|
|
2407
|
+
wasm_or: Sg,
|
|
2408
|
+
wasm_sql_expr: Hg,
|
|
2409
2409
|
wasm_star: Fg,
|
|
2410
2410
|
wasm_subquery: Lg,
|
|
2411
2411
|
wasm_table: sg
|
|
@@ -2413,11 +2413,11 @@ const pg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2413
2413
|
function p(g) {
|
|
2414
2414
|
return Object.keys(g)[0];
|
|
2415
2415
|
}
|
|
2416
|
-
function
|
|
2416
|
+
function O(g) {
|
|
2417
2417
|
const A = Object.keys(g)[0];
|
|
2418
2418
|
return g[A];
|
|
2419
2419
|
}
|
|
2420
|
-
function
|
|
2420
|
+
function l(g) {
|
|
2421
2421
|
if (typeof g != "object" || g === null || Array.isArray(g))
|
|
2422
2422
|
return !1;
|
|
2423
2423
|
const A = Object.keys(g);
|
|
@@ -2425,60 +2425,60 @@ function m(g) {
|
|
|
2425
2425
|
const Q = g[A[0]];
|
|
2426
2426
|
return Q === null || typeof Q == "object" && !Array.isArray(Q);
|
|
2427
2427
|
}
|
|
2428
|
-
function
|
|
2428
|
+
function d(g, A) {
|
|
2429
2429
|
return { [g]: A };
|
|
2430
2430
|
}
|
|
2431
|
-
function
|
|
2432
|
-
const A =
|
|
2431
|
+
function jg(g) {
|
|
2432
|
+
const A = O(g);
|
|
2433
2433
|
if (A && typeof A == "object" && "inferred_type" in A) {
|
|
2434
2434
|
const Q = A.inferred_type;
|
|
2435
2435
|
if (Q != null)
|
|
2436
2436
|
return Q;
|
|
2437
2437
|
}
|
|
2438
2438
|
}
|
|
2439
|
-
function
|
|
2439
|
+
function J(g) {
|
|
2440
2440
|
return (A) => g in A;
|
|
2441
2441
|
}
|
|
2442
|
-
const
|
|
2443
|
-
function
|
|
2442
|
+
const Og = J("select"), ED = J("insert"), DD = J("update"), wD = J("delete"), iD = J("union"), oD = J("intersect"), ND = J("except"), GD = J("subquery"), kD = J("identifier"), Tg = J("column"), MD = J("table"), KD = J("star"), xg = J("literal"), aD = J("boolean"), JD = J("null"), YD = J("and"), RD = J("or"), yD = J("not"), qD = J("eq"), hD = J("neq"), cD = J("lt"), UD = J("lte"), SD = J("gt"), HD = J("gte"), FD = J("like"), LD = J("i_like"), sD = J("add"), pD = J("sub"), jD = J("mul"), OD = J("div"), TD = J("mod"), xD = J("concat"), ZD = J("in"), tD = J("between"), dD = J("is_null"), VD = J("exists"), Zg = J("function"), zD = J("aggregate_function"), lD = J("window_function"), mD = J("count"), PD = J("sum"), eD = J("avg"), WD = J("min"), rD = J("max"), fD = J("coalesce"), bD = J("null_if"), XD = J("cast"), vD = J("try_cast"), uD = J("safe_cast"), nD = J("case"), _D = J("from"), $D = J("join"), Aw = J("where"), gw = J("group_by"), Iw = J("having"), Qw = J("order_by"), Bw = J("limit"), Cw = J("offset"), Ew = J("with"), Dw = J("cte"), ww = J("alias"), iw = J("paren"), ow = J("ordered"), Nw = J("create_table"), Gw = J("drop_table"), kw = J("alter_table"), Mw = J("create_index"), Kw = J("drop_index"), aw = J("create_view"), Jw = J("drop_view");
|
|
2443
|
+
function Yw(g) {
|
|
2444
2444
|
const A = p(g);
|
|
2445
2445
|
return A === "select" || A === "insert" || A === "update" || A === "delete";
|
|
2446
2446
|
}
|
|
2447
|
-
function
|
|
2447
|
+
function Rw(g) {
|
|
2448
2448
|
const A = p(g);
|
|
2449
2449
|
return A === "union" || A === "intersect" || A === "except";
|
|
2450
2450
|
}
|
|
2451
|
-
function
|
|
2451
|
+
function yw(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
|
|
2455
|
+
function qw(g) {
|
|
2456
2456
|
const A = p(g);
|
|
2457
2457
|
return A === "add" || A === "sub" || A === "mul" || A === "div" || A === "mod";
|
|
2458
2458
|
}
|
|
2459
|
-
function
|
|
2459
|
+
function hw(g) {
|
|
2460
2460
|
const A = p(g);
|
|
2461
2461
|
return A === "and" || A === "or" || A === "not";
|
|
2462
2462
|
}
|
|
2463
|
-
function
|
|
2463
|
+
function cw(g) {
|
|
2464
2464
|
const A = p(g);
|
|
2465
2465
|
return A === "create_table" || A === "drop_table" || A === "alter_table" || A === "create_index" || A === "drop_index" || A === "create_view" || A === "drop_view" || A === "create_schema" || A === "drop_schema" || A === "create_database" || A === "drop_database" || A === "create_function" || A === "drop_function" || A === "create_procedure" || A === "drop_procedure" || A === "create_sequence" || A === "drop_sequence" || A === "alter_sequence" || A === "create_trigger" || A === "drop_trigger" || A === "create_type" || A === "drop_type";
|
|
2466
2466
|
}
|
|
2467
|
-
function
|
|
2467
|
+
function m(g) {
|
|
2468
2468
|
return JSON.stringify(g);
|
|
2469
2469
|
}
|
|
2470
|
-
function
|
|
2470
|
+
function b(g) {
|
|
2471
2471
|
const A = JSON.parse(g);
|
|
2472
2472
|
return A.success ? JSON.parse(A.ast) : null;
|
|
2473
2473
|
}
|
|
2474
2474
|
function tg(g, A, Q) {
|
|
2475
2475
|
if (g == null) return g;
|
|
2476
2476
|
if (Array.isArray(g))
|
|
2477
|
-
return g.length > 0 &&
|
|
2478
|
-
(B, C) =>
|
|
2479
|
-
) : g.length > 0 && Array.isArray(g[0]) ? g.map((B) => Array.isArray(B) ? B.map((C, E) =>
|
|
2480
|
-
if (
|
|
2481
|
-
return
|
|
2477
|
+
return g.length > 0 && l(g[0]) ? g.map(
|
|
2478
|
+
(B, C) => wA(B, A, Q, null, C)
|
|
2479
|
+
) : g.length > 0 && Array.isArray(g[0]) ? g.map((B) => Array.isArray(B) ? B.map((C, E) => l(C) ? wA(C, A, Q, null, E) : C) : B) : g;
|
|
2480
|
+
if (l(g))
|
|
2481
|
+
return wA(g, A, Q, null, null);
|
|
2482
2482
|
if (typeof g == "object") {
|
|
2483
2483
|
const C = { ...g };
|
|
2484
2484
|
let E = !1;
|
|
@@ -2490,7 +2490,7 @@ function tg(g, A, Q) {
|
|
|
2490
2490
|
}
|
|
2491
2491
|
return g;
|
|
2492
2492
|
}
|
|
2493
|
-
function
|
|
2493
|
+
function wA(g, A, Q, B, C) {
|
|
2494
2494
|
let E = g;
|
|
2495
2495
|
if (A.enter) {
|
|
2496
2496
|
const R = A.enter(E, Q, B, C);
|
|
@@ -2505,17 +2505,17 @@ function iA(g, A, Q, B, C) {
|
|
|
2505
2505
|
return E;
|
|
2506
2506
|
R !== void 0 && (E = R);
|
|
2507
2507
|
}
|
|
2508
|
-
const k = p(E), M =
|
|
2508
|
+
const k = p(E), M = O(E);
|
|
2509
2509
|
let a;
|
|
2510
2510
|
if (M == null)
|
|
2511
|
-
a =
|
|
2511
|
+
a = d(k, M);
|
|
2512
2512
|
else {
|
|
2513
2513
|
const R = { ...M };
|
|
2514
|
-
for (const [
|
|
2515
|
-
const
|
|
2516
|
-
|
|
2514
|
+
for (const [H, s] of Object.entries(R)) {
|
|
2515
|
+
const T = tg(s, A, E);
|
|
2516
|
+
T !== s && (R[H] = T);
|
|
2517
2517
|
}
|
|
2518
|
-
a =
|
|
2518
|
+
a = d(k, R);
|
|
2519
2519
|
}
|
|
2520
2520
|
if (A.leave) {
|
|
2521
2521
|
const R = A.leave(a, Q, B, C);
|
|
@@ -2525,9 +2525,9 @@ function iA(g, A, Q, B, C) {
|
|
|
2525
2525
|
return a;
|
|
2526
2526
|
}
|
|
2527
2527
|
function aA(g, A) {
|
|
2528
|
-
return
|
|
2528
|
+
return wA(g, A, null, null, null);
|
|
2529
2529
|
}
|
|
2530
|
-
function
|
|
2530
|
+
function dg(g, A, Q) {
|
|
2531
2531
|
return aA(g, {
|
|
2532
2532
|
enter: (B, C) => {
|
|
2533
2533
|
if (A(B, C))
|
|
@@ -2535,157 +2535,157 @@ function zg(g, A, Q) {
|
|
|
2535
2535
|
}
|
|
2536
2536
|
});
|
|
2537
2537
|
}
|
|
2538
|
-
function
|
|
2539
|
-
return
|
|
2538
|
+
function Uw(g, A, Q) {
|
|
2539
|
+
return dg(
|
|
2540
2540
|
g,
|
|
2541
2541
|
(B) => p(B) === A,
|
|
2542
2542
|
typeof Q == "function" ? (B) => Q(B) : Q
|
|
2543
2543
|
);
|
|
2544
2544
|
}
|
|
2545
|
-
function
|
|
2546
|
-
return
|
|
2547
|
-
Eg(
|
|
2545
|
+
function Vg(g, A) {
|
|
2546
|
+
return b(
|
|
2547
|
+
Eg(m(g), JSON.stringify(A))
|
|
2548
2548
|
) ?? g;
|
|
2549
2549
|
}
|
|
2550
|
-
function
|
|
2551
|
-
return
|
|
2552
|
-
Dg(
|
|
2550
|
+
function Sw(g, A) {
|
|
2551
|
+
return b(
|
|
2552
|
+
Dg(m(g), JSON.stringify(A))
|
|
2553
2553
|
) ?? g;
|
|
2554
2554
|
}
|
|
2555
|
-
function
|
|
2556
|
-
return
|
|
2557
|
-
Bg(
|
|
2555
|
+
function Hw(g, A) {
|
|
2556
|
+
return b(
|
|
2557
|
+
Bg(m(g), A)
|
|
2558
2558
|
) ?? g;
|
|
2559
2559
|
}
|
|
2560
|
-
function
|
|
2561
|
-
return
|
|
2562
|
-
vA(
|
|
2560
|
+
function Fw(g, A, Q = "and") {
|
|
2561
|
+
return b(
|
|
2562
|
+
vA(m(g), m(A), Q === "or")
|
|
2563
2563
|
) ?? g;
|
|
2564
2564
|
}
|
|
2565
|
-
function
|
|
2566
|
-
return
|
|
2565
|
+
function Lw(g) {
|
|
2566
|
+
return b(Cg(m(g))) ?? g;
|
|
2567
2567
|
}
|
|
2568
|
-
function
|
|
2568
|
+
function sw(g, ...A) {
|
|
2569
2569
|
if (p(g) !== "select")
|
|
2570
2570
|
return g;
|
|
2571
|
-
const Q =
|
|
2572
|
-
return
|
|
2571
|
+
const Q = O(g);
|
|
2572
|
+
return d("select", {
|
|
2573
2573
|
...Q,
|
|
2574
2574
|
expressions: [...Q.expressions, ...A]
|
|
2575
2575
|
});
|
|
2576
2576
|
}
|
|
2577
|
-
function
|
|
2577
|
+
function pw(g, A) {
|
|
2578
2578
|
if (p(g) !== "select")
|
|
2579
2579
|
return g;
|
|
2580
|
-
const Q =
|
|
2581
|
-
return
|
|
2580
|
+
const Q = O(g);
|
|
2581
|
+
return d("select", {
|
|
2582
2582
|
...Q,
|
|
2583
2583
|
expressions: Q.expressions.filter((B) => !A(B))
|
|
2584
2584
|
});
|
|
2585
2585
|
}
|
|
2586
|
-
function
|
|
2586
|
+
function jw(g, A) {
|
|
2587
2587
|
if (typeof A == "number")
|
|
2588
|
-
return
|
|
2588
|
+
return b(ig(m(g), A)) ?? g;
|
|
2589
2589
|
if (p(g) !== "select")
|
|
2590
2590
|
return g;
|
|
2591
|
-
const Q =
|
|
2592
|
-
return
|
|
2591
|
+
const Q = O(g);
|
|
2592
|
+
return d("select", {
|
|
2593
2593
|
...Q,
|
|
2594
2594
|
limit: { this: A }
|
|
2595
2595
|
});
|
|
2596
2596
|
}
|
|
2597
|
-
function
|
|
2597
|
+
function Ow(g, A) {
|
|
2598
2598
|
if (p(g) !== "select")
|
|
2599
2599
|
return g;
|
|
2600
|
-
const Q =
|
|
2601
|
-
return
|
|
2600
|
+
const Q = O(g), B = typeof A == "number" ? d("literal", { literal_type: "number", value: String(A) }) : A;
|
|
2601
|
+
return d("select", {
|
|
2602
2602
|
...Q,
|
|
2603
2603
|
offset: { this: B }
|
|
2604
2604
|
});
|
|
2605
2605
|
}
|
|
2606
|
-
function
|
|
2606
|
+
function Tw(g) {
|
|
2607
2607
|
if (p(g) !== "select")
|
|
2608
2608
|
return g;
|
|
2609
|
-
const A =
|
|
2610
|
-
return
|
|
2609
|
+
const A = O(g);
|
|
2610
|
+
return d("select", {
|
|
2611
2611
|
...A,
|
|
2612
2612
|
limit: null,
|
|
2613
2613
|
offset: null
|
|
2614
2614
|
});
|
|
2615
2615
|
}
|
|
2616
|
-
function
|
|
2617
|
-
return
|
|
2616
|
+
function xw(g, A = !0) {
|
|
2617
|
+
return b(wg(m(g), A)) ?? g;
|
|
2618
2618
|
}
|
|
2619
|
-
function
|
|
2619
|
+
function Zw(g) {
|
|
2620
2620
|
return aA(g, {});
|
|
2621
2621
|
}
|
|
2622
|
-
function
|
|
2622
|
+
function zg(g, A, Q) {
|
|
2623
2623
|
if (g == null) return g;
|
|
2624
2624
|
if (Array.isArray(g))
|
|
2625
|
-
return g.length > 0 &&
|
|
2626
|
-
if (
|
|
2627
|
-
return
|
|
2625
|
+
return g.length > 0 && l(g[0]) ? g.filter((B) => !A(B, Q)).map((B) => hA(B, A)) : g;
|
|
2626
|
+
if (l(g))
|
|
2627
|
+
return hA(g, A);
|
|
2628
2628
|
if (typeof g == "object") {
|
|
2629
2629
|
const C = { ...g };
|
|
2630
2630
|
let E = !1;
|
|
2631
2631
|
for (const [D, o] of Object.entries(C)) {
|
|
2632
|
-
const k =
|
|
2632
|
+
const k = zg(o, A, Q);
|
|
2633
2633
|
k !== o && (C[D] = k, E = !0);
|
|
2634
2634
|
}
|
|
2635
2635
|
return E ? C : g;
|
|
2636
2636
|
}
|
|
2637
2637
|
return g;
|
|
2638
2638
|
}
|
|
2639
|
-
function
|
|
2640
|
-
const Q = p(g), C = { ...
|
|
2639
|
+
function hA(g, A) {
|
|
2640
|
+
const Q = p(g), C = { ...O(g) };
|
|
2641
2641
|
for (const [E, D] of Object.entries(C)) {
|
|
2642
|
-
const o =
|
|
2642
|
+
const o = zg(D, A, g);
|
|
2643
2643
|
o !== D && (C[E] = o);
|
|
2644
2644
|
}
|
|
2645
|
-
return
|
|
2645
|
+
return d(Q, C);
|
|
2646
2646
|
}
|
|
2647
2647
|
function e(g) {
|
|
2648
2648
|
return JSON.stringify(g);
|
|
2649
2649
|
}
|
|
2650
|
-
function
|
|
2650
|
+
function lg(g, A, Q) {
|
|
2651
2651
|
if (g != null) {
|
|
2652
2652
|
if (Array.isArray(g)) {
|
|
2653
|
-
if (g.length > 0 &&
|
|
2653
|
+
if (g.length > 0 && l(g[0]))
|
|
2654
2654
|
Q.push({ key: A, value: g });
|
|
2655
2655
|
else if (g.length > 0 && Array.isArray(g[0])) {
|
|
2656
2656
|
for (const B of g)
|
|
2657
2657
|
if (Array.isArray(B))
|
|
2658
2658
|
for (const C of B)
|
|
2659
|
-
|
|
2659
|
+
l(C) && Q.push({ key: A, value: C });
|
|
2660
2660
|
}
|
|
2661
|
-
} else if (
|
|
2661
|
+
} else if (l(g))
|
|
2662
2662
|
Q.push({ key: A, value: g });
|
|
2663
2663
|
else if (typeof g == "object")
|
|
2664
2664
|
for (const [, B] of Object.entries(
|
|
2665
2665
|
g
|
|
2666
2666
|
))
|
|
2667
|
-
|
|
2667
|
+
lg(B, A, Q);
|
|
2668
2668
|
}
|
|
2669
2669
|
}
|
|
2670
|
-
function
|
|
2671
|
-
const A = [], Q =
|
|
2670
|
+
function mg(g) {
|
|
2671
|
+
const A = [], Q = O(g);
|
|
2672
2672
|
if (!Q || typeof Q != "object") return A;
|
|
2673
2673
|
for (const [B, C] of Object.entries(Q))
|
|
2674
|
-
|
|
2674
|
+
lg(C, B, A);
|
|
2675
2675
|
return A;
|
|
2676
2676
|
}
|
|
2677
2677
|
function t(g, A, Q = null, B = null, C = null) {
|
|
2678
2678
|
A.enter && A.enter(g, Q, B, C);
|
|
2679
2679
|
const E = p(g), D = A[E];
|
|
2680
2680
|
D && D(g, Q, B, C);
|
|
2681
|
-
const o =
|
|
2681
|
+
const o = mg(g);
|
|
2682
2682
|
for (const k of o)
|
|
2683
2683
|
Array.isArray(k.value) ? k.value.forEach((M, a) => {
|
|
2684
2684
|
t(M, A, g, k.key, a);
|
|
2685
2685
|
}) : t(k.value, A, g, k.key, null);
|
|
2686
2686
|
A.leave && A.leave(g, Q, B, C);
|
|
2687
2687
|
}
|
|
2688
|
-
function
|
|
2688
|
+
function JA(g, A) {
|
|
2689
2689
|
const Q = [];
|
|
2690
2690
|
return t(g, {
|
|
2691
2691
|
enter: (B, C) => {
|
|
@@ -2694,9 +2694,9 @@ function KA(g, A) {
|
|
|
2694
2694
|
}), Q;
|
|
2695
2695
|
}
|
|
2696
2696
|
function CA(g, A) {
|
|
2697
|
-
return
|
|
2697
|
+
return JA(g, (Q) => p(Q) === A);
|
|
2698
2698
|
}
|
|
2699
|
-
function
|
|
2699
|
+
function Pg(g, A) {
|
|
2700
2700
|
let Q, B = !1;
|
|
2701
2701
|
return t(g, {
|
|
2702
2702
|
enter: (C, E) => {
|
|
@@ -2704,10 +2704,10 @@ function Vg(g, A) {
|
|
|
2704
2704
|
}
|
|
2705
2705
|
}), Q;
|
|
2706
2706
|
}
|
|
2707
|
-
function
|
|
2708
|
-
return
|
|
2707
|
+
function tw(g, A) {
|
|
2708
|
+
return Pg(g, A) !== void 0;
|
|
2709
2709
|
}
|
|
2710
|
-
function
|
|
2710
|
+
function dw(g, A) {
|
|
2711
2711
|
let Q = !0;
|
|
2712
2712
|
return t(g, {
|
|
2713
2713
|
enter: (B, C) => {
|
|
@@ -2715,19 +2715,19 @@ function zi(g, A) {
|
|
|
2715
2715
|
}
|
|
2716
2716
|
}), Q;
|
|
2717
2717
|
}
|
|
2718
|
-
function
|
|
2719
|
-
return
|
|
2718
|
+
function Vw(g, A) {
|
|
2719
|
+
return JA(g, A).length;
|
|
2720
2720
|
}
|
|
2721
2721
|
function eg(g) {
|
|
2722
2722
|
return CA(g, "column");
|
|
2723
2723
|
}
|
|
2724
|
-
function
|
|
2724
|
+
function zw(g) {
|
|
2725
2725
|
return CA(g, "table");
|
|
2726
2726
|
}
|
|
2727
|
-
function
|
|
2727
|
+
function lw(g) {
|
|
2728
2728
|
return CA(g, "identifier");
|
|
2729
2729
|
}
|
|
2730
|
-
function
|
|
2730
|
+
function mw(g) {
|
|
2731
2731
|
const A = JSON.parse(_A(e(g)));
|
|
2732
2732
|
return A.success ? JSON.parse(A.ast) : [];
|
|
2733
2733
|
}
|
|
@@ -2739,32 +2739,32 @@ function Wg(g) {
|
|
|
2739
2739
|
const A = JSON.parse(Ig(e(g)));
|
|
2740
2740
|
return A.success ? JSON.parse(A.ast) : [];
|
|
2741
2741
|
}
|
|
2742
|
-
function
|
|
2742
|
+
function rg(g) {
|
|
2743
2743
|
const A = JSON.parse(Ag(e(g)));
|
|
2744
2744
|
return A.success ? JSON.parse(A.ast) : [];
|
|
2745
2745
|
}
|
|
2746
|
-
function
|
|
2746
|
+
function Pw(g) {
|
|
2747
2747
|
const A = JSON.parse($A(e(g)));
|
|
2748
2748
|
return A.success ? JSON.parse(A.ast) : [];
|
|
2749
2749
|
}
|
|
2750
|
-
function
|
|
2750
|
+
function ew(g) {
|
|
2751
2751
|
const A = JSON.parse(nA(e(g)));
|
|
2752
2752
|
return A.success ? A.result : [];
|
|
2753
2753
|
}
|
|
2754
|
-
function
|
|
2754
|
+
function Ww(g) {
|
|
2755
2755
|
const A = JSON.parse(gg(e(g)));
|
|
2756
2756
|
return A.success ? A.result : [];
|
|
2757
2757
|
}
|
|
2758
|
-
function
|
|
2758
|
+
function fg(g) {
|
|
2759
2759
|
return IA(g).length > 0;
|
|
2760
2760
|
}
|
|
2761
|
-
function
|
|
2761
|
+
function rw(g) {
|
|
2762
2762
|
return Wg(g).length > 0;
|
|
2763
2763
|
}
|
|
2764
|
-
function
|
|
2765
|
-
return
|
|
2764
|
+
function fw(g) {
|
|
2765
|
+
return rg(g).length > 0;
|
|
2766
2766
|
}
|
|
2767
|
-
function
|
|
2767
|
+
function bw(g) {
|
|
2768
2768
|
let A = 0, Q = 0;
|
|
2769
2769
|
return t(g, {
|
|
2770
2770
|
enter: () => {
|
|
@@ -2775,11 +2775,11 @@ function ri(g) {
|
|
|
2775
2775
|
}
|
|
2776
2776
|
}), A;
|
|
2777
2777
|
}
|
|
2778
|
-
function
|
|
2778
|
+
function Xw(g) {
|
|
2779
2779
|
const A = JSON.parse(Qg(e(g)));
|
|
2780
2780
|
return A.success ? A.result : 0;
|
|
2781
2781
|
}
|
|
2782
|
-
function
|
|
2782
|
+
function vw(g, A) {
|
|
2783
2783
|
let Q = null;
|
|
2784
2784
|
return t(g, {
|
|
2785
2785
|
enter: (B, C) => {
|
|
@@ -2787,7 +2787,7 @@ function vi(g, A) {
|
|
|
2787
2787
|
}
|
|
2788
2788
|
}), Q;
|
|
2789
2789
|
}
|
|
2790
|
-
function
|
|
2790
|
+
function uw(g, A, Q) {
|
|
2791
2791
|
const B = [];
|
|
2792
2792
|
let C = null;
|
|
2793
2793
|
return t(g, {
|
|
@@ -2809,7 +2809,7 @@ function ui(g, A, Q) {
|
|
|
2809
2809
|
}
|
|
2810
2810
|
}), C;
|
|
2811
2811
|
}
|
|
2812
|
-
function
|
|
2812
|
+
function nw(g, A) {
|
|
2813
2813
|
let Q = 0, B = 0;
|
|
2814
2814
|
return t(g, {
|
|
2815
2815
|
enter: (C) => {
|
|
@@ -2820,137 +2820,137 @@ function ni(g, A) {
|
|
|
2820
2820
|
}
|
|
2821
2821
|
}), Q;
|
|
2822
2822
|
}
|
|
2823
|
-
const
|
|
2823
|
+
const _w = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2824
2824
|
__proto__: null,
|
|
2825
|
-
addSelectColumns:
|
|
2826
|
-
addWhere:
|
|
2827
|
-
clone:
|
|
2828
|
-
countNodes:
|
|
2829
|
-
every:
|
|
2830
|
-
findAll:
|
|
2831
|
-
findAncestor:
|
|
2825
|
+
addSelectColumns: sw,
|
|
2826
|
+
addWhere: Fw,
|
|
2827
|
+
clone: Zw,
|
|
2828
|
+
countNodes: Vw,
|
|
2829
|
+
every: dw,
|
|
2830
|
+
findAll: JA,
|
|
2831
|
+
findAncestor: uw,
|
|
2832
2832
|
findByType: CA,
|
|
2833
|
-
findFirst:
|
|
2833
|
+
findFirst: Pg,
|
|
2834
2834
|
getAggregateFunctions: IA,
|
|
2835
|
-
getChildren:
|
|
2836
|
-
getColumnNames:
|
|
2835
|
+
getChildren: mg,
|
|
2836
|
+
getColumnNames: ew,
|
|
2837
2837
|
getColumns: eg,
|
|
2838
|
-
getDepth:
|
|
2839
|
-
getExprData:
|
|
2838
|
+
getDepth: bw,
|
|
2839
|
+
getExprData: O,
|
|
2840
2840
|
getExprType: p,
|
|
2841
|
-
getFunctions:
|
|
2842
|
-
getIdentifiers:
|
|
2843
|
-
getInferredType:
|
|
2844
|
-
getLiterals:
|
|
2845
|
-
getNodeDepth:
|
|
2846
|
-
getParent:
|
|
2847
|
-
getSubqueries:
|
|
2848
|
-
getTableNames:
|
|
2849
|
-
getTables:
|
|
2841
|
+
getFunctions: mw,
|
|
2842
|
+
getIdentifiers: lw,
|
|
2843
|
+
getInferredType: jg,
|
|
2844
|
+
getLiterals: Pw,
|
|
2845
|
+
getNodeDepth: nw,
|
|
2846
|
+
getParent: vw,
|
|
2847
|
+
getSubqueries: rg,
|
|
2848
|
+
getTableNames: Ww,
|
|
2849
|
+
getTables: zw,
|
|
2850
2850
|
getWindowFunctions: Wg,
|
|
2851
|
-
hasAggregates:
|
|
2852
|
-
hasSubqueries:
|
|
2853
|
-
hasWindowFunctions:
|
|
2851
|
+
hasAggregates: fg,
|
|
2852
|
+
hasSubqueries: fw,
|
|
2853
|
+
hasWindowFunctions: rw,
|
|
2854
2854
|
isAdd: sD,
|
|
2855
|
-
isAggregateFunction:
|
|
2856
|
-
isAlias:
|
|
2857
|
-
isAlterTable:
|
|
2855
|
+
isAggregateFunction: zD,
|
|
2856
|
+
isAlias: ww,
|
|
2857
|
+
isAlterTable: kw,
|
|
2858
2858
|
isAnd: YD,
|
|
2859
|
-
isArithmetic:
|
|
2859
|
+
isArithmetic: qw,
|
|
2860
2860
|
isAvg: eD,
|
|
2861
2861
|
isBetween: tD,
|
|
2862
2862
|
isBoolean: aD,
|
|
2863
2863
|
isCase: nD,
|
|
2864
2864
|
isCast: XD,
|
|
2865
|
-
isCoalesce:
|
|
2866
|
-
isColumn:
|
|
2867
|
-
isComparison:
|
|
2865
|
+
isCoalesce: fD,
|
|
2866
|
+
isColumn: Tg,
|
|
2867
|
+
isComparison: yw,
|
|
2868
2868
|
isConcat: xD,
|
|
2869
|
-
isCount:
|
|
2870
|
-
isCreateIndex:
|
|
2871
|
-
isCreateTable:
|
|
2872
|
-
isCreateView:
|
|
2873
|
-
isCte:
|
|
2874
|
-
isDDL:
|
|
2875
|
-
isDelete:
|
|
2876
|
-
isDiv:
|
|
2877
|
-
isDropIndex:
|
|
2878
|
-
isDropTable:
|
|
2879
|
-
isDropView:
|
|
2869
|
+
isCount: mD,
|
|
2870
|
+
isCreateIndex: Mw,
|
|
2871
|
+
isCreateTable: Nw,
|
|
2872
|
+
isCreateView: aw,
|
|
2873
|
+
isCte: Dw,
|
|
2874
|
+
isDDL: cw,
|
|
2875
|
+
isDelete: wD,
|
|
2876
|
+
isDiv: OD,
|
|
2877
|
+
isDropIndex: Kw,
|
|
2878
|
+
isDropTable: Gw,
|
|
2879
|
+
isDropView: Jw,
|
|
2880
2880
|
isEq: qD,
|
|
2881
2881
|
isExcept: ND,
|
|
2882
|
-
isExists:
|
|
2883
|
-
isExpressionValue:
|
|
2882
|
+
isExists: VD,
|
|
2883
|
+
isExpressionValue: l,
|
|
2884
2884
|
isFrom: _D,
|
|
2885
|
-
isFunction:
|
|
2886
|
-
isGroupBy:
|
|
2887
|
-
isGt:
|
|
2888
|
-
isGte:
|
|
2889
|
-
isHaving:
|
|
2885
|
+
isFunction: Zg,
|
|
2886
|
+
isGroupBy: gw,
|
|
2887
|
+
isGt: SD,
|
|
2888
|
+
isGte: HD,
|
|
2889
|
+
isHaving: Iw,
|
|
2890
2890
|
isILike: LD,
|
|
2891
2891
|
isIdentifier: kD,
|
|
2892
|
-
isIn:
|
|
2892
|
+
isIn: ZD,
|
|
2893
2893
|
isInsert: ED,
|
|
2894
2894
|
isIntersect: oD,
|
|
2895
|
-
isIsNull:
|
|
2895
|
+
isIsNull: dD,
|
|
2896
2896
|
isJoin: $D,
|
|
2897
2897
|
isLike: FD,
|
|
2898
|
-
isLimit:
|
|
2898
|
+
isLimit: Bw,
|
|
2899
2899
|
isLiteral: xg,
|
|
2900
|
-
isLogical:
|
|
2900
|
+
isLogical: hw,
|
|
2901
2901
|
isLt: cD,
|
|
2902
|
-
isLte:
|
|
2903
|
-
isMax:
|
|
2902
|
+
isLte: UD,
|
|
2903
|
+
isMax: rD,
|
|
2904
2904
|
isMin: WD,
|
|
2905
|
-
isMod:
|
|
2906
|
-
isMul:
|
|
2907
|
-
isNeq:
|
|
2905
|
+
isMod: TD,
|
|
2906
|
+
isMul: jD,
|
|
2907
|
+
isNeq: hD,
|
|
2908
2908
|
isNot: yD,
|
|
2909
|
-
isNullIf:
|
|
2910
|
-
isNullLiteral:
|
|
2911
|
-
isOffset:
|
|
2909
|
+
isNullIf: bD,
|
|
2910
|
+
isNullLiteral: JD,
|
|
2911
|
+
isOffset: Cw,
|
|
2912
2912
|
isOr: RD,
|
|
2913
|
-
isOrderBy:
|
|
2914
|
-
isOrdered:
|
|
2915
|
-
isParen:
|
|
2916
|
-
isQuery:
|
|
2913
|
+
isOrderBy: Qw,
|
|
2914
|
+
isOrdered: ow,
|
|
2915
|
+
isParen: iw,
|
|
2916
|
+
isQuery: Yw,
|
|
2917
2917
|
isSafeCast: uD,
|
|
2918
|
-
isSelect:
|
|
2919
|
-
isSetOperation:
|
|
2920
|
-
isStar:
|
|
2918
|
+
isSelect: Og,
|
|
2919
|
+
isSetOperation: Rw,
|
|
2920
|
+
isStar: KD,
|
|
2921
2921
|
isSub: pD,
|
|
2922
2922
|
isSubquery: GD,
|
|
2923
|
-
isSum:
|
|
2923
|
+
isSum: PD,
|
|
2924
2924
|
isTable: MD,
|
|
2925
2925
|
isTryCast: vD,
|
|
2926
|
-
isUnion:
|
|
2926
|
+
isUnion: iD,
|
|
2927
2927
|
isUpdate: DD,
|
|
2928
|
-
isWhere:
|
|
2929
|
-
isWindowFunction:
|
|
2930
|
-
isWith:
|
|
2931
|
-
makeExpr:
|
|
2932
|
-
nodeCount:
|
|
2933
|
-
qualifyColumns:
|
|
2934
|
-
remove:
|
|
2935
|
-
removeLimitOffset:
|
|
2936
|
-
removeSelectColumns:
|
|
2937
|
-
removeWhere:
|
|
2938
|
-
renameColumns:
|
|
2939
|
-
renameTables:
|
|
2940
|
-
replaceByType:
|
|
2941
|
-
replaceNodes:
|
|
2942
|
-
setDistinct:
|
|
2943
|
-
setLimit:
|
|
2944
|
-
setOffset:
|
|
2945
|
-
some:
|
|
2928
|
+
isWhere: Aw,
|
|
2929
|
+
isWindowFunction: lD,
|
|
2930
|
+
isWith: Ew,
|
|
2931
|
+
makeExpr: d,
|
|
2932
|
+
nodeCount: Xw,
|
|
2933
|
+
qualifyColumns: Hw,
|
|
2934
|
+
remove: hA,
|
|
2935
|
+
removeLimitOffset: Tw,
|
|
2936
|
+
removeSelectColumns: pw,
|
|
2937
|
+
removeWhere: Lw,
|
|
2938
|
+
renameColumns: Vg,
|
|
2939
|
+
renameTables: Sw,
|
|
2940
|
+
replaceByType: Uw,
|
|
2941
|
+
replaceNodes: dg,
|
|
2942
|
+
setDistinct: xw,
|
|
2943
|
+
setLimit: jw,
|
|
2944
|
+
setOffset: Ow,
|
|
2945
|
+
some: tw,
|
|
2946
2946
|
transform: aA,
|
|
2947
2947
|
walk: t
|
|
2948
2948
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2949
|
-
function
|
|
2949
|
+
function h(g) {
|
|
2950
2950
|
return g instanceof y ? g._w : typeof g == "string" ? cA(g) : typeof g == "number" || typeof g == "boolean" || g === null ? kA(g) : MA();
|
|
2951
2951
|
}
|
|
2952
|
-
function
|
|
2953
|
-
const A = new
|
|
2952
|
+
function Z(g) {
|
|
2953
|
+
const A = new j();
|
|
2954
2954
|
for (const Q of g)
|
|
2955
2955
|
Q instanceof y ? 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(kA(Q)) : A.push(MA());
|
|
2956
2956
|
return A;
|
|
@@ -2964,58 +2964,58 @@ class y {
|
|
|
2964
2964
|
}
|
|
2965
2965
|
// -- Comparison --
|
|
2966
2966
|
eq(A) {
|
|
2967
|
-
return new y(this._w.eq(
|
|
2967
|
+
return new y(this._w.eq(h(A)));
|
|
2968
2968
|
}
|
|
2969
2969
|
neq(A) {
|
|
2970
|
-
return new y(this._w.neq(
|
|
2970
|
+
return new y(this._w.neq(h(A)));
|
|
2971
2971
|
}
|
|
2972
2972
|
lt(A) {
|
|
2973
|
-
return new y(this._w.lt(
|
|
2973
|
+
return new y(this._w.lt(h(A)));
|
|
2974
2974
|
}
|
|
2975
2975
|
lte(A) {
|
|
2976
|
-
return new y(this._w.lte(
|
|
2976
|
+
return new y(this._w.lte(h(A)));
|
|
2977
2977
|
}
|
|
2978
2978
|
gt(A) {
|
|
2979
|
-
return new y(this._w.gt(
|
|
2979
|
+
return new y(this._w.gt(h(A)));
|
|
2980
2980
|
}
|
|
2981
2981
|
gte(A) {
|
|
2982
|
-
return new y(this._w.gte(
|
|
2982
|
+
return new y(this._w.gte(h(A)));
|
|
2983
2983
|
}
|
|
2984
2984
|
// -- Logical --
|
|
2985
2985
|
and(A) {
|
|
2986
|
-
return new y(this._w.and(
|
|
2986
|
+
return new y(this._w.and(h(A)));
|
|
2987
2987
|
}
|
|
2988
2988
|
or(A) {
|
|
2989
|
-
return new y(this._w.or(
|
|
2989
|
+
return new y(this._w.or(h(A)));
|
|
2990
2990
|
}
|
|
2991
2991
|
not() {
|
|
2992
2992
|
return new y(this._w.not());
|
|
2993
2993
|
}
|
|
2994
2994
|
xor(A) {
|
|
2995
|
-
return new y(this._w.xor(
|
|
2995
|
+
return new y(this._w.xor(h(A)));
|
|
2996
2996
|
}
|
|
2997
2997
|
// -- Arithmetic --
|
|
2998
2998
|
add(A) {
|
|
2999
|
-
return new y(this._w.add(
|
|
2999
|
+
return new y(this._w.add(h(A)));
|
|
3000
3000
|
}
|
|
3001
3001
|
sub(A) {
|
|
3002
|
-
return new y(this._w.sub(
|
|
3002
|
+
return new y(this._w.sub(h(A)));
|
|
3003
3003
|
}
|
|
3004
3004
|
mul(A) {
|
|
3005
|
-
return new y(this._w.mul(
|
|
3005
|
+
return new y(this._w.mul(h(A)));
|
|
3006
3006
|
}
|
|
3007
3007
|
div(A) {
|
|
3008
|
-
return new y(this._w.div(
|
|
3008
|
+
return new y(this._w.div(h(A)));
|
|
3009
3009
|
}
|
|
3010
3010
|
// -- Pattern matching --
|
|
3011
3011
|
like(A) {
|
|
3012
|
-
return new y(this._w.like(
|
|
3012
|
+
return new y(this._w.like(h(A)));
|
|
3013
3013
|
}
|
|
3014
3014
|
ilike(A) {
|
|
3015
|
-
return new y(this._w.ilike(
|
|
3015
|
+
return new y(this._w.ilike(h(A)));
|
|
3016
3016
|
}
|
|
3017
3017
|
rlike(A) {
|
|
3018
|
-
return new y(this._w.rlike(
|
|
3018
|
+
return new y(this._w.rlike(h(A)));
|
|
3019
3019
|
}
|
|
3020
3020
|
// -- Predicates --
|
|
3021
3021
|
isNull() {
|
|
@@ -3025,13 +3025,13 @@ class y {
|
|
|
3025
3025
|
return new y(this._w.is_not_null());
|
|
3026
3026
|
}
|
|
3027
3027
|
between(A, Q) {
|
|
3028
|
-
return new y(this._w.between(
|
|
3028
|
+
return new y(this._w.between(h(A), h(Q)));
|
|
3029
3029
|
}
|
|
3030
3030
|
inList(...A) {
|
|
3031
|
-
return new y(this._w.in_list(
|
|
3031
|
+
return new y(this._w.in_list(Z(A)));
|
|
3032
3032
|
}
|
|
3033
3033
|
notIn(...A) {
|
|
3034
|
-
return new y(this._w.not_in(
|
|
3034
|
+
return new y(this._w.not_in(Z(A)));
|
|
3035
3035
|
}
|
|
3036
3036
|
// -- Transform --
|
|
3037
3037
|
alias(A) {
|
|
@@ -3063,7 +3063,7 @@ class y {
|
|
|
3063
3063
|
this._w.free();
|
|
3064
3064
|
}
|
|
3065
3065
|
}
|
|
3066
|
-
class $
|
|
3066
|
+
class $w {
|
|
3067
3067
|
/** @internal WASM handle */
|
|
3068
3068
|
_w;
|
|
3069
3069
|
constructor() {
|
|
@@ -3071,187 +3071,187 @@ class $i {
|
|
|
3071
3071
|
}
|
|
3072
3072
|
/** Set the PARTITION BY expressions. */
|
|
3073
3073
|
partitionBy(...A) {
|
|
3074
|
-
return this._w.partition_by(
|
|
3074
|
+
return this._w.partition_by(Z(A)), this;
|
|
3075
3075
|
}
|
|
3076
3076
|
/** Set the ORDER BY expressions. */
|
|
3077
3077
|
orderBy(...A) {
|
|
3078
|
-
return this._w.order_by(
|
|
3078
|
+
return this._w.order_by(Z(A)), this;
|
|
3079
3079
|
}
|
|
3080
3080
|
/** Free the underlying WASM handle. */
|
|
3081
3081
|
free() {
|
|
3082
3082
|
this._w.free();
|
|
3083
3083
|
}
|
|
3084
3084
|
}
|
|
3085
|
-
function
|
|
3085
|
+
function Ai(g) {
|
|
3086
3086
|
return new y(cA(g));
|
|
3087
3087
|
}
|
|
3088
|
-
function
|
|
3088
|
+
function gi(g) {
|
|
3089
3089
|
return new y(kA(g));
|
|
3090
3090
|
}
|
|
3091
|
-
function
|
|
3091
|
+
function bg() {
|
|
3092
3092
|
return new y(Fg());
|
|
3093
3093
|
}
|
|
3094
|
-
function
|
|
3094
|
+
function Ii() {
|
|
3095
3095
|
return new y(MA());
|
|
3096
3096
|
}
|
|
3097
|
-
function
|
|
3097
|
+
function SA(g) {
|
|
3098
3098
|
return new y(Yg(g));
|
|
3099
3099
|
}
|
|
3100
|
-
function
|
|
3100
|
+
function Qi(g) {
|
|
3101
3101
|
return new y(sg(g));
|
|
3102
3102
|
}
|
|
3103
3103
|
function Xg(g) {
|
|
3104
|
-
return new y(
|
|
3104
|
+
return new y(Hg(g));
|
|
3105
3105
|
}
|
|
3106
|
-
function
|
|
3106
|
+
function Bi(g) {
|
|
3107
3107
|
return Xg(g);
|
|
3108
3108
|
}
|
|
3109
|
-
function
|
|
3110
|
-
return new y(cg(g,
|
|
3109
|
+
function S(g, ...A) {
|
|
3110
|
+
return new y(cg(g, Z(A)));
|
|
3111
3111
|
}
|
|
3112
|
-
function
|
|
3113
|
-
return new y(
|
|
3112
|
+
function Ci(g) {
|
|
3113
|
+
return new y(Ug(h(g)));
|
|
3114
3114
|
}
|
|
3115
|
-
function
|
|
3116
|
-
return new y(yg(
|
|
3115
|
+
function Ei(g, A) {
|
|
3116
|
+
return new y(yg(h(g), A));
|
|
3117
3117
|
}
|
|
3118
|
-
function
|
|
3119
|
-
return new y(ag(
|
|
3118
|
+
function Di(g, A) {
|
|
3119
|
+
return new y(ag(h(g), A));
|
|
3120
3120
|
}
|
|
3121
|
-
function
|
|
3121
|
+
function wi(g, A) {
|
|
3122
3122
|
return new y(Lg(g._w, A));
|
|
3123
3123
|
}
|
|
3124
|
-
function
|
|
3125
|
-
if (g.length === 0) return
|
|
3124
|
+
function ii(...g) {
|
|
3125
|
+
if (g.length === 0) return SA(!0);
|
|
3126
3126
|
if (g.length === 1)
|
|
3127
|
-
return g[0] instanceof y ? g[0] : new y(
|
|
3128
|
-
let A =
|
|
3127
|
+
return g[0] instanceof y ? g[0] : new y(h(g[0]));
|
|
3128
|
+
let A = h(g[0]);
|
|
3129
3129
|
for (let Q = 1; Q < g.length; Q++)
|
|
3130
|
-
A =
|
|
3130
|
+
A = Jg(A, h(g[Q]));
|
|
3131
3131
|
return new y(A);
|
|
3132
3132
|
}
|
|
3133
|
-
function
|
|
3134
|
-
if (g.length === 0) return
|
|
3133
|
+
function oi(...g) {
|
|
3134
|
+
if (g.length === 0) return SA(!1);
|
|
3135
3135
|
if (g.length === 1)
|
|
3136
|
-
return g[0] instanceof y ? g[0] : new y(
|
|
3137
|
-
let A =
|
|
3136
|
+
return g[0] instanceof y ? g[0] : new y(h(g[0]));
|
|
3137
|
+
let A = h(g[0]);
|
|
3138
3138
|
for (let Q = 1; Q < g.length; Q++)
|
|
3139
|
-
A =
|
|
3139
|
+
A = Sg(A, h(g[Q]));
|
|
3140
3140
|
return new y(A);
|
|
3141
3141
|
}
|
|
3142
|
-
function
|
|
3143
|
-
return g !== void 0 ?
|
|
3142
|
+
function Ni(g) {
|
|
3143
|
+
return g !== void 0 ? S("COUNT", g) : S("COUNT", bg());
|
|
3144
3144
|
}
|
|
3145
|
-
function
|
|
3146
|
-
return new y(qg(
|
|
3145
|
+
function Gi(g) {
|
|
3146
|
+
return new y(qg(h(g)));
|
|
3147
3147
|
}
|
|
3148
|
-
function
|
|
3149
|
-
return
|
|
3148
|
+
function ki(g) {
|
|
3149
|
+
return S("SUM", g);
|
|
3150
3150
|
}
|
|
3151
|
-
function
|
|
3152
|
-
return
|
|
3151
|
+
function Mi(g) {
|
|
3152
|
+
return S("AVG", g);
|
|
3153
3153
|
}
|
|
3154
|
-
function
|
|
3155
|
-
return
|
|
3154
|
+
function Ki(g) {
|
|
3155
|
+
return S("MIN", g);
|
|
3156
3156
|
}
|
|
3157
|
-
function
|
|
3158
|
-
return
|
|
3157
|
+
function ai(g) {
|
|
3158
|
+
return S("MAX", g);
|
|
3159
3159
|
}
|
|
3160
|
-
function
|
|
3161
|
-
return
|
|
3160
|
+
function Ji(g) {
|
|
3161
|
+
return S("UPPER", g);
|
|
3162
3162
|
}
|
|
3163
|
-
function
|
|
3164
|
-
return
|
|
3163
|
+
function Yi(g) {
|
|
3164
|
+
return S("LOWER", g);
|
|
3165
3165
|
}
|
|
3166
|
-
function
|
|
3167
|
-
return
|
|
3166
|
+
function Ri(g) {
|
|
3167
|
+
return S("LENGTH", g);
|
|
3168
3168
|
}
|
|
3169
|
-
function
|
|
3170
|
-
return
|
|
3169
|
+
function yi(g) {
|
|
3170
|
+
return S("TRIM", g);
|
|
3171
3171
|
}
|
|
3172
|
-
function
|
|
3173
|
-
return
|
|
3172
|
+
function qi(g) {
|
|
3173
|
+
return S("LTRIM", g);
|
|
3174
3174
|
}
|
|
3175
|
-
function
|
|
3176
|
-
return
|
|
3175
|
+
function hi(g) {
|
|
3176
|
+
return S("RTRIM", g);
|
|
3177
3177
|
}
|
|
3178
|
-
function
|
|
3179
|
-
return
|
|
3178
|
+
function ci(g) {
|
|
3179
|
+
return S("REVERSE", g);
|
|
3180
3180
|
}
|
|
3181
|
-
function
|
|
3182
|
-
return
|
|
3181
|
+
function Ui(g) {
|
|
3182
|
+
return S("INITCAP", g);
|
|
3183
3183
|
}
|
|
3184
|
-
function
|
|
3185
|
-
return Q !== void 0 ?
|
|
3184
|
+
function Si(g, A, Q) {
|
|
3185
|
+
return Q !== void 0 ? S("SUBSTRING", g, A, Q) : S("SUBSTRING", g, A);
|
|
3186
3186
|
}
|
|
3187
|
-
function
|
|
3188
|
-
return
|
|
3187
|
+
function Hi(g, A, Q) {
|
|
3188
|
+
return S("REPLACE", g, A, Q);
|
|
3189
3189
|
}
|
|
3190
|
-
function
|
|
3191
|
-
return
|
|
3190
|
+
function Fi(g, ...A) {
|
|
3191
|
+
return S("CONCAT_WS", g, ...A);
|
|
3192
3192
|
}
|
|
3193
|
-
function
|
|
3194
|
-
return
|
|
3193
|
+
function Li(...g) {
|
|
3194
|
+
return S("COALESCE", ...g);
|
|
3195
3195
|
}
|
|
3196
|
-
function
|
|
3197
|
-
return
|
|
3196
|
+
function si(g, A) {
|
|
3197
|
+
return S("NULLIF", g, A);
|
|
3198
3198
|
}
|
|
3199
|
-
function
|
|
3200
|
-
return
|
|
3199
|
+
function pi(g, A) {
|
|
3200
|
+
return S("IFNULL", g, A);
|
|
3201
3201
|
}
|
|
3202
|
-
function
|
|
3203
|
-
return
|
|
3202
|
+
function ji(g) {
|
|
3203
|
+
return S("ABS", g);
|
|
3204
3204
|
}
|
|
3205
|
-
function
|
|
3206
|
-
return A !== void 0 ?
|
|
3205
|
+
function Oi(g, A) {
|
|
3206
|
+
return A !== void 0 ? S("ROUND", g, A) : S("ROUND", g);
|
|
3207
3207
|
}
|
|
3208
|
-
function
|
|
3209
|
-
return
|
|
3208
|
+
function Ti(g) {
|
|
3209
|
+
return S("FLOOR", g);
|
|
3210
3210
|
}
|
|
3211
|
-
function
|
|
3212
|
-
return
|
|
3211
|
+
function xi(g) {
|
|
3212
|
+
return S("CEIL", g);
|
|
3213
3213
|
}
|
|
3214
|
-
function
|
|
3215
|
-
return
|
|
3214
|
+
function Zi(g, A) {
|
|
3215
|
+
return S("POWER", g, A);
|
|
3216
3216
|
}
|
|
3217
|
-
function
|
|
3218
|
-
return
|
|
3217
|
+
function ti(g) {
|
|
3218
|
+
return S("SQRT", g);
|
|
3219
3219
|
}
|
|
3220
|
-
function
|
|
3221
|
-
return
|
|
3220
|
+
function di(g) {
|
|
3221
|
+
return S("LN", g);
|
|
3222
3222
|
}
|
|
3223
|
-
function
|
|
3224
|
-
return
|
|
3223
|
+
function Vi(g) {
|
|
3224
|
+
return S("EXP", g);
|
|
3225
3225
|
}
|
|
3226
|
-
function
|
|
3227
|
-
return
|
|
3226
|
+
function zi(g) {
|
|
3227
|
+
return S("SIGN", g);
|
|
3228
3228
|
}
|
|
3229
|
-
function
|
|
3230
|
-
return
|
|
3229
|
+
function li(...g) {
|
|
3230
|
+
return S("GREATEST", ...g);
|
|
3231
3231
|
}
|
|
3232
|
-
function
|
|
3233
|
-
return
|
|
3232
|
+
function mi(...g) {
|
|
3233
|
+
return S("LEAST", ...g);
|
|
3234
3234
|
}
|
|
3235
|
-
function
|
|
3236
|
-
return
|
|
3235
|
+
function Pi() {
|
|
3236
|
+
return S("CURRENT_DATE");
|
|
3237
3237
|
}
|
|
3238
|
-
function
|
|
3239
|
-
return
|
|
3238
|
+
function ei() {
|
|
3239
|
+
return S("CURRENT_TIME");
|
|
3240
3240
|
}
|
|
3241
|
-
function
|
|
3242
|
-
return
|
|
3241
|
+
function Wi() {
|
|
3242
|
+
return S("CURRENT_TIMESTAMP");
|
|
3243
3243
|
}
|
|
3244
|
-
function
|
|
3245
|
-
return new y(
|
|
3244
|
+
function ri(g, A) {
|
|
3245
|
+
return new y(hg(g, h(A)));
|
|
3246
3246
|
}
|
|
3247
|
-
function
|
|
3248
|
-
return
|
|
3247
|
+
function fi() {
|
|
3248
|
+
return S("ROW_NUMBER");
|
|
3249
3249
|
}
|
|
3250
|
-
function
|
|
3251
|
-
return
|
|
3250
|
+
function bi() {
|
|
3251
|
+
return S("RANK");
|
|
3252
3252
|
}
|
|
3253
|
-
function
|
|
3254
|
-
return
|
|
3253
|
+
function Xi() {
|
|
3254
|
+
return S("DENSE_RANK");
|
|
3255
3255
|
}
|
|
3256
3256
|
class vg {
|
|
3257
3257
|
/** @internal */
|
|
@@ -3262,7 +3262,7 @@ class vg {
|
|
|
3262
3262
|
/** Add columns to the SELECT list. Accepts Expr, strings (→ col), or '*'. */
|
|
3263
3263
|
select(...A) {
|
|
3264
3264
|
for (const Q of A)
|
|
3265
|
-
Q === "*" ? this._w.select_star() : Q instanceof y ? this._w.select_expr(Q._w) : typeof Q == "string" ? this._w.select_col(Q) : this._w.select_expr(
|
|
3265
|
+
Q === "*" ? this._w.select_star() : Q instanceof y ? this._w.select_expr(Q._w) : typeof Q == "string" ? this._w.select_col(Q) : this._w.select_expr(h(Q));
|
|
3266
3266
|
return this;
|
|
3267
3267
|
}
|
|
3268
3268
|
/** Set the FROM clause. */
|
|
@@ -3271,15 +3271,15 @@ class vg {
|
|
|
3271
3271
|
}
|
|
3272
3272
|
/** Add an INNER JOIN. */
|
|
3273
3273
|
join(A, Q) {
|
|
3274
|
-
return this._w.join(A,
|
|
3274
|
+
return this._w.join(A, h(Q)), this;
|
|
3275
3275
|
}
|
|
3276
3276
|
/** Add a LEFT JOIN. */
|
|
3277
3277
|
leftJoin(A, Q) {
|
|
3278
|
-
return this._w.left_join(A,
|
|
3278
|
+
return this._w.left_join(A, h(Q)), this;
|
|
3279
3279
|
}
|
|
3280
3280
|
/** Add a RIGHT JOIN. */
|
|
3281
3281
|
rightJoin(A, Q) {
|
|
3282
|
-
return this._w.right_join(A,
|
|
3282
|
+
return this._w.right_join(A, h(Q)), this;
|
|
3283
3283
|
}
|
|
3284
3284
|
/** Add a CROSS JOIN. */
|
|
3285
3285
|
crossJoin(A) {
|
|
@@ -3287,19 +3287,19 @@ class vg {
|
|
|
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 y ? this._w.where_expr(A._w) : this._w.where_expr(
|
|
3290
|
+
return typeof A == "string" ? this._w.where_sql(A) : A instanceof y ? this._w.where_expr(A._w) : this._w.where_expr(h(A)), this;
|
|
3291
3291
|
}
|
|
3292
3292
|
/** Set the GROUP BY clause. */
|
|
3293
3293
|
groupBy(...A) {
|
|
3294
|
-
return this._w.group_by_cols(
|
|
3294
|
+
return this._w.group_by_cols(Z(A)), this;
|
|
3295
3295
|
}
|
|
3296
3296
|
/** Set the HAVING clause. */
|
|
3297
3297
|
having(A) {
|
|
3298
|
-
return this._w.having(
|
|
3298
|
+
return this._w.having(h(A)), this;
|
|
3299
3299
|
}
|
|
3300
3300
|
/** Set the ORDER BY clause. */
|
|
3301
3301
|
orderBy(...A) {
|
|
3302
|
-
return this._w.order_by_exprs(
|
|
3302
|
+
return this._w.order_by_exprs(Z(A)), this;
|
|
3303
3303
|
}
|
|
3304
3304
|
/** Set the LIMIT. */
|
|
3305
3305
|
limit(A) {
|
|
@@ -3315,11 +3315,11 @@ class vg {
|
|
|
3315
3315
|
}
|
|
3316
3316
|
/** Set the QUALIFY clause (Snowflake/BigQuery/DuckDB). */
|
|
3317
3317
|
qualify(A) {
|
|
3318
|
-
return this._w.qualify(
|
|
3318
|
+
return this._w.qualify(h(A)), this;
|
|
3319
3319
|
}
|
|
3320
3320
|
/** Set the SORT BY clause (Hive/Spark — sorts within each partition). */
|
|
3321
3321
|
sortBy(...A) {
|
|
3322
|
-
return this._w.sort_by_exprs(
|
|
3322
|
+
return this._w.sort_by_exprs(Z(A)), this;
|
|
3323
3323
|
}
|
|
3324
3324
|
/** Add a named WINDOW clause definition. */
|
|
3325
3325
|
window(A, Q) {
|
|
@@ -3380,7 +3380,7 @@ class vg {
|
|
|
3380
3380
|
this._w.free();
|
|
3381
3381
|
}
|
|
3382
3382
|
}
|
|
3383
|
-
function
|
|
3383
|
+
function vi(...g) {
|
|
3384
3384
|
const A = new vg();
|
|
3385
3385
|
return g.length > 0 && A.select(...g), A;
|
|
3386
3386
|
}
|
|
@@ -3396,7 +3396,7 @@ class ug {
|
|
|
3396
3396
|
}
|
|
3397
3397
|
/** Append a row of values. Call multiple times for multiple rows. */
|
|
3398
3398
|
values(...A) {
|
|
3399
|
-
return this._w.values(
|
|
3399
|
+
return this._w.values(Z(A)), this;
|
|
3400
3400
|
}
|
|
3401
3401
|
/** Set the source query for INSERT ... SELECT. */
|
|
3402
3402
|
query(A) {
|
|
@@ -3418,7 +3418,7 @@ class ug {
|
|
|
3418
3418
|
function ng(g) {
|
|
3419
3419
|
return new ug(g);
|
|
3420
3420
|
}
|
|
3421
|
-
function
|
|
3421
|
+
function ui(g) {
|
|
3422
3422
|
return ng(g);
|
|
3423
3423
|
}
|
|
3424
3424
|
class _g {
|
|
@@ -3429,11 +3429,11 @@ class _g {
|
|
|
3429
3429
|
}
|
|
3430
3430
|
/** Add a SET column = value assignment. */
|
|
3431
3431
|
set(A, Q) {
|
|
3432
|
-
return this._w.set(A,
|
|
3432
|
+
return this._w.set(A, h(Q)), this;
|
|
3433
3433
|
}
|
|
3434
3434
|
/** Set the WHERE clause. */
|
|
3435
3435
|
where(A) {
|
|
3436
|
-
return this._w.where_expr(
|
|
3436
|
+
return this._w.where_expr(h(A)), this;
|
|
3437
3437
|
}
|
|
3438
3438
|
/** Set the FROM clause (PostgreSQL/Snowflake UPDATE ... FROM). */
|
|
3439
3439
|
from(A) {
|
|
@@ -3452,18 +3452,18 @@ class _g {
|
|
|
3452
3452
|
this._w.free();
|
|
3453
3453
|
}
|
|
3454
3454
|
}
|
|
3455
|
-
function
|
|
3455
|
+
function ni(g) {
|
|
3456
3456
|
return new _g(g);
|
|
3457
3457
|
}
|
|
3458
3458
|
class $g {
|
|
3459
3459
|
/** @internal */
|
|
3460
3460
|
_w;
|
|
3461
3461
|
constructor(A) {
|
|
3462
|
-
this._w = new
|
|
3462
|
+
this._w = new iA(A);
|
|
3463
3463
|
}
|
|
3464
3464
|
/** Set the WHERE clause. */
|
|
3465
3465
|
where(A) {
|
|
3466
|
-
return this._w.where_expr(
|
|
3466
|
+
return this._w.where_expr(h(A)), this;
|
|
3467
3467
|
}
|
|
3468
3468
|
/** Generate SQL string. Defaults to generic dialect. */
|
|
3469
3469
|
toSql(A = "generic") {
|
|
@@ -3481,7 +3481,7 @@ class $g {
|
|
|
3481
3481
|
function AI(g) {
|
|
3482
3482
|
return new $g(g);
|
|
3483
3483
|
}
|
|
3484
|
-
function
|
|
3484
|
+
function _i(g) {
|
|
3485
3485
|
return AI(g);
|
|
3486
3486
|
}
|
|
3487
3487
|
class gI {
|
|
@@ -3492,13 +3492,13 @@ class gI {
|
|
|
3492
3492
|
}
|
|
3493
3493
|
/** Set the source table and ON condition. */
|
|
3494
3494
|
using(A, Q) {
|
|
3495
|
-
return this._w.using(A,
|
|
3495
|
+
return this._w.using(A, h(Q)), this;
|
|
3496
3496
|
}
|
|
3497
3497
|
/** Add a WHEN MATCHED THEN UPDATE SET clause. */
|
|
3498
3498
|
whenMatchedUpdate(A) {
|
|
3499
3499
|
const Q = new QA();
|
|
3500
3500
|
for (const [B, C] of Object.entries(A))
|
|
3501
|
-
Q.push(B,
|
|
3501
|
+
Q.push(B, h(C));
|
|
3502
3502
|
return this._w.when_matched_update(Q), this;
|
|
3503
3503
|
}
|
|
3504
3504
|
/** Add a WHEN MATCHED THEN DELETE clause. */
|
|
@@ -3507,7 +3507,7 @@ class gI {
|
|
|
3507
3507
|
}
|
|
3508
3508
|
/** Add a WHEN NOT MATCHED THEN INSERT clause. */
|
|
3509
3509
|
whenNotMatchedInsert(A, Q) {
|
|
3510
|
-
return this._w.when_not_matched_insert(A,
|
|
3510
|
+
return this._w.when_not_matched_insert(A, Z(Q)), this;
|
|
3511
3511
|
}
|
|
3512
3512
|
/** Generate SQL string. Defaults to generic dialect. */
|
|
3513
3513
|
toSql(A = "generic") {
|
|
@@ -3522,10 +3522,10 @@ class gI {
|
|
|
3522
3522
|
this._w.free();
|
|
3523
3523
|
}
|
|
3524
3524
|
}
|
|
3525
|
-
function $
|
|
3525
|
+
function $i(g) {
|
|
3526
3526
|
return new gI(g);
|
|
3527
3527
|
}
|
|
3528
|
-
class
|
|
3528
|
+
class HA {
|
|
3529
3529
|
/** @internal */
|
|
3530
3530
|
_w;
|
|
3531
3531
|
/** @internal */
|
|
@@ -3534,11 +3534,11 @@ class SA {
|
|
|
3534
3534
|
}
|
|
3535
3535
|
/** Add a WHEN condition THEN result branch. */
|
|
3536
3536
|
when(A, Q) {
|
|
3537
|
-
return this._w.when(
|
|
3537
|
+
return this._w.when(h(A), h(Q)), this;
|
|
3538
3538
|
}
|
|
3539
3539
|
/** Set the ELSE result. */
|
|
3540
3540
|
else_(A) {
|
|
3541
|
-
return this._w.else_(
|
|
3541
|
+
return this._w.else_(h(A)), this;
|
|
3542
3542
|
}
|
|
3543
3543
|
/** Build the CASE expression as an Expr. */
|
|
3544
3544
|
build() {
|
|
@@ -3550,10 +3550,10 @@ class SA {
|
|
|
3550
3550
|
}
|
|
3551
3551
|
}
|
|
3552
3552
|
function Ao() {
|
|
3553
|
-
return new
|
|
3553
|
+
return new HA(new f());
|
|
3554
3554
|
}
|
|
3555
3555
|
function go(g) {
|
|
3556
|
-
return new
|
|
3556
|
+
return new HA(Rg(h(g)));
|
|
3557
3557
|
}
|
|
3558
3558
|
class _ {
|
|
3559
3559
|
/** @internal */
|
|
@@ -3564,7 +3564,7 @@ class _ {
|
|
|
3564
3564
|
}
|
|
3565
3565
|
/** Set the ORDER BY clause. */
|
|
3566
3566
|
orderBy(...A) {
|
|
3567
|
-
return this._w.order_by_exprs(
|
|
3567
|
+
return this._w.order_by_exprs(Z(A)), this;
|
|
3568
3568
|
}
|
|
3569
3569
|
/** Set the LIMIT. */
|
|
3570
3570
|
limit(A) {
|
|
@@ -3606,7 +3606,7 @@ function Eo(g, A) {
|
|
|
3606
3606
|
function Do(g, A) {
|
|
3607
3607
|
const Q = [], B = CA(g, "star");
|
|
3608
3608
|
if (B.length > 0) {
|
|
3609
|
-
const D =
|
|
3609
|
+
const D = O(B[0])?.span;
|
|
3610
3610
|
Q.push({
|
|
3611
3611
|
message: "SELECT * is discouraged; specify columns explicitly for better performance and maintainability",
|
|
3612
3612
|
severity: "warning",
|
|
@@ -3617,8 +3617,8 @@ function Do(g, A) {
|
|
|
3617
3617
|
end: D?.end
|
|
3618
3618
|
});
|
|
3619
3619
|
}
|
|
3620
|
-
const C =
|
|
3621
|
-
if (
|
|
3620
|
+
const C = O(g);
|
|
3621
|
+
if (fg(g) && !C.group_by) {
|
|
3622
3622
|
const E = IA(g), D = C.expressions || [];
|
|
3623
3623
|
if (D.some((k) => {
|
|
3624
3624
|
const M = p(k);
|
|
@@ -3627,7 +3627,7 @@ function Do(g, A) {
|
|
|
3627
3627
|
const k = D.find((a) => {
|
|
3628
3628
|
const R = p(a);
|
|
3629
3629
|
return R === "column" || R === "identifier" ? IA(a).length === 0 : !1;
|
|
3630
|
-
}), M = k ?
|
|
3630
|
+
}), M = k ? O(k)?.span : void 0;
|
|
3631
3631
|
Q.push({
|
|
3632
3632
|
message: "Mixing aggregate functions with non-aggregated columns without GROUP BY may cause errors in strict SQL mode",
|
|
3633
3633
|
severity: "warning",
|
|
@@ -3644,7 +3644,7 @@ function Do(g, A) {
|
|
|
3644
3644
|
severity: "warning",
|
|
3645
3645
|
code: "W003"
|
|
3646
3646
|
}), C.limit && !C.order_by) {
|
|
3647
|
-
const E = C.limit, D = E ?
|
|
3647
|
+
const E = C.limit, D = E ? O(E)?.span : void 0;
|
|
3648
3648
|
Q.push({
|
|
3649
3649
|
message: "LIMIT without ORDER BY produces non-deterministic results",
|
|
3650
3650
|
severity: "warning",
|
|
@@ -3657,7 +3657,7 @@ function Do(g, A) {
|
|
|
3657
3657
|
}
|
|
3658
3658
|
return Q;
|
|
3659
3659
|
}
|
|
3660
|
-
function
|
|
3660
|
+
function wo(g) {
|
|
3661
3661
|
try {
|
|
3662
3662
|
return JSON.parse(g);
|
|
3663
3663
|
} catch {
|
|
@@ -3673,20 +3673,20 @@ function io(g) {
|
|
|
3673
3673
|
};
|
|
3674
3674
|
}
|
|
3675
3675
|
}
|
|
3676
|
-
function
|
|
3676
|
+
function io(g, A, Q = "generic", B = {}) {
|
|
3677
3677
|
const C = B.strict ?? A.strict ?? !0, E = {
|
|
3678
3678
|
check_types: B.checkTypes ?? !1,
|
|
3679
3679
|
check_references: B.checkReferences ?? !1,
|
|
3680
3680
|
strict: C,
|
|
3681
3681
|
semantic: B.semantic ?? !1,
|
|
3682
3682
|
strict_syntax: B.strictSyntax ?? !1
|
|
3683
|
-
}, D =
|
|
3683
|
+
}, D = Kg(
|
|
3684
3684
|
g,
|
|
3685
3685
|
JSON.stringify(A),
|
|
3686
3686
|
Q,
|
|
3687
3687
|
JSON.stringify(E)
|
|
3688
3688
|
);
|
|
3689
|
-
return
|
|
3689
|
+
return wo(D);
|
|
3690
3690
|
}
|
|
3691
3691
|
const oo = {
|
|
3692
3692
|
Error: "error",
|
|
@@ -3748,7 +3748,7 @@ function EI(g) {
|
|
|
3748
3748
|
function DI(g) {
|
|
3749
3749
|
return g.filter((A) => A.type !== "keep");
|
|
3750
3750
|
}
|
|
3751
|
-
function
|
|
3751
|
+
function wI(g, A = "generic") {
|
|
3752
3752
|
const Q = kg(g, A);
|
|
3753
3753
|
return JSON.parse(Q);
|
|
3754
3754
|
}
|
|
@@ -3775,10 +3775,10 @@ function Go(g, A) {
|
|
|
3775
3775
|
errorColumn: void 0
|
|
3776
3776
|
};
|
|
3777
3777
|
}
|
|
3778
|
-
function
|
|
3778
|
+
function P(g) {
|
|
3779
3779
|
return typeof g == "string" ? JSON.parse(g) : g;
|
|
3780
3780
|
}
|
|
3781
|
-
async function
|
|
3781
|
+
async function iI() {
|
|
3782
3782
|
return Promise.resolve();
|
|
3783
3783
|
}
|
|
3784
3784
|
function oI() {
|
|
@@ -3786,7 +3786,7 @@ function oI() {
|
|
|
3786
3786
|
}
|
|
3787
3787
|
function sA(g, A, Q) {
|
|
3788
3788
|
try {
|
|
3789
|
-
return typeof L.transpile_value == "function" ?
|
|
3789
|
+
return typeof L.transpile_value == "function" ? P(
|
|
3790
3790
|
L.transpile_value(g, A, Q)
|
|
3791
3791
|
) : JSON.parse(L.transpile(g, A, Q));
|
|
3792
3792
|
} catch (B) {
|
|
@@ -3796,16 +3796,16 @@ function sA(g, A, Q) {
|
|
|
3796
3796
|
function pA(g, A = "generic") {
|
|
3797
3797
|
try {
|
|
3798
3798
|
if (typeof L.parse_value == "function")
|
|
3799
|
-
return
|
|
3799
|
+
return P(L.parse_value(g, A));
|
|
3800
3800
|
const Q = JSON.parse(L.parse(g, A));
|
|
3801
3801
|
return Q.success && typeof Q.ast == "string" && (Q.ast = JSON.parse(Q.ast)), Q;
|
|
3802
3802
|
} catch (Q) {
|
|
3803
3803
|
return Go("parse", Q);
|
|
3804
3804
|
}
|
|
3805
3805
|
}
|
|
3806
|
-
function
|
|
3806
|
+
function jA(g, A = "generic") {
|
|
3807
3807
|
try {
|
|
3808
|
-
return typeof L.tokenize_value == "function" ?
|
|
3808
|
+
return typeof L.tokenize_value == "function" ? P(
|
|
3809
3809
|
L.tokenize_value(g, A)
|
|
3810
3810
|
) : JSON.parse(L.tokenize(g, A));
|
|
3811
3811
|
} catch (Q) {
|
|
@@ -3816,10 +3816,10 @@ function OA(g, A = "generic") {
|
|
|
3816
3816
|
};
|
|
3817
3817
|
}
|
|
3818
3818
|
}
|
|
3819
|
-
function
|
|
3819
|
+
function OA(g, A = "generic") {
|
|
3820
3820
|
try {
|
|
3821
3821
|
if (typeof L.generate_value == "function" && Array.isArray(g))
|
|
3822
|
-
return
|
|
3822
|
+
return P(
|
|
3823
3823
|
L.generate_value(g, A)
|
|
3824
3824
|
);
|
|
3825
3825
|
const Q = JSON.stringify(g);
|
|
@@ -3828,32 +3828,32 @@ function TA(g, A = "generic") {
|
|
|
3828
3828
|
return LA("generate", Q);
|
|
3829
3829
|
}
|
|
3830
3830
|
}
|
|
3831
|
-
function
|
|
3831
|
+
function TA(g, A = "generic") {
|
|
3832
3832
|
return xA(g, A, {});
|
|
3833
3833
|
}
|
|
3834
3834
|
function xA(g, A = "generic", Q = {}) {
|
|
3835
3835
|
try {
|
|
3836
|
-
return typeof L.format_sql_with_options_value == "function" ?
|
|
3836
|
+
return typeof L.format_sql_with_options_value == "function" ? P(
|
|
3837
3837
|
L.format_sql_with_options_value(g, A, Q)
|
|
3838
3838
|
) : typeof L.format_sql_with_options == "function" ? JSON.parse(
|
|
3839
3839
|
L.format_sql_with_options(g, A, JSON.stringify(Q))
|
|
3840
|
-
) : typeof L.format_sql_value == "function" ?
|
|
3840
|
+
) : typeof L.format_sql_value == "function" ? P(
|
|
3841
3841
|
L.format_sql_value(g, A)
|
|
3842
3842
|
) : JSON.parse(L.format_sql(g, A));
|
|
3843
3843
|
} catch (B) {
|
|
3844
3844
|
return LA("format", B);
|
|
3845
3845
|
}
|
|
3846
3846
|
}
|
|
3847
|
-
function
|
|
3848
|
-
return typeof L.get_dialects_value == "function" ?
|
|
3847
|
+
function ZA() {
|
|
3848
|
+
return typeof L.get_dialects_value == "function" ? P(L.get_dialects_value()) : JSON.parse(L.get_dialects());
|
|
3849
3849
|
}
|
|
3850
3850
|
function tA() {
|
|
3851
3851
|
return L.version();
|
|
3852
3852
|
}
|
|
3853
|
-
function
|
|
3853
|
+
function dA(g, A = "generic", Q) {
|
|
3854
3854
|
try {
|
|
3855
3855
|
const B = Q ? JSON.stringify(Q) : "";
|
|
3856
|
-
return typeof L.annotate_types_value == "function" ?
|
|
3856
|
+
return typeof L.annotate_types_value == "function" ? P(
|
|
3857
3857
|
L.annotate_types_value(g, A, B)
|
|
3858
3858
|
) : typeof L.annotate_types == "function" ? JSON.parse(
|
|
3859
3859
|
L.annotate_types(g, A, B)
|
|
@@ -3868,7 +3868,7 @@ function zA(g, A = "generic", Q) {
|
|
|
3868
3868
|
};
|
|
3869
3869
|
}
|
|
3870
3870
|
}
|
|
3871
|
-
class
|
|
3871
|
+
class r {
|
|
3872
3872
|
static instance = null;
|
|
3873
3873
|
constructor() {
|
|
3874
3874
|
}
|
|
@@ -3877,7 +3877,7 @@ class f {
|
|
|
3877
3877
|
* The WASM module is automatically initialized on import.
|
|
3878
3878
|
*/
|
|
3879
3879
|
static getInstance() {
|
|
3880
|
-
return
|
|
3880
|
+
return r.instance || (r.instance = new r()), r.instance;
|
|
3881
3881
|
}
|
|
3882
3882
|
/**
|
|
3883
3883
|
* Transpile SQL from one dialect to another.
|
|
@@ -3899,19 +3899,19 @@ class f {
|
|
|
3899
3899
|
* Tokenize SQL into a token stream.
|
|
3900
3900
|
*/
|
|
3901
3901
|
tokenize(A, Q = "generic") {
|
|
3902
|
-
return
|
|
3902
|
+
return jA(A, Q);
|
|
3903
3903
|
}
|
|
3904
3904
|
/**
|
|
3905
3905
|
* Generate SQL from an AST.
|
|
3906
3906
|
*/
|
|
3907
3907
|
generate(A, Q = "generic") {
|
|
3908
|
-
return
|
|
3908
|
+
return OA(A, Q);
|
|
3909
3909
|
}
|
|
3910
3910
|
/**
|
|
3911
3911
|
* Format SQL.
|
|
3912
3912
|
*/
|
|
3913
3913
|
format(A, Q = "generic") {
|
|
3914
|
-
return
|
|
3914
|
+
return TA(A, Q);
|
|
3915
3915
|
}
|
|
3916
3916
|
/**
|
|
3917
3917
|
* Format SQL with explicit guard limits.
|
|
@@ -3924,7 +3924,7 @@ class f {
|
|
|
3924
3924
|
* Per-dialect builds return only `"generic"` and the selected dialect.
|
|
3925
3925
|
*/
|
|
3926
3926
|
getDialects() {
|
|
3927
|
-
return
|
|
3927
|
+
return ZA();
|
|
3928
3928
|
}
|
|
3929
3929
|
/**
|
|
3930
3930
|
* Get library version.
|
|
@@ -3936,19 +3936,19 @@ class f {
|
|
|
3936
3936
|
* Parse SQL and annotate the AST with inferred type information.
|
|
3937
3937
|
*/
|
|
3938
3938
|
annotateTypes(A, Q = "generic", B) {
|
|
3939
|
-
return
|
|
3939
|
+
return dA(A, Q, B);
|
|
3940
3940
|
}
|
|
3941
3941
|
}
|
|
3942
3942
|
const ko = {
|
|
3943
|
-
init:
|
|
3943
|
+
init: iI,
|
|
3944
3944
|
isInitialized: oI,
|
|
3945
3945
|
transpile: sA,
|
|
3946
3946
|
parse: pA,
|
|
3947
|
-
tokenize:
|
|
3948
|
-
generate:
|
|
3949
|
-
format:
|
|
3950
|
-
annotateTypes:
|
|
3951
|
-
getDialects:
|
|
3947
|
+
tokenize: jA,
|
|
3948
|
+
generate: OA,
|
|
3949
|
+
format: TA,
|
|
3950
|
+
annotateTypes: dA,
|
|
3951
|
+
getDialects: ZA,
|
|
3952
3952
|
getVersion: tA,
|
|
3953
3953
|
lineage: II,
|
|
3954
3954
|
lineageWithSchema: QI,
|
|
@@ -3956,221 +3956,221 @@ const ko = {
|
|
|
3956
3956
|
diff: CI,
|
|
3957
3957
|
hasChanges: EI,
|
|
3958
3958
|
changesOnly: DI,
|
|
3959
|
-
plan:
|
|
3959
|
+
plan: wI,
|
|
3960
3960
|
Dialect: FA,
|
|
3961
|
-
Polyglot:
|
|
3961
|
+
Polyglot: r
|
|
3962
3962
|
}, Mo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3963
3963
|
__proto__: null,
|
|
3964
|
-
CaseBuilder:
|
|
3964
|
+
CaseBuilder: HA,
|
|
3965
3965
|
DeleteBuilder: $g,
|
|
3966
3966
|
Dialect: FA,
|
|
3967
3967
|
Expr: y,
|
|
3968
3968
|
InsertBuilder: ug,
|
|
3969
3969
|
MergeBuilder: gI,
|
|
3970
|
-
Polyglot:
|
|
3970
|
+
Polyglot: r,
|
|
3971
3971
|
SelectBuilder: vg,
|
|
3972
3972
|
SetOpBuilder: _,
|
|
3973
3973
|
UpdateBuilder: _g,
|
|
3974
3974
|
ValidationSeverity: oo,
|
|
3975
|
-
WindowDefBuilder: $
|
|
3976
|
-
abs:
|
|
3977
|
-
alias:
|
|
3978
|
-
and:
|
|
3979
|
-
annotateTypes:
|
|
3980
|
-
ast:
|
|
3981
|
-
avg:
|
|
3982
|
-
boolean:
|
|
3975
|
+
WindowDefBuilder: $w,
|
|
3976
|
+
abs: ji,
|
|
3977
|
+
alias: Di,
|
|
3978
|
+
and: ii,
|
|
3979
|
+
annotateTypes: dA,
|
|
3980
|
+
ast: _w,
|
|
3981
|
+
avg: Mi,
|
|
3982
|
+
boolean: SA,
|
|
3983
3983
|
caseOf: go,
|
|
3984
3984
|
caseWhen: Ao,
|
|
3985
|
-
cast:
|
|
3986
|
-
ceil:
|
|
3985
|
+
cast: Ei,
|
|
3986
|
+
ceil: xi,
|
|
3987
3987
|
changesOnly: DI,
|
|
3988
|
-
coalesce:
|
|
3989
|
-
col:
|
|
3990
|
-
concatWs:
|
|
3991
|
-
condition:
|
|
3992
|
-
count:
|
|
3993
|
-
countDistinct:
|
|
3994
|
-
currentDate:
|
|
3995
|
-
currentTime:
|
|
3996
|
-
currentTimestamp:
|
|
3988
|
+
coalesce: Li,
|
|
3989
|
+
col: Ai,
|
|
3990
|
+
concatWs: Fi,
|
|
3991
|
+
condition: Bi,
|
|
3992
|
+
count: Ni,
|
|
3993
|
+
countDistinct: Gi,
|
|
3994
|
+
currentDate: Pi,
|
|
3995
|
+
currentTime: ei,
|
|
3996
|
+
currentTimestamp: Wi,
|
|
3997
3997
|
default: ko,
|
|
3998
|
-
del:
|
|
3998
|
+
del: _i,
|
|
3999
3999
|
deleteFrom: AI,
|
|
4000
|
-
denseRank:
|
|
4000
|
+
denseRank: Xi,
|
|
4001
4001
|
diff: CI,
|
|
4002
4002
|
except: Co,
|
|
4003
|
-
exp:
|
|
4004
|
-
extract:
|
|
4005
|
-
findAll:
|
|
4006
|
-
floor:
|
|
4007
|
-
format:
|
|
4003
|
+
exp: Vi,
|
|
4004
|
+
extract: ri,
|
|
4005
|
+
findAll: JA,
|
|
4006
|
+
floor: Ti,
|
|
4007
|
+
format: TA,
|
|
4008
4008
|
formatWithOptions: xA,
|
|
4009
|
-
func:
|
|
4010
|
-
generate:
|
|
4009
|
+
func: S,
|
|
4010
|
+
generate: OA,
|
|
4011
4011
|
getColumns: eg,
|
|
4012
|
-
getDialects:
|
|
4013
|
-
getInferredType:
|
|
4012
|
+
getDialects: ZA,
|
|
4013
|
+
getInferredType: jg,
|
|
4014
4014
|
getSourceTables: BI,
|
|
4015
4015
|
getVersion: tA,
|
|
4016
|
-
greatest:
|
|
4016
|
+
greatest: li,
|
|
4017
4017
|
hasChanges: EI,
|
|
4018
|
-
ifNull:
|
|
4019
|
-
init:
|
|
4020
|
-
initcap:
|
|
4021
|
-
insert:
|
|
4018
|
+
ifNull: pi,
|
|
4019
|
+
init: iI,
|
|
4020
|
+
initcap: Ui,
|
|
4021
|
+
insert: ui,
|
|
4022
4022
|
insertInto: ng,
|
|
4023
4023
|
intersect: Bo,
|
|
4024
|
-
isColumn:
|
|
4025
|
-
isFunction:
|
|
4024
|
+
isColumn: Tg,
|
|
4025
|
+
isFunction: Zg,
|
|
4026
4026
|
isInitialized: oI,
|
|
4027
4027
|
isLiteral: xg,
|
|
4028
|
-
isSelect:
|
|
4029
|
-
least:
|
|
4030
|
-
length:
|
|
4028
|
+
isSelect: Og,
|
|
4029
|
+
least: mi,
|
|
4030
|
+
length: Ri,
|
|
4031
4031
|
lineage: II,
|
|
4032
4032
|
lineageWithSchema: QI,
|
|
4033
|
-
lit:
|
|
4034
|
-
ln:
|
|
4035
|
-
lower:
|
|
4036
|
-
ltrim:
|
|
4037
|
-
max:
|
|
4038
|
-
mergeInto: $
|
|
4039
|
-
min:
|
|
4040
|
-
not:
|
|
4041
|
-
nullIf:
|
|
4042
|
-
or:
|
|
4033
|
+
lit: gi,
|
|
4034
|
+
ln: di,
|
|
4035
|
+
lower: Yi,
|
|
4036
|
+
ltrim: qi,
|
|
4037
|
+
max: ai,
|
|
4038
|
+
mergeInto: $i,
|
|
4039
|
+
min: Ki,
|
|
4040
|
+
not: Ci,
|
|
4041
|
+
nullIf: si,
|
|
4042
|
+
or: oi,
|
|
4043
4043
|
parse: pA,
|
|
4044
|
-
plan:
|
|
4045
|
-
power:
|
|
4046
|
-
rank:
|
|
4047
|
-
renameColumns:
|
|
4048
|
-
replace:
|
|
4049
|
-
reverse:
|
|
4050
|
-
round:
|
|
4051
|
-
rowNumber:
|
|
4052
|
-
rtrim:
|
|
4053
|
-
select:
|
|
4054
|
-
sign:
|
|
4044
|
+
plan: wI,
|
|
4045
|
+
power: Zi,
|
|
4046
|
+
rank: bi,
|
|
4047
|
+
renameColumns: Vg,
|
|
4048
|
+
replace: Hi,
|
|
4049
|
+
reverse: ci,
|
|
4050
|
+
round: Oi,
|
|
4051
|
+
rowNumber: fi,
|
|
4052
|
+
rtrim: hi,
|
|
4053
|
+
select: vi,
|
|
4054
|
+
sign: zi,
|
|
4055
4055
|
sqlExpr: Xg,
|
|
4056
|
-
sqlNull:
|
|
4057
|
-
sqrt:
|
|
4058
|
-
star:
|
|
4059
|
-
subquery:
|
|
4060
|
-
substring:
|
|
4061
|
-
sum:
|
|
4062
|
-
table:
|
|
4063
|
-
tokenize:
|
|
4056
|
+
sqlNull: Ii,
|
|
4057
|
+
sqrt: ti,
|
|
4058
|
+
star: bg,
|
|
4059
|
+
subquery: wi,
|
|
4060
|
+
substring: Si,
|
|
4061
|
+
sum: ki,
|
|
4062
|
+
table: Qi,
|
|
4063
|
+
tokenize: jA,
|
|
4064
4064
|
transform: aA,
|
|
4065
4065
|
transpile: sA,
|
|
4066
|
-
trim:
|
|
4066
|
+
trim: yi,
|
|
4067
4067
|
union: Io,
|
|
4068
4068
|
unionAll: Qo,
|
|
4069
|
-
update:
|
|
4070
|
-
upper:
|
|
4069
|
+
update: ni,
|
|
4070
|
+
upper: Ji,
|
|
4071
4071
|
validate: No,
|
|
4072
|
-
validateWithSchema:
|
|
4072
|
+
validateWithSchema: io,
|
|
4073
4073
|
walk: t
|
|
4074
4074
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4075
4075
|
export {
|
|
4076
|
-
|
|
4076
|
+
HA as CaseBuilder,
|
|
4077
4077
|
$g as DeleteBuilder,
|
|
4078
4078
|
FA as Dialect,
|
|
4079
4079
|
y as Expr,
|
|
4080
4080
|
ug as InsertBuilder,
|
|
4081
4081
|
gI as MergeBuilder,
|
|
4082
|
-
|
|
4082
|
+
r as Polyglot,
|
|
4083
4083
|
vg as SelectBuilder,
|
|
4084
4084
|
_ as SetOpBuilder,
|
|
4085
4085
|
_g as UpdateBuilder,
|
|
4086
4086
|
oo as ValidationSeverity,
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
|
|
4090
|
-
|
|
4091
|
-
|
|
4092
|
-
|
|
4093
|
-
|
|
4087
|
+
ji as abs,
|
|
4088
|
+
Di as alias,
|
|
4089
|
+
ii as and,
|
|
4090
|
+
dA as annotateTypes,
|
|
4091
|
+
_w as ast,
|
|
4092
|
+
Mi as avg,
|
|
4093
|
+
SA as boolean,
|
|
4094
4094
|
go as caseOf,
|
|
4095
4095
|
Ao as caseWhen,
|
|
4096
|
-
|
|
4097
|
-
|
|
4098
|
-
|
|
4099
|
-
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
|
|
4103
|
-
|
|
4104
|
-
|
|
4105
|
-
|
|
4106
|
-
|
|
4096
|
+
Ei as cast,
|
|
4097
|
+
xi as ceil,
|
|
4098
|
+
Li as coalesce,
|
|
4099
|
+
Ai as col,
|
|
4100
|
+
Fi as concatWs,
|
|
4101
|
+
Bi as condition,
|
|
4102
|
+
Ni as count,
|
|
4103
|
+
Gi as countDistinct,
|
|
4104
|
+
Pi as currentDate,
|
|
4105
|
+
ei as currentTime,
|
|
4106
|
+
Wi as currentTimestamp,
|
|
4107
4107
|
Mo as default,
|
|
4108
|
-
|
|
4108
|
+
_i as del,
|
|
4109
4109
|
AI as deleteFrom,
|
|
4110
|
-
|
|
4110
|
+
Xi as denseRank,
|
|
4111
4111
|
Co as except,
|
|
4112
|
-
|
|
4113
|
-
|
|
4114
|
-
|
|
4115
|
-
|
|
4116
|
-
|
|
4112
|
+
Vi as exp,
|
|
4113
|
+
ri as extract,
|
|
4114
|
+
JA as findAll,
|
|
4115
|
+
Ti as floor,
|
|
4116
|
+
TA as format,
|
|
4117
4117
|
xA as formatWithOptions,
|
|
4118
|
-
|
|
4119
|
-
|
|
4118
|
+
S as func,
|
|
4119
|
+
OA as generate,
|
|
4120
4120
|
eg as getColumns,
|
|
4121
|
-
|
|
4122
|
-
|
|
4121
|
+
ZA as getDialects,
|
|
4122
|
+
jg as getInferredType,
|
|
4123
4123
|
tA as getVersion,
|
|
4124
|
-
|
|
4125
|
-
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
|
|
4124
|
+
li as greatest,
|
|
4125
|
+
pi as ifNull,
|
|
4126
|
+
iI as init,
|
|
4127
|
+
Ui as initcap,
|
|
4128
|
+
ui as insert,
|
|
4129
4129
|
ng as insertInto,
|
|
4130
4130
|
Bo as intersect,
|
|
4131
|
-
|
|
4132
|
-
|
|
4131
|
+
Tg as isColumn,
|
|
4132
|
+
Zg as isFunction,
|
|
4133
4133
|
oI as isInitialized,
|
|
4134
4134
|
xg as isLiteral,
|
|
4135
|
-
|
|
4136
|
-
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
|
|
4140
|
-
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
$
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4135
|
+
Og as isSelect,
|
|
4136
|
+
mi as least,
|
|
4137
|
+
Ri as length,
|
|
4138
|
+
gi as lit,
|
|
4139
|
+
di as ln,
|
|
4140
|
+
Yi as lower,
|
|
4141
|
+
qi as ltrim,
|
|
4142
|
+
ai as max,
|
|
4143
|
+
$i as mergeInto,
|
|
4144
|
+
Ki as min,
|
|
4145
|
+
Ci as not,
|
|
4146
|
+
si as nullIf,
|
|
4147
|
+
oi as or,
|
|
4148
4148
|
pA as parse,
|
|
4149
|
-
|
|
4150
|
-
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
|
|
4154
|
-
|
|
4155
|
-
|
|
4156
|
-
|
|
4157
|
-
|
|
4158
|
-
|
|
4149
|
+
Zi as power,
|
|
4150
|
+
bi as rank,
|
|
4151
|
+
Vg as renameColumns,
|
|
4152
|
+
Hi as replace,
|
|
4153
|
+
ci as reverse,
|
|
4154
|
+
Oi as round,
|
|
4155
|
+
fi as rowNumber,
|
|
4156
|
+
hi as rtrim,
|
|
4157
|
+
vi as select,
|
|
4158
|
+
zi as sign,
|
|
4159
4159
|
Xg as sqlExpr,
|
|
4160
|
-
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
|
|
4164
|
-
|
|
4165
|
-
|
|
4160
|
+
Ii as sqlNull,
|
|
4161
|
+
ti as sqrt,
|
|
4162
|
+
bg as star,
|
|
4163
|
+
Si as substring,
|
|
4164
|
+
ki as sum,
|
|
4165
|
+
Qi as table,
|
|
4166
4166
|
aA as transform,
|
|
4167
4167
|
sA as transpile,
|
|
4168
|
-
|
|
4168
|
+
yi as trim,
|
|
4169
4169
|
Io as union,
|
|
4170
4170
|
Qo as unionAll,
|
|
4171
|
-
|
|
4172
|
-
|
|
4171
|
+
ni as update,
|
|
4172
|
+
Ji as upper,
|
|
4173
4173
|
No as validate,
|
|
4174
|
-
|
|
4174
|
+
io as validateWithSchema,
|
|
4175
4175
|
t as walk
|
|
4176
4176
|
};
|