Module: DataMapper::Query::Conditions::RelationshipHandler

Module | DataMapper::Query::Conditions::RelationshipHandler
In: | lib/dm-core/query/conditions/comparison.rb

Included into comparisons which are capable of supporting Relationships.

### Methods

foreign_key_mapping relationship?

### Public Instance methods

foreign_key_mapping()

Returns the conditions required to match the subject relationship

@return [Hash]

@api semipublic

relationship?()

Returns whether this comparison subject is a Relationship

@return [Boolean]

@api semipublic

[Validate]