SQL::parseconstraints now has append_where option
NestedSet tree_parent method