File Coverage

blib/lib/SQL/Translator/Generator/DDL/PostgreSQL.pm
Criterion Covered Total %
statement 4 4 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod 0 1 0.0
total 6 7 85.7


line stmt bran cond sub pod time code
1             package SQL::Translator::Generator::DDL::PostgreSQL;
2              
3             =head1 NAME
4              
5             SQL::Translator::Generator::DDL::PostgreSQL - A Moo based PostgreSQL DDL generation
6             engine.
7              
8             =head1 DESCRIPTION
9              
10             I
11              
12             =cut
13              
14 6     6   1218 use Moo;
  6         17779  
  6         52  
15              
16             has quote_chars => (
17             is => 'rw',
18             default => sub { +[qw(" ")] },
19             trigger => sub { $_[0]->clear_escape_char },
20             );
21              
22             with 'SQL::Translator::Generator::Role::Quote';
23              
24 355     355 0 902 sub name_sep { q(.) }
25              
26             1;
27              
28             =head1 AUTHORS
29              
30             See the included AUTHORS file:
31             L
32              
33             =head1 COPYRIGHT
34              
35             Copyright (c) 2012 the SQL::Translator L as listed above.
36              
37             =head1 LICENSE
38              
39             This code is free software and may be distributed under the same terms as Perl
40             itself.
41              
42             =cut