Module: Upknit::ConnectionExtension::PostgreSQL
- Defined in:
- lib/upknit/connection_extension/postgresql.rb
Instance Method Summary collapse
-
#enable_uuid ⇒ void
Enables a extension which adds UUID function to the system.
-
#uuid_extension ⇒ String
Returns the name of UUID extension which should be used in current connection.
Instance Method Details
#enable_uuid ⇒ void
This method returns an undefined value.
Enables a extension which adds UUID function to the system.
13 14 15 |
# File 'lib/upknit/connection_extension/postgresql.rb', line 13 def enable_uuid enable_extension(uuid_extension) end |
#uuid_extension ⇒ String
Returns the name of UUID extension which should be used in current connection.
19 20 21 |
# File 'lib/upknit/connection_extension/postgresql.rb', line 19 def uuid_extension (UUID_EXTENSIONS & available_extensions).first end |