unified-storage: add BatchDelete support to sqlkv implementation (#115573)
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
DELETE
|
||||
FROM {{ .TableName }}
|
||||
WHERE {{ .Ident "key_path" }} IN (
|
||||
{{ range $id, $key_path := .KeyPaths }}
|
||||
{{ if ne $id 0 }}, {{ end }}{{ $.Arg $key_path }}
|
||||
{{ end }}
|
||||
);
|
||||
Reference in New Issue
Block a user