Module: Hanami::Model::Sql::Types::Schema
- Defined in:
- gems/gems/hanami-model-1.3.2/lib/hanami/model/sql/types.rb,
gems/gems/hanami-model-1.3.2/lib/hanami/model/sql/types/schema/coercions.rb
Overview
Types for schema definitions
Constant Summary
- String =
Types::Optional::Coercible::String
- Int =
Types::Strict::Nil | Types::Int.constructor(Coercions.method(:int))
- Float =
Types::Strict::Nil | Types::Float.constructor(Coercions.method(:float))
- Decimal =
Types::Strict::Nil | Types::Float.constructor(Coercions.method(:decimal))
- Bool =
Types::Strict::Nil | Types::Strict::Bool
- Date =
Types::Strict::Nil | Types::Date.constructor(Coercions.method(:date))
- DateTime =
Types::Strict::Nil | Types::DateTime.constructor(Coercions.method(:datetime))
- Time =
Types::Strict::Nil | Types::Time.constructor(Coercions.method(:time))
- Array =
Types::Strict::Nil | Types::Array.constructor(Coercions.method(:array))
- Hash =
Types::Strict::Nil | Types::Hash.constructor(Coercions.method(:hash))
- PG_JSON =
Types::Strict::Nil | Types::Any.constructor(Coercions.method(:pg_json))