method

empty

empty(async: false, affected_rows: nil)
public

No documentation available.

# File activerecord/lib/active_record/result.rb, line 99
    def self.empty(async: false, affected_rows: nil) # :nodoc:
      if async
        FutureResult.wrap(new(EMPTY_ARRAY, EMPTY_ARRAY, EMPTY_HASH, affected_rows: affected_rows)).freeze
      else
        new(EMPTY_ARRAY, EMPTY_ARRAY, EMPTY_HASH, affected_rows: affected_rows).freeze
      end
    end