Sha256: fc1c0e5a96260aa70b2d10f6a108e1e411aca6b55caa1f6dde258b9adf5dd0e7

Contents?: true

Size: 511 Bytes

Versions: 5

Compression:

Stored size: 511 Bytes

Contents

# frozen_string_literal: true

module ActiveRecord
  module ConnectionAdapters # :nodoc:
    module OracleEnhanced
      class Column < ActiveRecord::ConnectionAdapters::Column
        delegate :virtual, to: :sql_type_metadata, allow_nil: true

        def initialize(name, default, sql_type_metadata = nil, null = true, comment: nil) # :nodoc:
          super(name, default, sql_type_metadata, null, comment: comment)
        end

        def virtual?
          virtual
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
activerecord-oracle_enhanced-adapter-7.0.3 lib/active_record/connection_adapters/oracle_enhanced/column.rb
activerecord-oracle_enhanced-adapter-7.0.2 lib/active_record/connection_adapters/oracle_enhanced/column.rb
activerecord-oracle_enhanced-adapter-7.0.1 lib/active_record/connection_adapters/oracle_enhanced/column.rb
activerecord-oracle_enhanced-adapter-7.0.0 lib/active_record/connection_adapters/oracle_enhanced/column.rb
activerecord-oracle_enhanced-adapter-7.0.0.rc1 lib/active_record/connection_adapters/oracle_enhanced/column.rb