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

Inherits:
Type::Value
  • Object
show all
Defined in:
activerecord/lib/active_record/connection_adapters/postgresql/oid/uuid.rb

Overview

:nodoc:

Constant Summary collapse

ACCEPTABLE_UUID =
%r{\A(\{)?([a-fA-F0-9]{4}-?){8}(?(1)\}|)\z}

Instance Method Summary collapse

Instance Method Details

#typeObject



12
13
14
# File 'activerecord/lib/active_record/connection_adapters/postgresql/oid/uuid.rb', line 12

def type
  :uuid
end