src/Database/Database.php
protected function public__delete($table_name, $where = NULL, array $bind_params = [])
    {
        $sqlQuery = "DELETE FROM " . $this->quoteTableName($this->getPrefixedTableName($table_name)) . ($where != NULL ? " WHERE $where;" : ";");
        $sth = $this->getPDOInstance()->prepare($sqlQuery);
        foreach ($bind_params as $key => $value)
        {
            $sth->bindValue("$key", $value, $this->getPdoType(\gettype($value)));
        }
        return $sth->execute();
    }
protected function public__delete($table_name, $where = NULL, array $bind_params = [])
    {
        $sqlQuery = "DELETE FROM " . $this->quoteTableName($this->getPrefixedTableName($table_name)) . ($where != NULL ? " WHERE $where;" : ";");
        $sth = $this->getPDOInstance()->prepare($sqlQuery);
        foreach ($bind_params as $key => $value)
        {
            $sth->bindValue("$key", $value, $this->getPdoType(\gettype($value)));
        }
        return $sth->execute();
    }
delete

@param string $table_name
@param string $where the WHERE query part AFTER the WHERE word
@param array $bind_params
[
':p1'=>'value',
':p2'=>'value',
':pN'=>'value',
]
eg. $sqlQuery = "DELETE FROM `" . $tableName . "` WHERE " . $where . ";";
@return integer the number of affected rows