Class: ActiveRecord::ConnectionAdapters::Clickhouse::Column

Inherits:
ActiveRecord::ConnectionAdapters::Column
  • Object
show all
Defined in:
lib/active_record/connection_adapters/clickhouse/column.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, default, sql_type_metadata = nil, null = true, default_function = nil, codec: nil, **args) ⇒ Column

Returns a new instance of Column.



8
9
10
11
# File 'lib/active_record/connection_adapters/clickhouse/column.rb', line 8

def initialize(name, default,  = nil, null = true, default_function = nil, codec: nil, **args)
  super
  @codec = codec
end

Instance Attribute Details

#codecObject (readonly)

Returns the value of attribute codec.



6
7
8
# File 'lib/active_record/connection_adapters/clickhouse/column.rb', line 6

def codec
  @codec
end