O'Reilly logo
  • Patrick S thinks this is interesting:

  • Query object: This is for a document to find and remove.
  • Options: This optional parameter is an object with two possibilities:
    • sort: set the sort order in case multiple docs are found
    • select: set the document fields to return in the object to the callback
  • Callback: This optional parameter This returns either an er...


Cover of Mongoose for Application Development


remove arguments