-
The line here should be changed https://github.com/euqen/mongoose-paranoid-plugin/blob/master/index.js#L19 to have prepend `method !== 'count' && ` since count method does not support `options` argume…
-
I have installed
"mongoose": "^5.11.12",
"mongoose-sequence": "^5.3.1",
and use mongoose-sequence in mongoose Model file as below
```js
const mongoose = require("mongoose");
c…
-
Exporting models allows devs to make any query against the model that they want. All models are moving to not allowing the mongoose model to be exported and instead exporting only relevant functions.
…
-
Getting error - `error TS4118: The type of this node cannot be serialized because its property '[hasInstance]' cannot be serialized.` when using TypeScript.
Example model:
```
import mongoose, {…
-
That would be a big work but it would bring significant improvements:
- compatibility with tooling meant for Mongoose schemas, eg Forest Admin. We we would probably need not only to generate the sc…
-
Ensure that when a new seller is registering, their name is unique. If the seller name is already taken, prevent the registration and show a message indicating that the seller name is unavailable.
-
### Environment
"nuxt": "^3.10.3",
"nuxt-mongoose": "^1.0.5",
### Reproduction
"nuxt": "^3.10.3",
"nuxt-mongoose": "^1.0.5",
### Describe the bug
When I use mongoose Model.populate("***") in th…
-
test
-
Add a "Forget Password" feature that allows users to reset their password by entering their email ID. Send a password reset link to the user's email, enabling them to set a new password securely.
-
![Screenshot_2024-09-20-14-29-39-76_cbf47468f7ecfbd8ebcc46bf9cc626da](https://github.com/user-attachments/assets/85b3b8d9-e09c-4e6c-8374-0de6c99b295c)
**Describe the bug**
There is no Schema validat…