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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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   7858 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