postgres.ql
A set of results from a database query.
| 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 | Metadata for this ResultSet. |
| java _resultSet | The internal result set. ResultSet |
| java _statement |
Checks if there are more rows to fetch, and moves the ResultSet to the next row.
If there are more rows to fetch
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