packaging one directory
|
1 |
package DBIx::Custom::Query; |
2 | ||
update document
|
3 |
use strict; |
4 |
use warnings; |
|
5 | ||
update document
|
6 |
use base 'Object::Simple'; |
7 | ||
simplify filtering system
|
8 |
__PACKAGE__->attr([qw/sql columns default_filter filter sth/]); |
cleanup
|
9 | |
update document
|
10 |
1; |
11 | ||
packaging one directory
|
12 |
=head1 NAME |
13 | ||
removed DESTROY method(not b...
|
14 |
DBIx::Custom::Query - Query |
packaging one directory
|
15 | |
16 |
=head1 SYNOPSIS |
|
17 |
|
|
version 0.0901
|
18 |
my $query = DBIx::Custom::Query->new; |
19 |
|
|
update document
|
20 |
=head1 ATTRIBUTES |
packaging one directory
|
21 | |
removed DBIx::Custom commit ...
|
22 |
=head2 C<sql> |
packaging one directory
|
23 | |
cleanup
|
24 |
my $sql = $query->sql; |
25 |
$query = $query->sql($sql); |
|
packaging one directory
|
26 | |
removed DESTROY method(not b...
|
27 |
SQL statement. |
removed reconnect method
|
28 | |
removed DESTROY method(not b...
|
29 |
=head2 C<columns> |
removed reconnect method
|
30 | |
cleanup
|
31 |
my $columns = $query->columns; |
32 |
$query = $query->columns(\@columns); |
|
removed reconnect method
|
33 | |
removed DESTROY method(not b...
|
34 |
Column names. |
packaging one directory
|
35 | |
removed DESTROY method(not b...
|
36 |
=head2 C<default_filter> |
update document
|
37 | |
cleanup
|
38 |
my $default_filter = $query->default_filter; |
39 |
$query = $query->default_filter($filter); |
|
packaging one directory
|
40 | |
removed DESTROY method(not b...
|
41 |
Default filter for value binding. |
packaging one directory
|
42 | |
removed DESTROY method(not b...
|
43 |
=head2 C<filter> |
update document
|
44 | |
cleanup
|
45 |
my $filter = $query->filter; |
46 |
$query = $query->filter(\%filter); |
|
packaging one directory
|
47 | |
removed DESTROY method(not b...
|
48 |
Filters for value binding |
packaging one directory
|
49 | |
removed DESTROY method(not b...
|
50 |
=head2 C<sth> |
update document
|
51 | |
cleanup
|
52 |
my $sth = $query->sth; |
53 |
$query = $query->sth($sth); |
|
packaging one directory
|
54 | |
removed DESTROY method(not b...
|
55 |
Statement handle. |
56 | ||
update document
|
57 |
=head1 METHODS |
58 | ||
59 |
This class is L<Object::Simple> subclass. |
|
update document
|
60 |
You can use all methods of L<Object::Simple>. |
catch up with Object::Simple...
|
61 | |
62 |
=cut |