public function delete(): int
    {
        $pdoStatement = $this->provideStatement();
        $pdoStatement = $this->execute($pdoStatement);
        return $pdoStatement->rowCount();
    }
public function delete(): int
    {
        $pdoStatement = $this->provideStatement();
        $pdoStatement = $this->execute($pdoStatement);
        return $pdoStatement->rowCount();
    }
public function delete ( ) : int { $ pdoStatement = $ this -> provideStatement ( ) ; $ pdoStatement = $ this -> execute ( $ pdoStatement ) ; return $ pdoStatement -> rowCount ( ) ; }
Executes delete statement and returns affected rows.

@throws \Bloatless\Endocore\Components\Database\Exception\DatabaseException
@return int
Executes delete statement and returns affected rows .