Checks if the given entityName and id exists in the database
This function returns boolean
Key
Type
Required
Default
Description
entityName
any
Yes
---
id
if( ormService.exists("Account",123) ){ // do something }
Last updated 7 years ago
Was this helpful?