ResourceServer: Resource store sql backend (#90170)
This commit is contained in:
8
pkg/storage/unified/sql/data/resource_version_get.sql
Normal file
8
pkg/storage/unified/sql/data/resource_version_get.sql
Normal file
@@ -0,0 +1,8 @@
|
||||
SELECT
|
||||
{{ .Ident "resource_version" | .Into .ResourceVersion }}
|
||||
FROM {{ .Ident "resource_version" }}
|
||||
WHERE 1 = 1
|
||||
AND {{ .Ident "group" }} = {{ .Arg .Group }}
|
||||
AND {{ .Ident "resource" }} = {{ .Arg .Resource }}
|
||||
{{ .SelectFor "UPDATE" }}
|
||||
;
|
||||
Reference in New Issue
Block a user