Skip to main content

extract_non_null

Function extract_non_null 

Source
pub fn extract_non_null(
    doc: &[u8],
    field: &str,
    expr: Option<&SqlExpr>,
) -> Option<()>
Expand description

Returns Some(()) when the field is present and non-null. Used by count(field) accumulator to count non-null values.