Help for this page

Select Code to Download


  1. or download this
      Music::Artist->set_sql(most_cds => qq{
        SELECT artist.id, COUNT(cd.id) AS cds
    ...
      });
    
      my @artists = Music::Artist->search_most_cds();
    
  2. or download this
      __PACKAGE__->columns(TEMP => qw/cds/);
    
  3. or download this
    $VAR1 = bless( { '__triggers' => {}, '_class_trigger_results' => [], '
    +id' => '1' }, 'Music::Artist' ); 
    $VAR2 = bless( { '__triggers' => {}, '_class_trigger_results' => [], '
    +cds' => '2', 'id' => '2' }, 'Music::Artist' );