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 | |
version 0.0901
|
24 |
$query = $query->sql($sql); |
25 |
$sql = $query->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 | |
31 |
$query = $query->columns([@columns]); |
|
32 |
$columns = $query->columns; |
|
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 | |
update document
|
38 |
$query = $query->default_filter($filter); |
many many changes
|
39 |
$default_filter = $query->default_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 | |
update document
|
45 |
$query = $query->filter({%filter}); |
many many changes
|
46 |
$filter = $query->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 | |
removed reconnect method
|
52 |
$query = $query->sth($sth); |
53 |
$sth = $query->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 |