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:

Archive /

Our old forums are still available as a read-only archive.

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

Joins


Go to End


863 Views

Avatar
UncleCheese

Forum Moderator, 4102 Posts

11 September 2008 at 7:11am

When I do a join in my DataObject::get(), it returns a DataObjectSet of only the main table specified in the first argument. I therefore don't have access to the fields that are on the joined table.

Am I doing something wrong? What is the point of using a join if I don't get the additional fields in my template?