def load_classes result
      return if @query.ids_requested?
      result.each do |clazz, ids|
        if ids.size > 0
          result[clazz] = clazz.where(id: ids)
          if @query.has_select
            result[clazz] = result[clazz].select(@query.options[:select])
          end
        end
      end
    end
def load_classes result
      return if @query.ids_requested?
      result.each do |clazz, ids|
        if ids.size > 0
          result[clazz] = clazz.where(id: ids)
          if @query.has_select
            result[clazz] = result[clazz].select(@query.options[:select])
          end
        end
      end
    end
Converts the ids to classes, if the user wants classes.