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