Method: Babik::QuerySet::AbstractAggregationFunction#left_joins_by_alias

Defined in:
lib/babik/queryset/components/aggregation.rb

#left_joins_by_aliasHash{alias: Babik::QuerySet::Join}

Return the joins grouped by alias

Returns:

  • (Hash{alias: Babik::QuerySet::Join})

    Hash where the value is the alias of the table and the value is a Babik::Join



71
72
73
# File 'lib/babik/queryset/components/aggregation.rb', line 71

def left_joins_by_alias
  @selection.left_joins_by_alias
end