11 my $schema = DBICTest->init_schema();
12 my $artist_rs = $schema->resultset('Artist');
13 my $cd_rs = $schema->resultset('CD');
18 $cd = $cd_rs->search({ year => {'=' => 1999}})->create
20 artist => {name => 'Guillermo1'},
21 title => 'Guillermo 1',
28 my $dt = Math::BigInt->new(2006);
32 $cd = $cd_rs->search({ year => $dt})->create
34 artist => {name => 'Guillermo2'},
35 title => 'Guillermo 2',
45 $artist = $artist_rs->search({ name => {'!=' => 'Killer'}})
46 ->create({artistid => undef});
48 is($artist->name, undef);
55 $artist = $artist_rs->search({ name => [ qw(some stupid names here) ]})
56 ->create({artistid => undef});
58 is($artist->name, undef);