I am getting a json response and storing it in mongodb, however the fields that I don\'t need are also getting in to the database, is there anyway to strip the uneseccary fi
Suppose you want to remove age
temp = {...temp, age: undefined}
This will remove age from your object for good.
age