mongo-cursor-pagination icon indicating copy to clipboard operation
mongo-cursor-pagination copied to clipboard

Cursor-based pagination for Mongo

Results 36 mongo-cursor-pagination issues
Sort by recently updated
recently updated
newest added

I came across this issue today when querying a Mongoose schema with a ref and ObjectId to another collection. Usually, Mongoose will cast the query before execution, and convert all...

Bumps [mongodb](https://github.com/mongodb/node-mongodb-native) from 2.2.35 to 3.1.13. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=mongodb&package-manager=npm_and_yarn&previous-version=2.2.35&new-version=3.1.13)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies

version 0.11.8 contains several security fixes: Fix a prototype pollution vulnerability in the del(), empty(), push(), insert() functions when using the "inherited props" mode (e.g. when a new object-path instance...

It looks like the aggregate method isn't documented in readme.md. Not sure if this was intentional or not.

#### Changes Made Added new optional param to aggregate function to support more use-cases 1. undefined => preserve legacy behavior 2. null => allow data pre-transformation/summarization prior to pagination 3....

### Environment: Node: v14.18.2 Npm: 6.14.15 Mongoose: 5.13.13 Mongo: 3.7.3 Mongo-cursor-pagination: 7.6.1 ### Steps to reproduce: ``` const mongoose = require('mongoose'); const MongoPaging = require('mongo-cursor-pagination'); const DummySchema = mongoose.Schema( {...

Should be bumped as per the below reports as it's currently prone to prototype pollution https://github.com/advisories/GHSA-8v63-cqqc-6r2c https://github.com/advisories/GHSA-v39p-96qg-c8rf

For example, using the code below doesn't work ` MongoPaging.find(this.collection, { query, next, limit, paginatedField, fields: { _id: 1, userName: 1, avatar: 1, cover: 1, biography: 1, role: 1, likesCount:...

Hi guys! It's a good plugin to use with mongoose. The only thing I'm missing is support for TypeScript types. For example TypeScript doesn't know what is .paginate() in such...

I'm using this library with its plugin for pagination with Mongoose and it works well with normal queries. Now I want to paginate aggregation queries, but the plugin always makes...