I have a document as shown below
{
"_id" : ObjectId("5864ddd8e38112fd70b89893"),
"_class" : "com.apic.models.UserReg",
"name" : "xxx",
"email" : "[email protected]"
"activationToken" : "fe8376ea2dbdf61ebc"
}
How can I remove the property activationToken
from it using Spring MongoTemplate
?