Database/View/Super/VToolsObjectsTypes.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 15 CC 1 SCAR 6.9
CC
1
Cov
0%
load_objects_type
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Daje::Database::View::Super::VToolsObjectsTypes;
2 use Mojo::Base 'Daje::Database::Model::Super::Common::Base', -base, -signatures, -async_await;
3 use v5.40;
4  
5 # NAME
6 # ====
7 #
8 # Daje::Database::View::Super::VToolsObjects - It creates perl code
9 #
10 # SYNOPSIS
11 # ========
12 #
13 # use Daje::Database::View::Super::VToolsObjects;
14 #
15 # DESCRIPTION
16 # ===========
17 #
18 # Daje::Database::View::Super::VToolsObjects is a module that retrieves data from a View
19 #
20 # LICENSE
21 # =======
22 #
23 # Copyright (C) janeskil1525.
24 #
25 # This library is free software; you can redistribute it and/or modify
26 # it under the same terms as Perl itself.
27 #
28 # AUTHOR
29 # ======
30 #
31 # janeskil1525 E<lt>janeskil1525@gmail.comE<gt>
32 #
33  
34 has 'fields' => "tools_objects_pkey, name, active, type, tools_version_fkey, tools_projects_fkey";
35 has 'primary_keys' => "tools_objects_pkey";
36 has 'foreign_keys' => "tools_version_fkey, workflow_fkey, tools_projects_fkey";
37 has 'view_name' => "v_tools_objects_types";
38  
39  
40 sub load_objects_type($self, $type, $tools_projects_pkey, $tools_version_pkey) {
41 return $self->load_a_list(
42 $self->view_name(), $self->fields(),
43 {
44 tools_projects_fkey => $tools_projects_pkey,
45 tools_version_fkey => $tools_version_pkey,
46 type => $type,
47 }
48 );
49 }
50 1;
51 #################### pod generated by Pod::Autopod - keep this line to make pod updates possible ####################
52  
53 =head1 NAME
54  
55  
56 Daje::Database::View::Super::VToolsObjects - It creates perl code
57  
58  
59  
60 =head1 SYNOPSIS
61  
62  
63 use Daje::Database::View::Super::VToolsObjects;
64  
65  
66  
67 =head1 DESCRIPTION
68  
69  
70 Daje::Database::View::Super::VToolsObjects is a module that retrieves data from a View
71  
72  
73  
74 =head1 REQUIRES
75  
76 L<v5.40>
77  
78 L<Mojo::Base>
79  
80  
81 =head1 METHODS
82  
83 =head2 load_objects_type($self,
84  
85 load_objects_type($self,();
86  
87  
88 =head1 AUTHOR
89  
90  
91 janeskil1525 E<lt>janeskil1525@gmail.comE<gt>
92  
93  
94  
95 =head1 LICENSE
96  
97  
98 Copyright (C) janeskil1525.
99  
100 This library is free software; you can redistribute it and/or modify
101 it under the same terms as Perl itself.
102  
103  
104  
105 =cut
106