mongoose-query-find 4.0.2 → 5.0.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/aggregate.d.ts +76 -32
- package/dist/aggregate.d.ts.map +1 -1
- package/dist/aggregate.js +850 -318
- package/dist/aggregate.js.map +1 -1
- package/dist/find.d.ts +71 -49
- package/dist/find.d.ts.map +1 -1
- package/dist/find.js +370 -173
- package/dist/find.js.map +1 -1
- package/package.json +1 -1
package/dist/aggregate.d.ts
CHANGED
|
@@ -44,12 +44,17 @@
|
|
|
44
44
|
* run the client-input sanitizer; that only applies to .filter()/.where(),
|
|
45
45
|
* which parse untrusted req.query / req.body values.
|
|
46
46
|
*
|
|
47
|
+
* Conditions (URL filter, search, where/range) that reference a joined field
|
|
48
|
+
* (a `.lookup()` `as` alias that is not a real schema path, e.g. "category.name")
|
|
49
|
+
* are automatically placed in a $match *after* the join; everything else stays
|
|
50
|
+
* in the first $match so indexes can be used.
|
|
51
|
+
*
|
|
47
52
|
* ── Custom ranges ────────────────────────────────────────────────────────────
|
|
48
53
|
* `.range(field, preset)` covers the fixed RangePreset values (today,
|
|
49
54
|
* yesterday, last7Days, last30Days, thisWeek, thisMonth). For anything more
|
|
50
55
|
* specific — a single arbitrary day, an arbitrary date span, a rolling
|
|
51
56
|
* window of N days/hours, an explicit hour-of-day window, or an explicit
|
|
52
|
-
* absolute datetime window — use the
|
|
57
|
+
* absolute datetime window — use the custom range methods below:
|
|
53
58
|
*
|
|
54
59
|
* .rangeCustomDay(field, '2026-03-14')
|
|
55
60
|
* .rangeBetween(field, { from: '2026-01-01', to: '2026-01-31' })
|
|
@@ -59,15 +64,16 @@
|
|
|
59
64
|
* .rangeCustom(field, { from: '2026-03-14T09:00:00', to: '2026-03-15T00:00:00' })
|
|
60
65
|
*
|
|
61
66
|
* All of these behave like .range(): they set a hard, server-side condition
|
|
62
|
-
* that the client cannot override via query params.
|
|
67
|
+
* that the client cannot override via query params. Multiple server-side
|
|
68
|
+
* conditions on the same field are AND-ed together (never silently overwritten).
|
|
63
69
|
*/
|
|
64
70
|
import { Model, PipelineStage } from 'mongoose';
|
|
65
71
|
export interface QueryParams {
|
|
66
|
-
page?:
|
|
67
|
-
limit?:
|
|
68
|
-
sort?:
|
|
69
|
-
fields?:
|
|
70
|
-
q?:
|
|
72
|
+
page?: unknown;
|
|
73
|
+
limit?: unknown;
|
|
74
|
+
sort?: unknown;
|
|
75
|
+
fields?: unknown;
|
|
76
|
+
q?: unknown;
|
|
71
77
|
[key: string]: unknown;
|
|
72
78
|
}
|
|
73
79
|
export interface PaginatedResult<T> {
|
|
@@ -158,6 +164,8 @@ export interface QueryAggregateOptions {
|
|
|
158
164
|
onSlowQuery?: (info: SlowQueryInfo) => void;
|
|
159
165
|
onSanitizeDrop?: (path: string, value: unknown) => void;
|
|
160
166
|
}
|
|
167
|
+
/** Server-side conditions accepted by .where() / .whereIf(). */
|
|
168
|
+
export type WhereConditions<T> = Partial<Record<keyof T, unknown>> | Record<string, unknown>;
|
|
161
169
|
export declare class QueryAggregateError extends Error {
|
|
162
170
|
constructor(message: string);
|
|
163
171
|
}
|
|
@@ -177,7 +185,9 @@ export declare class QueryAggregate<T> {
|
|
|
177
185
|
private _dateFieldsLookup;
|
|
178
186
|
private _objectIdFieldsLookup;
|
|
179
187
|
/** URL-derived filter and server conditions are kept separate so server
|
|
180
|
-
* conditions
|
|
188
|
+
* conditions can never be overridden by URL params. Server conditions are a
|
|
189
|
+
* list (AND-ed together) so repeated conditions on one field never overwrite
|
|
190
|
+
* each other. */
|
|
181
191
|
private _urlFilter;
|
|
182
192
|
private _serverConditions;
|
|
183
193
|
private _searchOr;
|
|
@@ -186,21 +196,37 @@ export declare class QueryAggregate<T> {
|
|
|
186
196
|
private _defaultProjection;
|
|
187
197
|
/** $lookup/$unwind/addStage() stages, in call order, spliced in after the base $match. */
|
|
188
198
|
private _stages;
|
|
199
|
+
/** Root names of `as` aliases created by lookups; conditions on them run post-join. */
|
|
200
|
+
private _joinAliases;
|
|
201
|
+
/** Index in `_stages` right after the last $lookup — where the post-join $match goes. */
|
|
202
|
+
private _postJoinIndex;
|
|
203
|
+
private _kindCache;
|
|
204
|
+
private _pathExistsCache;
|
|
189
205
|
private readonly _page;
|
|
190
206
|
private readonly _limit;
|
|
191
207
|
constructor(model: Model<T>, queryString: QueryParams, options?: QueryAggregateOptions);
|
|
192
208
|
/** The resolved (validated) timezone this instance is using. */
|
|
193
209
|
get timezone(): string;
|
|
210
|
+
private schemaType;
|
|
211
|
+
/** Field type from the model schema, when known (undefined for joined/computed/unknown paths). */
|
|
212
|
+
private schemaKind;
|
|
213
|
+
private schemaHasPath;
|
|
214
|
+
private coerceCtx;
|
|
194
215
|
/** Fields the client may filter, sort, and project. Case-insensitive. Call before filter()/sort()/project(). */
|
|
195
216
|
allowFields(fields: string[]): this;
|
|
196
|
-
/** Explicit list of fields treated as dates for timezone-aware coercion. Falls back to a name heuristic (createdAt/updatedAt/...) when omitted. */
|
|
217
|
+
/** Explicit list of fields treated as dates for timezone-aware coercion. Falls back to the model schema / a name heuristic (createdAt/updatedAt/...) when omitted. */
|
|
197
218
|
dateFields(fields: string[]): this;
|
|
198
|
-
/** Explicit list of fields treated as ObjectId refs for coercion (client-supplied hex strings -> Types.ObjectId). Falls back to a name heuristic (_id/*Id) when omitted. */
|
|
219
|
+
/** Explicit list of fields treated as ObjectId refs for coercion (client-supplied hex strings -> Types.ObjectId). Falls back to the model schema / a name heuristic (_id/*Id) when omitted. */
|
|
199
220
|
objectIdFields(fields: string[]): this;
|
|
200
221
|
/** Parses URL query params (req.query) into a Mongoose filter. Only allowlisted fields pass through. */
|
|
201
222
|
filter(): this;
|
|
202
|
-
/**
|
|
203
|
-
|
|
223
|
+
/**
|
|
224
|
+
* Mandatory server-side conditions the client cannot override. Repeated
|
|
225
|
+
* calls (and range*() calls) are AND-ed together, never overwritten.
|
|
226
|
+
* Strings that are 24-hex ObjectIds on ObjectId schema paths are cast
|
|
227
|
+
* automatically (aggregate() does not auto-cast like find() does).
|
|
228
|
+
*/
|
|
229
|
+
where(conditions: WhereConditions<T>): this;
|
|
204
230
|
/** Adds a hard, server-defined UTC date range (in this instance's timezone) on `field`. Not client-overridable. */
|
|
205
231
|
range(field: string, preset: RangePreset): this;
|
|
206
232
|
/** Hard server-side condition for a single arbitrary local calendar date (e.g. "2026-03-14"), in this instance's timezone. Not client-overridable. */
|
|
@@ -235,28 +261,38 @@ export declare class QueryAggregate<T> {
|
|
|
235
261
|
lookup(opts: LookupOptions): this;
|
|
236
262
|
/** Escape hatch for any other developer-authored stage ($addFields, $group, post-join $match, ...). Blocks $out/$merge only — this path is for trusted, server-defined stages, not client input. */
|
|
237
263
|
addStage(stage: PipelineStage): this;
|
|
264
|
+
private registerJoin;
|
|
265
|
+
private pushRange;
|
|
266
|
+
private todayLocal;
|
|
267
|
+
private castServerConditions;
|
|
238
268
|
private resolveRangePreset;
|
|
239
269
|
/** [start of fromStr, start of (toStr + 1 day)) in this instance's timezone — an inclusive local-date range. */
|
|
240
270
|
private utcRangeForLocalDates;
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
private
|
|
244
|
-
|
|
245
|
-
private
|
|
246
|
-
/**
|
|
247
|
-
private
|
|
248
|
-
/**
|
|
271
|
+
/** Effective sort: the requested sort plus `_id` as a stable tiebreaker (prevents duplicate/missing rows across pages). */
|
|
272
|
+
private effectiveSort;
|
|
273
|
+
private isJoinedKey;
|
|
274
|
+
private referencesJoined;
|
|
275
|
+
private splitConditions;
|
|
276
|
+
/** Builds the pre-join $match (index-friendly) and the post-join $match (conditions on joined fields). */
|
|
277
|
+
private buildMatchStages;
|
|
278
|
+
/** Match + lookups/custom stages only, no $project/$sort — shared by count()/distinct()/stats()/paginateCursor(). */
|
|
279
|
+
private buildHeadPipeline;
|
|
280
|
+
/**
|
|
281
|
+
* Base pipeline shared by every execution path:
|
|
282
|
+
* match -> lookups/custom stages -> sort -> [skip/limit] -> project.
|
|
283
|
+
* $project runs last so it can never drop a field that sorting needs,
|
|
284
|
+
* and only touches the documents that survive skip/limit.
|
|
285
|
+
*/
|
|
249
286
|
private buildBasePipeline;
|
|
250
287
|
private execAggregate;
|
|
251
288
|
private wrapTimed;
|
|
289
|
+
private fetchPage;
|
|
290
|
+
private runCount;
|
|
252
291
|
/**
|
|
253
|
-
* Executes the pipeline and returns a paginated result
|
|
254
|
-
*
|
|
255
|
-
*
|
|
256
|
-
*
|
|
257
|
-
* Note: $facet buffers both branches in memory per query — for very large
|
|
258
|
-
* collections with expensive pre-facet stages, consider passing
|
|
259
|
-
* `cachedTotal` on subsequent pages, or run count/data as two calls.
|
|
292
|
+
* Executes the pipeline and returns a paginated result. The data page
|
|
293
|
+
* (sort + skip + limit, so MongoDB can use top-k / index sorting) and the
|
|
294
|
+
* total count run in parallel. Pass a prior page-1 `total` as `cachedTotal`
|
|
295
|
+
* on later pages to skip the count entirely.
|
|
260
296
|
*/
|
|
261
297
|
paginate(cachedTotal?: number): Promise<PaginatedResult<T>>;
|
|
262
298
|
/** Returns just the matching document count — cheaper than paginate() when you don't need the data page. Ignores $project/$sort. */
|
|
@@ -280,10 +316,11 @@ export declare class QueryAggregate<T> {
|
|
|
280
316
|
/**
|
|
281
317
|
* Keyset ("seek") pagination — scales far better than .paginate()'s
|
|
282
318
|
* $skip on deep pages of large collections, at the cost of not supporting
|
|
283
|
-
* "jump to page N".
|
|
284
|
-
*
|
|
285
|
-
*
|
|
286
|
-
*
|
|
319
|
+
* "jump to page N". Seeks on the FIRST field of .sort() (falls back to
|
|
320
|
+
* DEFAULT_SORT's `createdAt`) with `_id` as a stable tiebreaker. Pass the
|
|
321
|
+
* previous page's `nextCursor` back in as `cursor` to continue; a
|
|
322
|
+
* `hasNextPage: false` / `nextCursor: null` page is the end. A cursor is
|
|
323
|
+
* bound to the sort field/direction it was created with.
|
|
287
324
|
*/
|
|
288
325
|
paginateCursor(opts?: CursorPaginateOptions): Promise<CursorPaginatedResult<T>>;
|
|
289
326
|
/**
|
|
@@ -297,11 +334,18 @@ export declare class QueryAggregate<T> {
|
|
|
297
334
|
/** Convenience server-side condition excluding soft-deleted docs (matches both `null` and a missing field, per MongoDB equality semantics). Not client-overridable. */
|
|
298
335
|
excludeSoftDeleted(field?: string): this;
|
|
299
336
|
/** Applies .where(conditions) only when `condition` is truthy — avoids scattering if-statements around chained builder calls. */
|
|
300
|
-
whereIf(condition: unknown, conditions:
|
|
337
|
+
whereIf(condition: unknown, conditions: WhereConditions<T>): this;
|
|
301
338
|
/** Deep-copies the current builder state (filters, sort, projection, stages) into a new independent instance — handy for branching one shared base query into e.g. both .paginate() and .stats() without rebuilding it twice. */
|
|
302
339
|
clone(): QueryAggregate<T>;
|
|
303
340
|
/** Returns the fully-built pipeline without executing it — for logging, snapshot tests, or sanity-checking what will actually run. */
|
|
304
341
|
debugPipeline(): PipelineStage[];
|
|
342
|
+
private buildCursorProjection;
|
|
343
|
+
/** Encodes a keyset cursor from a result row: the sort field's value plus `_id` as a stable tiebreaker. */
|
|
344
|
+
private encodeCursor;
|
|
345
|
+
/** Decodes and strictly validates a cursor, restoring Date/ObjectId typing so comparisons stay type-correct. */
|
|
346
|
+
private decodeCursor;
|
|
347
|
+
/** $match selecting every row strictly after the cursor row in (sortField, _id) order — null/missing-safe. */
|
|
348
|
+
private buildCursorMatch;
|
|
305
349
|
}
|
|
306
350
|
export default QueryAggregate;
|
|
307
351
|
//# sourceMappingURL=aggregate.d.ts.map
|
package/dist/aggregate.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aggregate.d.ts","sourceRoot":"","sources":["../src/aggregate.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"aggregate.d.ts","sourceRoot":"","sources":["../src/aggregate.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;AAIH,OAAO,EAAE,K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