From 417bb22790a6eb631a16ab3f59952ec153c77104 Mon Sep 17 00:00:00 2001 From: fogelito Date: Mon, 29 Dec 2025 11:55:21 +0200 Subject: [PATCH] use Query::contains --- src/Appwrite/Platform/Workers/Functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Appwrite/Platform/Workers/Functions.php b/src/Appwrite/Platform/Workers/Functions.php index 8211a46bd5..fba5154079 100644 --- a/src/Appwrite/Platform/Workers/Functions.php +++ b/src/Appwrite/Platform/Workers/Functions.php @@ -128,6 +128,7 @@ class Functions extends Action while ($sum >= $limit) { $functions = $dbForProject->find('functions', [ Query::select(['$id', 'events']), // Skip variables subqueries + Query::contains('events', $events), Query::limit($limit), Query::offset($offset), Query::orderAsc('$sequence'),