How to delete a field in all documents of mongodb collection using MongoRepositoty @Query
I have a collection: public class Person { private String name; private Integer age; } I want to delete field age in all the documents. So the schema gonna look like that: public class Person { private String name; }…