module Sequel::JDBC::SQLite::DatabaseMethods

Constants

DATABASE_ERROR_REGEXPS

Public Instance Methods

foreign_key_list(table, opts=OPTS) click to toggle source

Swallow pointless exceptions when the foreign key list pragma doesn’t return any rows.

   # File lib/sequel/adapters/jdbc/sqlite.rb
41 def foreign_key_list(table, opts=OPTS)
42   super
43 rescue Sequel::DatabaseError => e
44   raise unless foreign_key_error?(e)
45   []
46 end
indexes(table, opts=OPTS) click to toggle source

Swallow pointless exceptions when the index list pragma doesn’t return any rows.

Calls superclass method Sequel::SQLite::DatabaseMethods#indexes
   # File lib/sequel/adapters/jdbc/sqlite.rb
50 def indexes(table, opts=OPTS)
51   super
52 rescue Sequel::DatabaseError => e
53   raise unless foreign_key_error?(e)
54   {}
55 end