                     show_more_data: has_more_data and not @container.state.cursor_timed_out
                     cursor_timed_out_template: (
                         @cursor_timed_out_template() if not @query_result.ended and @container.state.cursor_timed_out)
-                    execution_time_pretty: 12345 # @ATN_metadata.execution_time_pretty
+                    execution_time_pretty: 12345 # ATN Utils.prettify_duration args.metadata.execution_time
                     no_results: @query_result.ended and (
                         @query_result.value is [] or @query_result.results is []) # ATN: move to QueryResult class
                     num_results: 12345 # ATN

    class DriverHandler
        constructor: (options) ->
            @container = options.container

        close_connection: =>
            if @connection?.open is true
                driver.close @connection
                @connection = null
                @container.toggle_executing false

        run_with_new_connection: (query, {callback, connection_error, optargs}) =>
            @close_connection()

            @container.toggle_executing true
            driver.connect (error, connection) =>
                if error?
                    @container.toggle_executing false
                    connection_error error
                connection.removeAllListeners 'error' # See issue 1347
                connection.on 'error', (error) =>
                    @container.toggle_executing false
                    connection_error error
                @connection = connection
                query.private_run connection, optargs, (error, result) =>
                    @container.toggle_executing false
                    callback error, result

        cursor_next: (cursor, {error, row, end}) =>
            if not @connection?
                end()
            @container.toggle_executing true
            cursor.next (err, row_) =>
                @container.toggle_executing false
                if err?
                    if err.message is 'No more rows in the cursor.'
                        end()

            @init_after_dom_rendered()
            @set_scrollbar()

        init_after_dom_rendered: =>
            @view_object?.init_after_dom_rendered?()

