Module: RailsSQLPrettifier::PostgresAdapterNiceQL
- Defined in:
- lib/rails_sql_prettifier/postgres_adapter_nice_ql.rb
Instance Method Summary collapse
Instance Method Details
#exec_query(sql, *args, **kwargs, &block) ⇒ Object
5 6 7 8 |
# File 'lib/rails_sql_prettifier/postgres_adapter_nice_ql.rb', line 5 def exec_query(sql, *args, **kwargs, &block) # replacing sql with prettified sql, that's all super( Niceql::Prettifier.prettify_sql(sql, false), *args, **kwargs, &block ) end |