79808841

Date: 2025-11-04 11:30:12
Score: 0.5
Natty:
Report link

If you don't want to bother finding out which was the last entry's ID, here's a one-liner to remove it:

db.collection.findOneAndDelete({}, {sort: {_id: -1}})
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Michael