Example for Create an MLE Environment
This example demonstrates the creation of myfactorialenv MLE environment and how to import the factorial_mod JavaScript module into this environment.
-
In the Connections panel, right-click MLE Environments and then click Create.
The Create panel appears.
-
In the MLE Environment Name field, enter a name for the environment, myfactorialenv.
The SQL pane displays the DDL code for the new MLE environment.
-
Click Apply.
An empty myfactorialenv environment is created and appears in the left pane under MLE Environments.
-
In the Connections panel, expand MLE Environments, right-click myfactorialenv and click Add Imports.
The Add Imports pane appears.
-
In Module Name field, select the module (factorial_mod) to import.
-
In Import Name field, enter a name for your import.
-
Click Apply.
To view the imported module, in the Connections panel, right click myfactorialenv and select Open. Three tabs are displayed for the MLE environment: Errors, Grants and SQL.
The imported module appears in the Imports panel.