Skip to main content

Module filters

Module filters 

Source
Expand description

Declarative filter -> DynamoDB FilterExpression compiler — a port of python/graphddb_runtime/filters.py (itself a port of the TS compileFilterExpression).

Names are #-aliased columns (reused per distinct column); values are :-aliased parameters — no literal interpolation. Attribute values are serialized AttributeValues (the boto3 client shape). Alias allocation order matches the Python reference (name aliases reused per column in first-seen order; value aliases allocated sequentially), so the compiled expression and its name/value maps are byte-identical across runtimes.

Structs§

CompiledFilter
The compiled filter (client shape).

Functions§

compile_filter
Compile a declarative filter tree into a client-shape filter. Returns None for an empty / no-op filter so callers can skip attaching it.