04-12-2020, 01:21 PM
Just code the where clause directly, like so:
There's no variable interpolation or substitution so it should be fine.
Code:
$builder->where('node.LFT BETWEEN parent.LFT AND parent.RGT');
There's no variable interpolation or substitution so it should be fine.