public function getPath($id) {
        $node = $this->getNode($id);

        if (!$node) {
            return [];
        }

        $left = $this->getConfig('leftField');
        $right = $this->getConfig('rightField');

        return $this->getRepository()->select()
            ->where($left, '<', $node[$left])
            ->where($right, '>', $node[$right])
            ->orderBy($left, 'asc')
            ->all();
    }