line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Fey::Role::Groupable; |
2
|
|
|
|
|
|
|
|
3
|
28
|
|
|
28
|
|
15024
|
use strict; |
|
28
|
|
|
|
|
57
|
|
|
28
|
|
|
|
|
1139
|
|
4
|
28
|
|
|
28
|
|
132
|
use warnings; |
|
28
|
|
|
|
|
44
|
|
|
28
|
|
|
|
|
813
|
|
5
|
28
|
|
|
28
|
|
127
|
use namespace::autoclean; |
|
28
|
|
|
|
|
42
|
|
|
28
|
|
|
|
|
175
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $VERSION = '0.43'; |
8
|
|
|
|
|
|
|
|
9
|
28
|
|
|
28
|
|
2286
|
use Moose::Role; |
|
28
|
|
|
|
|
45
|
|
|
28
|
|
|
|
|
194
|
|
10
|
|
|
|
|
|
|
|
11
|
1
|
|
|
1
|
1
|
7
|
sub is_groupable {1} |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
1; |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
# ABSTRACT: A role for things that can be part of a GROUP BY clause |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
__END__ |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=pod |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head1 NAME |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
Fey::Role::Groupable - A role for things that can be part of a GROUP BY clause |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head1 VERSION |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
version 0.43 |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 SYNOPSIS |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
use Moose 2.1200; |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
with 'Fey::Role::Groupable'; |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head1 DESCRIPTION |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
Classes which do this role represent an object which can be part of a |
38
|
|
|
|
|
|
|
C<GROUP BY> clause. |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 METHODS |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
This role provides the following methods: |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head2 $object->is_groupable() |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
Returns true. |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head1 BUGS |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
See L<Fey> for details on how to report bugs. |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=head1 AUTHOR |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
Dave Rolsky <autarch@urth.org> |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
This software is Copyright (c) 2011 - 2015 by Dave Rolsky. |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
This is free software, licensed under: |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
The Artistic License 2.0 (GPL Compatible) |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=cut |