ResultSet

postgres.ql

Constructor Overview

Function Overview

Function Description
native fun hasNext() Checks if there are more rows to fetch, and moves the ResultSet to the next row.
native fun getValue(column) Gets the value from the current row by either the column name or index.
native fun close() Closes the ResultSet, freeing it from memory. NOTE: This also closes the resulting statement, if it is not a PreparedStatement

Constructors

ResultSet(metadata, _resultSet, _statement) link

Functions

native fun hasNext() link

Checks if there are more rows to fetch, and moves the ResultSet to the next row.

Returns boolean

If there are more rows to fetch

postgres:postgres.ql
native fun getValue(column) link

Gets the value from the current row by either the column name or index.

Params
column

The column name or 0-indexed index to get the value from

Returns

The value of the column

postgres:postgres.ql
native fun close() link

Closes the ResultSet, freeing it from memory.

NOTE: This also closes the resulting statement, if it is not a PreparedStatement

postgres:postgres.ql