I am trying to select today's date based on if the date is in between two dates, check-in date, and check-out date.
Is there a way to do that using MySQL query?
My database is structured with saving only the check-in date and checkout date like this,

And selecting the dates using the below code,
public function collection() {
return Booking::select(
'id',
'place_id',
'payer_name',
'user_fullname',
'user_email',
'user_phone',
'user_no_of_guest',
'user_no_of_babies',
'user_checkin',
'user_checkout',
'is_approved',
'user_promo',
'user_payment_type',
'user_booking_tracking_id',
Booking::raw('(created_at + INTERVAL 2 HOUR) AS created_at'),
'paid_ammount'
)->where('user_checkin', $this->date)
->get();
}
Is there a way to select it using Laravel query? or should I create a function that selects a date that fits and then call it? I'm a bit new to Laravel, so I'm not really sure how to approach it.