Method: Gloo::Objs::Query#log_query
- Defined in:
- lib/gloo/objs/data/query.rb
#log_query(sql, params) ⇒ Object
Write the query to the log.
127 128 129 130 |
# File 'lib/gloo/objs/data/query.rb', line 127 def log_query sql, params @engine.log.info "QUERY PARAMS: #{params}" if params @engine.log.info "QUERY: #{sql}" end |