Skip to main content

extract_str

Function extract_str 

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

Extract a display string from field, or evaluate expr if provided. Returns None when the field is absent.