public function _performDelete($id)
    {
        if ($this->model) {
            $this->model->delete($id);
        } else {
            $this->dq->where('id', $id)->delete();
        }
    }
public function _performDelete($id)
    {
        if ($this->model) {
            $this->model->delete($id);
        } else {
            $this->dq->where('id', $id)->delete();
        }
    }
public function _performDelete ( $ id ) { if ( $ this -> model ) { $ this -> model -> delete ( $ id ) ; } else { $ this -> dq -> where ( 'id' , $ id ) -> delete ( ) ; } }
Delete record from DB.

Formatter init_delete() calls this to delete current record from DB

@param string $id ID of record
Delete record from DB .