Jump to:

17452 Posts in 4473 Topics by 1971 members


SilverStripe Forums » Archive » Joins

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

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

Page: 1
Go to End
Author Topic: 697 Views
  • UncleCheese
    4085 Posts

    Joins Link to this post

    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?

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.