Monitoring-Livestatus-Class-Lite
view release on metacpan or search on metacpan
t/20-complex_filter.t view on Meta::CPAN
state => { '=' => 1 },
],
group => { '>=' => 'linux' }
],
[ "Filter: state = 0",
"Filter: state = 1",
"Or: 2",
"Filter: group >= linux",
],
# cascaded query
[
-and => [
-or => [
state => { '=' => 0 },
state => { '=' => 1 },
],
group => { '>=' => 'linux' }
],
],
[ "Filter: state = 0",
( run in 0.234 second using v1.01-cache-2.11-cpan-26ccb49234f )