title: how to search a array of objects with array property in laravel
body: <p>i want query a table with a json column
  the object stored in json column is like this:</p>
  <pre><code>[    
      {
          &quot;title&quot;:&quot;first&quot;,
          &quot;ids&quot;:[79,583,584]
      },
      {
          &quot;title&quot;:&quot;second&quot;,
          &quot;ids&quot;:[600,601,602]
      },
      {
          &quot;title&quot;:&quot;third&quot;,
          &quot;ids&quot;:[605,606,624]
      }
  ]
  </code></pre>
  <p>and for example i want to find a row where one of its <code>ids</code> property contain  for  example 79. something like this:</p>
  <pre><code>Model::query()->whereJsonContains('data', ['ids[*]' => 79])->first();</code></pre>
  <p>i,ve searched a lot and tried some syntaxes but nothing worked. is that possible to do? how?
  my database is mysql</p>