Defines a relationship between two tables.
<relationship name="links" model="#Link" orderby="-hotness"/>
name | purpose | type | required? | default | choices |
---|---|---|---|---|---|
backref |
Backref | text | No | ||
model |
Model | text | Yes | ||
name |
Name of the relationship | text | Yes | ||
orderby |
Order by | comma list | No | ||
search |
DB query referencing search field q | database expression | No |