Add feature to expose server-side functions in shell

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Done
    • Priority: Major - P3
    • 2.1.0
    • Affects Version/s: 1.6.1
    • Component/s: Shell
    • Fully Compatible
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Add a shell helper command to read and make available the server-side functions defined in the "system.js" collection.

      There are a few options:

      1.) When you "use database-name" it would read all the functions from the server and define them in the javascript shell.
      2.) Add a db.loadServerScripts() function to do 1
      3.) Add helper method to the functions to expose them in the shell

              Assignee:
              Kevin Matulef (Inactive)
              Reporter:
              Scott Hernandez (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: