module Postgresql::Check::CommandRecorder

Public Instance Methods

add_check(*args) click to toggle source
# File lib/postgresql/check/command_recorder.rb, line 4
def add_check(*args)
  record(:add_check, args)
end
invert_add_check(args) click to toggle source
# File lib/postgresql/check/command_recorder.rb, line 12
def invert_add_check(args)
  table_name, condition, options = args

  [:remove_check, [table_name, options]]
end
remove_check(*args) click to toggle source
# File lib/postgresql/check/command_recorder.rb, line 8
def remove_check(*args)
  record(:remove_check, args)
end