Method: Sequel::Dataset::PreparedStatementMethods#call

Defined in:
lib/sequel/dataset/prepared_statements.rb

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

Sets the prepared_args to the given hash and runs the prepared statement.



124
125
126
# File 'lib/sequel/dataset/prepared_statements.rb', line 124

def call(bind_vars=OPTS, &block)
  bind(bind_vars).run(&block)
end