sqlObjectMapper
sqlObjectMapper
/
com.qualifiedcactus.sqlObjectMapper
/
NpStatement
/
useExecuteQuery
use
Execute
Query
fun
<
T
>
useExecuteQuery
(
resultSetToValue
:
(
rs
:
ResultSet
)
->
T
)
:
T
Execute the statement, execute
resultSetToValue
function and finally close the statement