Class: ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Uuid

Inherits:
Type
  • Object
show all
Defined in:
lib/arjdbc/postgresql/base/oid.rb

Instance Method Summary collapse

Methods inherited from Type

#infinity, #simplified_type

Instance Method Details

#typeObject



347
# File 'lib/arjdbc/postgresql/base/oid.rb', line 347

def type; :uuid end

#type_cast(value) ⇒ Object



348
349
350
# File 'lib/arjdbc/postgresql/base/oid.rb', line 348

def type_cast(value)
  value.presence
end