Method: SQLite::Database#prepare

Defined in:
lib/sqlite/database.rb

#prepare(sql) ⇒ Object

Returns a Statement object representing the given SQL. This does not execute the statement; it merely prepares the statement for execution.



160
161
162
# File 'lib/sqlite/database.rb', line 160

def prepare( sql )
  Statement.new( self, sql )
end