Hello everyone, I am new to MongoDB. Currently I am stump as to how I should be removing {“trip number”: “15”}.
I tried writing as db.transport.update({“EMPLOYEE.e#”: “11”},{$pull:{“EMPLOYEE.trips.trip number”: “15”}}).
But the return input was errmsg: Cannot use the part of Employee…
Hope you are able to assist me on this. Thank you