CPAN::Testers::Schema::ResultSet::TestReport - Query the raw test reports
version 0.025
my $rs = $schema->resultset( 'TestReport' ); $rs->insert_metabase_fact( $fact );
This object helps to insert and query the raw test reports.
my $rs = $rs->dist( 'Perl 5', 'CPAN-Testers-Schema' ); my $rs = $rs->dist( 'Perl 5', 'CPAN-Testers-Schema', '0.012' );
Fetch reports only for the given distribution, optionally for the given version. Returns a new CPAN::Testers::Schema::ResultSet::TestReport object that will only return reports with the given data.
CPAN::Testers::Schema::ResultSet::TestReport
This can be used to scan the full reports for specific data.
my $row = $rs->insert_metabase_fact( $fact );
Convert a Metabase::Fact object to the new test report structure and insert it into the database. This is for creating backwards-compatible APIs.
CPAN::Testers::Schema::Result::TestReport, DBIx::Class::ResultSet, CPAN::Testers::Schema
Oriol Soriano <oriolsoriano@gmail.com>
Doug Bell <preaction@cpan.org>
This software is copyright (c) 2018 by Oriol Soriano, Doug Bell.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install CPAN::Testers::Schema, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CPAN::Testers::Schema
CPAN shell
perl -MCPAN -e shell install CPAN::Testers::Schema
For more information on module installation, please visit the detailed CPAN module installation guide.