Hi Steve,
just use this Sql.execute method
https://docs.groovy-lang.org/latest/html/api/groovy/sql/Sql.html#execute(java.lang.String,groovy.lang.Closure)
to send arbitrary statements and decide by the isResultSet flag in the
closure whether you have to obtain a result set from a select query, or
Thanks Jörg,
Yes, that's one of the approaches I tried but the execute() method doesn't
appear to provide metadata (column names, types, etc) and my application needs
that information.
That's why my request was to either
- add the "hasResults" argument to the rows() and eachRow() methods