<relationship> define a model relationship that creates a collection

name
relationship
xml namespace
http://moyaproject.com/db

Defines a relationship between two tables.

Example

<relationship name="links" model="#Link" orderby="-hotness"/>
attributes
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