Werk #8579 · Dec 2, 16
Generalize Livestatus filter operators
Previously, some filter operator did not work for numbers or had only a special meaning with certain columns. This has been generalized in a uniform way, so all operators work for numbers now, too.
The operators ~, =~, and ~~ interpret numbers as bit sets, and have the following meaning:
- x ~ y means: x is a superset of y
- x =~ y means: x is a subset of y
- x ~~ y means: x contains at least one element of y
This is consistent with the way attribute list columns work and makes the Livestatus semantics more regular.
Details
- Class:
- New Features
- Level:
- Trivial
- Component:
- Livestatus
- Versions:
- 1.4.0i3ProUltimate + MT