@nongt/visql-core 0.10.1 → 0.12.0
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/core.js +163 -136
- package/dist/explain.js +3 -3
- package/dist/fixtures.js +3 -3
- package/dist/issueLocation-DY-vvgFF.js +1155 -0
- package/dist/{params-DkVFbMQn.js → params-Btjlj45_.js} +255 -226
- package/dist/{schema-CgL10bid.js → schema-DsMO9oFE.js} +327 -245
- package/dist/sql-import.js +829 -786
- package/dist/sqlGen-DGXVba3D.js +941 -0
- package/dist/types/core/ast.d.ts +24 -2
- package/dist/types/core/functionRegistry.d.ts +15 -2
- package/dist/types/core/i18n/defaultMessages.d.ts +23 -0
- package/dist/types/core/issueLocation.d.ts +6 -1
- package/dist/types/core/queryHelpers.d.ts +12 -1
- package/dist/types/core/queryValidation.d.ts +11 -1
- package/dist/types/core/sqlGen.d.ts +12 -0
- package/dist/types/core/storedQuery.d.ts +1 -1
- package/dist/types/core-api.d.ts +2 -2
- package/dist/types/sqlImport/context.d.ts +2 -2
- package/dist/types/sqlImport/syntax.d.ts +11 -2
- package/package.json +1 -1
- package/dist/issueLocation-BlQ280IE.js +0 -1108
- package/dist/sqlGen-C1kZwvWI.js +0 -903
package/dist/core.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
var N = Object.defineProperty;
|
|
2
2
|
var I = (e, t, r) => t in e ? N(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
|
-
var
|
|
4
|
-
import { l as
|
|
5
|
-
import { D as
|
|
6
|
-
import {
|
|
7
|
-
import { M as
|
|
8
|
-
import { c as
|
|
9
|
-
import { Q as
|
|
10
|
-
import { D as
|
|
11
|
-
const q = (e) => typeof e == "object" && e !== null && !(e instanceof Date),
|
|
3
|
+
var v = (e, t, r) => I(e, typeof t != "symbol" ? t + "" : t, r);
|
|
4
|
+
import { l as w, q as B, t as A, h as O } from "./schema-DsMO9oFE.js";
|
|
5
|
+
import { D as pe, E as ye, M as de, b as fe, f as me, a as he, c as be, i as ge, r as Se, s as Ee, v as ve } from "./schema-DsMO9oFE.js";
|
|
6
|
+
import { av as D, t as M, aw as L, F as Q, a0 as U, p as y, am as _, ax as i, ai as j } from "./params-Btjlj45_.js";
|
|
7
|
+
import { M as Te, a as Ne, b as Ie, d as Be, e as Ae, f as Oe, g as De, c as Me, h as Le, k as Qe, m as Ue, q as _e, r as je, i as qe, s as xe, j as Ce, o as Re, l as $e, n as ke, u as Ge } from "./params-Btjlj45_.js";
|
|
8
|
+
import { c as Fe, f as Pe, i as He } from "./calendarDate-CYlr9TvX.js";
|
|
9
|
+
import { Q as Ye, l as We, S as Ke, a as Ve, n as ze, f as Ze, j as et, m as tt, b as rt, k as at, r as nt, c as st, g as it, h as ot, i as ut, s as lt, d as ct, e as pt, v as yt } from "./issueLocation-DY-vvgFF.js";
|
|
10
|
+
import { D as ft, c as mt, S as ht, a as bt, b as gt, s as St, u as Et } from "./sqlGen-DGXVba3D.js";
|
|
11
|
+
const q = (e) => typeof e == "object" && e !== null && !(e instanceof Date), T = {
|
|
12
12
|
/** A column: `expr.field('orders', 'status')`. */
|
|
13
13
|
field: (e, t) => ({ type: "field", table: e, column: t }),
|
|
14
14
|
/** A literal value, written into the SQL (as a bound parameter by
|
|
@@ -27,6 +27,14 @@ const q = (e) => typeof e == "object" && e !== null && !(e instanceof Date), v =
|
|
|
27
27
|
left: e,
|
|
28
28
|
right: r
|
|
29
29
|
}),
|
|
30
|
+
/** A calculation (issue 26), `left <operator> right`:
|
|
31
|
+
* `expr.calc(price, '*', quantity)`. */
|
|
32
|
+
calc: (e, t, r) => ({
|
|
33
|
+
type: "arithmetic",
|
|
34
|
+
operator: t,
|
|
35
|
+
left: e,
|
|
36
|
+
right: r
|
|
37
|
+
}),
|
|
30
38
|
/** `operand IS NULL`. */
|
|
31
39
|
isNull: (e) => ({
|
|
32
40
|
type: "binary",
|
|
@@ -63,6 +71,19 @@ const q = (e) => typeof e == "object" && e !== null && !(e instanceof Date), v =
|
|
|
63
71
|
name: e,
|
|
64
72
|
args: t
|
|
65
73
|
}),
|
|
74
|
+
/** A window function's call (issue 20), over the rows of its body:
|
|
75
|
+
* `expr.over(expr.fn('LAG', status), { partitionBy: [employee], orderBy:
|
|
76
|
+
* [{ expression: payDate, direction: 'asc' }] })` is `LAG(status) OVER
|
|
77
|
+
* (PARTITION BY employee ORDER BY pay_date ASC)`. */
|
|
78
|
+
over: (e, t) => {
|
|
79
|
+
var r, a;
|
|
80
|
+
return {
|
|
81
|
+
...e,
|
|
82
|
+
over: !0,
|
|
83
|
+
...((r = t.partitionBy) == null ? void 0 : r.length) && { partitionBy: t.partitionBy },
|
|
84
|
+
...((a = t.orderBy) == null ? void 0 : a.length) && { orderBy: t.orderBy }
|
|
85
|
+
};
|
|
86
|
+
},
|
|
66
87
|
/** Whether the outer row has related rows: `EXISTS (SELECT 1 FROM …
|
|
67
88
|
* WHERE <link> AND <where>)`. `link` matches them to the outer row;
|
|
68
89
|
* `where` names the subquery's own tables only. NOT EXISTS:
|
|
@@ -75,7 +96,7 @@ const q = (e) => typeof e == "object" && e !== null && !(e instanceof Date), v =
|
|
|
75
96
|
type: "binary",
|
|
76
97
|
operator: "IN",
|
|
77
98
|
left: e,
|
|
78
|
-
right: Array.isArray(t) ?
|
|
99
|
+
right: Array.isArray(t) ? T.list(...t) : t
|
|
79
100
|
}),
|
|
80
101
|
/** `left BETWEEN low AND high` (issue 169), both bounds included: each a
|
|
81
102
|
* value or an expression (a param, a relative date). NOT BETWEEN:
|
|
@@ -84,7 +105,7 @@ const q = (e) => typeof e == "object" && e !== null && !(e instanceof Date), v =
|
|
|
84
105
|
type: "binary",
|
|
85
106
|
operator: "BETWEEN",
|
|
86
107
|
left: e,
|
|
87
|
-
right:
|
|
108
|
+
right: T.list(t, r)
|
|
88
109
|
}),
|
|
89
110
|
/** IN's values: each a value (`expr.list(1, 2)`) or an expression
|
|
90
111
|
* (`expr.list(expr.param('a'), expr.param('b'))`). */
|
|
@@ -99,59 +120,59 @@ const q = (e) => typeof e == "object" && e !== null && !(e instanceof Date), v =
|
|
|
99
120
|
* 'customer_id') }))`. */
|
|
100
121
|
subquery: ({ select: e, ...t }) => ({
|
|
101
122
|
type: "subquery",
|
|
102
|
-
id:
|
|
103
|
-
query: { joins: [], ...t, select: [{ id:
|
|
123
|
+
id: w(),
|
|
124
|
+
query: { joins: [], ...t, select: [{ id: w(), expression: e }] }
|
|
104
125
|
})
|
|
105
126
|
};
|
|
106
|
-
function
|
|
127
|
+
function V(e, t, r) {
|
|
107
128
|
return i(e, t, { type: "setBaseTable", table: r });
|
|
108
129
|
}
|
|
109
|
-
function
|
|
130
|
+
function z(e, t, r, a = {}) {
|
|
110
131
|
const n = { type: "addJoin", table: r, ...a };
|
|
111
132
|
return i(e, t, n);
|
|
112
133
|
}
|
|
113
|
-
function
|
|
134
|
+
function Z(e, t, r) {
|
|
114
135
|
return i(e, t, { type: "removeJoin", joinId: r });
|
|
115
136
|
}
|
|
116
137
|
function x(e, t, r, a = {}) {
|
|
117
|
-
const n = D(t), s =
|
|
138
|
+
const n = D(t), s = M(r);
|
|
118
139
|
if (n && s.some((l) => l !== n.alias)) {
|
|
119
140
|
if (s.includes(n.alias))
|
|
120
141
|
throw new Error("addCondition: a condition names both the union and tables of its branches: add it in two parts");
|
|
121
142
|
return n.query.union.forEach((l) => {
|
|
122
|
-
const m = l.from.table, h = new Set(
|
|
123
|
-
if (
|
|
124
|
-
throw new Error(`addCondition: "${
|
|
125
|
-
}), n.query.union.reduce((l, m, h) =>
|
|
143
|
+
const m = l.from.table, h = new Set(B(l).map(A)), b = L(e, m), S = s.find((E) => !h.has(E) && !b.has(E));
|
|
144
|
+
if (S)
|
|
145
|
+
throw new Error(`addCondition: "${S}" can't be reached from "${m}", one of the union's tables: a condition must reach every branch`);
|
|
146
|
+
}), n.query.union.reduce((l, m, h) => Q(
|
|
126
147
|
l,
|
|
127
148
|
[U(n.id, h)],
|
|
128
149
|
(b) => x(e, b, r, a)
|
|
129
150
|
), t);
|
|
130
151
|
}
|
|
131
152
|
const u = a.operator ?? "AND", { where: o } = t;
|
|
132
|
-
let
|
|
133
|
-
return o ? o.type === "logical" && o.operator === u ?
|
|
153
|
+
let d;
|
|
154
|
+
return o ? o.type === "logical" && o.operator === u ? d = { ...o, operands: [...o.operands, r] } : d = { type: "logical", operator: u, operands: [o, r] } : d = r, y(e, t, _(e, t, d));
|
|
134
155
|
}
|
|
135
|
-
function
|
|
156
|
+
function ee(e, t, r, a) {
|
|
136
157
|
const n = i(e, t, { type: "addSelectItem" }), s = n.select[n.select.length - 1].id, u = i(e, n, {
|
|
137
158
|
type: "setSelectExpression",
|
|
138
159
|
selectId: s,
|
|
139
160
|
expression: r
|
|
140
161
|
}), o = a === void 0 ? u : i(e, u, { type: "setSelectAlias", selectId: s, alias: a });
|
|
141
|
-
return
|
|
162
|
+
return y(e, t, o);
|
|
142
163
|
}
|
|
143
|
-
function
|
|
164
|
+
function te(e, t, r) {
|
|
144
165
|
const a = i(e, t, { type: "addGroupByItem" }), { id: n } = a.groupBy[a.groupBy.length - 1], s = i(e, a, {
|
|
145
166
|
type: "setGroupByExpression",
|
|
146
167
|
groupById: n,
|
|
147
168
|
expression: r
|
|
148
169
|
});
|
|
149
|
-
return
|
|
170
|
+
return y(e, t, s);
|
|
150
171
|
}
|
|
151
|
-
function
|
|
152
|
-
return
|
|
172
|
+
function re(e, t, r) {
|
|
173
|
+
return y(e, t, j(e, t, r));
|
|
153
174
|
}
|
|
154
|
-
function
|
|
175
|
+
function ae(e, t, r, a = "asc") {
|
|
155
176
|
const n = i(e, t, { type: "addOrderByItem" }), { id: s } = n.orderBy[n.orderBy.length - 1], u = i(e, n, {
|
|
156
177
|
type: "setOrderByExpression",
|
|
157
178
|
orderById: s,
|
|
@@ -161,28 +182,28 @@ function te(e, t, r, a = "asc") {
|
|
|
161
182
|
orderById: s,
|
|
162
183
|
direction: a
|
|
163
184
|
});
|
|
164
|
-
return
|
|
185
|
+
return y(e, t, o);
|
|
165
186
|
}
|
|
166
|
-
function
|
|
187
|
+
function ne(e, t, r) {
|
|
167
188
|
let a = t;
|
|
168
189
|
return "limit" in r && (a = i(e, a, { type: "setLimit", limit: r.limit })), "offset" in r && (a = i(e, a, { type: "setOffset", offset: r.offset })), a;
|
|
169
190
|
}
|
|
170
|
-
function
|
|
191
|
+
function se(e, t, r) {
|
|
171
192
|
return i(e, t, { type: "setDistinct", distinct: r });
|
|
172
193
|
}
|
|
173
|
-
function
|
|
194
|
+
function ie(e) {
|
|
174
195
|
if (!O(e)) throw new Error(`query "${e.id}" has no base table yet`);
|
|
175
196
|
return e;
|
|
176
197
|
}
|
|
177
|
-
const
|
|
178
|
-
class
|
|
198
|
+
const g = 6;
|
|
199
|
+
class c extends Error {
|
|
179
200
|
constructor(r, a) {
|
|
180
201
|
super(a);
|
|
181
|
-
|
|
202
|
+
v(this, "kind");
|
|
182
203
|
this.name = "QueryFormatError", this.kind = r;
|
|
183
204
|
}
|
|
184
205
|
}
|
|
185
|
-
const
|
|
206
|
+
const p = (e) => typeof e == "object" && e !== null && !Array.isArray(e);
|
|
186
207
|
function C(e) {
|
|
187
208
|
const t = [];
|
|
188
209
|
let r = 0;
|
|
@@ -205,137 +226,143 @@ function C(e) {
|
|
|
205
226
|
function R(e) {
|
|
206
227
|
const t = (r) => {
|
|
207
228
|
if (Array.isArray(r)) return r.map(t);
|
|
208
|
-
if (!
|
|
229
|
+
if (!p(r)) return r;
|
|
209
230
|
const a = Object.fromEntries(Object.entries(r).map(([u, o]) => [u, t(o)])), { right: n } = a;
|
|
210
|
-
if (a.type !== "binary" || a.operator !== "IN" || !
|
|
231
|
+
if (a.type !== "binary" || a.operator !== "IN" || !p(n) || n.type === "subquery" || n.type === "list") return a;
|
|
211
232
|
const s = n.type === "literal" && typeof n.value == "string" ? C(n.value).map((u) => ({ type: "literal", value: u })) : [n];
|
|
212
233
|
return { ...a, right: { type: "list", items: s } };
|
|
213
234
|
};
|
|
214
235
|
return t(e);
|
|
215
236
|
}
|
|
216
|
-
const $ = (e) => e, k = (e) => e, G =
|
|
217
|
-
|
|
237
|
+
const $ = (e) => e, k = (e) => e, G = (e) => e, J = (e) => e, F = [
|
|
238
|
+
R,
|
|
239
|
+
$,
|
|
240
|
+
k,
|
|
241
|
+
G,
|
|
242
|
+
J
|
|
243
|
+
];
|
|
244
|
+
function P(e, t, r) {
|
|
218
245
|
return r.slice(t - 1).reduce((a, n) => n(a), e);
|
|
219
246
|
}
|
|
220
247
|
function f(e, t) {
|
|
221
|
-
return Array.isArray(e) ? e.map((r) => f(r, t)) :
|
|
248
|
+
return Array.isArray(e) ? e.map((r) => f(r, t)) : p(e) ? e.type === "literal" ? t(e) : Object.fromEntries(Object.entries(e).map(([r, a]) => [r, f(a, t)])) : e;
|
|
222
249
|
}
|
|
223
|
-
function
|
|
250
|
+
function H(e) {
|
|
224
251
|
return e.value instanceof Date ? { ...e, value: e.value.toISOString(), valueType: "date" } : typeof e.value == "bigint" ? { ...e, value: String(e.value), valueType: "bigint" } : e;
|
|
225
252
|
}
|
|
226
|
-
function
|
|
253
|
+
function X(e) {
|
|
227
254
|
if (e.valueType === void 0) return e;
|
|
228
255
|
const { valueType: t, ...r } = e, a = String(r.value);
|
|
229
256
|
let n;
|
|
230
257
|
if (t === "date") {
|
|
231
258
|
if (n = new Date(a), Number.isNaN(n.getTime()))
|
|
232
|
-
throw new
|
|
259
|
+
throw new c("invalid", `not a date: ${JSON.stringify(a)}`);
|
|
233
260
|
} else if (t === "bigint" && /^-?\d+$/.test(a))
|
|
234
261
|
n = BigInt(a);
|
|
235
262
|
else {
|
|
236
263
|
const s = String(t);
|
|
237
|
-
throw new
|
|
264
|
+
throw new c("invalid", `can't read a ${s} from ${JSON.stringify(a)}`);
|
|
238
265
|
}
|
|
239
266
|
return { ...r, value: n };
|
|
240
267
|
}
|
|
241
|
-
function
|
|
268
|
+
function oe(e) {
|
|
242
269
|
return {
|
|
243
|
-
version:
|
|
244
|
-
query: f(e,
|
|
270
|
+
version: g,
|
|
271
|
+
query: f(e, H)
|
|
245
272
|
};
|
|
246
273
|
}
|
|
247
|
-
function
|
|
248
|
-
if (!
|
|
249
|
-
throw new
|
|
274
|
+
function ue(e) {
|
|
275
|
+
if (!p(e))
|
|
276
|
+
throw new c("invalid", "a stored query is an object");
|
|
250
277
|
const { version: t } = e;
|
|
251
278
|
if (typeof t != "number" || !Number.isInteger(t) || t < 1)
|
|
252
|
-
throw new
|
|
253
|
-
if (t >
|
|
254
|
-
throw new
|
|
279
|
+
throw new c("invalid", "a stored query has a whole-number version from 1");
|
|
280
|
+
if (t > g)
|
|
281
|
+
throw new c(
|
|
255
282
|
"newerVersion",
|
|
256
|
-
`stored in format ${t}; this version reads up to ${
|
|
283
|
+
`stored in format ${t}; this version reads up to ${g}`
|
|
257
284
|
);
|
|
258
|
-
const r =
|
|
259
|
-
if (!
|
|
260
|
-
throw new
|
|
261
|
-
return f(r,
|
|
285
|
+
const r = P(e.query, t, F);
|
|
286
|
+
if (!p(r) || typeof r.id != "string")
|
|
287
|
+
throw new c("invalid", "a stored query has a query with a string id");
|
|
288
|
+
return f(r, X);
|
|
262
289
|
}
|
|
263
290
|
export {
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
291
|
+
pe as DEFAULT_FUNCTIONS,
|
|
292
|
+
ft as DIALECTS,
|
|
293
|
+
mt as DIALECT_LABELS,
|
|
294
|
+
ye as EMPTY_SCHEMA,
|
|
295
|
+
de as MAX_NAME_LENGTH,
|
|
296
|
+
Te as MAX_NUMBER_DIGITS,
|
|
297
|
+
Ne as MAX_TEXT_LENGTH,
|
|
298
|
+
Ie as MAX_TYPE_NAME_LENGTH,
|
|
299
|
+
g as QUERY_FORMAT_VERSION,
|
|
300
|
+
Ye as QUERY_ISSUE_KINDS,
|
|
301
|
+
We as QUERY_WARNING_KINDS,
|
|
302
|
+
c as QueryFormatError,
|
|
303
|
+
ht as ScopeError,
|
|
304
|
+
Ke as SharedBaseError,
|
|
278
305
|
x as addCondition,
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
306
|
+
te as addGroupBy,
|
|
307
|
+
z as addJoin,
|
|
308
|
+
Be as addMeasure,
|
|
309
|
+
ae as addOrderBy,
|
|
310
|
+
ee as addSelectItem,
|
|
311
|
+
Ve as addSharedQuery,
|
|
312
|
+
Ae as addUnionBranch,
|
|
313
|
+
Oe as addUnionJoin,
|
|
314
|
+
De as addUnionTable,
|
|
315
|
+
bt as astToParameterizedSql,
|
|
316
|
+
gt as astToSql,
|
|
317
|
+
fe as branchesOf,
|
|
318
|
+
Fe as calendarDay,
|
|
319
|
+
Me as createEmptyQuery,
|
|
320
|
+
Le as createUnion,
|
|
321
|
+
T as expr,
|
|
322
|
+
me as filterSchema,
|
|
323
|
+
he as findJoinPath,
|
|
324
|
+
Pe as fromIsoDay,
|
|
325
|
+
be as functionsForDialect,
|
|
299
326
|
O as hasBaseTable,
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
327
|
+
ge as isUnion,
|
|
328
|
+
He as isoDay,
|
|
329
|
+
ze as issueLocation,
|
|
330
|
+
Ze as joinMultiplicity,
|
|
331
|
+
et as joinSharedQuery,
|
|
332
|
+
Qe as keepMeasuresInStep,
|
|
333
|
+
ue as loadQuery,
|
|
334
|
+
tt as makeShared,
|
|
335
|
+
rt as makeSubQuery,
|
|
336
|
+
Ue as measureFacts,
|
|
337
|
+
_e as queryParams,
|
|
338
|
+
Se as reachableTables,
|
|
339
|
+
at as relativeDateLabel,
|
|
340
|
+
Z as removeJoin,
|
|
341
|
+
nt as removeSharedQuery,
|
|
342
|
+
je as removeUnionTable,
|
|
343
|
+
st as renameSharedQuery,
|
|
344
|
+
qe as renameUnionColumn,
|
|
345
|
+
it as repeatedReads,
|
|
346
|
+
ot as repeatedTables,
|
|
347
|
+
ie as requireBaseTable,
|
|
348
|
+
ut as rowsPerBase,
|
|
349
|
+
oe as saveQuery,
|
|
350
|
+
St as scopeQuery,
|
|
351
|
+
V as setBaseTable,
|
|
352
|
+
se as setDistinct,
|
|
353
|
+
re as setHaving,
|
|
354
|
+
ne as setPaging,
|
|
355
|
+
lt as setSharedBase,
|
|
356
|
+
xe as setUnionAll,
|
|
357
|
+
ct as sharedQueryName,
|
|
358
|
+
pt as sharedUses,
|
|
359
|
+
Ee as suggestJoin,
|
|
360
|
+
Ce as unionName,
|
|
361
|
+
Re as unionTableColumns,
|
|
362
|
+
$e as unionWithQuery,
|
|
363
|
+
ke as unionableTables,
|
|
364
|
+
Et as unscopedBodies,
|
|
365
|
+
Ge as unwrapUnion,
|
|
366
|
+
yt as validateQuery,
|
|
367
|
+
ve as validateSchema
|
|
341
368
|
};
|
package/dist/explain.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { y as Y, m as G } from "./schema-
|
|
2
|
-
import { B as V } from "./params-
|
|
3
|
-
import { s as Z, b as tt, a as et } from "./sqlGen-
|
|
1
|
+
import { y as Y, m as G } from "./schema-DsMO9oFE.js";
|
|
2
|
+
import { B as V } from "./params-Btjlj45_.js";
|
|
3
|
+
import { s as Z, b as tt, a as et } from "./sqlGen-DGXVba3D.js";
|
|
4
4
|
const C = (t, e) => e.reduce(
|
|
5
5
|
(s, i) => s[i],
|
|
6
6
|
t
|