title: Laravel boolean returns "1"/"0" instead of true/false in query
body: <p>I have a query that returns a boolean field (by the way, I'm on an SQL Server) on my REST API developed with Laravel and a few days ago it was returning the value as true/false, but now it returns that boolean value as String: "1"/"0".</p>
  
  <p>Any idea on what could it be?</p>
  
  <p>I tried using casting on my Model like this:</p>
  
  <pre><code> protected $casts = [
      'status' =&gt; 'boolean',
   ];
  </code></pre>
  
  <p>This is my query:</p>
  
  <pre><code>return DB::table('dbo.visits as V')
          -&gt;leftJoin('dbo.reports AS R', 'R.id_visit', '=', 'V.id')
          -&gt;select('R.id','R.status'); // status is the boolean
  </code></pre>
  
  <p>Thanks in advance.</p>