MySQL Shell API 9.0.1
Unified development interface for MySQL Products
|
Gives access to system specific parameters. More...
Properties | |
Array | path |
Lists the search paths to load the JavaScript modules. More... | |
Array | argv |
Contains the list of arguments available during a script processing. More... | |
Gives access to system specific parameters.
Array path |
Lists the search paths to load the JavaScript modules.
When the shell is launched, this variable is initialized to
Users may change the sys.path variable at run-time.
If sys.path contains a relative path, its absolute path is resolved as a relative to the current working directory.
Array argv |
Contains the list of arguments available during a script processing.
When the shell is used to execute a script, the arguments passed to the shell after the script name will be considered script arguments and will be available during the script execution at sys.argv which will contain:
For example, given the following call:
The sys.argv array will contain: