line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package DBIx::Class::Helper::ResultSet::Shortcut::Search::Null; |
2
|
|
|
|
|
|
|
$DBIx::Class::Helper::ResultSet::Shortcut::Search::Null::VERSION = '2.036000'; |
3
|
57
|
|
|
57
|
|
26926
|
use strict; |
|
57
|
|
|
|
|
137
|
|
|
57
|
|
|
|
|
1560
|
|
4
|
57
|
|
|
57
|
|
337
|
use warnings; |
|
57
|
|
|
|
|
130
|
|
|
57
|
|
|
|
|
1396
|
|
5
|
|
|
|
|
|
|
|
6
|
57
|
|
|
57
|
|
276
|
use parent 'DBIx::Class::Helper::ResultSet::Shortcut::Search::Base'; |
|
57
|
|
|
|
|
124
|
|
|
57
|
|
|
|
|
301
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
sub null { |
10
|
2
|
|
|
2
|
1
|
20309
|
my ($self, @columns) = @_; |
11
|
|
|
|
|
|
|
|
12
|
2
|
|
|
|
|
21
|
return $self->_helper_apply_search({ '=' => undef }, @columns); |
13
|
|
|
|
|
|
|
} |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
1; |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
__END__ |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=pod |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head1 NAME |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
DBIx::Class::Helper::ResultSet::Shortcut::Search::Null |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head2 null(@columns || \@columns) |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
$rs->null('status'); |
28
|
|
|
|
|
|
|
$rs->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) 2020 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 |