pub fn extract_str( doc: &[u8], field: &str, expr: Option<&SqlExpr>, ) -> Option<String>
Extract a display string from field, or evaluate expr if provided. Returns None when the field is absent.
field
expr
None