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

renaming in field definition #83

Closed
pcornier opened this issue Mar 21, 2017 · 1 comment
Closed

renaming in field definition #83

pcornier opened this issue Mar 21, 2017 · 1 comment
Labels

Comments

@pcornier
Copy link

pcornier commented Mar 21, 2017

Hi, do you plan to support renaming in field definitions? I'd like to do something like:

dl.groupby(['YEAR', {name: 'CTRY_CDE', as: 'COUNTRY_CODE'}, 'ORG']).count().execute(data);

Thank you!

@jheer jheer added the question label Jul 12, 2017
@jheer
Copy link
Member

jheer commented Jul 12, 2017

Sorry for the delayed response. Yes, you can use entries like this:

dl.groupby(['YEAR', {get: dl.$('CTRY_CDE'), name: 'COUNTRY_CODE'}, 'ORG']).count().execute(data);

@jheer jheer closed this as completed Jul 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants