Welcome Guest, Not a member yet? Register   Sign In
Performing a complex select with Datamapper ORM
#1

Hello,

I'm using the DataMapper framework for ORM and I have this structure in my database:

A has many B
B has many C

And I need to get all the C rows related to an A object.

I tried to get all the B related to A, then iterate over these B's to get the C's, but I don't know if this is the right way.

Could you, please, help me in this task?

Thank you!
Reply




Theme © iAndrew 2016 - Forum software by © MyBB