Update meteor collection without removing or overriding existing fields
问题 I don't know why but if i try to update an existing field using the $set method, any existing fields are replaced in the same context. For example. Say i have an existing collection with the following fields. Name of collection: Ticket {profile: {name: "Test", placement: 1}, requestor: _id} When i attempt to add/update fields to this collection like this: var ticket = Meteor.tickets.findOne({_id: ticketID}); if(ticket){ Meteor.users.update(ticket, { $set: profile: {name: "Test2", new_fields: