Hi, I need to be able to do something like this: ```php $children = $node->descendants([ 'approved' => 1, ]); ``` What do you think - maybe we need some sort of listener to pass the `$query` from here: https://github.com/phalcon/incubator/blob/master/Library/Phalcon/Mvc/Model/Behavior/NestedSet.php#L206 And, to generalize it, call user method before each of the `return $query->execute()` that access the DB? Thanks!
Hi,
I need to be able to do something like this:
What do you think - maybe we need some sort of listener to pass the
$queryfrom here:https://github.com/phalcon/incubator/blob/master/Library/Phalcon/Mvc/Model/Behavior/NestedSet.php#L206
And, to generalize it, call user method before each of the
return $query->execute()that access the DB?Thanks!