exists
目的 Purpose
Checks whether an instance exists for the specified id使用例 Examples
def accountId = … if (Account.exists(accountId)) { // do something }
詳細 Description
パラメータ: Parameters:
id
- The id of the object
(Quick Reference)
exists目的 Checks whether an instance exists for the specified id |
Command LineConstraintsControllersDatabase MappingDomain ClassesPlug-insServicesServlet APITag LibrariesTags |