Method: Simple::SQL::Connection::Reflection#column_types
- Defined in:
- lib/simple/sql/connection/reflection.rb
#column_types(table_name) ⇒ Object
returns a Hash of column_name => column_type. Names are available both as Symbol and as String.
79 80 81 82 |
# File 'lib/simple/sql/connection/reflection.rb', line 79 def column_types(table_name) @column_types ||= {} @column_types[table_name] ||= _column_types(table_name) end |