neosqlite.collection.query_helper.fill_stage module

Python implementation of MongoDB $fill aggregation stage.

neosqlite.collection.query_helper.fill_stage.process_fill(docs_with_context: list[dict[str, Any]], spec: dict[str, Any], collection: Any, evaluator: Any) list[dict[str, Any]][source]

Python fallback implementation of $fill.

neosqlite.collection.query_helper.fill_stage._fill_constant(partition_docs, field_path, value, collection)[source]
neosqlite.collection.query_helper.fill_stage._fill_locf(partition_docs, field_path, collection)[source]
neosqlite.collection.query_helper.fill_stage._fill_linear(partition_docs, field_path, sort_by, collection)[source]

Linear interpolation.