File: //usr/local/rvm/gems/default/doc/sqlite3-1.4.2/ri/SQLite3/Database/query-i.ri
U:RDoc::AnyMethod[iI"
query:ETI"SQLite3::Database#query;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"DThis is a convenience method for creating a statement, binding ;TI"*paramters to it, and calling execute:;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"<result = db.query( "select * from foo where a=?", [5])
;TI"# is the same as
;TI"Gresult = db.prepare( "select * from foo where a=?" ).execute( 5 )
;T:@format0o;
; [ I"HYou must be sure to call +close+ on the ResultSet instance that is ;TI"Mreturned, or you could have problems with locks on the table. If called ;TI"Ewith a block, +close+ will be invoked implicitly when the block ;TI"terminates.;T:
@fileI"lib/sqlite3/database.rb;T:0@omit_headings_from_table_of_contents_below00I"result;T[ I"#( sql, bind_vars = [], *args );T@FI"
Database;TcRDoc::NormalClass00