The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
package Tapper::Schema::ReportsDB::ResultSet::ReportgroupTestrun;
BEGIN {
  $Tapper::Schema::ReportsDB::ResultSet::ReportgroupTestrun::AUTHORITY = 'cpan:AMD';
}
{
  $Tapper::Schema::ReportsDB::ResultSet::ReportgroupTestrun::VERSION = '4.1.1';
}

use strict;
use warnings;

use parent 'DBIx::Class::ResultSet';


sub groupreports {
        my ($self) = @_;

        $self->search({}, {rows => 1})->first->groupreports;
}

1;

__END__
=pod

=encoding utf-8

=head1 NAME

Tapper::Schema::ReportsDB::ResultSet::ReportgroupTestrun

=head2 groupreports

Return the group of all reports belonging to the first testrun of
current result set.

=head1 AUTHOR

AMD OSRC Tapper Team <tapper@amd64.org>

=head1 COPYRIGHT AND LICENSE

This software is Copyright (c) 2012 by Advanced Micro Devices, Inc..

This is free software, licensed under:

  The (two-clause) FreeBSD License

=cut