Class: ClickHouse::Type::StringType

Inherits:
BaseType
  • Object
show all
Defined in:
lib/click_house/type/string_type.rb

Instance Method Summary collapse

Methods inherited from BaseType

#cast_each, #container?, #ddl?, #map?, #serialize_each, #tuple?

Instance Method Details

#cast(value) ⇒ Object



6
7
8
# File 'lib/click_house/type/string_type.rb', line 6

def cast(value, *)
  value.to_s
end

#serialize(value) ⇒ Object



10
11
12
# File 'lib/click_house/type/string_type.rb', line 10

def serialize(value, *)
  value.to_s
end