From: Jamis Buck Date: 2004-07-04T22:59:43+09:00 Subject: Re: SQLite/Ruby update pending Gavin Sinclair wrote: > On Sunday, July 4, 2004, 11:01:02 PM, Jamis wrote: > > >>gabriele renzi wrote: >> >>>a quote() or escape() method built in would be useful imo > > >>SQLite::Database.quote(...) will do just that. It is new in 1.2.9.1. > > > Does that take care of NULs? > > Gavin What do you mean? Can you give me an example? -- Jamis Buck jgb3@email.byu.edu http://www.jamisbuck.org/jamis ruby -ropenssl -e'k="01234567";p((c,c.padding,c.iv,c.key=OpenSSL::Cipher::BF.new,0,k,k*2)[0].decrypt.update("1A81803C452C324619D319F980D5B84DBB45FC0FE2BAA045".scan(/../).map{|n|n.to_i(16).chr}.join))'