(Quick Reference)

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

def b = Book.get(1)

詳細
Description

パラメータ:

Parameters:
  • id - The id of the object to retrieve