line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Fey::Role::SQL::ReturnsData; |
2
|
|
|
|
|
|
|
|
3
|
27
|
|
|
27
|
|
20111
|
use strict; |
|
27
|
|
|
|
|
55
|
|
|
27
|
|
|
|
|
1106
|
|
4
|
27
|
|
|
27
|
|
125
|
use warnings; |
|
27
|
|
|
|
|
44
|
|
|
27
|
|
|
|
|
844
|
|
5
|
27
|
|
|
27
|
|
124
|
use namespace::autoclean; |
|
27
|
|
|
|
|
41
|
|
|
27
|
|
|
|
|
199
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $VERSION = '0.42'; |
8
|
|
|
|
|
|
|
|
9
|
27
|
|
|
27
|
|
2297
|
use Moose::Role; |
|
27
|
|
|
|
|
55
|
|
|
27
|
|
|
|
|
229
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
# This doesn't actually work with Fey::Role::SetOperation in the mix. |
12
|
|
|
|
|
|
|
#requires 'select_clause_elements'; |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
1; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
# ABSTRACT: A role for SQL queries which return data (SELECT, UNION, etc) |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
__END__ |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=pod |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 NAME |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Fey::Role::SQL::ReturnsData - A role for SQL queries which return data (SELECT, UNION, etc) |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 VERSION |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
version 0.42 |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 SYNOPSIS |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
use Moose 0.90; |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
with 'Fey::Role::ReturnsData'; |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 DESCRIPTION |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
Classes which do this role represent an object which returns data from a |
39
|
|
|
|
|
|
|
query, such as C<SELECT>, C<UNION>, etc. |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head1 METHODS |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
This role provides no methods. |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
Returns true. |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head1 BUGS |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
See L<Fey> for details on how to report bugs. |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head1 AUTHOR |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
Dave Rolsky <autarch@urth.org> |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
This software is Copyright (c) 2011 - 2015 by Dave Rolsky. |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
This is free software, licensed under: |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
The Artistic License 2.0 (GPL Compatible) |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=cut |