line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package AnyEvent::DBI::Abstract::Limit; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
5
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
38
|
|
4
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
50
|
|
5
|
|
|
|
|
|
|
our $VERSION = '0.02'; |
6
|
|
|
|
|
|
|
|
7
|
1
|
|
|
1
|
|
7987
|
use parent 'AnyEvent::DBI::Abstract'; |
|
1
|
|
|
|
|
457
|
|
|
1
|
|
|
|
|
7
|
|
8
|
|
|
|
|
|
|
use SQL::Abstract::Limit; |
9
|
|
|
|
|
|
|
use DBI; |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub new { |
12
|
|
|
|
|
|
|
my ($class, $dsn, $user, $pass, %arg) = @_; |
13
|
|
|
|
|
|
|
my $self = $class->SUPER::new($dsn, $user, $pass, %arg); |
14
|
|
|
|
|
|
|
$self->{_DBI_abstract} = SQL::Abstract::Limit->new; |
15
|
|
|
|
|
|
|
$self->abstract->{limit_dialect} = [ DBI->parse_dsn($dsn) ]->[1]; |
16
|
|
|
|
|
|
|
return $self; |
17
|
|
|
|
|
|
|
} |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
1; |
20
|
|
|
|
|
|
|
__END__ |