There are several fields in the table, for example:
- id
- name
- value
- order
it is required to update only value , I do so:
db.tables.update( { "id", 5 }, { "value" : 10 } ) after that only 2 fields are left in the record id and value
Why did the other fields go away, and how to update only 1 field correctly?