line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#---------------------------------------------------------------------- |
2
|
|
|
|
|
|
|
package DBIx::DataModel::Schema::ResultAs::Firstrow; |
3
|
|
|
|
|
|
|
#---------------------------------------------------------------------- |
4
|
4
|
|
|
4
|
|
3923
|
use warnings; |
|
4
|
|
|
|
|
12
|
|
|
4
|
|
|
|
|
195
|
|
5
|
4
|
|
|
4
|
|
37
|
use strict; |
|
4
|
|
|
|
|
11
|
|
|
4
|
|
|
|
|
129
|
|
6
|
|
|
|
|
|
|
|
7
|
4
|
|
|
4
|
|
25
|
use parent 'DBIx::DataModel::Schema::ResultAs'; |
|
4
|
|
|
|
|
9
|
|
|
4
|
|
|
|
|
31
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
sub get_result { |
10
|
17
|
|
|
17
|
1
|
44
|
my ($self, $statement) = @_; |
11
|
|
|
|
|
|
|
|
12
|
17
|
|
|
|
|
54
|
return $statement->_next_and_finish; |
13
|
|
|
|
|
|
|
} |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
1; |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=head1 NAME |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
DBIx::DataModel::Schema::ResultAs::Firstrow - first data row |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Returns the first data row and finishes the statement. |