executeQuery
fun <M, R> executeQuery(sql: String, params: Map<String, Any?>, rowMapper: RowMapper<M>, options: InternalQueryOptions, transform: (List<M>) -> DataResult<R>): DataResult<R>
Executes a query that returns a list of results and transforms them.