DBIx::Custom::Query - Query
my $query = DBIx::Custom::Query->new; my $sth = $query->sth; my $sql = $query->sql; my $columns = $query->columns;
columns
my $columns = $query->columns; $query = $query->columns(['auhtor', 'title']);
Column names.
sql
my $sql = $query->sql; $query = $query->sql('select * from books where author = ?;');
SQL statement.
sth
my $sth = $query->sth; $query = $query->sth($sth);
Statement handle of DBI
DBIx::Custom::Query inherits all methods from Object::Simple.
To install DBIx::Custom, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBIx::Custom
CPAN shell
perl -MCPAN -e shell install DBIx::Custom
For more information on module installation, please visit the detailed CPAN module installation guide.