Remove field from entire collection

Hi! You can use:

db.coll.updateMany(
  {}, 
  {
    $unset: {"yourField": ""}
  }
)
3 Likes