title: Laravel Eloquent JSON Contains, how to provide WhereIn logic (one of array values)
body: <p>there is my code:</p>
  <pre><code>protected function room_count($room_count)
  {
      $query = $this-&gt;builder
          -&gt;whereJsonContains('rent_requests.rooms_count', $room_count);
  
      return $query;
  }
  </code></pre>
  <p>There is my filter function. <code>$room_count</code> is array, and for example can be <code>[2,4]</code>.
  <code>rent_requests.rooms_count</code> is JSON array in MySQL, and it can be for example <code>[2,3]</code>.
  I need to filter this, to get this advert showed, but whereJSONContains expects that there will be <code>2 and 4</code>, not <code>2 or 4</code>.
  Is there any tricks to make this function work correctly ? Something like json contains whereIn ?)
  Sorry for my english, im really stuck on this, please help me :)</p>