klyn.databases.sql.Statement.execute
method
public execute(sql as String) as Boolean throws SQLException
Description

Executes any SQL statement. Returns true if results are available.

import klyn.databases.sql

hasRows = statement.execute("select 1")
Throws
  • SQLException if the SQL operation cannot be completed because parameters, state, protocol data, or the database response are invalid.