• Heinrich Lee Yu's avatar
    Add option to skip ordering when using DISTINCT · 77dd6c63
    Heinrich Lee Yu authored
    When using the DISTINCT workaround, we had to reorder the results
    because some instances depended on the breadth-first ordering of
    results.
    
    This is not required in all cases so we add an option to skip this so
    that we can optimize some queries that are executed very frequently.
    77dd6c63
object_hierarchy_spec.rb 7.5 KB