| 1 | package #hide from pause | ||
| 2 | DBIx::Class::Schema::PopulateMore::Test::Schema::ResultSet::Person; | ||
| 3 | |||
| 4 | 3 | ▶ | use parent 'DBIx::Class::Schema::PopulateMore::Test::Schema::ResultSet'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | |||
| 7 | =head1 NAME | ||
| 8 | |||
| 9 | DBIx::Class::Schema::PopulateMore::Test::Schema::ResultSet::Person - Person Resultset | ||
| 10 | |||
| 11 | =head1 DESCRIPTION | ||
| 12 | |||
| 13 | Resultset Methods for the Person Source | ||
| 14 | |||
| 15 | =head1 METHODS | ||
| 16 | |||
| 17 | This module defines the following methods. | ||
| 18 | |||
| 19 | =head2 older_than($int) | ||
| 20 | |||
| 21 | Only people over a given age | ||
| 22 | |||
| 23 | =cut | ||
| 24 | |||
| 25 | sub older_than | ||
| 26 | { | ||
| 27 | 0 | ▶ | my ($self, $age) = @_; |
|
Subroutine
older_than: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 28 | |||
| 29 | 0 | return $self->search({age=>{'>'=>$age}}); | |
| 30 | } | ||
| 31 | |||
| 32 | |||
| 33 | =head1 AUTHOR | ||
| 34 | |||
| 35 | Please see L<DBIx::Class::Schema::PopulateMore> For authorship information | ||
| 36 | |||
| 37 | =head1 LICENSE | ||
| 38 | |||
| 39 | Please see L<DBIx::Class::Schema::PopulateMore> For licensing terms. | ||
| 40 | |||
| 41 | =cut | ||
| 42 | |||
| 43 | |||
| 44 | 3 | 1; | |