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

Support for load() in compass shell

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Embedded Shell
    • None
    • 3
    • Iteration Xylocarpus Granatum

    Description

      Support loading files from disk using `load()` in the Compass shell. The onLoad() method needs to be filled out for the evaluation listener in use; it should only allow absolute paths.

      The __filename and __dirname methods should be set similar to what was implemented in MONGOSH-386, using the same code structure.

      Attachments

        Activity

          People

            Unassigned Unassigned
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: