public function executeRawQuery($query)
    {
        $resultSet = null;
        if($this->odbAdapter) {
            if(!empty($query)) {
                $resultSet = $this->getDbAdapter()->query($query, DbAdapter::QUERY_MODE_EXECUTE);

            }
        }


        return $resultSet;
    }
public function executeRawQuery($query)
    {
        $resultSet = null;
        if($this->odbAdapter) {
            if(!empty($query)) {
                $resultSet = $this->getDbAdapter()->query($query, DbAdapter::QUERY_MODE_EXECUTE);

            }
        }


        return $resultSet;
    }
public function executeRawQuery ( $ query ) { $ resultSet = null ; if ( $ this -> odbAdapter ) { if ( ! empty ( $ query ) ) { $ resultSet = $ this -> getDbAdapter ( ) -> query ( $ query , DbAdapter :: QUERY_MODE_EXECUTE ) ; } } return $ resultSet ; }
Executes a raw SQL query
@param String $query
@return NULL|\Zend\Db\Adapter\Driver\StatementInterface|\Zend\Db\ResultSet\Zend\Db\ResultSet
Executes a raw SQL query