Storage/SQL: Support more filter by namespace/group/resource (#99249)

This commit is contained in:
Ryan McKinley
2025-01-21 12:15:08 +03:00
committed by GitHub
parent 680e6bc1f8
commit d91d729749
28 changed files with 150 additions and 31 deletions

View File

@ -0,0 +1,14 @@
SELECT
"namespace",
"group",
"resource",
COUNT(*),
MAX("resource_version")
FROM "resource"
WHERE 1 = 1
AND "namespace" = 'default'
GROUP BY
"namespace",
"group",
"resource"
;