mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Use MariaDB max limit for index/attribute subqueries
This commit is contained in:
+2
-2
@@ -184,7 +184,7 @@ Database::addFilter('subQueryAttributes',
|
||||
return $database
|
||||
->find('attributes', [
|
||||
new Query('collectionId', Query::TYPE_EQUAL, [$document->getId()])
|
||||
], 100, 0, []);
|
||||
], 1017, 0, []);
|
||||
}
|
||||
);
|
||||
|
||||
@@ -196,7 +196,7 @@ Database::addFilter('subQueryIndexes',
|
||||
return $database
|
||||
->find('indexes', [
|
||||
new Query('collectionId', Query::TYPE_EQUAL, [$document->getId()])
|
||||
], 100, 0, []);
|
||||
], 64, 0, []);
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user