/**
* @deprecated this is broken by design, should use parameters instead
* @param string $str
* @return string
*/
public function escapeSimple($str)
{
$str = $this->connection->quoteValue($str);
if ($str[0] == "'") {
return substr($str, 1, -1);
}
return $str;
}