class SQLite3::Database

def prepare(sql)


The Statement can then be executed using Statement#execute.

execute the statement; it merely prepares the statement for execution.
Returns a Statement object representing the given SQL. This does not
def prepare(sql)
  stmt = @statement_factory.new(self, sql)
  if block_given?
    begin
      yield stmt
    ensure
      stmt.close
    end
  else
    return stmt
  end
end