Module Sequel::JDBC::SQLite::DatabaseMethods
In: lib/sequel/adapters/jdbc/sqlite.rb

Methods

Included Modules

Sequel::SQLite::DatabaseMethods

Constants

DATABASE_ERROR_REGEXPS = Sequel::SQLite::DatabaseMethods::DATABASE_ERROR_REGEXPS.merge(/Abort due to constraint violation/ => ConstraintViolation).freeze

Public Instance methods

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

[Source]

    # File lib/sequel/adapters/jdbc/sqlite.rb, line 23
23:         def foreign_key_list(table, opts=OPTS)
24:           super
25:         rescue Sequel::DatabaseError => e
26:           raise unless foreign_key_error?(e)
27:           []
28:         end

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

[Source]

    # File lib/sequel/adapters/jdbc/sqlite.rb, line 32
32:         def indexes(table, opts=OPTS)
33:           super
34:         rescue Sequel::DatabaseError => e
35:           raise unless foreign_key_error?(e)
36:           {}
37:         end

[Validate]