Sha256: 96f93d6bed4c065da3a0016fc9695bb4d95de389c3dbe18d22752dcaf6f3f8fb

Contents?: true

Size: 302 Bytes

Versions: 11

Compression:

Stored size: 302 Bytes

Contents

module Martyr
  module Runtime
    class GroupOperator < BaseOperator

      attr_reader :field_alias

      def add_group(field_alias)
        @field_alias = field_alias
      end

      private

      def handle_outer(wrapper)
        wrapper.add_to_group_by(field_alias)
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
martyr-0.1.85.pre lib/martyr/runtime/scope_operators/group_operator.rb
martyr-0.1.84.pre lib/martyr/runtime/scope_operators/group_operator.rb
martyr-0.1.82.pre lib/martyr/runtime/scope_operators/group_operator.rb
martyr-0.1.81.pre lib/martyr/runtime/scope_operators/group_operator.rb
martyr-0.1.80.pre lib/martyr/runtime/scope_operators/group_operator.rb
martyr-0.1.79.pre lib/martyr/runtime/scope_operators/group_operator.rb
martyr-0.1.78.pre lib/martyr/runtime/scope_operators/group_operator.rb
martyr-0.1.77.pre lib/martyr/runtime/scope_operators/group_operator.rb
martyr-0.1.76.pre lib/martyr/runtime/scope_operators/group_operator.rb
martyr-0.1.75.pre lib/martyr/runtime/scope_operators/group_operator.rb
martyr-0.1.74.pre lib/martyr/runtime/scope_operators/group_operator.rb