mirror of
https://github.com/grafana/grafana.git
synced 2025-08-03 01:02:42 +08:00
Add truthy rawQuery as we are interpolating raw query only (#25110)
This commit is contained in:
@ -55,6 +55,7 @@ export class MssqlDatasource {
|
||||
...query,
|
||||
datasource: this.name,
|
||||
rawSql: this.templateSrv.replace(query.rawSql, scopedVars, this.interpolateVariable),
|
||||
rawQuery: true,
|
||||
};
|
||||
return expandedQuery;
|
||||
});
|
||||
|
@ -56,6 +56,7 @@ export class MysqlDatasource {
|
||||
...query,
|
||||
datasource: this.name,
|
||||
rawSql: this.templateSrv.replace(query.rawSql, scopedVars, this.interpolateVariable),
|
||||
rawQuery: true,
|
||||
};
|
||||
return expandedQuery;
|
||||
});
|
||||
|
@ -61,6 +61,7 @@ export class PostgresDatasource {
|
||||
...query,
|
||||
datasource: this.name,
|
||||
rawSql: this.templateSrv.replace(query.rawSql, scopedVars, this.interpolateVariable),
|
||||
rawQuery: true,
|
||||
};
|
||||
return expandedQuery;
|
||||
});
|
||||
|
Reference in New Issue
Block a user