public function delete(Model $model)
    {
        $this->connection
            ->delete()
            ->from($this->dummy->getTableName())
            ->where($model::getIdField(), '=', $model->getId())
            ->execute();
    }
public function delete(Model $model)
    {
        $this->connection
            ->delete()
            ->from($this->dummy->getTableName())
            ->where($model::getIdField(), '=', $model->getId())
            ->execute();
    }
public function delete ( Model $ model ) { $ this -> connection -> delete ( ) -> from ( $ this -> dummy -> getTableName ( ) ) -> where ( $ model :: getIdField ( ) , '=' , $ model -> getId ( ) ) -> execute ( ) ; }
Delete the instance from the database

@param Model $model

@return void
Delete the instance from the database