You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
List sqlModelList = new ArrayList<>();
....
List sqlColumns = sqlModelList.stream().map(DynamicSqlDto::getColumns).flatMap(List::stream) .collect(Collectors.toList());
QueryExpressionDSL select = SqlBuilder.select(sqlColumns).from(mainSqlDto.getSqlTable());
Select cannot append columns, is there any alternative method?
The text was updated successfully, but these errors were encountered:
Immutability is in important design choice in this library, so we don't provide a way to change the column list once it is set. If you can provide a small example of why you want to do this, perhaps we could help with a different approach.
Immutability is in important design choice in this library, so we don't provide a way to change the column list once it is set. If you can provide a small example of why you want to do this, perhaps we could help with a different approach.
Thank you, I am trying to solve this problem from a business perspective
List sqlModelList = new ArrayList<>();
....
List sqlColumns = sqlModelList.stream().map(DynamicSqlDto::getColumns).flatMap(List::stream) .collect(Collectors.toList());
QueryExpressionDSL select = SqlBuilder.select(sqlColumns).from(mainSqlDto.getSqlTable());
Select cannot append columns, is there any alternative method?
The text was updated successfully, but these errors were encountered: