Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: Search for ORM with Multi-Table-Object Support

by tospo (Hermit)
on May 03, 2012 at 09:42 UTC ( #968692=note: print w/replies, xml ) Need Help??


in reply to Re^2: Search for ORM with Multi-Table-Object Support
in thread Search for ORM with Multi-Table-Object Support

hmm, my post got lost, anyway, I was just saying that you can definitely do that.
You will want to provide a 'insert_xxx_object' method that knows how your object has to be broken up and issues all the create->()->create_related() calls to write them to the database. This one would go into a ResulSet class for your 'main' table (or any one of the tables that are involved in storing this object), which you may have to create first.
  • Comment on Re^3: Search for ORM with Multi-Table-Object Support

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://968692]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (9)
As of 2016-12-08 19:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (144 votes). Check out past polls.