Class: ActiveRecord::ConnectionAdapters::Clickhouse::Column
- Inherits:
-
ActiveRecord::ConnectionAdapters::Column
- Object
- ActiveRecord::ConnectionAdapters::Column
- ActiveRecord::ConnectionAdapters::Clickhouse::Column
- Defined in:
- lib/active_record/connection_adapters/clickhouse/column.rb
Instance Attribute Summary collapse
-
#codec ⇒ Object
readonly
Returns the value of attribute codec.
Instance Method Summary collapse
-
#initialize(name, default, sql_type_metadata = nil, null = true, default_function = nil, codec: nil, **args) ⇒ Column
constructor
A new instance of Column.
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
#codec ⇒ Object (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 |