This section provides reference information for the SQL and result set API supported by JavaScript stored routines in the MLE Component.
The API supports the top-level objects listed here:
Column
: Result set column metadata.PreparedStatement
: Handler for execution of prepared statements.Row
: Row in a result set.Session
: MySQL user session.SqlExecute
: Handler for execution of (simple) SQL statements. Itsexecute()
method executes an SQL statement.SqlResult
: Result set returned by an SQL statement.Warning
: Warning raised by statement execution.
The SQL API can be used only within JavaScript stored routines, and cannot be used within JavaScript stored functions.