 
             return get_result_callback
 
+        # Evaluate the query
+        # We cannot force eval to a local scope, but "use strict" will declare variables in the scope at least
         evaluate: (query) =>
             "use strict"
             return eval(query)

                            last_non_query: true
                        @results_view.render_error(@raw_queries[@index-1], error)
        
        generate_rdb_global_callback: (id_execution) =>
            rdb_global_callback = (error, cursor) =>
                if @id_execution is id_execution # We execute the query only if it is the last one

            @raw_query = @codemirror.getValue()
            @query = @replace_new_lines_in_query @raw_query # Save it because we'll use it in @callback_multilples_queries
            
            # Execute the query
            try
                # Separate queries
                @non_rethinkdb_query = '' # Store the statements that don't return a rethinkdb query (like "var a = 1;")
                @index = 0 # index of the query currently being executed
                @queries = @separate_queries @query
                @raw_queries = @separate_queries @raw_query
