method

get_advisory_lock

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: AbstractMysqlAdapter
get_advisory_lock(lock_name, timeout = 0) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb, line 140
      def get_advisory_lock(lock_name, timeout = 0) # :nodoc:
        query_value("SELECT GET_LOCK(#{quote(lock_name.to_s)}, #{timeout})") == 1
      end
Register or log in to add new notes.