use strict;
use warnings;
use version;
use Text::ANSITable;
use JSON;
use DBI;
use DBD::SQLite;
our $VERSION = '0.05';
our $Json = JSON->new;
sub _sqlite_type_from_sth_ix {
my ($dbh, $sth, $ix)
$row, $ix) = @_;
return unless defined $ix;
return unless defined $row->[ $ix ];
my $h = $Json->decode( $row->[ $ix ] );
return unless 'HASH' eq ref( $h );
delete @$h{ grep !defined($h->
execute();
my $t = Text::ANSITable::SQLStyleSheet->from_sth($sth, q{
SELECT
*,
JSON_OBJECT(
'fgcolor',
PRINTF(
'%02x%02x%02x',
ABS(RANDOM()) % 25