MongoDB: remove documents where the id starts with perf-

MongoDB: remove documents where the id starts with perf-

  • 2020-12-2
1
db.collection_name.delete({ id: { $regex: /^perf-/ } })