Sha256: 40c70b4df28c797f18eaaf7e326b5ef1f45fed728569490b5e814034dbb7d565

Contents?: true

Size: 557 Bytes

Versions: 5

Compression:

Stored size: 557 Bytes

Contents

module Alf
  module Operator
    module Relational
      class Group
        include Relational, Unary

        signature do |s|
          s.argument :attributes, AttrList, []
          s.argument :as,         AttrName, :group
          s.option   :allbut,     Boolean,  false, 'Group all but specified attributes?'
        end

        # (see Operator#compile)
        def compile
          Engine::Group::Hash.new(operand, attributes, as, allbut)
        end
  
      end # class Group
    end # module Relational
  end # module Operator
end # module Alf

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
alf-0.12.2 lib/alf/operator/relational/group.rb
alf-0.12.1 lib/alf/operator/relational/group.rb
alf-0.12.0 lib/alf/operator/relational/group.rb
alf-0.11.1 lib/alf/operator/relational/group.rb
alf-0.11.0 lib/alf/operator/relational/group.rb