Aravind NC

Results 51 comments of Aravind NC

@davidsierradz This is not a general use case I guess. So may have to create a new branch for this.

@davidsierradz You're the best! I will add it this to the package if similar request comes again.

I did a quick try with mongoose-delete which seems to mess up other test cases. So I would appreciate it if someone can do a P.R with a test case....

@MohRaouf Thanks for the suggestion. I will add this as an option.

@LosTigeros Please use below version for Mongoose 5. https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mongoose-paginate-v2 Let me know if this helps.

@jdhiro This seems to be the latest one. Can you try it. https://github.com/DefinitelyTyped/DefinitelyTyped/tree/1948b8888159b85e0771567b23ff6f279b0a7866

You need to install old version of the plugin to work. https://www.npmjs.com/package/mongoose-paginate-v2/v/1.5.0 Try above version or below for the time being. Regards,Aravind NC On Friday, 29 April, 2022, 11:52:51 am...

@necm1 You can try https://www.npmjs.com/package/mongoose-aggregate-paginate-v2 which might be good in your case.