(self, query)
return result
Executes a single :param query: using current connection.

        :param query: (str) SQL query to be executed
Executes a single :param query: using current connection.
Executes a single : param query : using current connection .
def execute_query(self, query):
        """
        Executes a single :param query: using current connection.

        :param query: (str) SQL query to be executed
        """
        tic = time.clock()
        conn = self.engine.connect()
        result = conn.execute(query).fetchall()
        conn.close()
        toc = time.clock()
        logging.debug('Time to execute query: %.2f secs', toc-tic)
        return result
def execute_query ( self , query ) : tic = time . clock ( ) conn = self . engine . connect ( ) result = conn . execute ( query ) . fetchall ( ) conn . close ( ) toc = time . clock ( ) logging . debug ( 'Time to execute query: %.2f secs' , toc - tic ) return result