title: Raw SQL to Eloquent in Laravel
body: <p>Could you help me convert this SQL query to Eloquent:</p>
  
  <pre><code>SELECT *
  FROM rooms r
  WHERE r.id NOT IN (
      SELECT b.room_id FROM bookings b
      WHERE NOT (b.time_to   &lt;= '2019-11-18'
                 OR
                 b.time_from &gt;= '2019-11-22'))
  ORDER BY r.id;
  </code></pre>
  
  <p>In Laravel I have two models, <strong>Room</strong> and <strong>Booking</strong>. How create in eloquent <strong>WHERE NOT</strong> ?</p>