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

Support for load() in compass shell

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Embedded Shell
    • None
    • 3
    • Iteration Xylocarpus Granatum

      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.

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

              Created:
              Updated: