Method Query_GetDescendantIdsFromAncestorsSql(string, int)
SQL for the ids of the descendants of the given objects, down to depthLimit levels below them
(1 = their children); the objects themselves are not among them. WhereHasAncestor uses it with its maxDepth.
string Query_GetDescendantIdsFromAncestorsSql(string idsString, int depthLimit)