To determine the descendant to restore or not, we were looking building a complex exclude clause. This can be simplify focusing only on data we already have without making an extra query to fetch the list of descendant to exclude.
To determine the descendant to restore or not, we were looking building a complex exclude clause. This can be simplify focusing only on data we already have without making an extra query to fetch the list of descendant to exclude.