NAME
DBIx::Custom::Query - DBIx::Custom query
SYNOPSIS
# New
my $query = DBIx::Custom::Query->new;
# Create by using create_query
my $query = DBIx::Custom->create_query($template);
# Set attributes
$query->bind_filter($dbi->filters->{default_bind_filter});
$query->no_bind_filters('title', 'author');
$query->fetch_filter($dbi->filters->{default_fetch_filter});
$query->no_fetch_filters('title', 'author');
ATTRIBUTES
sth
Statement handle
$query = $query->sth($sth);
$sth = $query->sth;
sql
SQL
$query = $query->sql($sql);
$sql = $query->sql;
bind_filter
Filter excuted when value is bind
$query = $query->bind_filter($bind_filter);
$bind_filter = $query->bind_filter;
no_bind_filters
Key list which dose not have to bind filtering
$query = $query->no_bind_filters($no_filters);
$no_bind_filters = $query->no_bind_filters;
fetch_filter
Filter excuted when data is fetched
$query = $query->fetch_filter($fetch_filter);
$fetch_filter = $query->fetch_filter;
no_fetch_filters
Key list which dose not have to fetch filtering
$query = $query->no_fetch_filters($no_filters);
$no_fetch_filters = $query->no_fetch_filters;
key_infos
Key informations
$query = $query->key_infos($key_infos);
$key_infos = $query->key_infos;
METHODS
This class is Object::Simple subclass. You can use all methods of Object::Simple
new
my $query = DBIx::Custom::Query->new;