LogicalOperator

class tracdap.rt.metadata.LogicalOperator

Bases: enum.Enum

Metadata search logical operator, used as part of a LogicalExpression.

AND = 1

LOGICAL AND

The AND operator combines two or more search expressions, the logical expression will match only when all sub-expressions match. The order of sub-expressions is not important.

LOGICAL_OPERATOR_NOT_SET = 0
NOT = 3

LOGICAL NOT

The NOT operator applies to a single sub-expression, the logical expression will match precisely when the sub-expression does not match.

OR = 2

LOGICAL OR

The OR operator combines two or more search expressions, the logical expression will match when any of the sub-expressions match. The order of sub-expressions is not important.