QuoteDB/Schema/FQMarket.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 18 / 18 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« QuoteDB/Schema.pm ↑ Summary QuoteDB/Schema/Quote.pm »
1 package Finance::QuoteDB::Schema::FQMarket;
2 1 ▶use base qw/DBIx::Class/;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 1 __PACKAGE__->load_components(qw/ PK::Auto Core /);
8 1 __PACKAGE__->table('FQMarket');
9 1 __PACKAGE__->add_columns ( marketID=> { data_type=>'integer',
10 is_nullable=>0,
11 is_auto_increment=>1,
12 default_value=>0
13 },
14 name=> { data_type=>'varchar',
15 size=>20,
16 is_nullable=>0,
17 is_auto_increment=>0,
18 default_value=>''
19 }
20 );
21  
22 1 __PACKAGE__->set_primary_key('marketID');
23 1 __PACKAGE__->has_many('symbols'=>'Finance::QuoteDB::Schema::Symbol','fqmarket');
24  
25 =head1 COPYRIGHT & LICENSE
26  
27 Copyright 2008-2011 Erik Colson, all rights reserved.
28  
29 This file is part of Finance::QuoteDB.
30  
31 Finance::QuoteDB is free software: you can redistribute it and/or
32 modify it under the terms of the GNU General Public License as
33 published by the Free Software Foundation, either version 3 of the
34 License, or (at your option) any later version.
35  
36 Finance::QuoteDB is distributed in the hope that it will be useful,
37 but WITHOUT ANY WARRANTY; without even the implied warranty of
38 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
39 General Public License for more details.
40  
41 You should have received a copy of the GNU General Public License
42 along with Finance::QuoteDB. If not, see
43 <http://www.gnu.org/licenses/>.
44  
45 =cut
46  
47 1 1;
« QuoteDB/Schema.pm ↑ Summary QuoteDB/Schema/Quote.pm »