Uploaded image for project: 'PresideCMS'
  1. PRESIDECMS-1134

Select formula fields in addition to "all" fields in selectData()

    Details

    • Type: Improvement
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects versions: None
    • Fix versions: 10.9.0
    • Labels:
      None
    • Sprint:
    • Accepted:
      Yes

      Description

      Deprecating the use of selectFields = [ "*", ... ]

      Add the following arguments to selectData():

      extraSelectFields (array)
      This will add specific extra fields to the select query in addition to what is defined in selectFields.

      So, if selectFields is empty, and a formula field is specified in extraSelectFields, the query will return all the physical fields from the object in addition to the formula field.

      includeAllFormulaFields (boolean)
      If true, all formula fields for the specified object will be appended to the query.

        Attachments

          Activity

            People

            • Assignee:
              seb.duggan Seb Duggan
              Reporter:
              seb.duggan Seb Duggan
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: