Method: Gloo::Objs::Query#msg_run

Defined in:
lib/gloo/objs/data/query.rb

#msg_runObject

Run the query and process the results.



85
86
87
88
89
90
91
92
93
94
95
96
97
98
# File 'lib/gloo/objs/data/query.rb', line 85

def msg_run
  db = db_obj
  return unless db

  begin
    clear_results

    result = db.query( sql_value, param_array )
    process_result( result, db )
  rescue => e
    @engine.log_exception e
    return
  end
end