Class: TableSaw::InformationSchema

Inherits:
Object
  • Object
show all
Defined in:
lib/table_saw/information_schema.rb

Instance Method Summary collapse

Instance Method Details

#constraint_namesObject



5
6
7
# File 'lib/table_saw/information_schema.rb', line 5

def constraint_names
  foreign_key_relationships.constraint_names
end

#foreign_key_relationshipsObject



9
10
11
# File 'lib/table_saw/information_schema.rb', line 9

def foreign_key_relationships
  @foreign_key_relationships ||= TableSaw::Queries::ForeignKeyRelationships.new
end