selectData()
Overview
public any function selectData(
required string objectName
, required array expressionArray
, boolean distinct = true
, boolean forceDistinct = false
)
Selects data from the given object and filtering by the expression array (rules engine condition). All extra arguments will be passed on to the Preside Object Service selectData() method.
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
| objectName | string | Yes | The name of the object to select data from |
| expressionArray | array | Yes | Cofigured expression array of the condition to prepare a filter for |
| distinct | boolean | No (default=true) | |
| forceDistinct | boolean | No (default=false) |