Thread DBIx::Class - Weitere Spalten in Relationstabellen (3 answers)
Opened by Cremator at 2009-01-16 11:07

renee
 2009-01-16 13:24
#118080 #118080
User since
2003-08-04
14371 Artikel
ModeratorIn
[Homepage] [default_avatar]
Verwende am besten create_related:

Code (perl): (dl )
1
2
3
4
5
6
my $ding = $schema->resultset('ding')->create({
    name       => 'testding',
});
$ding->update();

$ding->create_related( 'groesse_has_ding', { idgroesse => 1, preis => 100 } );
OTRS-Erweiterungen (http://feature-addons.de/)
Frankfurt Perlmongers (http://frankfurt.pm/)
--

Unterlagen OTRS-Workshop 2012: http://otrs.perl-services.de/workshop.html
Perl-Entwicklung: http://perl-services.de/

View full thread DBIx::Class - Weitere Spalten in Relationstabellen