line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Fey::Role::SQL::ReturnsData; |
2
|
|
|
|
|
|
|
|
3
|
27
|
|
|
27
|
|
21247
|
use strict; |
|
27
|
|
|
|
|
56
|
|
|
27
|
|
|
|
|
1087
|
|
4
|
27
|
|
|
27
|
|
126
|
use warnings; |
|
27
|
|
|
|
|
41
|
|
|
27
|
|
|
|
|
891
|
|
5
|
27
|
|
|
27
|
|
123
|
use namespace::autoclean; |
|
27
|
|
|
|
|
45
|
|
|
27
|
|
|
|
|
199
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $VERSION = '0.43'; |
8
|
|
|
|
|
|
|
|
9
|
27
|
|
|
27
|
|
2475
|
use Moose::Role; |
|
27
|
|
|
|
|
50
|
|
|
27
|
|
|
|
|
231
|
|
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.43 |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 SYNOPSIS |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
use Moose 2.1200; |
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 |