Database/View/Super/vMailSettingsList.pm untested

filter: Statementstmt 0.0% 0 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 19 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Daje::Database::View::Super::vMailSettingsList;
2 use Mojo::Base 'Daje::Database::Model::Super::Common::Base', -base, -signatures, -async_await;
3 use v5.42;
4  
5 # NAME
6 # ====
7 #
8 # Daje::Database::View::Super::vMailSettingsList - Daje db view
9 #
10 # SYNOPSIS
11 # ========
12 #
13 #
14 # use Daje::Database::View::Super::vMailSettingsList;
15 #
16 # my $table = Daje::Database::View::Super::vMailSettingsList->new(db => $db);
17 #
18 # my $result = $table->load_mail_settings_pkey($self, $mail_settings_pkey);
19 #
20 # my $result = $table->load_mail_companies_fkey($self, $mail_companies_fkey);
21 ##
22 # my $result = $table->insert($self, $data);
23 #
24 # $table->update($self, $data) ;
25 #
26 #
27 # DESCRIPTION
28 # ===========
29 #
30 # Daje::Database::View::Super::MailSettingsList is a Model super class
31 #
32 # METHODS
33 # =======
34 #
35 #
36 # LICENSE
37 # =======
38 #
39 # Copyright (C) janeskil1525.
40 #
41 # This library is free software; you can redistribute it and/or modify
42 # it under the same terms as Perl itself.
43 #
44 # AUTHOR
45 # ======
46 #
47 # janeskil1525 E<lt>janeskil1525@gmail.com
48 #
49  
50 # This file is generated automatically by Daje Tools 2026-02-13 15:59:43.
51 # It will be re-created by Daje Tools again and any changes
52 # will be over written.
53 #
54 # <!-- Autogenerated file 2026-02-13 15:59:43 -->
55  
56 our $VERSION = '0.01';
57  
58 has 'fields' => '"mail_settings_pkey", "editnum", "insby", "insdatetime", "modby", "moddatetime","host","port","username","password",
59 "companies_companies_fkey"';
60 has 'primary_key_name' => "mail_settings_pkey";
61 has 'table_name' => "v_mail_settings_list";
62  
63 async sub load_all_companies_companies_list_p($self) {
64 return $self->load_all_companies_companies_list();
65 }
66  
67 sub load_all_companies_companies_list($self) {
68 return $self->load_a_full_list(
69 $self->table_name, $self->fields()
70 );
71 }
72  
73 async sub load_companies_companies_list_p($self, $key_value) {
74 return $self->load_mail_companies_list($key_value);
75 }
76  
77 sub load_companies_companies_list($self, $key_value) {
78 return $self->load_a_list(
79 $self->table_name, $self->fields(), $key_value
80 );
81 }
82 async sub load_all_mail_settings_p($self) {
83 return $self->load_all_mail_settings();
84 }
85  
86 sub load_all_mail_settings($self) {
87 return $self->load_a_full_list(
88 $self->table_name, $self->fields()
89 );
90 }
91 1;
92  
93