Builder
getRelationQueryForSelfRelation(Builder $query, Builder $parent, array|mixed $columns = array('*'))
Add the constraints for a relationship query on the same table. Parameters Builder $query Builder $parent array|mixed $columns Return Value Builder