Datamapper advanced relationship question |
[eluser]WanWizard[/eluser]
With 'children' you mean values? Assuming that you have a model Location, and a model Sublocation, and a one-to-many relation between the two, you use Code: // get the 'cavern' location Start reading here, and then use the 'next topic' link in the footer to go to the next page. It will explain how relations are defined, and how you access them. |
Messages In This Thread |
Datamapper advanced relationship question - by El Forum - 05-15-2012, 10:02 AM
Datamapper advanced relationship question - by El Forum - 05-15-2012, 11:20 AM
Datamapper advanced relationship question - by El Forum - 05-15-2012, 01:21 PM
Datamapper advanced relationship question - by El Forum - 05-15-2012, 02:06 PM
|