Module: SqlView::Statements
- Defined in:
- lib/sql_view/statements.rb
Instance Method Summary collapse
Instance Method Details
#create_sql_view(viewname, sql:) ⇒ Object
3 4 5 |
# File 'lib/sql_view/statements.rb', line 3 def create_sql_view(viewname, sql:) ActiveRecord::Base.connection.execute(sql) end |