def b = Book.get(1)
get
Purpose
Retrieves an instance of the domain class for the specified id. null
is returned if the row with the specified id doesn’t exist.
Examples
Description
Parameters:
-
id
- The id of the object to retrieve
(Quick Reference)
getPurposeRetrieves an instance of the domain class for the specified id. Examples
DescriptionParameters:
|
Command LineConstraintsControllersDatabase MappingDependency VersionsDomain ClassesPlug-insServlet API |