Module: Tablature::Adapters::Postgres::UUID Private

Included in:
Handlers::Base
Defined in:
lib/tablature/adapters/postgres/uuid.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Instance Method Details

#uuid_functionObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



6
7
8
# File 'lib/tablature/adapters/postgres/uuid.rb', line 6

def uuid_function
  try(:supports_pgcrypto_uuid?) ? 'gen_random_uuid()' : 'uuid_generate_v4()'
end