@memberjunction/generic-database-provider 5.51.2 → 5.51.4
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/GenericDatabaseProvider.d.ts +127 -3
- package/dist/GenericDatabaseProvider.d.ts.map +1 -1
- package/dist/GenericDatabaseProvider.js +389 -133
- package/dist/GenericDatabaseProvider.js.map +1 -1
- package/dist/clientClauseScreen.d.ts +262 -0
- package/dist/clientClauseScreen.d.ts.map +1 -0
- package/dist/clientClauseScreen.js +531 -0
- package/dist/clientClauseScreen.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/queryCompositionEngine.d.ts +45 -8
- package/dist/queryCompositionEngine.d.ts.map +1 -1
- package/dist/queryCompositionEngine.js +161 -32
- package/dist/queryCompositionEngine.js.map +1 -1
- package/dist/queryPagingEngine.d.ts +141 -80
- package/dist/queryPagingEngine.d.ts.map +1 -1
- package/dist/queryPagingEngine.js +253 -219
- package/dist/queryPagingEngine.js.map +1 -1
- package/dist/renderPipeline.d.ts +24 -1
- package/dist/renderPipeline.d.ts.map +1 -1
- package/dist/renderPipeline.js +33 -4
- package/dist/renderPipeline.js.map +1 -1
- package/package.json +14 -14
|
@@ -13,22 +13,54 @@ export interface PagingWrappedSQL {
|
|
|
13
13
|
/** The page size (same as maxRows input) */
|
|
14
14
|
PageSize: number;
|
|
15
15
|
}
|
|
16
|
+
/**
|
|
17
|
+
* How a requested row cap was applied.
|
|
18
|
+
*
|
|
19
|
+
* - `top` / `limit` / `fetch`: a `TOP n`, `LIMIT n`, or `OFFSET 0 ROWS FETCH NEXT n ROWS ONLY`
|
|
20
|
+
* clause in the statement itself.
|
|
21
|
+
* - `own-cap`: the statement's own cap was already as tight or tighter, so it was left as is.
|
|
22
|
+
* - `derived-table`: the statement was capped as a derived table.
|
|
23
|
+
* - `none`: no cap was applied; {@link RowCapOutcome.Reason} says why.
|
|
24
|
+
*/
|
|
25
|
+
export type RowCapMethod = 'top' | 'limit' | 'fetch' | 'own-cap' | 'derived-table' | 'none';
|
|
26
|
+
/** Whether a requested row cap holds for the rendered SQL, and how. */
|
|
27
|
+
export interface RowCapOutcome {
|
|
28
|
+
/** True when the rendered SQL returns at most the requested number of rows. */
|
|
29
|
+
Applied: boolean;
|
|
30
|
+
Method: RowCapMethod;
|
|
31
|
+
/** Why no cap was applied; `null` when one was. */
|
|
32
|
+
Reason: string | null;
|
|
33
|
+
}
|
|
34
|
+
/** The capped SQL and the outcome, from {@link QueryPagingEngine.ApplyMaxRows}. */
|
|
35
|
+
export interface RowCapResult {
|
|
36
|
+
SQL: string;
|
|
37
|
+
Outcome: RowCapOutcome;
|
|
38
|
+
}
|
|
16
39
|
/**
|
|
17
40
|
* Handles server-side pagination for query SQL by applying platform-specific
|
|
18
41
|
* paging clauses.
|
|
19
42
|
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
43
|
+
* The statement is read from tokens ({@link AnalyzePagingShape}), so paging works the same way
|
|
44
|
+
* on SQL the AST parser cannot read, and the query's own text is kept as written: nothing is
|
|
45
|
+
* re-emitted from a syntax tree.
|
|
46
|
+
*
|
|
47
|
+
* **The query's own row cap is part of what it means.** `StartRow` and `MaxRows` page within the
|
|
48
|
+
* capped result, so the smaller of the query's cap and `MaxRows` wins, and the total row count is
|
|
49
|
+
* the size of the capped result. A numeric cap (`TOP n`, `LIMIT n [OFFSET k]`, `OFFSET k … FETCH
|
|
50
|
+
* NEXT n`) is replaced by the page's own clause with the arithmetic folded in; a page past the
|
|
51
|
+
* cap is an empty result. Any other cap (`TOP … PERCENT`, `WITH TIES`, an expression) is kept, and
|
|
52
|
+
* the query is paged as a derived table.
|
|
24
53
|
*
|
|
25
|
-
* **
|
|
26
|
-
*
|
|
27
|
-
*
|
|
54
|
+
* **Data SQL** — appends OFFSET/FETCH (SQL Server) or LIMIT/OFFSET (PostgreSQL) to the
|
|
55
|
+
* statement, after its ORDER BY (a default one is added when it has none) and before any clause
|
|
56
|
+
* that must stay last (`OPTION (…)`, `FOR UPDATE`). Column scopes, ORDER BY references and table
|
|
57
|
+
* aliases stay valid because the query is not wrapped.
|
|
28
58
|
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
59
|
+
* **Count SQL** — puts the query (without its ORDER BY, unless its own cap needs it) in a
|
|
60
|
+
* `[__count]` CTE beside the query's own CTEs and selects `COUNT(*) AS TotalRowCount`.
|
|
61
|
+
*
|
|
62
|
+
* A query that ends in `FOR JSON` / `FOR XML` returns a document, not rows, and cannot be paged;
|
|
63
|
+
* asking to page one is an error.
|
|
32
64
|
*/
|
|
33
65
|
export declare class QueryPagingEngine {
|
|
34
66
|
/**
|
|
@@ -42,92 +74,116 @@ export declare class QueryPagingEngine {
|
|
|
42
74
|
*/
|
|
43
75
|
static WrapWithPaging(resolvedSQL: string, startRow: number, maxRows: number, platform: DatabasePlatform): PagingWrappedSQL;
|
|
44
76
|
/**
|
|
45
|
-
* Applies a row cap to the outermost SELECT.
|
|
77
|
+
* Applies a row cap to the outermost SELECT: the result returns at most `maxRows` rows.
|
|
46
78
|
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
79
|
+
* The statement is edited in place, from tokens, so the caller's SQL is kept exactly as
|
|
80
|
+
* written apart from the cap, and SQL the AST parser cannot read is capped the same way:
|
|
81
|
+
* - No cap of its own: `TOP n` goes after `SELECT [ALL | DISTINCT]` on SQL Server, and
|
|
82
|
+
* `LIMIT n` at the end on PostgreSQL. A SQL Server set operation (which has no single
|
|
83
|
+
* SELECT to put TOP on) gets `OFFSET 0 ROWS FETCH NEXT n ROWS ONLY` after its ORDER BY.
|
|
84
|
+
* - A numeric cap of its own: the tighter of the two wins.
|
|
85
|
+
* - Any other cap of its own (`TOP … PERCENT`, `WITH TIES`, an expression, caps on more than
|
|
86
|
+
* one branch): the statement is capped as a derived table.
|
|
87
|
+
* Clauses that must stay last (`OPTION (…)`, `FOR UPDATE`) stay last.
|
|
50
88
|
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
* 3. If the AST recognizes the shape but can't inject (`TOP PERCENT`,
|
|
57
|
-
* non-numeric `TOP`, `UNION`, `WITH TIES`, etc.), wrap with an
|
|
58
|
-
* outer `SELECT TOP N * FROM (…) AS _mj_capped` (or LIMIT on PG).
|
|
59
|
-
* 4. If the parser can't handle the input but the SQL is CTE-headed,
|
|
60
|
-
* append `OFFSET 0 ROWS FETCH NEXT N ROWS ONLY` via {@link buildDataSQL}.
|
|
61
|
-
* 5. Shapes that can't legally appear inside a derived table
|
|
62
|
-
* (`FOR JSON`, `FOR XML`, `OPTION (...)`, `SELECT INTO`,
|
|
63
|
-
* mutations) are returned unchanged — the cap is moot
|
|
64
|
-
* (FOR JSON/XML return one row) or the validator should have
|
|
65
|
-
* rejected them earlier (mutations, SELECT INTO).
|
|
89
|
+
* A statement that ends in `FOR JSON` / `FOR XML` returns one document built from its rows;
|
|
90
|
+
* it is capped in place (bounding the rows the document is built from) and left unchanged
|
|
91
|
+
* where only a derived table or a set-operation clause could cap it. Anything that is not a
|
|
92
|
+
* single read query (a write, `SELECT … INTO`) is left unchanged; the render pipeline refuses
|
|
93
|
+
* those before this point anyway.
|
|
66
94
|
*
|
|
67
|
-
* Non-positive, non-finite, or fractional `maxRows` are sanitized
|
|
68
|
-
*
|
|
95
|
+
* Non-positive, non-finite, or fractional `maxRows` are sanitized (`<= 0` and non-finite are
|
|
96
|
+
* no-ops; fractional values are floored).
|
|
69
97
|
*/
|
|
70
98
|
static WrapWithMaxRows(resolvedSQL: string, maxRows: number, platform: DatabasePlatform): string;
|
|
71
99
|
/**
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
* cleanly, or when the AST can't parse the input but the SQL is known
|
|
75
|
-
* to be wrap-safe (no FOR JSON/FOR XML/OPTION at top level).
|
|
76
|
-
*
|
|
77
|
-
* Strips any top-level ORDER BY before wrapping: ORDER BY is illegal
|
|
78
|
-
* inside a derived table on SQL Server (unless TOP/OFFSET/FOR XML is
|
|
79
|
-
* present), and the outer SELECT doesn't preserve inner ordering anyway.
|
|
80
|
-
* The ORDER BY is moved to the outer SELECT so the final result retains
|
|
81
|
-
* the intended sort order.
|
|
100
|
+
* Applies a row cap exactly as {@link WrapWithMaxRows} does, and also reports whether the cap
|
|
101
|
+
* holds and how, so a caller that asked for a cap can tell whether it got one.
|
|
82
102
|
*/
|
|
83
|
-
|
|
103
|
+
static ApplyMaxRows(resolvedSQL: string, maxRows: number, platform: DatabasePlatform): RowCapResult;
|
|
104
|
+
/** Caps a statement that has no cap of its own. */
|
|
105
|
+
private static addCap;
|
|
106
|
+
/** Lowers a numeric cap of the query's own to `cap`, or leaves it when it is already tighter. */
|
|
107
|
+
private static tightenCap;
|
|
108
|
+
/** How a row-limit suffix from the dialect's `LimitClause` caps rows: `FETCH` or `LIMIT`. */
|
|
109
|
+
private static suffixMethod;
|
|
84
110
|
/**
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
* safely injected inline (`TOP PERCENT`, non-numeric
|
|
90
|
-
* `TOP`/`LIMIT`); caller should outer-wrap.
|
|
91
|
-
* `pass-through` — shape can't be capped at all without corrupting
|
|
92
|
-
* the query (SELECT INTO, mutation).
|
|
93
|
-
* `unparseable` — parser could not handle the input; caller may
|
|
94
|
-
* attempt a CTE-fallback or outer wrap.
|
|
95
|
-
*
|
|
96
|
-
* All AST shape inspection is delegated to {@link SQLParser} primitives —
|
|
97
|
-
* this method contains no `node-sql-parser` field knowledge.
|
|
111
|
+
* Caps the statement as a derived table, for shapes that cannot be capped in place. The
|
|
112
|
+
* query's CTEs stay in front and its trailing clause stays last. Its ORDER BY stays inside,
|
|
113
|
+
* where SQL Server allows it beside the query's own TOP; a set operation's ORDER BY, which
|
|
114
|
+
* names output columns, moves outside.
|
|
98
115
|
*/
|
|
99
|
-
private static
|
|
116
|
+
private static capAsDerivedTable;
|
|
100
117
|
/**
|
|
101
118
|
* Determines whether the given params indicate paging should be applied.
|
|
119
|
+
*
|
|
120
|
+
* A `MaxRows` on its own is enough — a caller asking only to cap a result, rather than
|
|
121
|
+
* to walk pages, still gets the ceiling applied in SQL. Without that, such a call falls
|
|
122
|
+
* through to the provider's full-fetch-then-slice path, where the database returns every
|
|
123
|
+
* row and the whole set crosses the network before being trimmed.
|
|
124
|
+
*
|
|
125
|
+
* Matches how RunView decides the same question (`BuildTotalRowCountSQL` treats rows as
|
|
126
|
+
* limited when `usingPagination || maxRowsForQuery > 0`).
|
|
127
|
+
*
|
|
128
|
+
* An absent `StartRow` means page zero; see {@link ResolveStartRow}. A negative one is
|
|
129
|
+
* rejected.
|
|
102
130
|
*/
|
|
103
131
|
static ShouldPage(startRow: number | undefined, maxRows: number | undefined): boolean;
|
|
132
|
+
/**
|
|
133
|
+
* The offset to page from: the caller's `StartRow`, or 0 when they named none.
|
|
134
|
+
*
|
|
135
|
+
* Kept beside {@link ShouldPage} so the two cannot drift — every site acting on a true
|
|
136
|
+
* `ShouldPage` needs a concrete offset, and `StartRow` is not guaranteed to be set.
|
|
137
|
+
*/
|
|
138
|
+
static ResolveStartRow(startRow: number | undefined): number;
|
|
139
|
+
/** Removes trailing semicolons and whitespace; a statement-ending `;` cannot precede a paging clause. */
|
|
140
|
+
private static stripTrailingSemicolons;
|
|
141
|
+
/**
|
|
142
|
+
* Builds the SQL for one page. A query without a cap of its own gets the paging clause
|
|
143
|
+
* appended; a single numeric cap is replaced by the page's clause with the arithmetic folded
|
|
144
|
+
* in; anything else is paged as a derived table.
|
|
145
|
+
*/
|
|
104
146
|
private static buildDataSQL;
|
|
147
|
+
/** The statement up to the clause that must stay last. */
|
|
148
|
+
private static head;
|
|
149
|
+
/** The clause that must stay last (`OPTION (…)`, `FOR UPDATE`), with its leading newline, or ''. */
|
|
150
|
+
private static tail;
|
|
151
|
+
/** Appends ORDER BY (when the statement has none), the paging clause and the trailing clause. */
|
|
152
|
+
private static appendPage;
|
|
153
|
+
/**
|
|
154
|
+
* The ORDER BY to page by when the statement has none: the dialect's
|
|
155
|
+
* {@link SQLDialect.SelectListPagingOrderBy} for a set operation or SELECT DISTINCT when it
|
|
156
|
+
* has one (a platform that only accepts select-list items there), otherwise its
|
|
157
|
+
* {@link SQLDialect.DefaultPagingOrderBy}.
|
|
158
|
+
*/
|
|
159
|
+
private static defaultOrderBy;
|
|
105
160
|
/**
|
|
106
|
-
*
|
|
107
|
-
*
|
|
108
|
-
* Does not affect TOP in subqueries or CTEs.
|
|
161
|
+
* Pages within a numeric cap of the query's own: the page starts `startRow` rows into the
|
|
162
|
+
* capped result and stops at the cap. A page that starts at or past the cap is empty.
|
|
109
163
|
*/
|
|
110
|
-
private static
|
|
164
|
+
private static pageWithinCap;
|
|
111
165
|
/**
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
*
|
|
115
|
-
*
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
166
|
+
* Pages a query whose own cap cannot be reasoned about as a row count (`TOP … PERCENT`, `WITH
|
|
167
|
+
* TIES`, an expression, or a cap on more than one branch of a set operation) by selecting the
|
|
168
|
+
* page from it as a derived table. Its CTEs stay in front, its trailing clause stays last, and
|
|
169
|
+
* the ORDER BY of a set operation moves outside, where it is legal.
|
|
170
|
+
*/
|
|
171
|
+
private static wrapAndPage;
|
|
172
|
+
/** A statement that returns no rows, for a page that starts past the query's own cap. */
|
|
173
|
+
private static emptyResultSQL;
|
|
174
|
+
/**
|
|
175
|
+
* Builds the count query: the main statement in a `[__count]` CTE placed after the query's
|
|
176
|
+
* own CTEs (a CTE body cannot contain its own WITH), and `SELECT COUNT(*) AS TotalRowCount`.
|
|
177
|
+
* The ORDER BY is removed — it does not change a count, and SQL Server forbids it in a CTE —
|
|
178
|
+
* unless the query's own cap needs it to choose its rows. A trailing `OPTION (…)` stays last.
|
|
120
179
|
*/
|
|
121
180
|
private static buildCountSQL;
|
|
122
181
|
/**
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
* subset. Falls back to a string-based ORDER BY strip when the statement
|
|
127
|
-
* can't be parsed (e.g. TRY_CAST, unresolved templates); the cap can't be
|
|
128
|
-
* reliably removed without a parse, matching the prior regex behavior.
|
|
182
|
+
* The main statement as the count query sees it. With a cap of its own the statement is kept
|
|
183
|
+
* whole (its ORDER BY picks the capped rows, and is legal in a CTE beside TOP or OFFSET),
|
|
184
|
+
* except that a set operation's trailing ORDER BY is dropped; otherwise the ORDER BY is cut.
|
|
129
185
|
*/
|
|
130
|
-
private static
|
|
186
|
+
private static countBody;
|
|
131
187
|
/**
|
|
132
188
|
* Extracts the top-level ORDER BY clause from SQL, ignoring ORDER BY
|
|
133
189
|
* inside subqueries, block comments, line comments, single-quoted strings,
|
|
@@ -135,6 +191,11 @@ export declare class QueryPagingEngine {
|
|
|
135
191
|
*
|
|
136
192
|
* Preserves the public static API for existing callers and tests.
|
|
137
193
|
*/
|
|
194
|
+
static ExtractOrderBy(sql: string, dialect?: SQLDialect | string): {
|
|
195
|
+
sqlWithoutOrder: string;
|
|
196
|
+
orderByClause: string | null;
|
|
197
|
+
};
|
|
198
|
+
/** @deprecated Use {@link ExtractOrderBy}. */
|
|
138
199
|
static extractOrderBy(sql: string, dialect?: SQLDialect | string): {
|
|
139
200
|
sqlWithoutOrder: string;
|
|
140
201
|
orderByClause: string | null;
|
|
@@ -142,15 +203,15 @@ export declare class QueryPagingEngine {
|
|
|
142
203
|
/**
|
|
143
204
|
* Strips a TOP N or TOP (N) clause from the beginning of a SELECT statement.
|
|
144
205
|
*/
|
|
206
|
+
static StripTopClause(sql: string): {
|
|
207
|
+
sql: string;
|
|
208
|
+
topRemoved: boolean;
|
|
209
|
+
};
|
|
210
|
+
/** @deprecated Use {@link StripTopClause}. */
|
|
145
211
|
static stripTopClause(sql: string): {
|
|
146
212
|
sql: string;
|
|
147
213
|
topRemoved: boolean;
|
|
148
214
|
};
|
|
149
|
-
/**
|
|
150
|
-
* ExtractCTEs returns CTE definitions with unquoted names (e.g. `myName AS (...)`).
|
|
151
|
-
* Apply dialect-specific identifier quoting to the CTE name.
|
|
152
|
-
*/
|
|
153
|
-
private static quoteCteName;
|
|
154
215
|
private static getDialect;
|
|
155
216
|
}
|
|
156
217
|
//# sourceMappingURL=queryPagingEngine.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queryPagingEngine.d.ts","sourceRoot":"","sources":["../src/queryPagingEngine.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"queryPagingEngine.d.ts","sourceRoot":"","sources":["../src/queryPagingEngine.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAGxD,OAAO,EAAgC,KAAK,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAE5F;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B,2CAA2C;IAC3C,OAAO,EAAE,MAAM,CAAC;IAChB,4DAA4D;IAC5D,QAAQ,EAAE,MAAM,CAAC;IACjB,mDAAmD;IACnD,MAAM,EAAE,MAAM,CAAC;IACf,4CAA4C;IAC5C,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;GAQG;AACH,MAAM,MAAM,YAAY,GAAG,KAAK,GAAG,OAAO,GAAG,OAAO,GAAG,SAAS,GAAG,eAAe,GAAG,MAAM,CAAC;AAE5F,uEAAuE;AACvE,MAAM,WAAW,aAAa;IAC1B,+EAA+E;IAC/E,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,YAAY,CAAC;IACrB,mDAAmD;IACnD,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;AAED,mFAAmF;AACnF,MA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