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

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

    • Query Execution

      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).

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            3 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated: