mongoose-aggregate-paginate-v2 icon indicating copy to clipboard operation
mongoose-aggregate-paginate-v2 copied to clipboard

A cursor based custom aggregate pagination library for Mongoose with customizable labels.

Results 24 mongoose-aggregate-paginate-v2 issues
Sort by recently updated
recently updated
newest added

When I import this package like this: ``` import { Prop, Schema, SchemaFactory } from '@nestjs/mongoose'; import aggregatePaginate from 'mongoose-aggregate-paginate-v2'; @Schema({ timestamps: true, }) export class User { @Prop({ required:...

help wanted

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...

dependencies

Bumps [semver-regex](https://github.com/sindresorhus/semver-regex) from 3.1.2 to 3.1.4. Release notes Sourced from semver-regex's releases. v3.1.4 Backport of ReDoS fix https://github.com/sindresorhus/semver-regex/commit/7712ba564d40da101cf2b2b33e6a910d9f2f57f4 Commits 906cf40 3.1.4 7712ba5 Fix ReDoS vulnerability backport a0203db Fix ReDoS vulnerability...

dependencies

in a part of the project I need to use mongoose-paginate-v2 and it works perfect ![image](https://user-images.githubusercontent.com/13548264/142232207-1e51f4d7-6af8-4763-a9b1-093a1c382fb5.png) the problem occurs when I try to implement mongoose-aggregate-paginate-v2 in another data model ![image](https://user-images.githubusercontent.com/13548264/142232570-3dcbd2ac-d117-466c-9b1b-f3a47d782612.png)...

fixed

I'm sending a query with postman to an apollo server to get a list of users. This is my options object: ``` const options = { page: parseInt(page), limit: 15,...

bug

Hi request you to enable "lean" option for aggregation

In the `mongoose-paginate-v2` package you can pass limit of 0 to return only the meta data and no docs. #### Zero limit You can use `limit=0` to get only metadata:...

``` { totalDocs: 'total', docs: 'docs', limit: 'limit', offset: 'offset', page: false, nextPage: false, prevPage: false, totalPages: false, pagingCounter: false, meta: false, hasPrevPage: false, hasNextPage: false, } ```

Trying to use this package in my project but I get error: "'@types/mongoose-aggregate-paginate-v2@latest' is not in the npm registry. Try `npm install @types/mongoose-aggregate-paginate-v2` if it exists or add a new...

duplicate
help wanted

I'm unable to use `$lookup` operator in `aggregatePaginate`. The expected result property (products in query below) is always null and excluded from the results document at all. It's otherwise working...