-
**Do you want to request a *feature* or report a *bug*?**
Bug
**What is the current behavior?**
```
Type '{ type: typeof mongoose.Types.Decimal128; get: (l: mongoose.Types.Decimal128) => str…
-
### Summary:
Implementation of mongoose maps.
https://mongoosejs.com/docs/schematypes.html#maps
### Code sample:
#### Schema
```
// Code here
`
const userSchema = new Schema({
// …
-
Hi,
This will be a simple question, so I didn't follow the template. The background is that we upgrade mongoose recently and discovered that the setDefaultsOnInsert is acting as default to be true.…
-
In my collection there is a property called **schema**.
```javascript
const schema = new mongoose.Schema({
name: {type: String, required: true},
schema: { type: mongoose.Schema.Types.ObjectId,…
-
**Do you want to request a *feature* or report a *bug*?**
bug
**What is the current behavior?**
When trying to represent an array of subdocuments in a schema, you have to include the "_id" fi…
-
**Do you want to request a *feature* or report a *bug*?**
Bug
**What is the current behavior?**
TypeScript compilation error if `_id` is given an array of ids or documents in `FilterQuery`
…
-
**Do you want to request a *feature* or report a *bug*?**
**What is the current behavior?**
**If the current behavior is a bug, please provide the steps to reproduce.**
**What is th…
-
**Do you want to request a *feature* or report a *bug*?**
Bug
**What is the current behavior?**
After defining an interface `T`, creating a schema `Schema` by calling `new Schema()`, the…
-
**Do you want to request a *feature* or report a *bug*?**
**What is the current behavior?**
**If the current behavior is a bug, please provide the steps to reproduce.**
**What is th…
-
**Do you want to request a *feature* or report a *bug*?**
I want to report a bug.
**What is the current behavior?**
Suppose I have a replicaset with two nodes 1 primary and 1 secondary.
Pr…