Catmandu-Store-MongoDB
view release on metacpan or search on metacpan
lib/Catmandu/Store/MongoDB/CQL.pm view on Meta::CPAN
for my $filter (@$filters) {
if ($filter eq 'lowercase') {
$term = lc $term;
}
}
}
#change term using callbacks
if (ref $op && $op->{cb}) {
my ($pkg, $sub) = @{$op->{cb}};
$term = require_package($pkg)->$sub($term);
}
elsif ($q_mapping->{cb}) {
my ($pkg, $sub) = @{$q_mapping->{cb}};
$term = require_package($pkg)->$sub($term);
}
}
#field search
my $unmasked
= array_includes([map {$_->[1]} @modifiers], "cql.unmasked");
# trick to force numeric values interpreted as integers
$term = $term + 0 if ($term =~ /^[1-9]\d*$/);
( run in 0.219 second using v1.01-cache-2.11-cpan-0d8aa00de5b )