Method: Sequel::Postgres::Dataset#call

Defined in:
lib/sequel/adapters/postgres.rb

#call(type, bind_vars = OPTS, *values, &block) ⇒ Object

Execute the given type of statement with the hash of values.



770
771
772
773
774
# File 'lib/sequel/adapters/postgres.rb', line 770

def call(type, bind_vars=OPTS, *values, &block)
  ps = to_prepared_statement(type, values)
  ps.extend(BindArgumentMethods)
  ps.call(bind_vars, &block)
end