Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-302

When the user wants to execute an empty query, pop up a warning box that this is not ideal

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.19.1
    • None
    • Query Bar
    • None
    • 1
    • Compass Sprint Echidna, Compass Sprint Flamingo

    Description

      Broken off from COMPASS-291 and should be implemented after that.

      Show a modal popup to warn the user when they try to run an empty explain {} because that is potentially very expensive on the database and we already know the result: a collection scan.

      Acceptance Criteria:

      • When the user enters an empty query (or uses the default empty query) and hits apply, a modal window should appear with a warning text and 2 buttons, cancel/continue. Only when the user presses continue should the explain be executed.

      Attachments

        Activity

          People

            Unassigned Unassigned
            thomas.rueckstiess@mongodb.com Thomas Rueckstiess
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: