Newer Older
62 lines | 0.967kb
packaging one directory
yuki-kimoto authored on 2009-11-16
1
package DBIx::Custom::Query;
2

            
update document
yuki-kimoto authored on 2009-11-17
3
use strict;
4
use warnings;
5

            
update document
yuki-kimoto authored on 2010-01-30
6
use base 'Object::Simple';
7

            
simplify filtering system
yuki-kimoto authored on 2010-05-01
8
__PACKAGE__->attr([qw/sql columns default_filter filter sth/]);
cleanup
yuki-kimoto authored on 2010-01-21
9

            
update document
yuki-kimoto authored on 2010-01-30
10
1;
11

            
packaging one directory
yuki-kimoto authored on 2009-11-16
12
=head1 NAME
13

            
removed DESTROY method(not b...
yuki-kimoto authored on 2010-07-18
14
DBIx::Custom::Query - Query
packaging one directory
yuki-kimoto authored on 2009-11-16
15

            
16
=head1 SYNOPSIS
17
    
version 0.0901
yuki-kimoto authored on 2009-12-17
18
    my $query = DBIx::Custom::Query->new;
19
    
update document
yuki-kimoto authored on 2010-01-30
20
=head1 ATTRIBUTES
packaging one directory
yuki-kimoto authored on 2009-11-16
21

            
removed DBIx::Custom commit ...
yuki-kimoto authored on 2010-07-14
22
=head2 C<sql>
packaging one directory
yuki-kimoto authored on 2009-11-16
23

            
version 0.0901
yuki-kimoto authored on 2009-12-17
24
    $query = $query->sql($sql);
25
    $sql   = $query->sql;
packaging one directory
yuki-kimoto authored on 2009-11-16
26

            
removed DESTROY method(not b...
yuki-kimoto authored on 2010-07-18
27
SQL statement.
removed reconnect method
yuki-kimoto authored on 2010-05-28
28

            
removed DESTROY method(not b...
yuki-kimoto authored on 2010-07-18
29
=head2 C<columns>
removed reconnect method
yuki-kimoto authored on 2010-05-28
30

            
31
    $query   = $query->columns([@columns]);
32
    $columns = $query->columns;
33

            
removed DESTROY method(not b...
yuki-kimoto authored on 2010-07-18
34
Column names.
packaging one directory
yuki-kimoto authored on 2009-11-16
35

            
removed DESTROY method(not b...
yuki-kimoto authored on 2010-07-18
36
=head2 C<default_filter>
update document
yuki-kimoto authored on 2009-11-19
37

            
update document
yuki-kimoto authored on 2010-05-27
38
    $query          = $query->default_filter($filter);
many many changes
yuki-kimoto authored on 2010-04-30
39
    $default_filter = $query->default_filter;
packaging one directory
yuki-kimoto authored on 2009-11-16
40

            
removed DESTROY method(not b...
yuki-kimoto authored on 2010-07-18
41
Default filter for value binding.
packaging one directory
yuki-kimoto authored on 2009-11-16
42

            
removed DESTROY method(not b...
yuki-kimoto authored on 2010-07-18
43
=head2 C<filter>
update document
yuki-kimoto authored on 2009-11-19
44

            
update document
yuki-kimoto authored on 2010-05-27
45
    $query  = $query->filter({%filter});
many many changes
yuki-kimoto authored on 2010-04-30
46
    $filter = $query->filter;
packaging one directory
yuki-kimoto authored on 2009-11-16
47

            
removed DESTROY method(not b...
yuki-kimoto authored on 2010-07-18
48
Filters for value binding
packaging one directory
yuki-kimoto authored on 2009-11-16
49

            
removed DESTROY method(not b...
yuki-kimoto authored on 2010-07-18
50
=head2 C<sth>
update document
yuki-kimoto authored on 2009-11-19
51

            
removed reconnect method
yuki-kimoto authored on 2010-05-28
52
    $query = $query->sth($sth);
53
    $sth   = $query->sth;
packaging one directory
yuki-kimoto authored on 2009-11-16
54

            
removed DESTROY method(not b...
yuki-kimoto authored on 2010-07-18
55
Statement handle.
56

            
update document
yuki-kimoto authored on 2010-01-30
57
=head1 METHODS
58

            
59
This class is L<Object::Simple> subclass.
update document
yuki-kimoto authored on 2010-05-27
60
You can use all methods of L<Object::Simple>.
catch up with Object::Simple...
yuki-kimoto authored on 2010-01-22
61

            
62
=cut