Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-385

Remove 3.6 deprecated CRUD commands

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.6.1
    • Component/s: Shell API
    • Labels:
      None
    • Story Points:
      2
    • Documentation Changes:
      Needed
    • Documentation Changes Summary:
      db.coll.remove(), .save(), .update() and .insert() should be marked as deprecated in the shell documentation (ideally including the old shell documentation).
    • Sprint:
      Iteration Papaya, Iteration Quince

      Description

      db.coll.remove() does not return something that has a asPrintable function, so it just prints a massive object.

      Also remove: save, update, insert, and a few others.  Look up the docs to verify the complete list.

        Attachments

          Activity

            People

            Assignee:
            sergey.petushkov Sergey Petushkov
            Reporter:
            anna.herlihy Anna Herlihy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: