Fey/SQL/Fragment/Where/Boolean.pm

filter: Statementstmt 100% 20 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 0.0% 0 / 1 totaltotal 96.3% 26 / 27 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Fey/SQL/Fragment/Where/SubgroupStart.pm ↑ Summary Fey.pm »
1 package Fey::SQL::Fragment::Where::Boolean;
2  
3 26 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 26 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 26 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 26 our $VERSION = '0.42';
8  
9 26 ▶use Fey::Types qw( WhereBoolean );
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 26 ▶use Moose 0.90;
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 26 has 'comparison' => (
14 is => 'ro',
15 isa => WhereBoolean,
16 required => 1,
17 );
18  
19 sub sql {
20 11 ▶ return $_[0]->comparison();
Subroutine sql: called CC=1 SCAR=0.0
Pod undocumented
21 }
22  
23 26 __PACKAGE__->meta()->make_immutable();
24  
25 26 1;
26  
27 # ABSTRACT: Represents an AND or OR in a WHERE clause
28  
29 __END__
30  
31 =pod
32  
33 =head1 NAME
34  
35 Fey::SQL::Fragment::Where::Boolean - Represents an AND or OR in a WHERE clause
36  
37 =head1 VERSION
38  
39 version 0.42
40  
41 =head1 DESCRIPTION
42  
43 This class represents a subselect an AND or OR in a WHERE clause.
44  
45 It is intended solely for internal use in L<Fey::SQL> objects, and as
46 such is not intended for public use.
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
« Fey/SQL/Fragment/Where/SubgroupStart.pm ↑ Summary Fey.pm »