- or download this
# DBIx::Array
sub single_row_list {
...
$simple->select( film => [qw(title description)], \%where ) )->l
+ist;
}
- or download this
# current API
my $count =$dbx->delete( "DELETE from table WHERE id > 22" );
# ideal API
my $count =$dbx->count( "DELETE from table WHERE id > 22" );
- or download this
$object->sql$RESULT$STRUCT
- or download this
# FIELD FROM DB to PERL SCALAR
my $scalar = $da->field_scalar;
...
# ROWS FROM DB to PERL ARRAY OF HASHREFS
my @rows = $da->rows_arraysofhash;
- or download this
use strict;
use warnings;
...
1;