Module: Sequel::Plugins::UpdateRefresh::ClassMethods

Defined in:
lib/sequel/plugins/update_refresh.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#update_refresh_columnsObject (readonly)

The specific columns to refresh when updating, if UPDATE RETURNING is supported.



48
49
50
# File 'lib/sequel/plugins/update_refresh.rb', line 48

def update_refresh_columns
  @update_refresh_columns
end

Instance Method Details

#freezeObject

Freeze the update refresh columns when freezing the model class.



51
52
53
54
55
# File 'lib/sequel/plugins/update_refresh.rb', line 51

def freeze
  @update_refresh_columns.freeze

  super
end