int bookCount = Book.count()
count
Purpose
Returns the total number of rows in the domain class table
(Quick Reference)
countPurposeReturns the total number of rows in the domain class table Examples
|
Command LineConstraintsControllersDatabase MappingDomain ClassesPlug-insServicesServlet API |