Skip to main content

optional_records_to_json

Function optional_records_to_json 

Source
pub fn optional_records_to_json(records: &[Option<HaysonRecord>]) -> Value
Expand description

The answer to a getMany: one entry per key the caller asked for, in that order, null where the table holds no record — so the caller can zip it against its own key list without a second lookup for which key went missing.