src/Services/PDOs/Builders/Builder.php
protected function doDelete()
    {
        $bindings = array_merge($this->bindings['join'], $this->bindings['where']);

        $query = 'DELETE'
            . $this->buildFrom()
            . $this->buildJoin()
            . $this->buildWhere();

        return $this->db->exec($query, $bindings);
    }
protected function doDelete()
    {
        $bindings = array_merge($this->bindings['join'], $this->bindings['where']);

        $query = 'DELETE'
            . $this->buildFrom()
            . $this->buildJoin()
            . $this->buildWhere();

        return $this->db->exec($query, $bindings);
    }
protected function doDelete ( ) { $ bindings = array_merge ( $ this -> bindings [ 'join' ] , $ this -> bindings [ 'where' ] ) ; $ query = 'DELETE' . $ this -> buildFrom ( ) . $ this -> buildJoin ( ) . $ this -> buildWhere ( ) ; return $ this -> db -> exec ( $ query , $ bindings ) ; }
Delete all records of the query result and return the number of affected rows.

@return int
Delete all records of the query result and return the number of affected rows .