Module: Sequel::Cubrid

Defined in:
lib/sequel/adapters/cubrid.rb,
lib/sequel/adapters/shared/cubrid.rb

Defined Under Namespace

Modules: DatabaseMethods, DatasetMethods Classes: Database, Dataset

Constant Summary collapse

CUBRID_TYPE_PROCS =
{
  ::Cubrid::DATE => lambda{|t| Date.new(t.year, t.month, t.day)},
  ::Cubrid::TIME => lambda{|t| SQLTime.create(t.hour, t.min, t.sec)},
  21 => lambda(&:to_i)
}