title: Eloquent query doesn't use the where/first conditions. Why?
body: <p>Ma simple eloquent query doesn't use the where condition.</p>
  
  <blockquote>
    <p>Players::where('id_player',"=" ,3113)->first()->toSql();</p>
  </blockquote>
  
  <p>Returns:</p>
  
  <blockquote>
    <p>"select * from <code>players</code>"</p>
  </blockquote>
  
  <p><strong>My Controller</strong>:</p>
  
  <pre><code>namespace App\Http\Controllers\Office;
  
  use Illuminate\Http\Request;
  use App\Http\Controllers\Controller;
  
  use App\Players;
  
  class OfficeController extends Controller{
     public function playerLineup(Request $request){
        $e = Players::where('id_player',"=" ,3113)-&gt;first()-&gt;toSql(); 
        dd($e);
     }
  }
  </code></pre>
  
  <p><strong>My Modal</strong>:</p>
  
  <pre><code>namespace App;
  
  use Illuminate\Support\Facades\DB;
  use Illuminate\Database\Eloquent\Model;
  
  class Players extends Model{
      protected $primaryKey = 'idp';
  }
  </code></pre>