more select queries

This commit is contained in:
fogelito committed 2026-01-13 16:50:31 +02:00
1 parent 11f0e8f5df
commit 761a4bb0c7
2 files changed
+2 -2

No files matched your search

@@ -84,7 +84,7 @@ class Get extends Action
$storageStats = $authorization->skip(fn () => $dbForLogs->getDocument(
'stats',
$statsDocId,
[Query::select(['value'])]
[Query::select('value')]
));
$totalSize = $storageStats->getAttribute('value', 0);
@@ -144,7 +144,7 @@ class XList extends Action
return $dbForLogs->find('stats', [
Query::equal('$id', $statsIds),
Query::select(['value']),
Query::select('value'),
]);
});