mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
adding support for sgl native time datatypes
This commit is contained in:
@@ -16,7 +16,7 @@ export interface QueryMeta {
|
||||
|
||||
|
||||
const defaultQuery = `SELECT
|
||||
DATEDIFF(second, {d '1970-01-01'}, DATEADD(second,DATEDIFF(second,GETDATE(),GETUTCDATE()),<time_column>)) as time_sec,
|
||||
$__utcTime(<time_column>),
|
||||
<value column> as value,
|
||||
<series name column> as metric
|
||||
FROM <table name>
|
||||
|
||||
Reference in New Issue
Block a user