lib/api/projects_batch_counting.rb
# This adds preloading to the query and executes batch counting
# Side-effect: The query will be executed during batch counting
This adds preloading to the query and executes batch counting
Side-effect: The query will be executed during batch counting
This adds preloading to the query and executes batch counting Side - effect : The query will be executed during batch counting
def preload_and_batch_count!(projects_relation)
        preload_relation(projects_relation).tap do |projects|
          execute_batch_counting(projects)
        end
      end
def preload_and_batch_count! ( projects_relation ) preload_relation ( projects_relation ) . tap do | projects | execute_batch_counting ( projects ) end end
This adds preloading to the query and executes batch counting
Side-effect: The query will be executed during batch counting
This adds preloading to the query and executes batch counting Side - effect : The query will be executed during batch counting
projects_relation
<not_specific>