Module: Db2Query::FieldType

Included in:
Base
Defined in:
lib/db2_query/field_type.rb

Defined Under Namespace

Modules: ClassMethods

Constant Summary collapse

DEFAULT_FIELD_TYPES =
{
  binary: Db2Query::Type::Binary,
  boolean:  Db2Query::Type::Boolean,
  string: Db2Query::Type::String,
  varchar: Db2Query::Type::String,
  longvarchar: Db2Query::Type::String,
  decimal: Db2Query::Type::Decimal,
  integer: Db2Query::Type::Integer,
  date: Db2Query::Type::Date,
  time: Db2Query::Type::Time,
  timestamp: Db2Query::Type::Timestamp
}

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



18
19
20
# File 'lib/db2_query/field_type.rb', line 18

def self.included(base)
  base.send(:extend, ClassMethods)
end