This class defines all the new SQL-related groovy methods which enhance the normal JDK SQL classes when inside the Groovy environment. Static methods are used with the first parameter the destination class.
| Type Params | Return Type | Name and description | 
|---|---|---|
|  | static boolean | asBoolean(GroovyResultSet grs)Coerce a GroovyResultSet to a boolean value. | 
|  | static Iterator<ResultSetMetaDataWrapper> | iterator(ResultSetMetaData resultSetMetaData)Return an Iterator given a ResultSetMetaData. | 
|  | static GroovyRowResult | toRowResult(ResultSet rs)Returns a GroovyRowResult given a ResultSet. | 
|  | static Timestamp | toTimestamp(Date d)Return a java.sql.Timestamp given a java.util.Date. | 
Coerce a GroovyResultSet to a boolean value. A GroovyResultSet is coerced to false if there are no more rows to iterate over, and to true otherwise.
grs -  the GroovyResultSetReturn an Iterator given a ResultSetMetaData. Enables Groovy collection method syntactic sugar on ResultSetMetaData.
resultSetMetaData -  the ResultSetMetaData to iterate overReturns a GroovyRowResult given a ResultSet.
rs -  a ResultSet