/** * Gets the full, bound SQL string ready for use with MySQL. * * @param string $prepared (Optional) Only for parent compatibility. * @access public * @return string */ public function getSql($prepared = null) { if (!$prepared) { $this->prepared = $this->getUnboundSql(); } $ret = parent::getSql($prepared); return $ret; }