Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/jortilles/EDA
Browse files Browse the repository at this point in the history
  • Loading branch information
jortilles committed Dec 21, 2023
2 parents ccc933e + 477d0da commit f940621
Show file tree
Hide file tree
Showing 20 changed files with 1,262 additions and 636 deletions.
6 changes: 5 additions & 1 deletion eda/eda_api/lib/module/dashboard/dashboard.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,6 @@ export class DashboardController {
*/
static async execQuery(req: Request, res: Response, next: NextFunction) {


try {
const connection = await ManagerConnectionService.getConnection(req.body.model_id);
const dataModel = await connection.getDataSource(req.body.model_id)
Expand Down Expand Up @@ -692,6 +691,11 @@ export class DashboardController {
console.log('you cannot see any data');
return res.status(200).json([['noDataAllowed'], [[]]]);
}
if( req.body.query.hasOwnProperty('forSelector') && req.body.query.forSelector===true ){
myQuery.forSelector = true;
}else{
myQuery.forSelector = false;
}

const query = await connection.getQueryBuilded(
myQuery,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export class BigQueryConnection extends AbstractConnection {
column.aggregation_type = AggregationTypes.getValuesForOthers();
}

column.computed_column == 'no' // las posibilidades son no, computed_numeric, computed_string
column.computed_column == 'no' // las posibilidades son no, computed,

column.column_granted_roles = [];
column.row_granted_roles = [];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ export class OracleConnection extends AbstractConnection {
column.aggregation_type = AggregationTypes.getValuesForOthers();
}

column.computed_column == 'no' // las posibilidades son no, computed_numeric, computed_string
column.computed_column == 'no' // las posibilidades son no, computed,

column.column_granted_roles = [];
column.row_granted_roles = [];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ export class PgConnection extends AbstractConnection {
column.aggregation_type = AggregationTypes.getValuesForOthers();
}

column.computed_column == 'no' // las posibilidades son no, computed_numeric, computed_string
column.computed_column == 'no' // las posibilidades son no, computed,

column.column_granted_roles = [];
column.row_granted_roles = [];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export class SnowflakeConnection extends AbstractConnection {
column.aggregation_type = AggregationTypes.getValuesForOthers();
}

column.computed_column == 'no' // las posibilidades son no, computed_numeric, computed_string
column.computed_column == 'no' // las posibilidades son no, computed,

column.column_granted_roles = [];
column.row_granted_roles = [];
Expand Down
Loading

0 comments on commit f940621

Please sign in to comment.