| 1 | package EntityModel::Query::ReturningField; | ||
| 2 | { | ||
| 3 | 34 | $EntityModel::Query::ReturningField::VERSION = '0.102'; | |
| 4 | } | ||
| 5 | 34 | ▶ | use EntityModel::Class { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 34 | _isa => [qw(EntityModel::Query::Field)], | |
| 7 | 34 | }; | |
| 8 | |||
| 9 | =head1 NAME | ||
| 10 | |||
| 11 | EntityModel::Query::ReturningField - fields returned by a statement | ||
| 12 | |||
| 13 | =head1 VERSION | ||
| 14 | |||
| 15 | version 0.102 | ||
| 16 | |||
| 17 | =head1 SYNOPSIS | ||
| 18 | |||
| 19 | See L<Entitymodel::Query>. | ||
| 20 | |||
| 21 | =head1 DESCRIPTION | ||
| 22 | |||
| 23 | See L<Entitymodel::Query>. | ||
| 24 | |||
| 25 | =cut | ||
| 26 | |||
| 27 | =head1 METHODS | ||
| 28 | |||
| 29 | =cut | ||
| 30 | |||
| 31 | =head2 import | ||
| 32 | |||
| 33 | Register parse handling. | ||
| 34 | |||
| 35 | =cut | ||
| 36 | |||
| 37 | 33 | ▶ | sub import { |
|
Subroutine
import: called CC=1 SCAR=0.0
| |||
| 38 | 33 | my $class = shift; | |
| 39 | $class->register( | ||
| 40 | 1 | ▶ | 'returning' => sub { |
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||
| 41 | 1 | my $self = shift; | |
| 42 | 1 | $self->parse_base( | |
| 43 | @_, | ||
| 44 | method => 'returning', | ||
| 45 | type => 'EntityModel::Query::ReturningField' | ||
| 46 | ); | ||
| 47 | } | ||
| 48 | 33 | ); | |
| 49 | } | ||
| 50 | |||
| 51 | 34 | 1; | |
| 52 | |||
| 53 | __END__ | ||