(Quick Reference)

countAll

Purpose

This method is deprecated. Use count() instead

Counts all of the domain class instances for the specified query

Examples

// count by query
Book.countAll([author:'Dan Brown'])

Description

The basic syntax for the method is:

Book.countAll(Map query)

Parameters: