Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow multiple fields in GroupBy ResultTransformer #473

Closed
daniel-frank opened this issue Aug 9, 2013 · 5 comments
Closed

Allow multiple fields in GroupBy ResultTransformer #473

daniel-frank opened this issue Aug 9, 2013 · 5 comments
Assignees
Milestone

Comments

@daniel-frank
Copy link

@daniel-frank daniel-frank commented Aug 9, 2013

Allow multiple fields in GroupBy ResultTransformer. I think this improvement how something like this:

query.transform(groupBy(t.id, t.date).as(list(e.name, e.salary)));

Thx

@ghost ghost assigned timowest Aug 27, 2013
timowest added a commit that referenced this issue Aug 29, 2013
Add multi argument creation for GroupBy ResultTransformer #473
timowest added a commit that referenced this issue Aug 30, 2013
@timowest
Copy link
Member

@timowest timowest commented Aug 30, 2013

Could you try with the latest SNAPSHOT from here https://oss.sonatype.org/content/repositories/snapshots/

Multiple keys are encoded as lists.

@TuomasKiviaho
Copy link
Contributor

@TuomasKiviaho TuomasKiviaho commented Oct 8, 2013

Is it possible enable generics in the QList. (QList)

@daniel-frank
Copy link
Author

@daniel-frank daniel-frank commented Oct 15, 2013

Sorry for the delay. Worked well with version 3.2.4.BUILD-SNAPSHOT.
In my report i need to group first by a code and then by a date, something like a map(code is the key) of map(date is the key), anyway to do something like that?

@timowest
Copy link
Member

@timowest timowest commented Oct 17, 2013

@TuomasKiviaho Currently not.

@daniel-frank Two level aggregates are not yet supported, if that's what you mean.

@timowest
Copy link
Member

@timowest timowest commented Oct 20, 2013

Released in 3.2.4

@timowest timowest closed this Oct 20, 2013
@timowest timowest added this to the 3.2.4 milestone Apr 13, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants