Module: CartoDB::Helpers::SqlHelper

Included in:
Client::Connection::CartoDBConnection, Client::Connection::PostgreSQL
Defined in:
lib/cartodb-rb-client/cartodb/helpers/sql_helper.rb

Instance Method Summary collapse

Instance Method Details

#prepare_data(hash) ⇒ Object



6
7
8
9
10
11
# File 'lib/cartodb-rb-client/cartodb/helpers/sql_helper.rb', line 6

def prepare_data(hash)
  hash.each do |key, value|
    hash[key] = format_value(key, value)
  end
  hash
end