Using JavaScript Modules in MLE

JavaScript modules can be used in several different ways and can be managed using a set of Data Definition Language (DDL) commands.

JavaScript code provided in MLE modules can be used in the following ways:

  • A JavaScript function exported by an MLE module can be published by creating a call specification known as an MLE module call. This allows the function to be called directly from SQL and PL/SQL.

  • Functionality exported by a JavaScript MLE module can be imported in other MLE JavaScript modules.

  • Code snippets in DBMS_MLE can import modules for dynamic invocation of JavaScript.

Before a user can create and execute MLE modules, several privileges must be granted.

See Also:

Topics