Re: SQL enhancement request

2024-03-22 Thread Jörg Prante
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

RE: SQL enhancement request

2024-03-22 Thread steve.etchelecu
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