I am having trouble with a simple query on my database. Following this tutorial: https://scotch.io/tutorials/build-a-restful-api-using-node-and-express-4 when Model.find() i
I experienced an error like this.
The problem was that I was loading the wrong mongoose Schema.
The result is that the only fields that are saved are those that are present in both schemas, i.e. _id and __v.
_id
__v