mirror of
https://github.com/grafana/grafana.git
synced 2025-08-01 02:51:49 +08:00

* Batch write events * Improve instrumentation * Measure batch phases * Detect lock contention * remove the execBatch goroutine * removing tracing prefix * detect context cancel * batch channel map
11 lines
208 B
SQL
Executable File
11 lines
208 B
SQL
Executable File
UPDATE "resource"
|
|
SET "resource_version" = (
|
|
CASE
|
|
WHEN "guid" = 'guid1' THEN CAST(123 AS BIGINT)
|
|
WHEN "guid" = 'guid2' THEN CAST(456 AS BIGINT)
|
|
END
|
|
)
|
|
WHERE "guid" IN (
|
|
'guid1', 'guid2'
|
|
);
|