컬렉션에서 있는 문서를 삭제할 때에는 delete 또는 remove를 사용합니다.
deleteOne을 이용해 조건에 맞는 첫 번째 문서를 삭제할 수 있습니다.
db.user_info.deleteOne({"status":"x"})
db.user_info.remove({"ABO":"A",1})

필터를 지정해 조건에 일치하는 모든 문서 삭제합니다.
db.user_info.deleteMany({"ABO":"A"})

db.user_info.remove({"ABO":"A"})
모든 데이터 삭제합니다.
db.user_info.deleteMany({})
db.user_info.remove({})