Module: Sequel::Plugins::MssqlOptimisticLocking::InstanceMethods
- Defined in:
- lib/sequel/plugins/mssql_optimistic_locking.rb
Instance Method Summary collapse
-
#before_destroy ⇒ Object
Add the lock column instance filter to the object before destroying it.
-
#before_update ⇒ Object
Add the lock column instance filter to the object before updating it.
Instance Method Details
#before_destroy ⇒ Object
Add the lock column instance filter to the object before destroying it.
46 47 48 49 |
# File 'lib/sequel/plugins/mssql_optimistic_locking.rb', line 46 def before_destroy lock_column_instance_filter super end |
#before_update ⇒ Object
Add the lock column instance filter to the object before updating it.
52 53 54 55 |
# File 'lib/sequel/plugins/mssql_optimistic_locking.rb', line 52 def before_update lock_column_instance_filter super end |