Я хотел бы преобразовать это request
ниже в Laravel Eloquent.
select * from revision
where fk_motorbike = NumberMoto
and start_time between time_start_training and time_stop_training
or start_stop between time_start_training and time_stop_training
Я застрял после второй строки ...
$Revision = Revision::where('fk_motorbike', $fk_motorbike)
->where('start_time', "<=", $time_start_training) ?
???
->first();
Я все еще новичок в Laravel.
Спасибо за вашу помощь.