MySQL Shell API 8.4.3
Unified development interface for MySQL Products
|
Gives access to functions which allow to interact with the operating system. More...
Methods | |
String | getcwd () |
Retrieves the absolute path of the current working directory. More... | |
String | getenv (String name) |
Retrieves the value of the specified environment variable. More... | |
String | loadTextFile (String path) |
Reads the contents of a text file. More... | |
Undefined | sleep (Number seconds) |
Stops the execution for the given number of seconds. More... | |
Properties | |
Path | path |
Gives access to path-related functions. | |
Gives access to functions which allow to interact with the operating system.
String getcwd | ( | ) |
Retrieves the absolute path of the current working directory.
String getenv | ( | String | name | ) |
Retrieves the value of the specified environment variable.
name | The name of the environment variable. |
String loadTextFile | ( | String | path | ) |
Reads the contents of a text file.
path | The path to the file to be read. |
RuntimeError | If the specified file does not exist. |
Undefined sleep | ( | Number | seconds | ) |
Stops the execution for the given number of seconds.
seconds | The number of seconds to sleep for. |