mirror of
https://github.com/appwrite/appwrite
synced 2026-05-22 08:28:42 +00:00
Ensure parsed queries
This commit is contained in:
parent
d6544f412d
commit
fb31fbea9b
1 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue