Module: Sequel

Defined in:
lib/engine2/pre_bootstrap.rb,
lib/engine2/post_bootstrap.rb,
lib/engine2/core.rb

Defined Under Namespace

Modules: EmulateOffsetWithRowNumber, SequelFixes Classes: Database, DestroyFailed

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.alias_columns_in_joinsObject

Returns the value of attribute alias_columns_in_joins.



172
173
174
# File 'lib/engine2/core.rb', line 172

def alias_columns_in_joins
  @alias_columns_in_joins
end

Class Method Details

.join_keys(keys) ⇒ Object



178
179
180
# File 'lib/engine2/core.rb', line 178

def join_keys keys
    keys.join(Engine2::SETTINGS[:key_separator])
end

.split_keys(id) ⇒ Object



174
175
176
# File 'lib/engine2/core.rb', line 174

def split_keys id
    id.split(Engine2::SETTINGS[:key_separator])
end