Documentation Home
MySQL 9.0 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 39.9Mb
PDF (A4) - 40.0Mb
Man Pages (TGZ) - 258.2Kb
Man Pages (Zip) - 365.4Kb
Info (Gzip) - 4.0Mb
Info (Zip) - 4.0Mb


MySQL 9.0 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.