exists
Purpose
Checks whether an instance exists for the specified id and returns true if it doesExamples
if(Account.exists(1)) { // do something }
Description
Parameters:id
- The id of the object
(Quick Reference)
existsPurposeChecks whether an instance exists for the specified id and returns true if it doesExamplesif(Account.exists(1)) { // do something } DescriptionParameters:
|
Command LineConstraintsControllersDatabase MappingDomain ClassesPlug-insServicesServlet APITag LibrariesTags |