pub fn group_from_aggregated(
rows: Vec<(Value, Value)>,
) -> HashMap<String, Vec<Value>>Expand description
Group related rows by the value of their join column. Build the grouping from rows PostgreSQL has already grouped.
Each row is the join key as JSON and a JSON array of that key’s children.
The key goes through key_to_text, the same rendering the parent side uses,
so the two agree for every column type.