I'm working on a new project and I try to figure out why when Mongoose save my model, instead of having an integer, I got a Double.
Ex. {myId: 12345678} become {myId: 12345678.0}
My schema contains this:
{
myId: {
type: Number
}
}
Mongoose version: 5.x Node: 10.x
Any idea ?