dataExists()
Overview
public boolean function dataExists(
required string objectName
)
Returns true if records exist that match the supplied fillter, false otherwise.
Info
In addition to the named arguments here, you can also supply any valid arguments that can be supplied to the selectData() method
Arguments
Name | Type | Required | Description |
---|---|---|---|
objectName | string | Yes | Name of the object in which the records may or may not exist |
Example
eventsExist = presideObjectService.dataExists(
objectName = "event"
, filter = { category = rc.category }
);