Class: PGTrunk::Operations::Statistics::Base Abstract
- Inherits:
-
PGTrunk::Operation
- Object
- PGTrunk::Operation
- PGTrunk::Operations::Statistics::Base
- Defined in:
- lib/pg_trunk/operations/statistics/base.rb
Overview
This class is abstract.
Base class for operations with check constraints
Direct Known Subclasses
Instance Method Summary collapse
- #column(name) ⇒ Object
-
#expression(text) ⇒ Object
Methods to populate multivariable attributes from a block.
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) ⇒ Object
20 21 22 |
# File 'lib/pg_trunk/operations/statistics/base.rb', line 20 def column(name) columns << name.strip end |
#expression(text) ⇒ Object
Methods to populate multivariable attributes from a block
16 17 18 |
# File 'lib/pg_trunk/operations/statistics/base.rb', line 16 def expression(text) expressions << text.strip end |