9 my $schema = DBICTest->init_schema();
11 my $cd_rs = $schema->resultset("CD")->search({ 'me.cdid' => 1 });
14 my $cd = $cd_rs->search( undef, {
15 cols => [ { name => 'artist.name' } ],
20 { $cd->get_inflated_columns },
21 { name => 'Caterwauler McCrae' },
22 'cols attribute still works',
24 }, qr/Resultset attribute 'cols' is deprecated/,
25 'deprecation warning when passing cols attribute');
28 my $cd = $cd_rs->search_rs( undef, {
29 include_columns => [ { name => 'artist.name' } ],
34 $cd->get_column('name'),
36 'include_columns attribute still works',
38 }, qr/Resultset attribute 'include_columns' is deprecated/,
39 'deprecation warning when passing include_columns attribute');