class MySQL::Types::Value
- MySQL::Types::Value
- Reference
- Object
Direct Known Subclasses
- MySQL::Types::BigInteger
- MySQL::Types::Bit
- MySQL::Types::Blob
- MySQL::Types::Boolean
- MySQL::Types::Datetime
- MySQL::Types::Float
- MySQL::Types::Integer
- MySQL::Types::Null
- MySQL::Types::SqlDate
Defined in:
mysql/types.crConstructors
- .new(value : SqlType, field : Pointer(LibMySQL::MySQLField))
- .new(value : Bool | Float64 | Int32 | Int64 | MySQL::Types::Date | Slice(UInt8) | String | Time | Nil)
Instance Method Summary
- #_parsed
- #account_for_zero
- #field : Pointer(LibMySQL::MySQLField)
- #field=(field : Pointer(LibMySQL::MySQLField))
- #lift
- #lift_down
- #parsed
- #to_mysql
- #value : Bool | Float64 | Int32 | Int64 | MySQL::Types::Date | Slice(UInt8) | String | Time | Nil
- #value=(value : Bool | Float64 | Int32 | Int64 | MySQL::Types::Date | Slice(UInt8) | String | Time | Nil)
Constructor Detail
def self.new(value : Bool | Float64 | Int32 | Int64 | MySQL::Types::Date | Slice(UInt8) | String | Time | Nil)
#
Instance Method Detail
def value : Bool | Float64 | Int32 | Int64 | MySQL::Types::Date | Slice(UInt8) | String | Time | Nil
#
def value=(value : Bool | Float64 | Int32 | Int64 | MySQL::Types::Date | Slice(UInt8) | String | Time | Nil)
#