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

NameTypeRequiredDescription
objectNamestringYesThe name of the object to select data from
expressionArrayarrayYesCofigured expression array of the condition to prepare a filter for
distinctbooleanNo (default=true)
forceDistinctbooleanNo (default=false)