Src/Interps/Ruby/ruby-1.8.6/lib/ruby/1.8/sqlite3/database.rb
# Returns a Statement object representing the given SQL. This does not
# execute the statement; it merely prepares the statement for execution.
#
# The Statement can then be executed using Statement#execute.
#
Returns a Statement object representing the given SQL. This does not
execute the statement; it merely prepares the statement for execution.

The Statement can then be executed using Statement#execute.
Returns a Statement object representing the given SQL . This does not execute the statement ; it merely prepares the statement for execution . The Statement can then be executed using Statement#execute .
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