Module: Mince::HashyDb::Config

Defined in:
lib/hashy_db/config.rb

Overview

HashyDb Config

HashyDb Config specifies the configuration settings for HashyDb

Author:

  • Matt Simpson

Class Method Summary collapse

Class Method Details

.primary_keySymbol

Returns the primary key identifier for records. This is necessary because not all databases use the same primary key.

Returns:

  • (Symbol)

    the name of the primary key field.


13
14
15
# File 'lib/hashy_db/config.rb', line 13

def self.primary_key
  :id
end