Object/Metadata/Column/Blob.pm untested

filter: Statementstmt 0.0% 0 / 17 Branchbran 0.0% 0 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 3 totaltotal 0.0% 0 / 30 CC 3 SCAR 13.9
CC
3
Cov
0%
dbi_requires_bind_param
6.0
dbi_bind_param_attrs
6.0
type
2.0
CRAP 4.0
1 package Rose::DB::Object::Metadata::Column::Blob;
2  
3 use strict;
4  
5 use Rose::DB::Object::Metadata::Column::Text;
6 our @ISA = qw(Rose::DB::Object::Metadata::Column::Text);
7  
8 use DBI qw(:sql_types);
9  
10 our $VERSION = '0.781';
11  
12 sub type { 'blob' }
13  
14 sub dbi_requires_bind_param
15 {
16 my($self, $db) = @_;
17 return $db->driver eq 'sqlite' ? 1 : 0;
18 }
19  
20 sub dbi_bind_param_attrs
21 {
22 my($self, $db) = @_;
23 return $db->driver eq 'sqlite' ? SQL_BLOB : undef;
24 }
25  
26 1;
27  
28 __END__