We're updating the issue view to help you get more done.Learn more

Formula fields

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:

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

Status

Assignee

Unassigned

Reporter

Dominic Watson

Accepted

Yes

Fix versions

Priority

Medium