SQLEngine/Driver/Trait/NoColumnTypes.pm untested

filter: Statementstmt 0.0% 0 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 19 CC 1 SCAR 6.9
CC
1
Cov
0%
import
2.0
dbms_column_types_unsupported
2.0
BEGIN
2.0
CRAP 2.0
1 =head1 NAME
2  
3 DBIx::SQLEngine::Driver::Trait::NoColumnTypes - For Type-less Databases
4  
5 =head1 SYNOPSIS
6  
7 # Classes can import this behavior if they don't have types
8 use DBIx::SQLEngine::Driver::Trait::NoColumnTypes ':all';
9  
10 =head1 DESCRIPTION
11  
12 This package supports SQL database servers which do natively provide any column types, storing all numeric and string values in the same way.
13  
14 =head2 About Driver Traits
15  
16 You do not need to use this package directly; it is used internally by those driver subclasses which need it.
17  
18 For more information about Driver Traits, see L<DBIx::SQLEngine::Driver/"About Driver Traits">.
19  
20 =cut
21  
22 ########################################################################
23  
24 package DBIx::SQLEngine::Driver::Trait::NoColumnTypes;
25  
26 use Exporter;
27 sub import { goto &Exporter::import }
28 @EXPORT_OK = qw(
29 dbms_column_types_unsupported
30 );
31 %EXPORT_TAGS = ( all => \@EXPORT_OK );
32  
33 use strict;
34 use Carp;
35  
36 ########################################################################
37  
38 =head1 ADVANCED CAPABILITIES
39  
40 =cut
41  
42 ########################################################################
43  
44 =head2 Database Capability Information
45  
46 The following methods are provided:
47  
48 =over 4
49  
50 =item dbms_column_types_unsupported
51  
52 $sqldb->dbms_column_types_unsupported () : 1
53  
54 Capability Limitation: This driver does not store column type information or enforce type restrictions.
55  
56 =back
57  
58 =cut
59  
60 sub dbms_column_types_unsupported { 1 }
61  
62 ########################################################################
63  
64 =head1 SEE ALSO
65  
66 See L<DBIx::SQLEngine> for the overall interface and developer documentation.
67  
68 See L<DBIx::SQLEngine::Docs::ReadMe> for general information about
69 this distribution, including installation and license information.
70  
71 =cut
72  
73 ########################################################################
74  
75 1;
76