Hi can anyone help me building below query in laravel Eloquent i am really confuse in using OR condition with between
SELECT * FROM tbl WHERE
existing_start BETWEEN $newSTart AND $newEnd OR
$newStart BETWEEN existing_start AND existing_end
i tried using like
whereBetween('existing_start',[$newSTart,$newEnd])
but have no idea how to use OR