method
get_advisory_lock
v5.1.7 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::AbstractAdapter
get_advisory_lock(lock_id)public
This is meant to be implemented by the adapters that support advisory locks
Return true if we got the lock, otherwise false