ruby-win32/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1-x86-mswin32/lib/sqlite3/database.rb
def prepare( sql )
      stmt = @statement_factory.new( self, sql )
      if block_given?
        begin
          yield stmt
        ensure
          stmt.close
        end
      else
        return stmt
      end
    end
# Returns a Statement object representing the given SQL. This does not
# execute the statement; it merely prepares the statement for execution.
Returns a Statement object representing the given SQL. This does not
execute the statement; it merely prepares the statement for execution.
Returns a Statement object representing the given SQL . This does not execute the statement ; it merely prepares the statement for execution .
def prepare( sql )
      stmt = @statement_factory.new( self, sql )
      if block_given?
        begin
          yield stmt
        ensure
          stmt.close
        end
      else
        return stmt
      end
    end
def prepare ( sql ) stmt = @statement_factory . new ( self , sql ) if block_given? begin yield stmt ensure stmt . close end else return stmt end end
Returns a Statement object representing the given SQL.
Returns a Statement object representing the given SQL .
sql