GrowthForecast
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/GrowthForecast/Data.pm view on Meta::CPAN
$subtract = 0;
}
}
$dbh->commit;
$data->{subtract} = $subtract;
}
$self->inflate_row($data);
}
sub update {
my ($self, $service, $section, $graph, $number, $mode, $color, $timestamp ) = @_;
my $dbh = $self->dbh;
$dbh->begin_work;
my $for_update = ( $dbh->connect_info->[0] =~ /^(?i:dbi):mysql:/ ) ? ' FOR UPDATE' : '';
my $data = $self->dbh->select_row(
'SELECT * FROM graphs WHERE service_name = ? AND section_name = ? AND graph_name = ?' . $for_update,
$service, $section, $graph
);
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.622 second using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )