Skip to main content

Module logical

Module logical 

Source
Expand description

Logical combinators for SQL conditions: or_() and and_().

These combine two expressions with OR / AND, wrapping each side in parentheses to preserve precedence.

Functionsยง

and_
Combines two conditions with AND: (lhs) AND (rhs).
or_
Combines two conditions with OR: (lhs) OR (rhs).