mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
more select queries
This commit is contained in:
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'),
|
||||
]);
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user