Sha256: ee5441e194550e7058b5fbff0658c28b1788fcb13c49d9bcb534bbc29d3f36a9
Contents?: true
Size: 454 Bytes
Versions: 3
Compression:
Stored size: 454 Bytes
Contents
# frozen_string_literal: true module TableSaw class InformationSchema def belongs_to foreign_key_relationships.belongs_to end def has_many foreign_key_relationships.has_many end def primary_keys @primary_keys ||= TableSaw::Queries::PrimaryKeys.new.call end private def foreign_key_relationships @foreign_key_relationships ||= TableSaw::Queries::ForeignKeyRelationships.new end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
table_saw-1.3.0 | lib/table_saw/information_schema.rb |
table_saw-1.2.0 | lib/table_saw/information_schema.rb |
table_saw-1.1.0 | lib/table_saw/information_schema.rb |