Search: Build index from resource stats (#97320)

This commit is contained in:
Ryan McKinley
2024-12-03 20:20:27 +03:00
committed by GitHub
parent 64e7dbcadb
commit 9d89d8757f
13 changed files with 135 additions and 63 deletions
+12
View File
@@ -0,0 +1,12 @@
SELECT
`namespace`,
`group`,
`resource`,
COUNT(*),
MAX(`resource_version`)
FROM `resource`
GROUP BY
`namespace`,
`group`,
`resource`
;