This API executes a prepared statement. It should be be called after parameter binding.
The API can also be called in the form of a method attached to a statement object as follows: stmt.execute().
- Handle from a prepared statement. This parameter can be omitted if the API is called as a statement method.
SQL diagnostics are reported in the SQLCA:
SQLCA fields are defined in Profound.js programs with the names in lowercase. sqlcode will be set to zero if execution was successful.
When using an IBM i database, this API requires the Profound.js Connector module.