Class: PGTrunk::Operations::MaterializedViews::Base Abstract
- Inherits:
-
PGTrunk::Operation
- Object
- PGTrunk::Operation
- PGTrunk::Operations::MaterializedViews::Base
- Defined in:
- lib/pg_trunk/operations/materialized_views/base.rb
Overview
This class is abstract.
Base class for operations with views
Direct Known Subclasses
ChangeMaterializedView, CreateMaterializedView, DropMaterializedView, RefreshMaterializedView, RenameMaterializedView
Instance Method Summary collapse
Methods included from PGTrunk::Operation::SQLHelpers
Methods included from PGTrunk::Operation::RubyHelpers
#dump, #to_a, #to_opts, #to_ruby
Methods included from PGTrunk::Operation::Inversion
Methods included from PGTrunk::Operation::Validations
Methods included from PGTrunk::Operation::Attributes
Instance Method Details
#column(name, **opts) ⇒ Object
17 18 19 |
# File 'lib/pg_trunk/operations/materialized_views/base.rb', line 17 def column(name, **opts) columns << Column.new(name: name, **opts.except(:new_name)) end |