Exception: JobIteration::ActiveRecordCursor::ConditionNotSupportedError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- JobIteration::ActiveRecordCursor::ConditionNotSupportedError
- Defined in:
- lib/job-iteration/active_record_cursor.rb
Instance Method Summary collapse
-
#initialize ⇒ ConditionNotSupportedError
constructor
A new instance of ConditionNotSupportedError.
Constructor Details
#initialize ⇒ ConditionNotSupportedError
Returns a new instance of ConditionNotSupportedError.
13 14 15 16 17 18 |
# File 'lib/job-iteration/active_record_cursor.rb', line 13 def initialize super( "The relation cannot use ORDER BY or LIMIT due to the way how iteration with a cursor is designed. " \ "You can use other ways to limit the number of rows, e.g. a WHERE condition on the primary key column." ) end |