neosqlite.collection.expr_evaluator.sql_converters.logical module

SQL converters for logical operators.

class neosqlite.collection.expr_evaluator.sql_converters.logical.LogicalMixin[source]

Bases: BaseSqlMixin

$and / $or / $not / $nor → SQL.

_convert_logical_operator(operator: str, operands: Any) tuple[str, list[Any]][source]

Convert logical operators ($and, $or, $not, $nor) to SQL.