Grafana app platform: an aggregator cmd and package (#79948)

This commit is contained in:
Charandas
2024-01-08 22:33:42 +02:00
committed by GitHub
parent 26f54a2fc7
commit 48612063dd
57 changed files with 5915 additions and 215 deletions
+3 -3
View File
@@ -368,7 +368,7 @@ func (b *BaseDialect) InsertQuery(tableName string, row map[string]any) (string,
for col := range row {
keys = append(keys, col)
}
slices.Sort[string](keys)
slices.Sort(keys)
// build query and values
for _, col := range keys {
@@ -398,7 +398,7 @@ func (b *BaseDialect) UpdateQuery(tableName string, row map[string]any, where ma
for col := range row {
keys = append(keys, col)
}
slices.Sort[string](keys)
slices.Sort(keys)
// build update query and values
for _, col := range keys {
@@ -411,7 +411,7 @@ func (b *BaseDialect) UpdateQuery(tableName string, row map[string]any, where ma
for col := range where {
keys = append(keys, col)
}
slices.Sort[string](keys)
slices.Sort(keys)
// build where clause and values
for _, col := range keys {