(doneVars map[string]varValue, path []*SubGraph, parent *SubGraph)
| 1377 | } |
| 1378 | |
| 1379 | func (sg *SubGraph) populatePostAggregation(doneVars map[string]varValue, path []*SubGraph, |
| 1380 | parent *SubGraph) error { |
| 1381 | |
| 1382 | for idx := range sg.Children { |
| 1383 | child := sg.Children[idx] |
| 1384 | path = append(path, sg) |
| 1385 | err := child.populatePostAggregation(doneVars, path, sg) |
| 1386 | path = path[:len(path)-1] |
| 1387 | if err != nil { |
| 1388 | return err |
| 1389 | } |
| 1390 | } |
| 1391 | return sg.valueVarAggregation(doneVars, path, parent) |
| 1392 | } |
| 1393 | |
| 1394 | // Filters might have updated the destuids. facetMatrix should also be updated to exclude uids that |
| 1395 | // were removed.. |
no test coverage detected