mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
Ensure parsed queries
This commit is contained in:
1 file changed
+3
-3
@@ -165,7 +165,7 @@ class Update extends Action
|
||||
$dbForProject->updateDocuments(
|
||||
$collectionId,
|
||||
$data['data'] ?? null,
|
||||
$data['queries'] ?? []
|
||||
Query::parseQueries($data['queries'] ?? [])
|
||||
);
|
||||
break;
|
||||
|
||||
@@ -179,8 +179,8 @@ class Update extends Action
|
||||
|
||||
case 'bulkDelete':
|
||||
$dbForProject->deleteDocuments(
|
||||
$collectionName,
|
||||
$data['queries'] ?? []
|
||||
$collectionId,
|
||||
Query::parseQueries($data['queries'] ?? [])
|
||||
);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user