Skip to main content

field_value

Function field_value 

Source
pub fn field_value(record: &RecordInstance, field: &str) -> Option<ScalarValue>
Expand description

Resolve the value of field for record.

Lookup order: computed fields (RTYP, NAME, DTYP), then any field literally present in the parsed .db (raw_fields), then dbCommon defaults. Returns None for fields an IOC would not serve either.