Welcome Guest, Not a member yet? Register   Sign In
Datamapper object to_array() - including related objects
#1

[eluser]Unknown[/eluser]
Hello,

When you include a related object as a field in the parameters the related object is returned as an array of its id's. This is the intended behaviour of datamapper, however is it possible to instead output the full object?

Thanks,

Jonathan





Theme © iAndrew 2016 - Forum software by © MyBB