Skip to content

SQL Reference

DELETEONE

  • filter: The selection filter for the document to delete.
  • options: Optional settings such as collation.
db.sessions.deleteOne({ token: "abc" })