| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package DBIx::QuickORM::Role::Type; |
|
2
|
7
|
|
|
7
|
|
353345
|
use strict; |
|
|
7
|
|
|
|
|
21
|
|
|
|
7
|
|
|
|
|
339
|
|
|
3
|
7
|
|
|
7
|
|
42
|
use warnings; |
|
|
7
|
|
|
|
|
16
|
|
|
|
7
|
|
|
|
|
720
|
|
|
4
|
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
our $VERSION = '0.000019'; |
|
6
|
|
|
|
|
|
|
|
|
7
|
7
|
|
|
7
|
|
54
|
use Carp qw/croak/; |
|
|
7
|
|
|
|
|
18
|
|
|
|
7
|
|
|
|
|
519
|
|
|
8
|
|
|
|
|
|
|
|
|
9
|
7
|
|
|
7
|
|
48
|
use Role::Tiny; |
|
|
7
|
|
|
|
|
19
|
|
|
|
7
|
|
|
|
|
72
|
|
|
10
|
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
requires qw{ |
|
12
|
|
|
|
|
|
|
qorm_inflate |
|
13
|
|
|
|
|
|
|
qorm_deflate |
|
14
|
|
|
|
|
|
|
qorm_compare |
|
15
|
|
|
|
|
|
|
qorm_affinity |
|
16
|
|
|
|
|
|
|
qorm_sql_type |
|
17
|
|
|
|
|
|
|
}; |
|
18
|
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub qorm_register_type { |
|
20
|
0
|
|
|
0
|
0
|
|
my $this = shift; |
|
21
|
0
|
|
0
|
|
|
|
my $class = ref($this) || $this; |
|
22
|
0
|
|
|
|
|
|
croak "'$class' does not implement qorm_register_type() and cannot be used with autotype()"; |
|
23
|
|
|
|
|
|
|
} |
|
24
|
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
1; |