Eve/PgSqlType/Double.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/Boolean.pm ↑ Summary Eve/PgSqlType/DoubleArray.pm »
1 package Eve::PgSqlType::Double;
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::Double> - a PostgreSQL double precision float type.
13  
14 =head1 SYNOPSIS
15  
16 my $double = Eve::PgSqlType::Double->new();
17 $double->serialize(value => 3.14);
18  
19 =head1 DESCRIPTION
20  
21 B<Eve::PgSqlType::Double> is a PostgreSQL double precision floating
22 point type adapter class.
23  
24 =head1 METHODS
25  
26 =head2 B<get_type()>
27  
28 =head3 Returns
29  
30 The PG_FLOAT8 type.
31  
32 =cut
33  
34 sub get_type {
35 return DBD::Pg::PG_FLOAT8;
36 }
37  
38 =head1 SEE ALSO
39  
40 =over 4
41  
42 =item L<DBD::Pg>
43  
44 =item L<Eve::PgSqlType::DriverNative>
45  
46 =back
47  
48 =head1 LICENSE AND COPYRIGHT
49  
50 Copyright 2012 Igor Zinovyev.
51  
52 This program is free software; you can redistribute it and/or modify it
53 under the terms of either: the GNU General Public License as published
54 by the Free Software Foundation; or the Artistic License.
55  
56 See http://dev.perl.org/licenses/ for more information.
57  
58  
59 =head1 AUTHOR
60  
61 =over 4
62  
63 =item L<Igor Zinovyev|mailto:zinigor@gmail.com>
64  
65 =back
66  
67 =cut
68  
69 1;
« Eve/PgSqlType/Boolean.pm ↑ Summary Eve/PgSqlType/DoubleArray.pm »