lib/sequel_core/adapters/postgres.rb
# Prepare the given type of statement with the given name, and store
# it in the database to be called later.
Prepare the given type of statement with the given name, and store
it in the database to be called later.
Prepare the given type of statement with the given name and store it in the database to be called later .
def prepare(type, name, values=nil)
          ps = to_prepared_statement(type, values)
          ps.extend(PreparedStatementMethods)
          ps.prepared_statement_name = name
          db.prepared_statements[name] = ps
        end
def prepare ( type , name , values = nil ) ps = to_prepared_statement ( type , values ) ps . extend ( PreparedStatementMethods ) ps . prepared_statement_name = name db . prepared_statements [ name ] = ps end
Prepare the given type of statement with the given name, and store
it in the database to be called later.
Prepare the given type of statement with the given name and store it in the database to be called later .
type
name
values