| 1 | package DBIx::Skinny::DBD::SQLite; | ||
| 2 | use strict; | ||
| 3 | use warnings; | ||
| 4 | use base 'DBIx::Skinny::DBD::Base'; | ||
| 5 | |||
| 6 | sub bind_param_attributes { | ||
| 7 | my($self, $data_type) = @_; | ||
| 8 | |||
| 9 | if ($data_type) { | ||
| 10 | if ($data_type =~ /blob/i || $data_type =~ /bin/i || $data_type =~ /\Abigint\Z/i) { | ||
| 11 | return DBI::SQL_BLOB; | ||
| 12 | } | ||
| 13 | } | ||
| 14 | return; | ||
| 15 | } | ||
| 16 | |||
| 17 | 1; | ||
| 18 |