mirror of
https://github.com/grafana/grafana.git
synced 2025-09-21 06:42:53 +08:00
SQL/Blob: Add support for blob storage to SQL backend (#98192)
This commit is contained in:
11
pkg/storage/unified/sql/testdata/sqlite--resource_blob_query-resource.sql
vendored
Executable file
11
pkg/storage/unified/sql/testdata/sqlite--resource_blob_query-resource.sql
vendored
Executable file
@ -0,0 +1,11 @@
|
||||
SELECT
|
||||
"uuid",
|
||||
"value",
|
||||
"content_type"
|
||||
FROM "resource_blob"
|
||||
WHERE 1 = 1
|
||||
AND "namespace" = 'x'
|
||||
AND "group" = 'g'
|
||||
AND "resource" = 'r'
|
||||
ORDER BY "created" DESC
|
||||
LIMIT 1;
|
Reference in New Issue
Block a user