Class: Arc::DataStores::ObjectDefinitions::SqliteColumn
- Defined in:
- lib/arc/data_stores/sqlite/object_definitions.rb
Instance Attribute Summary
Attributes inherited from Column
Instance Method Summary collapse
Methods inherited from Column
#allows_null?, #initialize, #pk?
Constructor Details
This class inherits a constructor from Arc::DataStores::ObjectDefinitions::Column
Instance Method Details
#type ⇒ Object
44 45 46 47 |
# File 'lib/arc/data_stores/sqlite/object_definitions.rb', line 44 def type #simplify the type expression to remove length and precision @type ||= @stype.downcase.gsub(/\([\d,]*\)/, '').to_sym end |