diff options
author | Rob Holland <rob@inversepath.com> | 2008-05-17 12:09:37 +0100 |
---|---|---|
committer | Rob Holland <rob@inversepath.com> | 2008-05-17 12:09:37 +0100 |
commit | a0046a178767af8aee48671898497d2ba953027c (patch) | |
tree | f844716fe286589f2470b92deccac3276c48319c /lib | |
parent | d9abc5144ea3c0feafc14da732d042e4abc0b361 (diff) | |
download | third_party-sqlite3-ruby-a0046a178767af8aee48671898497d2ba953027c.tar.gz third_party-sqlite3-ruby-a0046a178767af8aee48671898497d2ba953027c.tar.xz third_party-sqlite3-ruby-a0046a178767af8aee48671898497d2ba953027c.zip |
amend rdoc to make it clear to use Statement#execute to execute a prepared statement
Diffstat (limited to 'lib')
-rw-r--r-- | lib/sqlite3/database.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/sqlite3/database.rb b/lib/sqlite3/database.rb index ca955fd..627166c 100644 --- a/lib/sqlite3/database.rb +++ b/lib/sqlite3/database.rb @@ -147,6 +147,9 @@ module SQLite3 # 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? |