No such thing as a small change | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I've been watching David Cross' "Database Programming with Perl and DBIx::Class" presentation
which has an example of an Artist who has many CD's and in slide 70 he inserts the associated cds with $bowie->add_to_cds{} Isn't there a way to insert a nested Artist hash which would include another hash with the artist's cds in one go, populating both the Artist and its related CDs table? I mean something like passing the nested Artist hash inside a create method which would then take care of inserting the data appropriately. In reply to DBIx::Class insert nested hash by Anonymous Monk
|
|