class Cequel::Schema::Patch
The set of changes needed to transform a table from its current form to a desired form. `Patch`es are immutable.
Attributes
changes[R]
Public Class Methods
new(changes)
click to toggle source
# File lib/cequel/schema/patch.rb, line 10 def initialize(changes) @changes = changes end
Public Instance Methods
statements()
click to toggle source
# File lib/cequel/schema/patch.rb, line 18 def statements changes.map(&:to_cql) end