Class/Module Index [+]

Quicksearch

Sequel::JDBC::SQLite::DatabaseMethods

Instance methods for SQLite Database objects accessed via JDBC.

Public Instance Methods

foreign_key_list(table, 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, line 16
def foreign_key_list(table, opts={})
  super
rescue Sequel::DatabaseError => e
  raise unless e.message =~ FOREIGN_KEY_ERROR_RE
  []
end
indexes(table, opts={}) click to toggle source

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

# File lib/sequel/adapters/jdbc/sqlite.rb, line 25
def indexes(table, opts={})
  super
rescue Sequel::DatabaseError => e
  raise unless e.message =~ FOREIGN_KEY_ERROR_RE
  {}
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.