Module: EnhancedSQLite3::SupportsVirtualColumns::TableDefinition
- Defined in:
- lib/enhanced_sqlite3/supports_virtual_columns.rb
Instance Method Summary collapse
-
#new_column_definition(name, type, **options) ⇒ Object
:nodoc:.
- #valid_column_definition_options ⇒ Object
Instance Method Details
#new_column_definition(name, type, **options) ⇒ Object
:nodoc:
164 165 166 167 168 169 170 171 |
# File 'lib/enhanced_sqlite3/supports_virtual_columns.rb', line 164 def new_column_definition(name, type, **) # :nodoc: case type when :virtual type = [:type] end super end |
#valid_column_definition_options ⇒ Object
173 174 175 |
# File 'lib/enhanced_sqlite3/supports_virtual_columns.rb', line 173 def super + [:as, :type, :stored] end |