Monitoring-Livestatus-Class
    
    
  
  
  
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.326 second using v1.01-cache-2.11-cpan-5dc5da66d9d )