src/Tao/Database/Model.php
public function delete($primaryKey)
    {
        return $this->app['db']->delete($this->getTable(), [ $this->getPrimaryKey() => $primaryKey]);
    }
public function delete($primaryKey)
    {
        return $this->app['db']->delete($this->getTable(), [ $this->getPrimaryKey() => $primaryKey]);
    }
public function delete ( $ primaryKey ) { return $ this -> app [ 'db' ] -> delete ( $ this -> getTable ( ) , [ $ this -> getPrimaryKey ( ) => $ primaryKey ] ) ; }
Delete an entry.

@param mixed $primaryKey
Delete an entry .