Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-15274

Implement remove({}) as Collection::truncate()

    XMLWordPrintableJSON

Details

    • Query Execution

    Description

      Once SERVER-15033 is completed it will be possible to implement remove({}) as a call to Collection::truncate() which is O(1) rather than O(n).

      Attachments

        Activity

          People

            backlog-query-execution Backlog - Query Execution
            mathias@mongodb.com Mathias Stearn
            Votes:
            3 Vote for this issue
            Watchers:
            12 Start watching this issue

            Dates

              Created:
              Updated: