Hi
How I can read 2 rows returned from query using groovy
Thanks
println
"\n------------------------------Print Multiple Rows (using rows)----------------------------------------\n"
println
"ID NAME EMAIL"
def fetch = sql.rows(
"select * from users"
)
fetch.each { it ->
log.info
it.id +
" "
+ it.name +
" "
+it.email
}