What persistance mech are you using Mapper or JPA? The solution
differs depending on your choice.
Cheers, Tim
On May 27, 10:38 pm, Joe Wass j...@folktunefinder.com wrote:
Is there an idiomatic way to represent the following? I've done it
many times before manually in PHP, but never with ORM.
Mapper (by default)
On May 27, 11:03 pm, Timothy Perrett timo...@getintheloop.eu wrote:
What persistance mech are you using Mapper or JPA? The solution
differs depending on your choice.
Cheers, Tim
On May 27, 10:38 pm, Joe Wass j...@folktunefinder.com wrote:
Is there an idiomatic way to
So your saying you want a one to many join:
1 school has many subjects?
You can of course do this with mapper, by default mapper is not a black box
full of magic like, say, Ruby's active record, so you need to fit some of
the convenience method plumbing yourself if you need it.
Assuming you
Yes, that was the missing link (I think), thank you.
I did do a fair amount of RoR two years ago, so I may have forgotten
it all but the expectation of magic is still there!
Joe
On May 27, 11:28 pm, Timothy Perrett timo...@getintheloop.eu wrote:
So your saying you want a one to many join: