Documentation Home
MySQL 9.1 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 40.3Mb
PDF (A4) - 40.4Mb
Man Pages (TGZ) - 259.3Kb
Man Pages (Zip) - 366.4Kb
Info (Gzip) - 4.0Mb
Info (Zip) - 4.0Mb


MySQL 9.1 Reference Manual  /  ...  /  JavaScript SQL API

27.3.6 JavaScript SQL API

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. Its execute() 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.