mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 14:02:22 +08:00
make default mode for table panels raw editor
This commit is contained in:
@ -54,6 +54,7 @@ export class PostgresQueryCtrl extends QueryCtrl {
|
||||
if (this.panelCtrl.panel.type === 'table') {
|
||||
this.target.format = 'table';
|
||||
this.target.rawSql = 'SELECT 1';
|
||||
this.target.rawQuery = true;
|
||||
} else {
|
||||
this.target.rawSql = defaultQuery;
|
||||
this.datasource.metricFindQuery(this.metaBuilder.findMetricTable()).then(result => {
|
||||
|
Reference in New Issue
Block a user