class JobIteration::ActiveRecordCursor::ConditionNotSupportedError

Public Class Methods

new() click to toggle source
Calls superclass method
# 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