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.

Archive

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

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

Joins


Reply

707 Views

Avatar
UncleCheese

11 September 2008 at 7:11am 4085 Posts

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?