module Cassie::Statements::Statement::Updating::ClassMethods

@!parse extend ClassMethods

Public Instance Methods

update(table) { |self| ... } click to toggle source

DSL to set the statement type and table for updating @param [String, Symbol] table The table to taret for the update statement @return [void]

# File lib/cassie/statements/statement/updating.rb, line 30
def update(table)
  self.table = table
  self.type = :update

  yield(self) if block_given?
end