DBIO-SQLite
view release on metacpan or search on metacpan
t/101populate_rs.t view on Meta::CPAN
my ($cd1, $cd2) = $girl->cds->search({},{order_by=>'year'});
ok( $cd1->title eq "My First CD", "Got Expected CD Title");
ok( $cd2->title eq "Yet More Tweeny-Pop crap", "Got Expected CD Title");
}
HAS_MANY_WITH_PKS: {
## This group tests the ability to specify the PK in the parent and let
## DBIO transparently pass the PK down to the Child and also let's the
## child create any other needed PK's for itself.
my $aid = $art_rs->get_column('artistid')->max || 0;
my $first_aid = ++$aid;
my $artists = [
{
artistid => $first_aid,
name => 'PK_Angsty-Whiny Girl',
( run in 0.550 second using v1.01-cache-2.11-cpan-600a1bdf6e4 )