Module: Sequel::Plugins::UpdateRefresh::ClassMethods
- Defined in:
- lib/sequel/plugins/update_refresh.rb
Instance Attribute Summary collapse
-
#update_refresh_columns ⇒ Object
readonly
The specific columns to refresh when updating, if UPDATE RETURNING is supported.
Instance Method Summary collapse
-
#freeze ⇒ Object
Freeze the update refresh columns when freezing the model class.
Instance Attribute Details
#update_refresh_columns ⇒ Object (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
#freeze ⇒ Object
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 |