lib/dynamoid/adapter_plugin/aws_sdk_v3.rb
#
# Returns the API type (e.g. "N", "S") for the given column, if the schema defines it,
# nil otherwise
#
Returns the API type  for the given column, if the schema defines it,
nil otherwise
Returns the API type for the given column if the schema defines it nil otherwise
def col_type(col)
          col = col.to_s
          col_def = schema[:attribute_definitions].find { |d| d[:attribute_name] == col.to_s }
          col_def && col_def[:attribute_type]
        end
def col_type ( col ) col = col . to_s col_def = schema [ :attribute_definitions ] . find { | d | d [ :attribute_name ] == col . to_s } col_def && col_def [ :attribute_type ] end
Returns the API type (e.g.
Returns the API type ( e . g .
col