title: Laravel Eloquent firstOrCreate method error
body: <p>I try create new Model instance with <code>Model::firstOrCreate</code>, and i get error <code>SQLSTATE[42S22]: Column not found</code>.</p>
  <p>My <strong>code snippet</strong>:</p>
  <pre><code>
      $date = date(&quot;Y-m-d H:i:s&quot;);
      $order = 
      Order::firstOrCreate([
         ['name' =&gt; 'John'],
         [
             'type' =&gt; 'foo',
             'start' =&gt; $date,
         ]
      ]);
  
  </code></pre>
  <p>The code above will return an error:</p>
  <pre><code>
      SQLSTATE[42S22]: Column not found: 1054 Unknown column 'John' in 'where clause' (SQL: select * from `orders` where (`John` is null and `foo` = 2022-09-20 15:15:54) and `orders`.`deleted_at` is null limit 1)
  
  </code></pre>
  <p>My attention has been drawn next piece: <code>select * from `orders` where (`John` is null and ...</code> Eloquent substituted the value - <em>John</em> as a search column in the query, and I expected it to be a key <em>name</em>.</p>
  <p><a href="https://laravel.com/docs/9.x/eloquent#retrieving-or-creating-models" rel="nofollow noreferrer">This official documentation about this method</a></p>
  <p>What's my mistake?</p>
  <p>Screenshot
  <a href="https://i.stack.imgur.com/VgrgW.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VgrgW.jpg" alt="enter image description here" /></a></p>