0

Short question:

How do I get the row number as an extra column in grails criteria?

I could only find rowCount which is not what I need

Bernhard
  • 444
  • 1
  • 4
  • 19

1 Answers1

0

Just iterate your result set with eachWithIndex.

zoran119
  • 10,657
  • 12
  • 46
  • 88