title: how to get status if it's success or not by deleting rows in model
body: <p>i'm still really new to CodeIgniter. and i'm trying to find out how to delete row from my table. because when i use this function, i can;t delete my row.
  does anyone know about the solution for this? and how can i get status if the delete is success or not?</p>
  
  <pre><code>    public function deleteEpass($serial)
      {
          $this-&gt;db-&gt;trans_start();
          $this -&gt; db -&gt; where('serial', $serial);
          $this -&gt; db -&gt; delete('epass');
          $this-&gt;db-&gt;trans_complete();
          return $this-&gt;db-&gt;trans_status();
      }
  </code></pre>