Details

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

      Description

      See https://community.preside.org/t/create-a-bind-property-for-a-preside-object/68/3

      In preside objects, the ability to define a SQL formula for a field means that it will not be persisted to the DB, but when used in selectData fields, will be expanded to use its formula:

      ...
      property name="comments" relationship="one-to-many" relatedto="comment";
      property name="comment_count" type="numeric" formula="Count( ${prefix}comments.id )";
      ...
      

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                admin Dominic Watson
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: