Module: ROM::SQL::Relation::Inspection
- Included in:
- ROM::SQL::Relation
- Defined in:
- lib/rom/sql/relation/inspection.rb
Instance Method Summary collapse
- #model ⇒ Object
- #primary_key ⇒ Object private
Instance Method Details
#model ⇒ Object
5 6 7 |
# File 'lib/rom/sql/relation/inspection.rb', line 5 def model self.class.model end |
#primary_key ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
10 11 12 |
# File 'lib/rom/sql/relation/inspection.rb', line 10 def primary_key model.primary_key end |