Replace

Compiles an replace into string and runs the query

@param array   $set       An associative array of insert values
@param boolean $returnSQL

@return BaseResult|Query|string|false
@throws DatabaseException