Question
How to define a Parent/Child relationship with CF9 ORM
Hi,
a rather simple database scheme
Object {
id,
name
}
ObjectRelation {
parentID, -- points to id in the Object table
childID -- points to id in the Object table
}
how would i define an Object Model component with properties
component {
property "name"
property "children"
property "parent"
}
obviously root object(s) don't have any parent elements.
