klyn.databases.sql.Statement.getResultSet
method

    public getResultSet() as ResultSet throws SQLException

Description

Returns the current result set from the last `execute(...)` call, or `null` when the last execution did not produce rows.

    import klyn.databases.sql

    if statement.execute("select 1"):
    rows = statement.getResultSet()

Throws

- SQLException if the SQL operation cannot be completed because parameters, state, protocol data, or the database response are invalid.