Get the metadata for the java.sql.ResultSet that underlies this SqlResult
Get the metadata for the java.sql.ResultSet that underlies this SqlResult
the metadata
Get the number of the row the SqlResult is currently on
Get the number of the row the SqlResult is currently on
the current row number
Determine if the result set contains the given column name
Determine if the result set contains the given column name
the column name to check
whether or not the result set contains that column name
Determine if the last value extracted from the result set was null
Determine if the last value extracted from the result set was null
whether the last value was null
The SqlResult class is a wrapper around Java's ResultSet class.
It provides methods to allows users to retrieve specific columns by name and datatype, but also provides methods that can, given a RowParser, parse the entire result set as a collection of records returned by the parser. These methods are also defined in the Sql trait, and are most conveniently used when chained with parameter insertion. For how to do this, see the Sql trait documentation.
The extraction methods (int, string, long, etc.) also have "strict" counterparts. The "strict" methods are slightly faster, but do not do type checking or handle null values.