Object
DBD::SQLite - Database Driver for SQLite versions 2.x and lower.
Requires DBI and the 'sqlite-ruby' gem to work.
Only things that extend DBI's results are documented.
Validates that the SQL has no literal NUL characters. (ASCII 0)
SQLite apparently really hates it when you do that.
It will raise DBI::DatabaseError should it find any.
# File lib/dbd/SQLite.rb, line 58 def self.check_sql(sql) # XXX I'm starting to think this is less of a problem with SQLite # and more with the old C DBD raise DBI::DatabaseError, "Bad SQL: SQL cannot contain nulls" if sql =~ /\00// end
Generated with the Darkfish Rdoc Generator 2.