# File lib/mongoid/relations/metadata.rb, line 128
      def constraint
        @constraint ||= Constraint.new(self)
      end