Eve/PgSqlType/Bigint.pm

filter: Statementstmt 100% 3 / 3 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 4 / 4 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« Eve/PgSqlType/Array.pm ↑ Summary Eve/PgSqlType/Boolean.pm »
1 package Eve::PgSqlType::Bigint;
2  
3 1 ▶use parent qw(Eve::PgSqlType::DriverNative);
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 use strict;
6 use warnings;
7  
8 use DBD::Pg ();
9  
10 =head1 NAME
11  
12 B<Eve::PgSqlType::Bigint> - a PostgreSQL bigint type.
13  
14 =head1 SYNOPSIS
15  
16 my $bigint = Eve::PgSqlType::Bigint->new();
17 $bigint->serialize(value => 123);
18  
19 =head1 DESCRIPTION
20  
21 B<Eve::PgSqlType::Bigint> is a PostgreSQL bigint type adapter class.
22  
23 =head1 METHODS
24  
25 =head2 B<get_type()>
26  
27 =head3 Returns
28  
29 The PG_INT8 type.
30  
31 =cut
32  
33 sub get_type {
34 return DBD::Pg::PG_INT8;
35 }
36  
37 =head1 SEE ALSO
38  
39 =over 4
40  
41 =item L<DBD::Pg>
42  
43 =item L<Eve::PgSqlType::DriverNative>
44  
45 =back
46  
47 =head1 LICENSE AND COPYRIGHT
48  
49 Copyright 2012 Igor Zinovyev.
50  
51 This program is free software; you can redistribute it and/or modify it
52 under the terms of either: the GNU General Public License as published
53 by the Free Software Foundation; or the Artistic License.
54  
55 See http://dev.perl.org/licenses/ for more information.
56  
57  
58 =head1 AUTHOR
59  
60 =over 4
61  
62 =item L<Sergey Konoplev|mailto:gray.ru@gmail.com>
63  
64 =back
65  
66 =cut
67  
68 1;
« Eve/PgSqlType/Array.pm ↑ Summary Eve/PgSqlType/Boolean.pm »