I have an object like this
==================records=========={ Id: 5114a3c21203e0d811000088,
userId: \'test\',
sUserId: test,
userName: \'test\',
ur
You could also use the lean() method, e.g. const users = await Users.find().lean().exec()
From the mongoose documentation:
Documents returned from queries with the lean option enabled are plain javascript objects, not MongooseDocuments. They have no save method, getters/setters or other Mongoose magic applied