Skip to main content

derive_headers

Function derive_headers 

Source
pub fn derive_headers(rows: &[Value], pk: &str) -> Vec<String>
Expand description

Derive table column headers from a set of rows: the primary key first, then the remaining keys of the first row in their natural order.