-
Paginate plugin is not using the latest version https://www.npmjs.com/package/mongoose-paginate-v2. Because of that: select and populate are not working.
-
I have my documents created with `createdAt` and `updatedAt` fields from mongoose feature. I normally add date filters in this way:
```javascript
const filters = {};
if (from) filters.createdAt =…
-
**Is your feature request related to a problem? Please describe.**
The typescript snipet provided on readme is confuse and I was no able to make it work properly
**Describe the solution you'd lik…
-
It would be nice if you could parse the parameters through the request parameters for example:
URL?page=2&limit=5
The code could be something like this:
var params = mongoose-paginate…
-
From the instructions, it's not exactly clear how to use this with a dependency injection based codebase.. For example:
the model
```typescript
import { v4 as uuidv4 } from 'uuid'
import { Docum…
-
目前看和我写的api差不多,待看
-
In order to require and have it work correctly I had to import it in the following manner;
```
const mongoosePaginate = require('mongoose-paginate-cursor').default;
```
-
We're having an issue where the Count and Sort operations drag the aggregate hundreds of times longer than just returning the documents.
We can get the documents for a page back in 200ms or less us…
-
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 ObjectId properti…
-
I have use this package in my project to provide autoincrement by 1 every time a new records come in. But somehow I can see that the increment is not consistence like id 10 to id 13 to id 14 to id 17 …