Example #1
0
 /**
  * Executes a prepared statement.
  *
  * @param array $params OPTIONAL Values to bind to parameter placeholders.
  * @return bool
  * @throws \Zend\Db\Statement\Exception
  */
 public function execute(array $params = array())
 {
     if($this->_queryProfile !== null) {
         $this->_queryProfile->bindParams($params);
         $this->_queryProfile->end();
     }
     return true;
 }