Class: DBLock::Adapter::Base

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/db_lock/adapter/base.rb

Direct Known Subclasses

MYSQL, Postgres, Sqlserver

Instance Method Summary collapse

Instance Method Details

#execute(*args) ⇒ Object



6
7
8
# File 'lib/db_lock/adapter/base.rb', line 6

def execute(*args)
  run_sanitized :execute, args
end

#select_one(*args) ⇒ Object



10
11
12
# File 'lib/db_lock/adapter/base.rb', line 10

def select_one(*args)
  run_sanitized :select_one, args
end

#select_value(*args) ⇒ Object



14
15
16
# File 'lib/db_lock/adapter/base.rb', line 14

def select_value(*args)
  run_sanitized :select_value, args
end