MongoDB – How to remove a field from document
This MongoDB article shows you how to remove a field from document and array. 1. Remove a field from Documents Sample of document, and you want to remove the field “affLink”. domain.json { “_id” : 1, “domain” : “mkyong.com”, “affLink” : “abc” } To remove a field from all documents, set {multi: true}, else only …