Smooth/Lookup/Operators/not_in.pm

filter: Statementstmt 89.4% 17 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 83.3% 5 / 6 Podpod 0.0% 0 / 1 totaltotal 84.6% 22 / 26 CC 1 SCAR 1.5
CC
1
Cov
89%
smooth__lookup__not_in
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Smooth/Lookup/Operators/lte.pm ↑ Summary Smooth/Lookup/DateTime/day.pm »
1 4 ▶use 5.20.0;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 4 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 package DBIx::Class::Smooth::Lookup::Operators::not_in;
6  
7 # ABSTRACT: Short intro
8 4 our $AUTHORITY = 'cpan:CSSON'; # AUTHORITY
9 4 our $VERSION = '0.0104';
10  
11 4 ▶use parent 'DBIx::Class::Smooth::Lookup::Util';
Subroutine BEGIN: called CC=1 SCAR=0.0
12 4 ▶use experimental qw/signatures postderef/;
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 ▶sub smooth__lookup__not_in($self, $column, $value, @rest) {
Subroutine smooth__lookup__not_in: not called CC=1 SCAR=6.9
Pod undocumented
15 0 $self->smooth__lookup_util__ensure_value_is_arrayref('not_in', $value);
16  
17 0 return { sql_operator => 'NOT IN', operator => '-not_in', value => $value };
18 }
19  
20 4 1;
21  
22 __END__
23  
24 =pod
25  
26 =encoding UTF-8
27  
28 =head1 NAME
29  
30 DBIx::Class::Smooth::Lookup::Operators::not_in - Short intro
31  
32 =head1 VERSION
33  
34 Version 0.0104, released 2020-08-30.
35  
36 =head1 SOURCE
37  
38 L<https://github.com/Csson/p5-DBIx-Class-Smooth>
39  
40 =head1 HOMEPAGE
41  
42 L<https://metacpan.org/release/DBIx-Class-Smooth>
43  
44 =head1 AUTHOR
45  
46 Erik Carlsson <info@code301.com>
47  
48 =head1 COPYRIGHT AND LICENSE
49  
50 This software is copyright (c) 2018 by Erik Carlsson.
51  
52 This is free software; you can redistribute it and/or modify it under
53 the same terms as the Perl 5 programming language system itself.
54  
55 =cut
« Smooth/Lookup/Operators/lte.pm ↑ Summary Smooth/Lookup/DateTime/day.pm »