Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Simple Query to display data from table


Go to End


9 Posts   6401 Views

Avatar
Hamish

Community Member, 712 Posts

2 September 2009 at 12:23pm

The tutorials, in particular Tutorial 5 deals explicitly with Dataobject Relationship Management.

It explains very clearly what the correct techniques are for handling "1 to 1", '1 to many" and "many to many" database relationships, how to set these up in the CMS, how to handle them in your pages and provides example code for you to play with.

Go to Top