I have an object like this
==================records=========={ Id: 5114a3c21203e0d811000088,
userId: \'test\',
sUserId: test,
userName: \'test\',
ur
I am assuming you are trying to add a property to a returned Mongoose Document to reuse it somewhere else. Documents returned by Mongoose are not JSON objects directly, you'll need to convert them to an object to add properties to them. The following should work:
//... record is a mongoose Document
var r = record.toObject();
r.Name = 'test';
console.log("Record ",r);