mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 17:08:45 +00:00
Merge pull request #10513 from appwrite/sub-query-variables-order-by
Sub query variables order by
This commit is contained in:
commit
9a0ab6c5a0
1 changed files with 2 additions and 0 deletions
|
|
@ -255,6 +255,8 @@ Database::addFilter(
|
|||
->find('variables', [
|
||||
Query::equal('resourceInternalId', [$document->getSequence()]),
|
||||
Query::equal('resourceType', $resourceType),
|
||||
Query::orderAsc('resourceType'),
|
||||
Query::orderAsc(),
|
||||
Query::limit(APP_LIMIT_SUBQUERY),
|
||||
]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue