postgres.ql
| Constructor | Description |
|---|---|
| ResultSet(metadata, _resultSet, _statement) |
| 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 |
| Field | Description |
|---|---|
| ResultMetadata metadata | |
| java _resultSet | The internal result set. ResultSet |
| java _statement |
Gets the value from the current row by either the column name or index.
column
|
The column name or 0-indexed index to get the value from |
The value of the column
Closes the ResultSet, freeing it from memory.
NOTE: This also closes the resulting statement, if it is not a PreparedStatement