exists

Checks if the given entityName and id exists in the database

Returns

  • This function returns boolean

Arguments

Examples

if( ormService.exists("Account",123) ){
 // do something
}

Last updated