mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +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(
|
$dbForProject->updateDocuments(
|
||||||
$collectionId,
|
$collectionId,
|
||||||
$data['data'] ?? null,
|
$data['data'] ?? null,
|
||||||
$data['queries'] ?? []
|
Query::parseQueries($data['queries'] ?? [])
|
||||||
);
|
);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
@ -179,8 +179,8 @@ class Update extends Action
|
||||||
|
|
||||||
case 'bulkDelete':
|
case 'bulkDelete':
|
||||||
$dbForProject->deleteDocuments(
|
$dbForProject->deleteDocuments(
|
||||||
$collectionName,
|
$collectionId,
|
||||||
$data['queries'] ?? []
|
Query::parseQueries($data['queries'] ?? [])
|
||||||
);
|
);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue