Storage: Return an iterator from backend List (#91185)
This commit is contained in:
1 parent
dd9172e738
commit
f804b0baa3
13 files changed
+475
-268
No files matched your search
@@ -1,4 +1,4 @@
|
||||
SELECT kv."resource_version", kv."value"
|
||||
SELECT kv."resource_version", kv."namespace", kv."name", kv."value"
|
||||
FROM "resource_history" as kv
|
||||
INNER JOIN (
|
||||
SELECT "namespace", "group", "resource", "name", max("resource_version") AS "resource_version"
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
SELECT "resource_version", "value"
|
||||
SELECT "resource_version", "namespace", "name", "value"
|
||||
FROM "resource"
|
||||
WHERE 1 = 1 AND "namespace" = ?
|
||||
ORDER BY "resource_version" DESC
|
||||
LIMIT ?
|
||||
;
|
||||
Reference in new issue
Block a user