Sha256: 5be3301fde6b7c7f1efc909517ea72d4e2677fd8cd0f550833e98ec459d99ada

Contents?: true

Size: 256 Bytes

Versions: 15

Compression:

Stored size: 256 Bytes

Contents

module ROM
  module SQL
    class Relation < ROM::Relation
      module Inspection
        def model
          self.class.model
        end

        # @api private
        def primary_key
          model.primary_key
        end
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
rom-sql-0.6.1 lib/rom/sql/relation/inspection.rb
rom-fmp-0.0.4 lib/rom/fmp/relation/inspection.rb
rom-sql-0.6.0 lib/rom/sql/relation/inspection.rb
rom-sql-0.6.0.rc1 lib/rom/sql/relation/inspection.rb
rom-sql-0.6.0.beta1 lib/rom/sql/relation/inspection.rb
rom-sql-0.5.3 lib/rom/sql/relation/inspection.rb
rom-sql-0.5.2 lib/rom/sql/relation/inspection.rb
rom-sql-0.5.1 lib/rom/sql/relation/inspection.rb
rom-sql-0.5.0 lib/rom/sql/relation/inspection.rb
rom-sql-0.4.3 lib/rom/sql/relation/inspection.rb
rom-sql-0.4.1 lib/rom/sql/relation/inspection.rb
rom-sql-0.4.0 lib/rom/sql/relation/inspection.rb
rom-sql-0.4.0.rc1 lib/rom/sql/relation/inspection.rb
rom-sql-0.4.0.beta2 lib/rom/sql/relation/inspection.rb
rom-sql-0.4.0.beta1 lib/rom/sql/relation/inspection.rb