# mongoDB 필드 삭제 (field remove) 원하는 필드만 삭제하는 방법은 update 명령어를 사용해서 삭제한다. ```shell db.URL_table.update({},{ $unset: {desc_anal2: 1, title_anal2: 1}},{ multi: true }) ``` `{ multi: true }` 를 입력하지 않으면 1개 문서만 삭제된다. URL\_table에서 desc\_anal2와 title\_anal2 필드를 날려버린다. ## 출처 - https://eunsood.tistory.com/entry/mongoDB-필드-삭제-field-remove