mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
mysql: minor progress on response processing
This commit is contained in:
@@ -6,6 +6,21 @@ import {QueryCtrl} from 'app/plugins/sdk';
|
||||
|
||||
class MysqlQueryCtrl extends QueryCtrl {
|
||||
static templateUrl = 'partials/query.editor.html';
|
||||
|
||||
resultFormats: any;
|
||||
target: any;
|
||||
|
||||
constructor($scope, $injector) {
|
||||
super($scope, $injector);
|
||||
|
||||
this.target.resultFormat = 'time_series';
|
||||
this.target.alias = "{{table}}{{col_3}}";
|
||||
this.resultFormats = [
|
||||
{text: 'Time series', value: 'time_series'},
|
||||
{text: 'Table', value: 'table'},
|
||||
];
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
class MysqlConfigCtrl {
|
||||
|
||||
Reference in New Issue
Block a user