Method: JDBCHelper::SQL.update

Defined in:
lib/jdbc-helper/sql/sql.rb

.update(table, data_hash, where) ⇒ Object

Deprecated.

Generates update SQL with hash. :where element of the given hash is taken out to generate where clause.



71
72
73
# File 'lib/jdbc-helper/sql/sql.rb', line 71

def self.update table, data_hash, where
  SQLHelper.update :table => table, :data => data_hash, :where => where, :prepared => false
end