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

Update FindQueryBuilder.js #3

Merged

Conversation

DanAlexandruNiculescu
Copy link
Collaborator

  • GroupBy key column added as a default
  • GroupBy parameter is added only if there are joins

- GroupBy key column added as a default
- GroupBy parameter is added only if there are joins
if (groupByParam) {
builder.select(groupByParam.value.split(','));
const joinParam = _.find(builder._operations, { name: 'innerJoin' });
const keyColumn = this._modelClass.keyColumn;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is keyColumn in this context?

@DeanMauro DeanMauro merged commit e25369d into feature/multi_level_relations Jul 29, 2022
@DeanMauro DeanMauro deleted the fix/groupBy_for_multi_lvl_relations branch July 29, 2022 03:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants