Crop/Object/Warehouse/Lang/SQL/Query/Select/Node/Cross.pm untested

filter: Statementstmt 0.0% 0 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 26 CC 1 SCAR 6.9
CC
1
Cov
0%
parse_row
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Crop::Object::Warehouse::Lang::SQL::Query::Select::Node::Cross;
2 use base qw/ Crop::Object::Warehouse::Lang::SQL::Query::Select::Node /;
3  
4 =begin nd
5 Class: Crop::Object::Warehouse::Lang::SQL::Query::Select::Node::Cross
6 Cross node.
7 =cut
8  
9 use v5.14;
10 use warnings;
11  
12 use Crop::Error;
13  
14 use Crop::Debug;
15  
16 =begin nd
17 Method: parse_row ($row)
18 Handle row of the raw data from database and put object to the right place.
19
20 Parameters:
21 $row - hashref to the entire row
22 =cut
23 sub parse_row {
24 my ($self, $row) = @_;
25
26 my $content = $self->{child}->First;
27 $self->{parent}->make_collection(@{$content}{qw/ parent_view class /});
28 }
29  
30 1;