Class: ActiveRecord::ConnectionAdapters::OracleEnhanced::Column
- Inherits:
-
Column
- Object
- Column
- ActiveRecord::ConnectionAdapters::OracleEnhanced::Column
- Defined in:
- lib/active_record/connection_adapters/oracle_enhanced/column.rb
Instance Method Summary collapse
- #auto_incremented_by_db? ⇒ Boolean
-
#initialize(name, default, sql_type_metadata = nil, null = true, comment: nil) ⇒ Column
constructor
:nodoc:.
- #virtual? ⇒ Boolean
Constructor Details
#initialize(name, default, sql_type_metadata = nil, null = true, comment: nil) ⇒ Column
:nodoc:
9 10 11 |
# File 'lib/active_record/connection_adapters/oracle_enhanced/column.rb', line 9 def initialize(name, default, = nil, null = true, comment: nil) # :nodoc: super(name, default, , null, comment: comment) end |
Instance Method Details
#auto_incremented_by_db? ⇒ Boolean
17 18 19 20 |
# File 'lib/active_record/connection_adapters/oracle_enhanced/column.rb', line 17 def auto_incremented_by_db? # TODO: Identify if a column is the primary key and is auto-incremented (e.g. by a sequence) super end |
#virtual? ⇒ Boolean
13 14 15 |
# File 'lib/active_record/connection_adapters/oracle_enhanced/column.rb', line 13 def virtual? virtual end |