QueryBuilder
does not have a with_calling_ancestor
filter to get called calculations from a top workflos
#4992
Labels
type/feature request
status undecided
As mentioned in the aiidausers group discusssion sometimes one wants to find the underlying
CalcJobNodes
which is the child of several nestedWorkChainNode
. When one wants to do this, one must append a series of queries traversing each of the children of the top levelWorkChainNode
until one reaches the underlyingCalcJobNodes
Ideally one would like to have a query like the following
where one would obtain all the underlying
CalcJobNodes
of the top-levelWorkChainNode
with only one extra append call, i.e. one does not need to know how many levels deep theCalcJobNodes
is with respect to theWorkChainNode
.To do this one would need to perform similar recursive SQL queries as in #3755
The text was updated successfully, but these errors were encountered: