How to add a field to a MongoDB object
Application to control expenses. I write an object to a collection in the MongoDB database which contains the username and another object - the categories for which he spent money. How can I add one category to the categories object?…