NAME
CPAN::Testers::Schema::Result::TestReport - Raw reports as JSON documents
VERSION
version 0.020
SYNOPSIS
my $schema = CPAN::Testers::Schema->connect( $dsn, $user, $pass );
# Retrieve a row
my $row = $schema->resultset( 'TestReport' )->first;
DESCRIPTION
This table contains the raw reports as submitted by the tester. From this, the statistics table is generated by CPAN::Testers::Backend::ProcessReports.
ATTRIBUTES
id
The UUID of this report stored in standard hex string representation.
created
The ISO8601 date/time of when the report was inserted into the database. Will default to the current time.
report
The full JSON report.
XXX: Describe the format a little and link to the main schema OpenAPI format on http://api.cpantesters.org
The serializer for this column will convert UTF-8 characters into their corresponding \u####
escape sequence, so this column is safe for tables with Latin1 encoding.
METHODS
new
Create a new object. This is called automatically by the ResultSet object and should not be called directly.
This is overridden to provide sane defaults for the id
and created
fields.
upload
my $upload = $row->upload;
Get the associated CPAN::Testers::Schema::Result::Upload object for the distribution tested by this test report.
SEE ALSO
DBIx::Class::Row, CPAN::Testers::Schema
AUTHORS
Oriol Soriano <oriolsoriano@gmail.com>
Doug Bell <preaction@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2017 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.