neosqlite.collection.expr_evaluator.python_evaluators.object_ops module

Object, let/literal/rand, and data-size Python evaluators.

class neosqlite.collection.expr_evaluator.python_evaluators.object_ops.ObjectPythonMixin[source]

Bases: BasePythonMixin

Object field operators and data size operators.

_evaluate_object_python(operator: str, operands: Any, document: dict[str, Any]) Any[source]

Evaluate object operators in Python.

_evaluate_data_size_python(operator: str, operands: Any, document: dict[str, Any]) int[source]

Evaluate data size operators ($binarySize, $bsonSize) in Python.