title: Can I use eloquent connection and start the procedure?
body: <p>I tried to get the data on database using stored procedure - can I use the eloquent?</p>
  
  <p>This is my Eloquent</p>
  
  <p><strong>TriedHard.php</strong>:</p>
  
  <pre><code>&lt;?php
  
  namespace App;
  
  use Illuminate\Database\Eloquent\Model;
  
  class TriedHard extends Model
  {
      //
      protected $connection = 'sqlsrv2';
  }
  </code></pre>
  
  <p>and I try to call this eloquent on my query like this so I can use a stored procedure.</p>
  
  <p><strong>Controller.php</strong>:</p>
  
  <pre><code>$dataprogram =  TriedHard::select('sp_MstShow_CrewProgram_Select');
  dump(collect($dataprogram);
  </code></pre>
  
  <p>but nothing happened, also I can't get my data, how can I solve that?</p>