I run these insert queries:
db.employee.insert( { name: "office_1", employer: ["jack", "hanna", "leonard"] } );
db.employee.insert( { name: "office_2", employer: ["steve", "hanna", "mark"] } );
Now, "hanna" has left the company. And she worked both at "office_1" and "office_2". How do I make sure that
"office_1" will only contain ["jack", "leonard"]
and that
"office_2" will only contain ["steve", "mark"]