Skip to content

Commit ad418a0

Browse files
authored
Merge pull request #15305 from skyran1278/patch-1
Update schematypes.md
2 parents ae6f4a2 + e1e52c6 commit ad418a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/schematypes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ Int32s are stored as [BSON type "double" in MongoDB](https://www.mongodb.com/doc
658658

659659
```javascript
660660
const studentsSchema = new Schema({
661-
id: Int32
661+
id: Double
662662
});
663663
const Student = mongoose.model('Student', schema);
664664

0 commit comments

Comments
 (0)