mirror of
https://github.com/appwrite/appwrite
synced 2026-05-22 16:38:32 +00:00
line
This commit is contained in:
parent
cd0d1d94db
commit
fb40970eba
1 changed files with 1 additions and 0 deletions
|
|
@ -197,6 +197,7 @@ class Databases extends Action
|
|||
throw $e;
|
||||
} finally {
|
||||
$this->trigger($database, $collection, $attribute, $project, $projectId, $events);
|
||||
|
||||
if ($type === Database::VAR_RELATIONSHIP && $options['twoWay']) {
|
||||
$dbForProject->purgeCachedDocument('database_' . $database->getInternalId(), $relatedCollection->getId());
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue