Module: Inquery::Mixins::RawSqlUtils
- Extended by:
- ActiveSupport::Concern
- Included in:
- Query
- Defined in:
- lib/inquery/mixins/raw_sql_utils.rb
Overview
Provides utilities for working with raw SQL queries in a safe way.
This mixin adds two helper methods for executing raw SQL queries: ‘san’ for sanitizing SQL with parameter substitution, and ‘exec_query’ for executing sanitized SQL and returning results.