class Cequel::Schema::Patch::SetTableProperties

Public Instance Methods

properties() click to toggle source
# File lib/cequel/schema/patch.rb, line 64
def properties
  table.properties.values
end
to_cql() click to toggle source
# File lib/cequel/schema/patch.rb, line 60
def to_cql
  %Q|ALTER TABLE "#{table.name}" WITH #{properties.map(&:to_cql).join(' AND ')}|
end

Protected Instance Methods

post_init() click to toggle source
# File lib/cequel/schema/patch.rb, line 57
          def post_init()
end
subclass_eql?(other) click to toggle source
# File lib/cequel/schema/patch.rb, line 70
def subclass_eql?(other)
  other.properties == propreties
end