Skip to main content

iq_leaf

Function iq_leaf 

Source
pub fn iq_leaf(field: &str, op: &str, value: impl Serialize) -> Value
Expand description

Builds a leaf filter node: {"field": ..., "op": ..., "value": ...}. Pass an empty op to omit it (e.g. for an exists-style test where the field’s mere presence suffices).