Helper/ResultSet/Shortcut/Search/NotNull.pm

filter: Statementstmt 100% 13 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 100% 1 / 1 totaltotal 100% 18 / 18 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Helper/ResultSet/Shortcut/Search/NotLike.pm ↑ Summary Helper/ResultSet/Shortcut/Search/Null.pm »
1 package DBIx::Class::Helper::ResultSet::Shortcut::Search::NotNull;
2 55 $DBIx::Class::Helper::ResultSet::Shortcut::Search::NotNull::VERSION = '2.032002';
3 55 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 55 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 55 ▶use parent 'DBIx::Class::Helper::ResultSet::Shortcut::Search::Base';
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8  
9 sub not_null {
10 1 ▶ my ($self, @columns) = @_;
Subroutine not_null: called CC=1 SCAR=0.0
Pod documented
11  
12 1 return $self->_helper_apply_search({ '!=' => undef }, @columns);
13 }
14  
15 55 1;
16  
17 __END__
18  
19 =pod
20  
21 =head1 NAME
22  
23 DBIx::Class::Helper::ResultSet::Shortcut::Search::NotNull
24  
25 =head2 not_null(@columns || \@columns)
26  
27 $rs->not_null('status');
28 $rs->not_null(['status', 'title']);
29  
30 =head1 AUTHOR
31  
32 Arthur Axel "fREW" Schmidt <frioux+cpan@gmail.com>
33  
34 =head1 COPYRIGHT AND LICENSE
35  
36 This software is copyright (c) 2016 by Arthur Axel "fREW" Schmidt.
37  
38 This is free software; you can redistribute it and/or modify it under
39 the same terms as the Perl 5 programming language system itself.
40  
41 =cut
« Helper/ResultSet/Shortcut/Search/NotLike.pm ↑ Summary Helper/ResultSet/Shortcut/Search/Null.pm »