groovy sql eachRow and rows method

后端 未结 3 1500
北荒
北荒 2021-02-08 13:38

I am new to grails and groovy. Can anyone please explain to me the difference between these two groovy sql methods

sql.eachRow
sql.rows

Also, w

3条回答
  •  粉色の甜心
    2021-02-08 14:07

    They differ in signature only - both support result sets paging, so both will be efficient. Use whichever fits your code.

提交回复
热议问题