mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
mssql: cleanup and minor changes
This commit is contained in:
@@ -5,14 +5,16 @@ class MssqlConfigCtrl {
|
||||
static templateUrl = 'partials/config.html';
|
||||
}
|
||||
|
||||
const defaultQuery = `SELECT TOP 100
|
||||
$__utcTime(<time_column>),
|
||||
const defaultQuery = `SELECT
|
||||
<time_column> as time,
|
||||
<text_column> as text,
|
||||
<tags_column> as tags
|
||||
FROM <table name>
|
||||
WHERE $__timeFilter(time_column)
|
||||
ORDER BY <time_column> ASC
|
||||
`;
|
||||
FROM
|
||||
<table name>
|
||||
WHERE
|
||||
$__timeFilter(time_column)
|
||||
ORDER BY
|
||||
<time_column> ASC`;
|
||||
|
||||
class MssqlAnnotationsQueryCtrl {
|
||||
static templateUrl = 'partials/annotations.editor.html';
|
||||
|
||||
Reference in New Issue
Block a user