We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14b4e18 commit 9faf41fCopy full SHA for 9faf41f
1 file changed
src/Database/Adapter/MariaDB.php
@@ -1414,14 +1414,12 @@ public function createOrUpdateDocuments(
1414
$attributes['_id'] = $document->getInternalId();
1415
} else {
1416
$documentIds[] = $document->getId();
1417
-
1418
- if ($this->sharedTables) {
1419
- $documentTenants[] = $document->getTenant();
1420
- }
1421
}
1422
1423
if ($this->sharedTables) {
1424
- $attributes['_tenant'] = $document->getTenant();
+ $attributes['_tenant']
+ = $documentTenants[]
+ = $document->getTenant();
1425
1426
1427
$columns = [];
0 commit comments