From 11f0e8f5df23851c682cc2b83a9db34e66247528 Mon Sep 17 00:00:00 2001 From: fogelito Date: Tue, 13 Jan 2026 16:43:21 +0200 Subject: [PATCH] fix selects --- src/Appwrite/Platform/Workers/Functions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Appwrite/Platform/Workers/Functions.php b/src/Appwrite/Platform/Workers/Functions.php index a54b982634..d1ec8b5056 100644 --- a/src/Appwrite/Platform/Workers/Functions.php +++ b/src/Appwrite/Platform/Workers/Functions.php @@ -126,7 +126,8 @@ class Functions extends Action $offset = 0; while ($sum >= $limit) { $functions = $dbForProject->find('functions', [ - Query::select(['$id', 'events']), // Skip variables subqueries + Query::select('$id'), // Skip variables subqueries + Query::select('events'), Query::contains('events', $events), Query::limit($limit), Query::offset($offset),