->on(\DB::identifier('ancestor.' . $left_field), 'BETWEEN', \DB::expr(($left + 1) . ' AND ' . ($right - 1) . ' AND '.\DB::identifier('ancestor.'.$tree_field).' = '.\DB::quote($this->get_tree_id())))
It looks like you're new here. If you want to get involved, click one of these buttons!